soft-fp: Remove FP_CLEAR_EXCEPTIONS.
[platform/upstream/glibc.git] / ChangeLog
1 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
2
3         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
4         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
5         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6         FP_HANDLE_EXCEPTIONS.
7         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
8         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9         FP_HANDLE_EXCEPTIONS.
10         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
11         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12         FP_HANDLE_EXCEPTIONS.
13         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
14         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
15         FP_HANDLE_EXCEPTIONS.
16
17 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
18
19         [BZ #14132]
20         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
21         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
22         use INTUSE.
23         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
24         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
25         Remove alias.
26         (__adjtimex): Define using libc_hidden_ver.
27         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
28         Remove declaration.
29         (ntp_gettime): Call __adjtimex directly.
30         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
31         Remove declaration.
32         (ntp_gettimex): Call __adjtimex directly.
33         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
34         __adjtimex_internal alias.
35
36 2014-10-08  Roland McGrath  <roland@hack.frob.com>
37
38         [BZ #17460]
39         * nscd/nscd.c (more_help): Rewrite list of tables collection
40         using xstrdup and asprintf.
41
42         * nscd/nscd_conf.c: Remove local xstrdup declaration.
43
44 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45             Roland McGrath  <roland@hack.frob.com>
46
47         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
48         (do_lookup_unique): ... local function 'enter' here; update callers.
49
50 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
51
52         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
53         compat_symbol calls on [SHARED].
54         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
55         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
56         Remove.
57         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
58         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
59         (oldsetrlimit): Remove.
60         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
61         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
62         (lchown): New syscall entry.
63         (oldsetrlimit): Remove.
64         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
65         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
66         (oldsetrlimit): Remove.
67         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
68
69         [BZ #14138]
70         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
71         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
72         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
73         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
74         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
75         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
76         (fchown): Likewise.
77         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
78         (fchown): Likewise.
79         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
80         Likewise.
81
82 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83
84         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
85         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
86         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
87         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
88         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
89         Likewise.
90         (__old_sem_post): Likewise.
91
92 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
93
94         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
95         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
96         HAVE_CLOCK_GETTIME_VSYSCALL macros.
97         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
98         Use INLINE_VSYSCALL macro.
99         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
100         __vdso_clock_gettime.
101         * sysdeps/unix/sysv/linux/tile/init-first.c
102         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
103         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
104         __vdso_clock_gettime.
105
106         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
107         to set up frame more cleanly.
108
109         * sysdeps/tile/memcmp.c: New file.
110
111         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
112
113         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
114         * sysdeps/tile/tilegx/strcasestr.c: New file.
115         * sysdeps/tile/tilegx/strnlen.c: New file.
116         * sysdeps/tile/tilegx/strstr.c: New file.
117
118         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
119
120 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
121
122         * nptl/tst-setuid3.c: Write errors to stdout.
123
124 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
125
126         * elf/dl-deps.c
127         (preload): New functions broken out of _dl_map_object_deps.
128         (_dl_map_object_deps):  Remove a nested function. Update call sites.
129
130 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
131
132         [BZ #14138]
133         * sysdeps/unix/sysv/linux/execve.c: Remove file.
134         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
135
136 2014-10-01  Steve Ellcey  <sellcey@mips.com>
137
138         * sysdeps/mips/strcmp.S: New.
139
140 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
141
142         [BZ #14138]
143         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
144         (linkat): Likewise.
145         (mkdirat): Likewise.
146         (readlinkat): Likewise.
147         (renameat): Likewise.
148         (symlinkat): Likewise.
149         (unlinkat): Likewise.
150         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
151         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
152         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
153         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
154         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
155         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
156         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
157
158 2014-09-30  Will Newton  <will.newton@linaro.org>
159
160         * math/math.h: Define long double math functions if
161         _LIBC_TEST is defined.
162         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
163
164         * localedata/Makefile: Move assignment to tests-special
165         into an ifdef testing run-built-tests.
166         * timezone/Makefile: Likewise.
167
168 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
169
170         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
171         with $(BASH) not $(SHELL).
172
173 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
174             Matthew LeGendre  <legendre1@llnl.gov>
175
176         [BZ #17411]
177         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
178         l_reloc_result.
179
180 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
181
182         * stdio-common/printf_fp.c
183         (hack_digit): New function, broken out of ...
184         (__printf_fp): ... local function here.  Update call sites.
185         hack_digit now takes an additional parameter that is a pointer
186         to a struct of the referenced locals.  Those locals moved inside
187         the struct and references updated.
188
189 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
190
191         * aclocal.m4: Require autoconf 2.69.
192         * configure: Regenerated.
193         * sysdeps/aarch64/configure: Likewise.
194         * sysdeps/alpha/configure: Likewise.
195         * sysdeps/arm/armv7/configure: Likewise.
196         * sysdeps/arm/configure: Likewise.
197         * sysdeps/ia64/configure: Likewise.
198         * sysdeps/mach/configure: Likewise.
199         * sysdeps/mips/configure: Likewise.
200         * sysdeps/s390/configure: Likewise.
201         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
203
204         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
205         file.
206         * sysdeps/ia64/configure.ac: Likewise.
207
208 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
209
210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
211         specify symbol version for ld.so.  Do not include entry for
212         libpthread.
213         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
214         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
215         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
216
217         [BZ #14171]
218         * Makeconfig [$(build-shared) = yes]
219         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
220         makefiles.
221         [$(build-shared) = yes && $(soversions.mk-done) = t]
222         ($(common-objpfx)gnu/lib-names.h): Remove rule.
223         [$(build-shared) = yes && $(soversions.mk-done) = t]
224         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
225         to Makerules.
226         [$(build-shared) = yes && $(soversions.mk-done) = t]
227         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
228         here.
229         [$(build-shared) = yes && $(soversions.mk-done) = t]
230         (common-generated): Don't append gnu/lib-names.h and
231         gnu/lib-names.stmp here.
232         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
233         (lib-names-h-abi): New variable.
234         [$(build-shared) = yes && $(soversions.mk-done) = t]
235         (lib-names-stmp-abi): Likewise.
236         [$(build-shared) = yes && $(soversions.mk-done) = t &&
237         abi-variants] (before-compile): Append
238         $(common-objpfx)$(lib-names-h-abi).
239         [$(build-shared) = yes && $(soversions.mk-done) = t &&
240         abi-variants] (common-generated): Append gnu/lib-names.h.
241         [$(build-shared) = yes && $(soversions.mk-done) = t &&
242         abi-variants] (install-others-nosubdir): Depend on
243         $(inst_includedir)/$(lib-names-h-abi).
244         [$(build-shared) = yes && $(soversions.mk-done) = t &&
245         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
246         [$(build-shared) = yes && $(soversions.mk-done) = t]
247         ($(common-objpfx)$(lib-names-h-abi)): New rule.
248         [$(build-shared) = yes && $(soversions.mk-done) = t]
249         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
250         [$(build-shared) = yes && $(soversions.mk-done) = t]
251         (common-generated): Append $(lib-names-h-abi) and
252         $(lib-names-stmp-abi).
253         * scripts/lib-names.awk: Do not handle multi being set.
254         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
255         Remove variable.
256         (abi-lp64_be-ld-soname): Likewise.
257         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
258         Likewise.
259         (abi-hard-ld-soname): Likewise.
260         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
261         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
262         Remove variable.
263         (abi-o32_hard-ld-soname): Likewise.
264         (abi-o32_soft_2008-ld-soname): Likewise.
265         (abi-o32_hard_2008-ld-soname): Likewise.
266         (abi-n32_soft-ld-soname): Likewise.
267         (abi-n32_hard-ld-soname): Likewise.
268         (abi-n32_soft_2008-ld-soname): Likewise.
269         (abi-n32_hard_2008-ld-soname): Likewise.
270         (abi-n64_soft-ld-soname): Likewise.
271         (abi-n64_hard-ld-soname): Likewise.
272         (abi-n64_soft_2008-ld-soname): Likewise.
273         (abi-n64_hard_2008-ld-soname): Likewise.
274         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
275         Likewise.
276         (abi-64-v2-ld-soname): Likewise.
277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
278         ld.so entries.
279         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
280         variable.
281         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
282         entry.
283         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
284         variable.
285         (abi-64-ld-soname): Likewise.
286         (abi-x32-ld-soname): Likewise.
287         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
288         entry.
289         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
290
291 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
292
293         [BZ #14138]
294         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
295         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
296         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
297         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
298         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
299         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
300         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
301         syscall entry for GLIBC_2.2 symbol version.
302         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
303         Likewise.
304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
305         (setrlimit): Likewise.
306         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
307         Likewise.
308
309 2014-09-23  Will Newton  <will.newton@linaro.org>
310
311         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
312         _LINUX_ARM_SYSDEP_H include guard too.
313         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
314         define.
315
316 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
317
318         * sysdeps/unix/sysv/linux/eventfd.c:
319         Make first argument unsigned.
320         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
321         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
322
323 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
324
325         * socket/recvmmsg.c (recvmmsg): Drop const argument.
326         * socket/sys/socket.h: Likewise
327         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
328
329 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
330
331         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
332
333 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
334
335         * time/tst-ftime.c: New test.
336         * time/Makefile (tests): Add tst-ftime.
337
338 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
339
340         * soft-fp/extended.h: Fix comment formatting.
341         * soft-fp/op-1.h: Likewise.
342         * soft-fp/op-2.h: Likewise.
343         * soft-fp/op-4.h: Likewise.
344         * soft-fp/op-8.h: Likewise.
345         * soft-fp/op-common.h: Likewise.
346         * soft-fp/soft-fp.h: Likewise.
347
348         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
349
350 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
351
352         [BZ #6652]
353         * Makeconfig (soversions-default-setname): Remove variable.
354         ($(common-objpfx)soversions.i): Don't pass default_setname to
355         soversions.awk.
356         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
357         oldest_abi to abi-versions.awk.
358         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
359         * config.make.in (oldest-abi): Remove variable.
360         * configure.ac (--enable-oldest-abi): Remove configure option.
361         * configure: Regenerated.
362         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
363         text.
364         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
365         * scripts/soversions.awk: Do not handle default_setname variable.
366         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
367         variable.
368         * sysdeps/mach/hurd/configure: Regenerated.
369         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
370         variable.
371         * sysdeps/unix/sysv/linux/configure: Regenerated.
372
373 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
374
375         * elf/Makefile (CFLAGS-interp.c): Remove.
376         ($(elf-objpfx)runtime-linker.h): Generate header with linker
377         path string.
378         * elf/interp.c: Include generated runtime-linker.h
379
380         * Makerules (lib%.so): Don't include $(+interp) in
381         prerequisites.
382         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
383         * dlfcn/eval.c: Remove file.
384
385         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
386         macros.
387
388         [BZ #17266]
389         * misc/sys/cdefs.h: Define __extern_always_inline for clang
390         4.2 and newer.
391
392         [BZ #17370]
393         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
394
395 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
396             Jakub Jelinek  <jakub@redhat.com>
397
398         [BZ #17266]
399         * libio/stdio.h: Check definition of __fortify_function
400         instead of __extern_always_inline to include bits/stdio2.h.
401         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
402         check if __extern_always_inline is defined.
403         [__USE_MISC || __USE_XOPEN]: Likewise.
404         [__USE_ISOC99] Likewise.
405         * misc/sys/cdefs.h (__fortify_function): Define only if
406         __extern_always_inline is defined.
407         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
408         __extern_always_inline and __extern_inline only for g++-4.3
409         and newer or a compatible gcc.
410
411 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
412
413         [BZ #17371]
414         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
415         last change to handle zero prefix length.
416
417 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
418
419         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
420         _SC_REGEX_VERSION.
421
422         * posix/getconf.c (vars): Add _POSIX_IPV6 and
423         _POSIX_RAW_SOCKETS.
424
425 2014-09-13  Allan McRae  <allan@archlinux.org>
426
427         * po/ru.po: Update Russian translation from translation project.
428
429 2014-09-12  Roland McGrath  <roland@hack.frob.com>
430
431         * locale/programs/locale.c (show_locale_vars): Inline local function
432         into its sole call site.  Clean up some style nits.
433         (print_item): New function, broken out of ...
434         (show_info): ... local function here.  Clean up style nits.
435
436         * locale/programs/ld-ctype.c (set_one_default): New function, broken
437         out of ...
438         (set_class_defaults): ... local function set_default here.
439         Define set_default as a macro locally to pass constant parameters.
440         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
441         rather than a shared local.
442
443         * stdlib/rpmatch.c (try): New function, broken out of ...
444         (rpmatch): ... local function here.  Also, prototypify definition.
445
446 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
447
448         * scripts/soversions.awk: Do not handle configuration names.
449         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
450         vendor and os variables to soversions.awk.
451         * configure.ac: Do not modify gnu-* host_os.
452         * configure: Regenerated
453         * shlib-versions: Remove first column with configuration names.
454         * nptl/shlib-versions: Likewise.
455         * nptl_db/shlib-versions: Likewise.
456         * sysdeps/hppa/shlib-versions: Likewise.
457         * sysdeps/m68k/shlib-versions: Likewise.
458         * sysdeps/mach/hurd/shlib-versions: Likewise.
459         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
460         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
461         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
462         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
463         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
464         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
465         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
466         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
468         Likewise.
469         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
470         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
471         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
472         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
473         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
474         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
475         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
476         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
477
478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
479         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
481         Regenerated.
482         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
484         Condition symbol version definitions on [HAVE_ELFV2_ABI].
485
486         * shlib-versions: Remove OS-specific entries.  Moved to files in
487         sysdeps.
488         * sysdeps/mach/hurd/shlib-versions: New file.
489         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
490
491         * nptl/shlib-versions: Remove architecture-specific entries.
492         Moved to files in sysdeps.
493         * shlib-versions: Likewise.
494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
495         file.
496         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
497         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
498         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
499         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
500
501         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
502         (UDP_NO_CHECK6_RX): Likewise.
503
504 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
505
506         * sysdeps/posix/sysconf.c (__sysconf): Spell
507         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
508
509 2014-08-12  Florian Weimer  <fweimer@redhat.com>
510
511         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
512         loading.
513         * iconv/Versions (__gconv_transliterate): Export for use from
514         gconv modules.
515         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
516         (struct __gconv_trans_data, __gconv_trans_fct,
517         __gconv_trans_context_fct, __gconv_trans_query_fct,
518         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
519         definitions.
520         (struct __gconv_step_data): Remove __trans member.
521         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
522         longer hidden.  Remove unused trans_data argument.
523         * iconv/gconv_int.h (struct trans_struct): Remove definition.
524         (__gconv_translit_find): Remove declaration.
525         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
526         prototype.
527         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
528         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
529         trans_data argument.  Add hidden definition.
530         (__gconv_translit_find): Remove.
531         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
532         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
533         * iconv/skeleton.c: Remove transliteration initialization.
534         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
535         __gconv_step_data initialization.
536         * libio/iofwide.c (__libio_translit_): Remove.
537         (_IO_fwide): Adjust struct __gconv_step_data initialization.
538         * wcsmbs/btowc.c (__btowc): Likewise.
539         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
540         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
541         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
542         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
543         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
544         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
545         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
546         * wcsmbs/wctob.c (wctob): Likewise.
547
548 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
549
550         [BZ #16194]
551         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
552         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
553         register usage.
554         * sysdeps/x86/Makefile: Adjust.
555
556 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
557             Roland McGrath  <roland@hack.frob.com>
558
559         * locale/weight.h: Add include guard.
560         (findidx): Make static rather than auto; take new parameters
561         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
562         * locale/weightwc.h: Likewise.
563         * posix/fnmatch_loop.c
564         (FCT): Change type of EXTRA from int32_t to wint_t.
565         Don't include either header inside the function.
566         Call FINDIDX rather than findidx, and pass new arguments.
567         #undef FINDIDX at the end of the file.
568         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
569         FINDIDX before including fnmatch_loop.c for the non-wide version.
570         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
571         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
572         for the wide version.
573         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
574         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
575         Pass new arguments to findidx.
576         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
577         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
578         Don't #include it inside the function.  Pass new arguments to findidx.
579         * posix/regex_internal.h
580         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
581         (re_string_elem_size_at): Don't #include it inside the function.
582         Pass new arguments to findidx.
583         * string/strcoll_l.c: #include WEIGHT_H at top level.
584         (get_next_seq): Don't #include it inside the function.
585         Pass new arguments to findidx.
586         (get_next_seq_nocache): Likewise.
587         * string/strxfrm_l.c: #include WEIGHT_H at top level.
588         (STRXFRM): Don't #include it inside the function.
589         Pass new arguments to findidx.
590
591 2014-09-11  Florian Weimer  <fweimer@redhat.com>
592
593         [BZ #17344]
594         * malloc/malloc.c (unlink): Turn asserts into a call to
595         malloc_printerr.
596
597 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
598
599         [BZ #17370]
600         * libio/wfileops (do_ftell_wide): Free OUT.
601
602 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
603
604         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
605
606 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
607
608         [BZ #17363]
609         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
610         group if the current group is empty.
611
612 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
613
614         * benchtests/bench-memset.c (test_main): Add more test from size
615         from 32 to 512 bytes.
616         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
617         Add POWER8 memset object.
618         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
619         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
620         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
621         implementation.
622         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
623         Likewise.
624         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
625         multiarch POWER8 memset optimization.
626         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
627         POWER8 memset optimization.
628
629         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
630         Remove bzero multiarch objects.
631         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
632         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
633         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
634         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
635         Remove define.
636         [__bzero]: Redefine to specific name.
637         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
638         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
639         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
640         define.
641         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
642         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
643
644 2014-09-10  Florian Weimer  <fweimer@redhat.com>
645
646         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
647         warnings into errors.
648
649         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
650         __cxa_thread_atexit_impl prototype.
651
652 2014-09-09  Steve Ellcey  <sellcey@mips.com>
653
654         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
655         Fix capitalization of error message.
656
657 2014-09-09  Steve Ellcey  <sellcey@mips.com>
658
659         * sysdeps/mips/preconfigure: Modify ABI tests.
660
661 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
662
663         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
664
665 2014-09-07  Roland McGrath  <roland@hack.frob.com>
666             Carlos O'Donell  <carlos@systemhalted.org>
667
668         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
669         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
670         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
671         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
672         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
673         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
674         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
675         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
676         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
677         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
678         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
679         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
680         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
681         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
682         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
683         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
684         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
685         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
686         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
687         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
688         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
689         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
690         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
691         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
692         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
693         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
694         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
695         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
696         Deconditionalize the code that was previously under [RESET_PID].
697         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
698         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
699         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
700         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
701         include sysdep.h.
702
703 2014-09-08  Allan McRae  <allan@archlinux.org>
704
705         * version.h (RELEASE): Set to "development".
706         (VERSION): Set to "2.20.90"
707
708 2014-09-07  Allan McRae  <allan@archlinux.org
709
710         * version.h (RELEASE): Set to "stable".
711         (VERSION): Set to "2.20"
712         * include/features.h (__GLIBC_MINOR__): Set to 20.
713
714         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
715         Liebler.
716
717         * po/ko.po: Update Korean translation from translation project.
718
719 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
720
721         [BZ #17354]
722         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
723         macro for handling signed relocations.
724
725 2014-09-03  Florian Weimer  <fweimer@redhat.com>
726
727         [BZ #17325]
728         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
729         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
730         assert.
731         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
732         * iconvdata/ibm935.c (BODY): Likewise.
733         * iconvdata/ibm937.c (BODY): Likewise.
734         * iconvdata/ibm939.c (BODY): Likewise.
735         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
736         assert.
737         * iconvdata/Makefile (iconv-test.out): Pass module list to test
738         script.
739         * iconvdata/run-iconv-test.sh: New test loop for checking for
740         decoder crashers.
741
742 2014-09-02  Khem Raj  <raj.khem@gmail.com>
743
744         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
745         libm_hidden_ver.
746
747 2014-09-01  Allan McRae  <allan@archlinux.org>
748
749         * po/eo.po: Update Esperanto translation from translation project.
750
751         * po/ca.po: Update Catalan translation from translation project.
752
753 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
754
755         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
756         __proc_dostop call.
757
758 2014-08-27  Mark Wielaard  <mjw@redhat.com>
759
760         [BZ #17319]
761         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
762         to call set_thread_area instead of hand written asm.
763         (__NR_set_thread_area): Removed define.
764         (TLS_FLAG_WRITABLE): Likewise.
765         (__ASSUME_SET_THREAD_AREA): Remove check.
766         (TLS_EBX_ARG): Remove define.
767         (TLS_LOAD_EBX): Likewise.
768
769 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
770
771         Simplify atomicity of socket creation in bind.
772
773         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
774         looking up the name after linking the file.
775
776 2014-08-27  Allan McRae  <allan@archlinux.org>
777
778         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
779
780 2014-08-26  Florian Weimer  <fweimer@redhat.com>
781
782         [BZ #17187]
783         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
784         trans_compare, open_translit, __gconv_translit_find):
785         Remove module loading code.
786
787 2014-08-26  Allan McRae  <allan@archlinux.org>
788
789         * po/vi.po: Update Vietnamese translation from translation project.
790
791         * po/uk.po: Update Ukrainian translation from translation project.
792
793         * po/fr.po: Update French translation from translation project.
794
795         * po/ru.po: Update Russian translation from translation project.
796
797         * po/pl.po: Update Polish translation from translation project.
798
799         * po/cs.po: Update Czech translation from translation project.
800
801         * po/de.po: Update German translation from translation project.
802
803         * po/bg.po: Update Bulgarian translation from translation project.
804
805         * po/sv.po: Update Sweedish translation from translation project.
806
807         * po/nl.po: Update Dutch translation from translation project.
808
809         * po/es.po: Update Spanish translation from translation project.
810
811 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
812
813         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
814
815         * catgets/Makefile (CPPFLAGS-gencat): Remove.
816         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
817         (CPPFLAGS-iconvconfig): Likewise.
818         * timezone/Makefile (CPPFLAGS-zic): Likewise.
819
820         * include/libc-symbols.h: Remove unnecessary check for
821         NOT_IN_libc.
822         * nptl/pthreadP.h: Likewise.
823         * sysdeps/aarch64/setjmp.S: Likewise.
824         * sysdeps/alpha/setjmp.S: Likewise.
825         * sysdeps/arm/sysdep.h: Likewise.
826         * sysdeps/i386/setjmp.S: Likewise.
827         * sysdeps/m68k/setjmp.c: Likewise.
828         * sysdeps/posix/getcwd.c: Likewise.
829         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
830         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
831         * sysdeps/s390/s390-32/setjmp.S: Likewise.
832         * sysdeps/s390/s390-64/setjmp.S: Likewise.
833         * sysdeps/sh/sh3/setjmp.S: Likewise.
834         * sysdeps/sh/sh4/setjmp.S: Likewise.
835         * sysdeps/unix/alpha/sysdep.h: Likewise.
836         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
837         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
838         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
839         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
842         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
843         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
844         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
845         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
846         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
847         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
848         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
849         * sysdeps/x86_64/setjmp.S: Likewise.
850
851 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
852
853         [BZ #17263]
854         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
855         <stdint.h>.
856         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
857         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
858
859 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
860
861         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
862
863         [BZ #17262]
864         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
865         and __x86_64__ when disabling x87 inline functions.
866
867 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
868
869         [BZ #17259]
870         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
871         asm statement with __cpuid_count.
872
873 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
874
875         * configure.ac: Change __ehdr_start code to dereference the struct.
876         Run readelf on the output to look for relocations.
877         * configure: Regenerated.
878
879 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
880
881         [BZ #17261]
882         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
883         value to 0.
884         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
885
886 2014-08-12  Roland McGrath  <roland@hack.frob.com>
887
888         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
889
890 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
891
892         [BZ #16892]
893         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
894         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
895
896 2014-08-12  Sean Anderson  <seanga2@gmail.com>
897
898         * malloc/malloc.c: Fix typo in comment.
899
900 2014-08-09  Allan McRae  <allan@archlinux.org>
901
902         * Regenerate libc.po.
903
904 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
905
906         * intl/tst-gettext2.sh: Check every lang file for creation.
907
908 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
909
910         * sysdeps/aarch64/fpu/math_private.h
911         (libc_feholdsetround_noex_aarch64_ctx): New function.
912
913 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
914
915         * sysdeps/arm/armv6/strcpy.S (strcpy):
916         Fix performance issue in misaligned cases.
917
918 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
919
920         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
921         Move definition from termios.h.
922         (struct termio): Likewise.
923         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
924         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
925         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
926         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
927         Likewise.
928         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
929         Move definition to ioctl-types.h
930         (struct termio): Likewise.
931         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
932         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
933         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
934         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
935         Likewise.
936
937 2014-08-05  Richard Henderson  <rth@redhat.com>
938
939         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
940         exceptions.
941         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
942         Add fraiseexcpt.
943         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
944         Use __feraiseexcept.
945         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
946         Protect libm symbols with IS_IN_libm.
947
948         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
949
950 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
951
952         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
953
954 2014-08-04  Will Newton  <will.newton@linaro.org>
955
956         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
957         file.
958
959 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
960
961         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
962         variants for each function.
963
964 2014-08-04  Roland McGrath  <roland@hack.frob.com>
965
966         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
967         appended ...
968         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
969         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
970         appended ...
971         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
972         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
973         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
974         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
975         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
976         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
977         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
978         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
979         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
980         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
981         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
982         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
983         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
984         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
985         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
986         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
987         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
988         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
989         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
990         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
991         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
992         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
993         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
994         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
995         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
996         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
997         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
998         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
999         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
1000         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
1001         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
1002         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
1003         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
1004         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
1005         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
1006         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
1007         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
1008         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
1009         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
1010         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
1011         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
1012         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
1013         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
1014         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
1015         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
1016         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
1017         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
1018         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
1019         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
1020         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
1021         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
1022         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
1023         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
1024         Update #include.
1025         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
1026         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
1027
1028 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1029
1030         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
1031         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
1032         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
1033         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
1034         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
1035         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
1036
1037 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1038
1039         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
1040         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
1041         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1042         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
1043
1044 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1045
1046         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
1047         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
1048         (__libc_vfork): Define function under this name.
1049         (__vfork): Define as an alias.
1050         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
1051         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
1052
1053 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1054
1055         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
1056         that was previously under [RESET_PID].
1057         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
1058
1059 2014-08-04  Andreas Schwab  <schwab@suse.de>
1060
1061         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
1062
1063 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
1064
1065         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
1066         (main): Likewise.
1067
1068 2014-08-01  Roland McGrath  <roland@hack.frob.com>
1069
1070         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
1071
1072 2014-08-01  Richard Henderon  <rth@redhat.com>
1073
1074         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
1075         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
1076         typo in exact zero test.
1077         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1078         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1079         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1080
1081 2014-08-01  Roland McGrath  <roland@hack.frob.com>
1082
1083         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
1084         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
1085         * sysdeps/arm/sysdep.h: ... here.
1086         [!__ASSEMBLER__]: Include <stdint.h>.
1087
1088 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1089
1090         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
1091         (HAVE_WCTYPE_H): Likewise.
1092         (HAVE_ISWCTYPE): Likewise.
1093         (ENABLE_NLS): Likewise.
1094         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
1095         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
1096
1097         * posix/regex_internal.c: Check if DEBUG is defined and is
1098         set.
1099
1100         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
1101         (HAVE_MBSRTOWCS): Likewise.
1102         * posix/fnmatch.c: Include string.h unconditionally.
1103
1104 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
1105
1106         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
1107         reversal.
1108
1109 2014-07-31  Roland McGrath  <roland@hack.frob.com>
1110
1111         * sysdeps/generic/safe-fatal.h: New file.
1112         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
1113         * nptl/forward.c: Include it.
1114         (__pthread_unwind): Use __safe_fatal as default action, rather
1115         than a bogus use of INTERNAL_SYSCALL that could never work.
1116
1117         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
1118         * configure.ac (libc_cv_builtin_trap): New test.
1119         * configure: Regenerated.
1120         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
1121         (ABORT_INSTRUCTION): Define using __builtin_trap.
1122
1123         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
1124         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
1125         * sysdeps/nptl/nptl-signals.h: New file.
1126         * nptl/pthreadP.h: Include <nptl-signals.h>.
1127
1128 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1129
1130         * sysdeps/s390/s390-64/utf16-utf32-z9.c
1131         (ONE_DIRECTION): Define.
1132         * sysdeps/s390/s390-64/utf8-utf16-z9.c
1133         (ONE_DIRECTION): Define.
1134         * sysdeps/s390/s390-64/utf8-utf32-z9.c
1135         (ONE_DIRECTION): Define.
1136
1137 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1138
1139         * sysdeps/s390/Makefile: Delete file.
1140         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
1141         * sysdeps/s390/__longjmp.c: Delete file.
1142         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
1143         Remove fields __flags and __reserved.
1144         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
1145         and add versioning.
1146         * sysdeps/s390/rtld-__longjmp.c: Delete file.
1147         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
1148         * sysdeps/s390/rtld-setjmp.S: Likewise.
1149         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
1150         * sysdeps/s390/s390-32/__longjmp.c: ... here.
1151         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
1152         * sysdeps/s390/s390-32/setjmp.S: ... here.
1153         Add versioning.
1154         (__sigsetjmp): Remove setting __flags field.
1155         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
1156         * sysdeps/s390/s390-64/__longjmp.c: ... here.
1157         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
1158         * sysdeps/s390/s390-64/setjmp.S: ... here.
1159         Add versioning.
1160         (__sigsetjmp): Remove setting __flags field.
1161         * sysdeps/s390/setjmp.S: Delete file.
1162         * sysdeps/s390/sigjmp.c: Likewise.
1163         * sysdeps/s390/v1-longjmp.c: Likewise.
1164         * sysdeps/s390/v1-setjmp.h: Likewise.
1165         * sysdeps/s390/v1-sigjmp.c: Likewise.
1166         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
1167         Remove v1-longjmp_chk.
1168         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
1169         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
1170         Include debug/longjmp_chk.c and add versioning.
1171         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
1172         Include nptl/pt-longjmp.c and add versioning.
1173         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
1174         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
1175         Include __longjmp.c.
1176         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1177         Move to ...
1178         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
1179         (__getcontext): Remove setting __flags field.
1180         Add versioning.
1181         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1182         Don't restore upper high grps.
1183         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
1184         Likewise.
1185         (__swapcontext): Remove setting uc_flags field.
1186         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
1187         Delete file.
1188         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1189         Include __longjmp.c.
1190         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1191         Move to ...
1192         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
1193         (__getcontext): Remove setting __flags field.
1194         Add versioning.
1195         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
1196         (__swapcontext): Remove setting uc_flags field.
1197         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
1198         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
1199         Remove fields uc_high_gprs and __reserved.
1200         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
1201         New file with reverted content.
1202         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
1203         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
1204         Regenerated.
1205         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
1206         Regenerated.
1207
1208 2014-07-31  Andreas Schwab  <schwab@suse.de>
1209
1210         * config.h.in (HAVE_IFUNC): Define to 0.
1211         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
1212         definedness.
1213
1214 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
1215
1216         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1217         memmove-avx-unaligned, memcpy-avx-unaligned and
1218         mempcpy-avx-unaligned.
1219         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1220         Add tests for AVX memcpy functions.
1221         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
1222         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
1223         memcpy_chk.
1224         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
1225         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
1226         memmove_chk.
1227         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
1228         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
1229         mempcpy_chk.
1230         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
1231         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
1232         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
1233
1234 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1235
1236         [BZ #17213]
1237         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
1238         powerpc64le.
1239
1240 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
1241
1242         [BZ #16839]
1243         * manual/llio.texi: Add section about open file description locks.
1244         * manual/examples/ofdlocks.c: Example of open file description
1245         lock usage.
1246         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
1247         F_OFD_SETLK, and F_OFD_SETLKW.
1248
1249 2014-07-23  Allan McRae  <allan@archlinux.org>
1250
1251         * po/es.po: Update Spanish translation from translation project.
1252
1253 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
1254
1255         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
1256
1257 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
1258
1259         [BZ #17078]
1260         * sysdeps/arm/dl-machine.h (elf_machine_rela)
1261         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
1262         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
1263
1264 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
1265
1266         [BZ #17088]
1267         * math/fesetenv.c (__fesetenv)
1268         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
1269         * math/feupdateenv.c (__feupdateenv)
1270         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
1271
1272         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
1273         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1274         (__ASSUME_SOCKETCALL): Do not define.
1275
1276         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
1277         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
1278         (__ASSUME_SOCKETCALL): Do not define.
1279         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
1280         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1281         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1282         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1283         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1284         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
1285         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1286         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1287
1288         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
1289         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
1290         (__ASSUME_SOCKETCALL): Do not define.
1291         (__ASSUME_IPC64): Define unconditionally.
1292         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1293         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1294         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1295         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1296         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
1297         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1298         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
1299         Likewise.
1300
1301         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
1302         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
1303         (__ASSUME_SOCKETCALL): Do not define.
1304         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
1305         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1306         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1307         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
1308         (__ASSUME_REQUEUE_PI): Define unconditionally.
1309         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
1310         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
1311         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1312         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
1313         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1314         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1315
1316         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
1317         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
1318         (__ASSUME_SOCKETCALL): Do not define.
1319         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
1320         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1321         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1322         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
1323         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1324         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1325
1326         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
1327         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
1328         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1329         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
1330         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1331         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
1332         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1333         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
1334         (__ASSUME_GETCPU_SYSCALL): Likewise.
1335
1336         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
1337         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
1338         cases for individual architectures.
1339         * sysdeps/gnu/configure: Regenerated.
1340         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
1341         LIBC_SLIBDIR_RTLDDIR.
1342         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
1343         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
1344         LIBC_SLIBDIR_RTLDDIR.
1345         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
1347         LIBC_SLIBDIR_RTLDDIR.
1348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1349         Regenerated.
1350         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
1351         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
1352         file.
1353         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
1354         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
1355         file.
1356         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
1357         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
1358         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
1359         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
1360
1361         * sysdeps/aarch64/shlib-versions: Move to ...
1362         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
1363         * sysdeps/alpha/shlib-versions: Move to ...
1364         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
1365         * sysdeps/arm/shlib-versions: Move to ...
1366         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
1367         * sysdeps/hppa/shlib-versions: Move all contents except for
1368         libgcc_s entry to ...
1369         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
1370         entry from ...
1371         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
1372         * sysdeps/ia64/shlib-versions: Move to ...
1373         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
1374         entry from ...
1375         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
1376         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
1377         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
1378         * sysdeps/microblaze/shlib-versions: Move to ...
1379         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
1380         * sysdeps/mips/shlib-versions: Move to ...
1381         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
1382         entry from ...
1383         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
1384         * sysdeps/tile/shlib-versions: Move to ...
1385         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
1386         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
1387         from ...
1388         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
1389         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
1390         entry from ...
1391         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
1392
1393 2014-07-17  Will Newton  <will.newton@linaro.org>
1394
1395         * sysdeps/arm/bits/atomic.h
1396         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
1397         (__arch_compare_and_exchange_bool_16_int): Likewise.
1398         (__arch_compare_and_exchange_bool_64_int): Likewise.
1399
1400         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
1401         into an #else block.
1402
1403 2014-07-16  Roland McGrath  <roland@hack.frob.com>
1404
1405         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
1406         just Linux configurations.  Test empirically that the compiler sets
1407         __ARM_EABI__, rather than using the tuple to decide.
1408         * sysdeps/arm/preconfigure: Regenerated.
1409         * sysdeps/unix/sysv/linux/arm/configure: File removed.
1410         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
1411         contents appended ...
1412         * sysdeps/arm/configure.ac: ... here.
1413         * sysdeps/arm/configure: Regenerated.
1414
1415 2014-07-15  Roland McGrath  <roland@hack.frob.com>
1416
1417         * nptl/pthread_kill.c: New file.
1418         * nptl/pthread_sigmask.c: New file.
1419         * nptl/pthread_sigqueue.c: New file.
1420
1421         * sysdeps/nptl/lowlevellock.h: New file.
1422         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
1423         * sysdeps/nptl/lowlevellock-futex.h: New file.
1424
1425         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
1426         Remove dead declarations.
1427
1428 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
1429
1430         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
1431         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
1432         config-cflags-avx2.
1433         * sysdeps/x86_64/configure.ac: Likewise.
1434         * sysdeps/i386/configure: Regenerated.
1435         * sysdeps/x86_64/configure: Likewise.
1436         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1437         memset-avx2 only if config-cflags-avx2 is yes.
1438         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1439         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
1440         defined.
1441         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
1442         only if HAVE_AVX2_SUPPORT is defined.
1443         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1444
1445 2014-07-14  Alan Modra  <amodra@gmail.com>
1446
1447         [BZ #17153]
1448         * elf/elf.h (DT_PPC64_NUM): Correct value.
1449         * NEWS: Add to fixed bug list.
1450
1451 2014-07-13  Jim Meyering  <meyering@fb.com>
1452
1453         [BZ 17150]
1454         regex: don't deref NULL upon heap allocation failure
1455         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
1456         failure in one more place.
1457         To trigger the segfault, configure grep -with-included-regex,
1458         build it, and run these commands:
1459         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
1460
1461 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
1462
1463         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1464
1465 2014-07-11  Richard Henderson  <rth@redhat.com>
1466
1467         * sysdeps/aarch64/libm-test-ulps: Update.
1468
1469 2014-07-10  Florian Weimer  <fweimer@redhat.com>
1470
1471         [BZ #17135]
1472         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
1473         * nptl/allocatestack.c (__nptl_setxid_error): New function.
1474         (__nptl_setxid): Initialize error member.  Call
1475         __nptl_setxid_error.
1476         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
1477         * nptl/descr.h (struct xid_command): Add error member.
1478         * nptl/tst-setuid3.c: New file.
1479         * nptl/Makefile (tests): Add it.
1480
1481 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1482
1483         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
1484         New define.
1485         (__lll_trylock): Use __lll_base_trylock.
1486         (__lll_cond_trylock): Likewise.
1487
1488 2014-07-10  Roland McGrath  <roland@hack.frob.com>
1489
1490         * nptl/pthread_create.c (start_thread): Use atomic_or and
1491         lll_futex_wake directly rather than lll_robust_dead.
1492         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1493         (lll_robust_dead): Macro removed.
1494         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
1495         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1496         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1497         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1498         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1499         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1500         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1501         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1502         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1503         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1504         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1505         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1506         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1507         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1508         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1509
1510         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1511         Use atomic_compare_and_exchange_val_acq directly rather than
1512         lll_robust_trylock.
1513         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1514         (__lll_robust_trylock, lll_robust_trylock): Removed.
1515         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1516         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1517         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1518         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1519         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1520         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1521         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1522         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1523         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1524         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1525         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1526         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1527         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1528         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1529
1530 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1531
1532         * manual/locale.texi (Locale Names): New section documenting
1533         locale name syntax.  Adjust menu and node chaining accordingly.
1534         (Choosing Locale): Reference Locale Names, Locale Categories.
1535         Mention setting LC_ALL=C.  Reflect that name syntax is now
1536         documented.
1537         (Locale Categories): New section title.  Reference Locale Names.
1538         LC_ALL is an environment variable, but not a category.
1539         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
1540         description, now in Locale Name.  Reference that section.  Locale
1541         name syntax is now documented.
1542
1543 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1544
1545         [BZ #17137]
1546         * locale/findlocale.c (name_present, valid_locale_name): New
1547         functions.
1548         (_nl_find_locale): Use the loc_name variable to store name
1549         candidates.  Call name_present and valid_locale_name to check and
1550         validate locale names.  Return an error if the locale is invalid.
1551
1552 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1553
1554         * locale/setlocale.c (setlocale): Use strdup for allocating
1555         composite name copy.
1556
1557 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1558
1559         Sync up with gnulib.
1560         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
1561         [!_LIBC && ENABLE_NLS]: Include gettext.h.
1562         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
1563         and _GL_ARG_NONNULL.
1564         [USE_UNLOCKED_IO]: Include unlocked-io.h.
1565         [!_LIBC]: Include code for Windows and Cygwin.
1566         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
1567         Include prototype for int strerror_r.
1568         [!_LIBC] (is_open): New function.
1569         (flush_stdout): New function.
1570         (print_errno_message): Use it.
1571         (error): Likewise.
1572         (error_at_line): Likewise.
1573         (error_tail) Add function attribute macros.  Use
1574         __builtin_expect.
1575
1576         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
1577
1578         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
1579
1580         * io/ftw.c: Include sys/param.h unconditionally.
1581
1582         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
1583
1584         [BZ #17125]
1585         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
1586         libc_freeres_ptr.
1587         (freecache): New function to free CACHE on exit.
1588
1589         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
1590         initialization.
1591
1592 2014-07-09  David S. Miller  <davem@davemloft.net>
1593
1594         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1595
1596         * sysdeps/sparc/nptl/internaltypes.h: Delete.
1597         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
1598         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
1599         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
1600         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
1601         * sysdeps/sparc/nptl/sem_init.c: Likewise.
1602         * sysdeps/sparc/nptl/sem_post.c: Likewise.
1603         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
1604         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
1605         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
1606         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
1607         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
1608         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
1609
1610 2014-07-09  Andreas Schwab  <schwab@suse.de>
1611
1612         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
1613         output.
1614         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
1615         (do_test): Likewise.
1616
1617         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1618
1619 2014-07-09  Will Newton  <will.newton@linaro.org>
1620
1621         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
1622         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
1623         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
1624         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
1625         * sysdeps/hppa/start.S (_start): Likewise.
1626
1627 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
1628
1629         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
1630
1631         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
1632         defined.
1633
1634 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1635
1636         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
1637         after checking that it is non-NULL.
1638
1639         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
1640
1641 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1642
1643         * sysdeps/powerpc/memmove.c: Remove file.
1644         * sysdeps/powerpc/powerpc32/power4/memcopy.h
1645         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
1646         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1647         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
1648         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
1649         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
1650         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
1651         string memmove instead of removed powerpc one.
1652
1653         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1654         [weak_alias]: Fix compiler warning due trailing data.
1655         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
1656         [weak_alias]: Likewise.
1657         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
1658         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
1659
1660         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1661         (__libc_ifunc_impl_list): Add memmove functions.
1662
1663 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1664
1665         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
1666         Remove code.
1667         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
1668         Likewise
1669         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
1670         Likewise
1671         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
1672         Likewise
1673         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
1674         Likewise
1675         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
1676         Likewise
1677         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
1678         Likewise
1679         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
1680         Likewise
1681         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
1682         Likewise
1683         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
1684         Likewise
1685         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
1686         Likewise
1687         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
1688         Likewise
1689         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
1690         Likewise
1691         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
1692         Likewise
1693         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
1694         Likewise
1695         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
1696         Likewise
1697         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
1698         Likewise
1699
1700 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1701
1702         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
1703         to avoid alignment traps in non-cacheable memory.
1704         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1705
1706         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
1707         multiarch objects.
1708         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
1709         file: multiarch power7 memmove.
1710         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
1711         multiarch default memmove.
1712         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
1713         multiarch memove for powerpc32/power4.
1714
1715         * string/bcopy.c: Use full path to include memmove.c.
1716         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
1717         multiarch objects.
1718         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
1719         bcopy for powerpc64.
1720         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
1721         bcopy for powerpc64.
1722         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
1723         and memmove implementations.
1724         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
1725         optimized multiarch memmove for POWER7/powerpc64.
1726         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
1727         default multiarch memmove for powerpc64.
1728         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
1729         multiarch for powerpc64.
1730         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
1731         for POWER7/powerpc64.
1732         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
1733         memmove for POWER7/powerpc64.
1734
1735         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
1736         glibc default one.
1737
1738         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
1739         __ELF_NATIVE_CLASS equal to 64.
1740
1741 2014-07-07  Roland McGrath  <roland@hack.frob.com>
1742
1743         * sysdeps/nptl/lowlevellock.h: File removed.
1744
1745         * NEWS: NPTL is no longer an add-on!
1746         * nptl/internaltypes.h: Moved ...
1747         * sysdeps/nptl/internaltypes.h: ... here.
1748         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
1749         * sysdeps/nptl/fork.c: Likewise.
1750         * sysdeps/nptl/gai_misc.h: Likewise.
1751         * sysdeps/nptl/librt-cancellation.c: Likewise.
1752         * sysdeps/nptl/jmp-unwind.c: Likewise.
1753         * sysdeps/nptl/setxid.h: Likewise.
1754         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
1755         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
1756         * sysdeps/unix/sysv/linux/arm/Implies: New file.
1757         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
1758         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
1759         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
1760         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
1761         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
1762         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
1763         * sysdeps/unix/sysv/linux/mips/Implies: New file.
1764         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
1765         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
1766         * sysdeps/unix/sysv/linux/sh/Implies: New file.
1767         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
1768         * sysdeps/unix/sysv/linux/tile/Implies: New file.
1769         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
1770         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
1771         * nptl/Makeconfig: Moved ...
1772         * sysdeps/nptl/Makeconfig: ... here.
1773         * nptl/configure: File removed.
1774         * nptl/ANNOUNCE: File removed.
1775         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
1776         * sysdeps/unix/sysv/linux/configure: Regenerated.
1777
1778         * nptl/Makefile (routines): Add libc_pthread_init,
1779         libc_multiple_threads, register-atfork and unregister-atfork.
1780         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
1781         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
1782         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
1783         pthread-pi-defines.sym, structsem.sym.
1784         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
1785         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
1786         [$(subdir) = nptl] (tests): Add tst-setgetname.
1787         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
1788         * sysdeps/unix/sysv/linux/sigaction.c: Just include
1789         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
1790         [!LIBC_SIGACTION]: Remove aliases.
1791         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1792         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1793         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1794         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1795         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1796         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
1797         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1798         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1799         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1800         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
1801         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
1802         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
1803         __libc_allocate_rtsig_private.
1804         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
1805         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
1806         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1807         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1808         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1809         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
1810         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
1811         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
1812         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
1813         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
1814         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
1815         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
1816         * nptl/internaltypes.h: ... here.
1817         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1818         * sysdeps/nptl/jmp-unwind.c: ... here.
1819         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1820         * nptl/libc-lowlevellock.c: ... here.
1821         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1822         * nptl/libc_multiple_threads.c: ... here.
1823         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1824         * nptl/libc_pthread_init.c: ... here.
1825         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1826         * nptl/lowlevelbarrier.sym: ... here.
1827         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1828         * nptl/lowlevelcond.sym: ... here.
1829         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1830         * nptl/lowlevellock.c: ... here.
1831         * nptl/lowlevellock.h: Moved ...
1832         * sysdeps/nptl/lowlevellock.h: ... here.
1833         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1834         * nptl/lowlevelrobustlock.c: ... here.
1835         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1836         * nptl/lowlevelrobustlock.sym: ... here.
1837         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1838         * nptl/lowlevelrwlock.sym: ... here.
1839         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1840         * nptl/pt-fork.c: ... here.
1841         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1842         * nptl/pthread-pi-defines.sym: ... here.
1843         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1844         * nptl/pthread_attr_getaffinity.c: ... here.
1845         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1846         * nptl/pthread_attr_setaffinity.c: ... here.
1847         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1848         * nptl/pthread_mutex_cond_lock.c: ... here.
1849         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1850         Update #include.
1851         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1852         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1853         * nptl/pthread_once.c: ... here, replacing old file.
1854         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1855         * nptl/pthread_yield.c: ... here.
1856         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1857         * nptl/register-atfork.c: ... here.
1858         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1859         * nptl/sem_post.c: ... here.
1860         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1861         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1862         * nptl/sem_timedwait.c: ... here.
1863         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1864         * nptl/sem_trywait.c: ... here.
1865         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1866         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1867         * nptl/sem_wait.c: ... here.
1868         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1869         * nptl/structsem.sym: ... here.
1870         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1871         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1872         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1873         * nptl/unregister-atfork.c: ... here.
1874         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1875         * nptl/unwindbuf.sym: ... here.
1876         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1877         * sysdeps/nptl/fork.c: ... here.
1878         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1879         * sysdeps/nptl/fork.h: ... here.
1880         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1881         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1882         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1883         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1884         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1885         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1886         * sysdeps/unix/sysv/linux/getpid.c: ... here.
1887         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1888         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1889         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1890         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1891         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1892         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1893         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
1894         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1895         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1896         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1897         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1898         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1899         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1900         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1901         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1902         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1903         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1904         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1905         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1906         * sysdeps/unix/sysv/linux/raise.c: ... here.
1907         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1908         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1909         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1910         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1911         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1912         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1913         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1914         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1915         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1916         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1917         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1918         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1919         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1920         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1921         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1922
1923 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1924
1925         * sysdeps/generic/memcopy.h: Add comment for
1926         MEMCPY_OK_FOR_FWD_MEMMOVE.
1927
1928 2014-07-04  Will Newton  <will.newton@linaro.org>
1929
1930         * string/memchr.c: Merge from gnulib.
1931         [_LIBC]: Remove conditionals.
1932         (__ptr_t): Remove define.
1933         (LONG_MAX_32_BITS): Likewise.
1934         (LONG_MAX): Likewise.
1935         (MEMCHR): Use ANSI prototype and optimize algorithm.
1936
1937         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1938
1939 2014-07-03  Roland McGrath  <roland@hack.frob.com>
1940
1941         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1942         (lll_futex_timed_wait_bitset): Fix syscall argument count.
1943
1944         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1945         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1946         in a bare environment with no <stdlib.h> installed.
1947         * sysdeps/nptl/configure: Regenerated.
1948
1949         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1950
1951         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1952         AC_EGREP_CPP for kernel header checks, so they only succeed if
1953         including <linux/version.h> actually works right.
1954         * sysdeps/unix/sysv/linux/configure: Regenerated.
1955
1956         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1957         value so it's not diagnosed as unused.
1958
1959         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1960         thing) with "ifeq ($(subdir),rt)".
1961
1962 2014-07-03  Richard Henderson  <rth@redhat.com>
1963
1964         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1965         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1966         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1967
1968         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1969         (math_force_eval): New.
1970
1971         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1972         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1973
1974         * sysdeps/alpha/fpu/s_round.c: Remove file.
1975         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1976
1977         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1978         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1979         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1980         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1981         (_dl_start, print_statistics): Likewise.
1982         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1983         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1984
1985         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1986         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1987         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1988         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1989         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1990         (HP_SMALL_TIMING_AVAIL): Define.
1991         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1992         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1993         (HP_SMALL_TIMING_AVAIL): Define.
1994         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1995         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1996
1997         * sysdeps/aarch64/hp-timing.h: New file.
1998
1999         * sysdeps/generic/hp-timing.h: Remove dead comment.
2000         * sysdeps/generic/hp-timing-common.h: New file.
2001         * sysdeps/alpha/hp-timing.h: Include it.
2002         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
2003         * sysdeps/i386/i686/hp-timing.h: Likewise.
2004         * sysdeps/ia64/hp-timing.h: Likewise.
2005         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2006         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2007         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2008         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2009         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
2010         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
2011         (hp_timing_t): New.
2012
2013         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
2014         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
2015         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
2016         * elf/rtld.c (_dl_start_final): Likewise.
2017         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
2018         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2019         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2020         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2021         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2022         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2023         (HP_TIMING_DIFF_INIT): Remove.
2024         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2025         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
2026         (HP_TIMING_DIFF_INIT): Remove.
2027         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2028         * sysdeps/i386/i686/hp-timing.c: Remove file.
2029         * sysdeps/x86_64/hp-timing.c: Remove file.
2030         * sysdeps/ia64/hp-timing.c: Remove file.
2031         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
2032         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
2033         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
2034         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
2035
2036         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
2037         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
2038         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
2039         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2040         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2041         (HP_TIMING_ACCUM): Remove.
2042         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2043         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
2044         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2045
2046         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
2047         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
2048         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
2049         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
2050         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
2051         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2052         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
2053         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2054
2055         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
2056
2057 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
2058
2059         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
2060
2061 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2062
2063         Sync up with gettext.
2064         * intl/loadmsgcat.c: Define O_BINARY if not defined.
2065         [_MSC_VER]: Include malloc.h
2066         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
2067         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
2068         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
2069         TEMP_FAILURE_RETRY.  Cast return of alloca.
2070         [!_LIBC] Call gl_rwlock_init.
2071         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
2072
2073 2014-07-02  Roland McGrath  <roland@hack.frob.com>
2074
2075         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
2076         before checking its value.
2077
2078 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2079
2080         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
2081
2082         * debug/memcpy_chk.c: Don't include pagecopy.h.
2083         * debug/mempcpy_chk.c: Likewise.
2084         * string/memcpy.c: Likewise.
2085         * string/memmove.c: Likewise.
2086         * sysdeps/powerpc/memmove.c: Likewise.
2087         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
2088         definition of PAGE_COPY_FWD_MAYBE here...
2089         * sysdeps/generic/pagecopy.h: ... from here.
2090         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
2091
2092 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2093             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2094
2095         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
2096         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
2097         optimizations.
2098         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2099         (__libc_ifunc_impl_list): Likewise.
2100         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
2101         multiarch strcat for PPC64.
2102         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
2103         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
2104
2105 2014-07-02  Roland McGrath  <roland@hack.frob.com>
2106
2107         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
2108
2109 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2110
2111         * intl/loadmsgcat.c: Remove declaration of
2112         get_sysdep_segment_value.
2113         (get_sysdep_segment_value): Use ISO C style.
2114         (_nl_load_domain): Use ISO C style.  Get rid of redundant
2115         semicolon.  Fix typo and formatting in comment.
2116         (_nl_unload_domain): Use ISO C style.
2117
2118         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
2119
2120 2014-07-02  Will Newton  <will.newton@linaro.org>
2121
2122         * malloc/obstack.c: Merge from gnulib master.
2123         [HAVE_CONFIG_H]: Remove conditional code.
2124         [!_LIBC]: Include config.h.
2125         [!ELIDE_CODE]: Don't include inttypes.h, include
2126         stdint.h unconditionally.
2127         (print_and_abort): Mark as _Noreturn.
2128         (_obstack_allocated_p): Mark as __attribute_pure__.
2129         (obstack_free): Rename to __obstack_free.
2130         [!__attribute__]: Remove conditional code.
2131         * malloc/obstack.h: Merge from gnulib master.
2132         [__cplusplus]: Move conditional down.
2133         [!__attribute_pure__]: Define __attribute_pure__ here
2134         if it is not already defined.
2135         (_obstack_memory_used): Mark as __attribute_pure__.
2136         [!__obstack_free]: Define as obstack_free.
2137         [__GNUC__]: Remove check for ancient NeXT gcc.
2138
2139 2014-07-02  Will Newton  <will.newton@linaro.org>
2140             Paul Eggert  <eggert@cs.ucla.edu>
2141
2142         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
2143
2144 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2145
2146         * resolv/gethnamaddr.c: Add comment warning that the file is
2147         not maintained.
2148
2149 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
2150
2151         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
2152         entries.
2153
2154         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
2155         entry for aio_cancel and aio_cancel64.
2156         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
2157         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
2158         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
2159         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
2160         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
2161         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
2162         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
2163         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
2164         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
2165         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
2166         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
2167         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
2168         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
2169
2170 2014-07-01  Roland McGrath  <roland@hack.frob.com>
2171
2172         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
2173         * nptl/pthread_mutex_lock.c: Likewise.
2174         * nptl/pthread_mutex_timedlock.c: Likewise.
2175         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
2176
2177 2014-07-01  Richard henderson  <rth@redhat.com>
2178
2179         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
2180         (__isnan, __isnanl): Remove.
2181         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
2182
2183         * sysdeps/alpha/fpu/libm-test-ulps: Update.
2184
2185 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
2186
2187         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2188
2189 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
2190
2191         * resolv/nss_dns/dns-host.c (getanswer_r)
2192         [MULTI_PTRS_ARE_ALIASES]: Remove code.
2193
2194 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
2195
2196         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2197         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
2198         undefine.
2199         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
2200         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
2201
2202 2014-07-01  Roland McGrath <roland@hack.frob.com>
2203
2204         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
2205         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
2206
2207         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
2208         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
2209
2210         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
2211         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
2212         ... here.
2213         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
2214         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
2215
2216         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
2217         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
2218         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
2219         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
2220
2221         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
2222         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
2223         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
2224         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
2225         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
2226         Moved ...
2227         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
2228         ... here.
2229         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
2230         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
2231         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
2232         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
2233         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
2234         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
2235         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
2236         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
2237         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
2238         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
2239         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
2240         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
2241         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
2242         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
2243         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
2244         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
2245         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
2246         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
2247         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
2248         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
2249         ... here.
2250         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
2251         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
2252         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
2253         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
2254         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
2255         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
2256         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
2257         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
2258
2259 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
2260
2261         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
2262         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
2263         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
2264         Add sysdep.
2265
2266 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2267
2268         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2269
2270 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
2271
2272         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2273         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2274
2275         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2276
2277         * sysdeps/arm/libm-test-ulps: Regenerated.
2278
2279 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
2280             Roland McGrath <roland@hack.frob.com>
2281
2282         * test-skeleton.c (signal_handler): Kill the whole process group
2283         before killing the child individually.
2284         (main): Report any failure on `setpgid'.
2285
2286 2014-06-30  Roland McGrath  <roland@hack.frob.com>
2287
2288         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
2289         from _TLS_H to _ARM_NPTL_TLS_H.
2290         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
2291         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
2292
2293 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
2294
2295         [BZ #16539]
2296         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
2297         (__expm1l): Return argument unchanged when small but not
2298         subnormal.
2299
2300         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
2301         include macro name.
2302         (_FP_UNPACK_RAW_1_P): Likewise.
2303         (_FP_PACK_RAW_1): Likewise.
2304         (_FP_PACK_RAW_1_P): Likewise.
2305         (_FP_MUL_MEAT_1_wide): Likewise.
2306         (_FP_MUL_MEAT_DW_1_hard): Likewise.
2307         (_FP_MUL_MEAT_1_hard): Likewise.
2308         (_FP_DIV_MEAT_1_imm): Likewise.
2309         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
2310         (_FP_DIV_MEAT_1_udiv): Likewise.
2311         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
2312         (_FP_UNPACK_RAW_2): Likewise.
2313         (_FP_UNPACK_RAW_2_P): Likewise.
2314         (_FP_PACK_RAW_2): Likewise.
2315         (_FP_PACK_RAW_2_P): Likewise.
2316         (_FP_MUL_MEAT_DW_2_wide): Likewise.
2317         (_FP_MUL_MEAT_2_wide): Likewise.
2318         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
2319         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
2320         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
2321         (_FP_MUL_MEAT_2_gmp): Likewise.
2322         (_FP_DIV_MEAT_2_udiv): Likewise.
2323         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
2324         (_FP_FRAC_SRL_4): Likewise.
2325         (_FP_FRAC_SRST_4): Likewise.
2326         (_FP_FRAC_SRS_4): Likewise.
2327         (_FP_UNPACK_RAW_4): Likewise.
2328         (_FP_UNPACK_RAW_4_P): Likewise.
2329         (_FP_PACK_RAW_4): Likewise.
2330         (_FP_PACK_RAW_4_P): Likewise.
2331         (_FP_MUL_MEAT_DW_4_wide): Likewise.
2332         (_FP_MUL_MEAT_4_wide): Likewise.
2333         (_FP_MUL_MEAT_4_gmp): Likewise.
2334         (umul_ppppmnnn): Likewise.
2335         (_FP_DIV_MEAT_4_udiv): Likewise.
2336         (__FP_FRAC_ADD_4): Likewise.
2337         (__FP_FRAC_SUB_3): Likewise.
2338         (__FP_FRAC_SUB_4): Likewise.
2339         (__FP_FRAC_DEC_3): Likewise.
2340         (__FP_FRAC_DEC_4): Likewise.
2341         (__FP_FRAC_ADDI_4): Likewise.
2342         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
2343         (_FP_FRAC_SRL_8): Likewise.
2344         (_FP_FRAC_SRS_8): Likewise.
2345
2346         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
2347         include macro name.
2348         (FP_UNPACK_RAW_EP): Likewise.
2349         (FP_PACK_RAW_E): Likewise.
2350         (FP_PACK_RAW_EP): Likewise.
2351         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
2352         (_FP_ISSIGNAN): Likewise.
2353         (_FP_ADD_INTERNAL): Likewise.
2354         (_FP_FMA): Likewise.
2355         (_FP_CMP): Likewise.
2356         (_FP_SQRT): Likewise.
2357         (_FP_TO_INT): Likewise.
2358         (_FP_FROM_INT): Likewise.
2359         (FP_EXTEND): Likewise.
2360         (_FP_DIV_MEAT_N_loop): Likewise.
2361
2362 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
2363
2364         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
2365         throughout.
2366
2367 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
2368
2369         [BZ #17097]
2370         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
2371         result with correct sign in case of exponents that produce
2372         overflow except for X very close to 1.
2373
2374 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
2375
2376         mktime: merge #if/#ifdef usage from glibc
2377         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
2378         as that works with both Glibc's and Gnulib's style.
2379         See thread starting at Siddhesh Poyarekar's bug report at:
2380         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
2381
2382 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2383
2384         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
2385         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
2386         * sysdeps/tile/tilegx/memmove.c: Remove file.
2387
2388 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
2389
2390         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
2391         abi-name definition.
2392         * scripts/soversions.awk: Do not handle or generate ABI lines.
2393         * shlib-versions: Remove ABI entries.
2394         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
2395         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
2396
2397 2014-06-27  Roland McGrath  <roland@hack.frob.com>
2398
2399         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
2400         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
2401         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
2402         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
2403         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
2404         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
2405         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
2406         Moved ...
2407         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
2408         ... here.
2409         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
2410         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
2411         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
2412         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
2413         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
2414         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
2415         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
2416         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
2417         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
2418         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
2419         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
2420         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
2421         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
2422         Moved ...
2423         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
2424         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
2425         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
2426         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
2427         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
2428         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
2429         Moved ...
2430         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
2431         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
2432         Moved ...
2433         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
2434         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
2435         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
2436         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
2437         Moved ...
2438         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
2439         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
2440         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
2441         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
2442         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
2443         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
2444         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
2445         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
2446         Moved ...
2447         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
2448         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
2449         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
2450         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
2451         Moved ...
2452         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
2453         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
2454         Moved ...
2455         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
2456         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
2457         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
2458         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
2459         Moved ...
2460         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
2461         ... here.
2462         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
2463         Identical file removed.
2464         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
2465         Moved ...
2466         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
2467         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
2468         Identical file removed.
2469         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
2470         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
2471         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
2472         Moved ...
2473         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
2474         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
2475         Identical file removed.
2476         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
2477         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
2478         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
2479         Identical file removed.
2480         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
2481         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
2482         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
2483         Identical file removed.
2484         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
2485         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
2486         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
2487         Identical file removed.
2488         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
2489         Moved ...
2490         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
2491         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
2492         Identical file removed.
2493         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
2494         Moved ...
2495         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
2496         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
2497         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
2498         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
2499         Identical file removed.
2500         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
2501         Moved ...
2502         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
2503         ... here.
2504         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
2505         Identical file removed.
2506         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
2507         Moved ...
2508         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
2509         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
2510         Identical file removed.
2511         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
2512         Moved ...
2513         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
2514         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
2515         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
2516         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
2517         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
2518         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
2519         Moved ...
2520         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
2521         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
2522         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
2523
2524         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
2525         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
2526         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
2527         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
2528         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
2529
2530 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
2531
2532         [BZ #17092]
2533         * nscd/nscd.c (monitor_child): Return exit status of child
2534         instead of return value from wait syscall.
2535
2536 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
2537
2538         * configure.ac (libc_commonpagesize): Remove variable.
2539         (libc_relro_required): Likewise.
2540         (libc_cv_z_relro): Remove configure test.
2541         * configure: Regenerated.
2542         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
2543         variable.
2544         (libc_relro_required): Likewise.
2545         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
2546         (libc_relro_required): Likewise.
2547         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
2548         (libc_relro_required): Likewise.
2549         * sysdeps/arm/preconfigure: Regenerated.
2550         * sysdeps/ia64/preconfigure: Remove file.
2551         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
2552         variable.
2553         (libc_relro_required): Likewise.
2554
2555         [BZ #16561]
2556         [BZ #16562]
2557         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
2558         (__ieee754_yn): Set FE_TONEAREST mode internally and then
2559         recompute overflowing results in original rounding mode.
2560         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
2561         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
2562         recompute overflowing results in original rounding mode.
2563         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
2564         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2565         recompute overflowing results in original rounding mode.
2566         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
2567         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2568         recompute overflowing results in original rounding mode.
2569         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
2570         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2571         recompute overflowing results in original rounding mode.
2572         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
2573         (libc_feholdsetround_ctx): New macro.
2574         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
2575         * sysdeps/i386/fpu/libm-test-ulps: Update.
2576         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
2577
2578 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2579
2580         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
2581         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
2582         corresponding .cpsetup call.
2583
2584 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2585
2586         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
2587         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
2588         * sysdeps/arm/Makefile [$(subdir) = csu]
2589         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
2590         (static-only-routines): Add aeabi_read_tp here.
2591         (shared-only-routines): Add libc-aeabi_read_tp here.
2592         (CFLAGS-libc-start.c): Add -fexceptions here.
2593         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
2594         (sysdep_routines, static-only-routines, shared-only-routines):
2595         Don't add to these here.
2596         (CFLAGS-libc-start.c): Likewise.
2597
2598         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
2599         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2600         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
2601         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2602         * sysdeps/arm/Makefile [$(subdir) = rt]
2603         (librt-sysdep_routines, librt-shared-only-routines):
2604         Append rt-aeabi_unwind_cpp_pr1 here.
2605         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
2606         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
2607         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
2608         (libpthread-sysdep_routines, libpthread-shared-only-routines):
2609         Append nptl-aeabi_unwind_cpp_pr1 here.
2610         (tests): Filter out tst-cleanupx4 here.
2611         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
2612         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
2613         Don't do those here.
2614
2615 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2616
2617         * scripts/list-sources.sh: Do not handle ports specially.
2618
2619 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2620
2621         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
2622         * sysdeps/arm/feupdateenv.c: Likewise.
2623
2624         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
2625
2626 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2627
2628         * manual/texinfo.tex: Update to version 2014-05-05.10 with
2629         trailing whitespace removed.
2630         * scripts/config.guess: Update to version 2014-03-23.
2631         * scripts/config.sub: Update to version 2014-05-01
2632         * scripts/install-sh: Update to version 2013-12-25.23.
2633         * scripts/move-if-change: Update from gnulib.
2634
2635 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2636
2637         * debug/memmove_chk.c: Remove pagecopy.h include.
2638
2639 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
2640
2641         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
2642         identical to gnulib mktime.
2643
2644 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2645
2646         * configure.ac: Do not test for machine being rs6000.  Do not test
2647         for powerpc*-*soft.
2648         * configure: Regenerated.
2649
2650         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
2651         test.
2652         * configure: Regenerated.
2653         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
2654         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
2655         Remove configure test.
2656         * sysdeps/arm/configure: Regenerated.
2657         * sysdeps/nptl/configure.ac: Do not check
2658         libc_cv_asm_cfi_directives.
2659         * sysdeps/nptl/configure: Regenerated.
2660         * sysdeps/x86_64/nptl/configure.ac: Remove file.
2661         * sysdeps/x86_64/nptl/configure: Remove generated file.
2662         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
2663         unconditional.
2664         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
2665
2666 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2667
2668         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
2669         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
2670         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
2671         it is defined.
2672
2673         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
2674         instead of whether it is defined.
2675         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
2676         * sysdeps/hppa/dl-machine.h: Likewise.
2677         * sysdeps/ia64/dl-machine.h: Likewise.
2678         * sysdeps/m68k/dl-machine.h: Likewise.
2679         * sysdeps/microblaze/dl-machine.h: Likewise.
2680         * sysdeps/mips/dl-machine.: Likewise.
2681         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
2682         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2683         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2684         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2685         * sysdeps/sh/dl-machine.h: Likewise.
2686         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2687         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2688         * sysdeps/tile/dl-machine.h: Likewise.
2689         * sysdeps/x86_64/dl-machine.h: Likewise.
2690
2691         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
2692         code.
2693         (verify_persistent_db): Likewise.
2694
2695 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2696
2697         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
2698         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
2699         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
2700         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
2701         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2702         Moved ...
2703         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
2704         ... here.
2705         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
2706         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
2707         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
2708         Identical file removed.
2709         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
2710         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
2711         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
2712         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
2713         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
2714         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
2715         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
2716         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
2717         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
2718         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
2719         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2720         Moved ...
2721         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
2722         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
2723         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
2724         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
2725         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
2726         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2727         Moved ...
2728         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
2729         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
2730         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
2731         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
2732         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
2733         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2734         Identical file removed.
2735         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
2736         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
2737         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
2738         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
2739         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2740         Moved ...
2741         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
2742         ... here.
2743         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
2744         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
2745         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
2746         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
2747         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
2748         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
2749         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
2750         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
2751         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
2752         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
2753         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2754         Moved ...
2755         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
2756         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
2757         Moved ...
2758         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
2759         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
2760         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
2761         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2762         Moved ...
2763         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
2764         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
2765         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
2766
2767         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
2768         folded into ...
2769         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
2770         * sysdeps/unix/sysv/linux/s390/Versions
2771         (libpthread: GLIBC_2.19): New version set.
2772         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
2773         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
2774         (librt: GLIBC_2.3.3): New version set.
2775         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
2776         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
2777         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
2778         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
2779         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
2780         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
2781         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
2782         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
2783         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
2784         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
2785         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
2786         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
2787         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
2788         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
2789         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
2790         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
2791         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
2792         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
2793         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
2794         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
2795         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
2796         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
2797         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
2798         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
2799         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
2800         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
2801         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
2802         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
2803         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
2804         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
2805         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
2806         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
2807         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
2808         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
2809         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
2810         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
2811         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
2812         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
2813         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
2814         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
2815         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
2816         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2817         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2818         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2819         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2820
2821         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2822         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2823         (__libc_vfork): Define the function under this name.
2824         [!NOT_IN_libc] (__vfork): Make this an alias.
2825         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2826         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2827         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
2828         (__libc_vfork): Define the function under this name.
2829         [!NOT_IN_libc] (__vfork): Make this an alias.
2830         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2831         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2832         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2833         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2834         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2835         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2836
2837         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2838         code that was previously under [RESET_PID].
2839         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2840         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2841         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2842
2843         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2844         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2845         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2846         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2847         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2848         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2849         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2850         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2851         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2852         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2853         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2854         Moved ...
2855         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2856         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2857         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2858         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2859         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2860         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2861         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2862         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2863         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2864         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2865         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2866         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2867         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2868         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2869         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2870         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2871         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2872         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2873         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2874         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2875         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2876         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2877         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2878         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2879         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2880         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2881         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2882         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2883         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2884
2885 2014-06-25  Roland McGrath  <roland@hack.frob.com>
2886
2887         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2888         that was previously under [RESET_PID].
2889         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2890
2891 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2892
2893         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
2894         not undefine and redefine.
2895         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2896         [O_CLOEXEC]: Make code unconditional.
2897         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2898         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2899         <kernel-features.h>.
2900         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2901         conditional variable definition.
2902         (shm_open) [O_CLOEXEC]: Make code unconditional.
2903         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2904         code.
2905
2906         * configure.ac (USE_REGPARMS): Don't define here.
2907         * configure: Regenerated.
2908         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2909         * sysdeps/i386/configure: Regenerated.
2910
2911         * nptl/createthread.c: Don't include kernel-features.h.
2912         * nptl/pthread_cancel.c: Likewise.
2913         * nptl/pthread_condattr_setclock.c: Likewise.
2914         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2915         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2916         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2917         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2918         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2919         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2920         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2921         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2922         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2923         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2924         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2925         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2926         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2927         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2928         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2929         * nscd/gai.c: Likewise.
2930         * nss/nss_db/db-open.c: Likewise.
2931         * sysdeps/generic/ldsodefs.h: Likewise.
2932         * sysdeps/sh/nptl/tls.h: Likewise.
2933         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2934         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2935         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2936         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2937         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2938         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2939         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2940         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2941         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2942         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2943         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2944         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2945         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2946         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2947         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2948         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2949         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2950         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2951         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2952         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2953         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2954         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2955         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2956         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2957         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2958         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2959         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2960         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2961         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2962         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2963         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2964         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2965         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2966         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2967         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2968         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2969         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2970         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2971         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2972         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2973         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2974         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2975         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2976         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2977         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2978         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2979         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2980         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2981         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2982         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2983         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2984         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2985         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2986         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2987         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2988         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2989         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2990         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
3002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
3003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
3004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
3005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
3011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
3012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
3013         * sysdeps/unix/sysv/linux/pread.c: Likewise.
3014         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
3015         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
3016         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
3017         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
3018         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
3019         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
3020         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
3021         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
3022         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
3023         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
3024         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
3025         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
3026         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
3027         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3028         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
3029         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3030         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
3031         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
3032         * sysdeps/unix/sysv/linux/system.c: Likewise.
3033         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
3034         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
3035         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3036         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3037         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3038         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3039         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3040
3041         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
3042         * configure: Regenerated.
3043         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
3044
3045         * configure.ac (base_machine): Do not set specially for particular
3046         machines here.
3047         * configure: Regenerated.
3048         * sysdeps/powerpc/preconfigure: Move machine and base_machine
3049         settings from configure.ac.
3050         * sysdeps/i386/preconfigure: New file.
3051         * sysdeps/s390/preconfigure: Likewise.
3052         * sysdeps/sh/preconfigure: Likewise.
3053         * sysdeps/sparc/preconfigure: Likewise.
3054
3055 2014-06-25  Roland McGrath  <roland@hack.frob.com>
3056
3057         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
3058         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
3059         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
3060         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
3061         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
3062         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
3063         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
3064         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
3065         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
3066         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
3067         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
3068         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
3069         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
3070         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
3071         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
3072         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
3073         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
3074         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
3075         * sysdeps/sparc/sparc64/Makefile: ... appended here.
3076
3077         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
3078         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
3079         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
3080         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
3081         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
3082         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
3083         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
3084         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
3085         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
3086         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
3087         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
3088         * sysdeps/sparc/sparc32/sem_post.c: ... here.
3089         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
3090         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
3091         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
3092         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
3093         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
3094         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
3095         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
3096         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
3097         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
3098         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
3099         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
3100         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
3101         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
3102         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
3103         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
3104         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
3105         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
3106         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
3107         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
3108         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
3109         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
3110         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
3111         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
3112         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
3113         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
3114         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
3115
3116         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
3117         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
3118         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
3119         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
3120         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3121         Moved ...
3122         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
3123         ... here.
3124         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
3125         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
3126         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
3127         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
3128         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
3129         Moved ...
3130         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
3131         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
3132         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
3133         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
3134         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
3135         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
3136         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
3137         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3138         Moved ...
3139         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
3140         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3141         Moved ...
3142         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
3143         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
3144         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
3145         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3146         Moved ...
3147         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
3148         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
3149         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
3150         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
3151         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
3152         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
3153         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
3154         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
3155         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
3156         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3157         Moved ...
3158         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
3159         ... here.
3160         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
3161         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
3162         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
3163         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
3164         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
3165         Moved ...
3166         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
3167         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
3168         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
3169         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
3170         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
3171         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
3172         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
3173         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3174         Moved ...
3175         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
3176         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3177         Moved ...
3178         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
3179         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
3180         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
3181         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3182         Moved ...
3183         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
3184         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
3185         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
3186         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
3187         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
3188
3189 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
3190
3191         * timezone/checktab.awk: Update from tzcode 2014e.
3192         * timezone/private.h: Likewise.
3193         * timezone/tzfile.h: Likewise.
3194         * timezone/zdump.c: Likewise.
3195         * timezone/zic.c: Likewise.
3196
3197         * sysdeps/unix/sysv/linux/kernel-features.h
3198         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
3199         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
3200         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
3201         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3202         Remove conditional code.
3203
3204 2014-06-25  Will Newton  <will.newton@linaro.org>
3205
3206         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
3207         (_dl_arm_cap_flags): Add HWCAP2 values.
3208         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
3209         (_DL_HWCAP_COUNT): Increase to 37.
3210         (_DL_HWCAP_LAST): New define.
3211         (_DL_HWCAP2_LAST): New define.
3212         (_dl_procinfo): Add support for printing
3213         AT_HWCAP2 entries.
3214         (_dl_string_hwcap): Use _dl_hwcap_string.
3215
3216 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3217
3218         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3219
3220 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
3221
3222         * README: Do not mention ports directory.
3223
3224         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
3225         Remove macro.
3226         * sysdeps/unix/sysv/linux/futimes.c: Do not include
3227         <kernel-features.h>.
3228         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
3229         conditional variable definition.
3230         (__futimes): Update comment.
3231         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
3232         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
3233
3234         [BZ #16560]
3235         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
3236         arguments close to 0.
3237         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
3238         Likewise.
3239         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
3240         Likewise.
3241         * math/auto-libm-test-in: Add more tests of exp10.
3242         * math/auto-libm-test-out: Regenerated.
3243         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3244
3245         * sysdeps/unix/sysv/linux/kernel-features.h
3246         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
3247         * sysdeps/unix/sysv/linux/readv.c: Do not include
3248         <kernel-features.h>.
3249         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3250         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3251         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3252         unconditional.
3253         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3254         conditional code.
3255         * sysdeps/unix/sysv/linux/writev.c: Do not include
3256         <kernel-features.h>.
3257         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3258         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3259         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3260         unconditional.
3261         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3262         conditional code.
3263
3264 2014-06-25  Will Newton  <will.newton@linaro.org>
3265
3266         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
3267         comment changes throughout the file.  Remove checks
3268         for HAVE_*_H definitions that are not required.
3269         (__gen_tempname): Call abort if an unknown kind value is
3270         passed.
3271
3272 2014-06-25  Andreas Schwab  <schwab@suse.de>
3273
3274         [BZ #17086]
3275         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
3276         scalbln, scalblnf, scalblnl in libc.
3277
3278 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
3279
3280         [BZ #17086]
3281         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
3282         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3283         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3284
3285 2014-06-24  Roland McGrath  <roland@hack.frob.com>
3286
3287         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
3288         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
3289         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
3290         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
3291         Update #include.
3292         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
3293         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
3294         Update #include.
3295         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
3296         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
3297         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
3298         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
3299         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
3300         * sysdeps/x86/bits/pthreadtypes.h: ... here.
3301         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
3302         * sysdeps/x86/bits/semaphore.h: ... here.
3303         * sysdeps/x86/nptl/elide.h: Moved ...
3304         * sysdeps/x86/elide.h: ... here.
3305         * sysdeps/x86_64/nptl/Implies: File removed.
3306         * sysdeps/i386/nptl/Implies: File removed.
3307
3308 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
3309
3310         [BZ #16539]
3311         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
3312         return the argument for normal arguments with exponent below -64.
3313         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
3314         Likewise.
3315         * math/auto-libm-test-in: Add another test of expm1.
3316         * math/auto-libm-test-out: Regenerated.
3317
3318         [BZ #16287]
3319         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
3320         calling __erfcl for arguments at least 16.
3321         * math/auto-libm-test-in: Add more tests of erf.
3322         * math/auto-libm-test-out: Regenerated.
3323
3324         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
3325         individual architectures.
3326         * sysdeps/unix/sysv/linux/configure: Regenerated.
3327         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
3328         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
3329         * sysdeps/unix/sysv/linux/powerpc/configure.ac
3330         (ldd_rewrite_script): Define variable.
3331         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
3333         file.
3334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
3335         generated file.
3336         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
3337         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
3338         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
3339         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
3340         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
3341         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
3342         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
3343         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
3344
3345 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3346
3347         [BZ #17084]
3348         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
3349         Rename member __data.d to __data.__elision_data.
3350
3351 2014-06-24  Wilco  <wdijkstr@arm.com>
3352
3353         * NEWS: Add 16918 to fixed bug list.
3354
3355 2014-06-24  Wilco  <wdijkstr@arm.com>
3356
3357         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
3358
3359 2014-06-24  Wilco  <wdijkstr@arm.com>
3360
3361         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
3362         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
3363         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
3364         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
3365         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
3366         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
3367         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
3368         Use _FPU_MASK_RM.
3369
3370 2014-06-24  Wilco  <wdijkstr@arm.com>
3371
3372         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
3373
3374 2014-06-24  Wilco  <wdijkstr@arm.com>
3375
3376         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
3377         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
3378         * sysdeps/arm/fesetround.c (fesetround): Remove space.
3379         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
3380
3381 2014-06-24  Wilco  <wdijkstr@arm.com>
3382
3383         [BZ #16918]
3384         * sysdeps/arm/feupdateenv.c (feupdateenv):
3385         Rewrite to reduce FPSCR accesses and fix return value.
3386
3387 2014-06-24  Wilco  <wdijkstr@arm.com>
3388
3389         * sysdeps/arm/fclrexcpt.c (feclearexcept):
3390         Optimize to avoid unnecessary FPSCR writes.
3391         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
3392         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
3393         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
3394         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
3395
3396 2014-06-24  Wilco  <wdijkstr@arm.com>
3397
3398         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
3399         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
3400         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
3401         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
3402         Call libc_fetestexcept_vfp.
3403         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
3404         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
3405         __SOFTFP__ ifdef so that they can be built for softfp.
3406
3407 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3408
3409         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
3410         argument type signed char.
3411
3412         * Makerules (check-abi): Dump diff of symlist if the test
3413         fails.
3414
3415 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3416
3417         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
3418         using abort.
3419
3420         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3421         Remove unused variable ST.
3422
3423 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
3424
3425         [BZ #16354]
3426         [BZ #17061]
3427         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
3428         small arguments before calling __expm1.
3429         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
3430         small arguments before calling __expm1f.
3431         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
3432         small arguments before calling __expm1l.
3433         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3434         Likewise.
3435         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
3436         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
3437         spurious underflow for some cosh tests.
3438         * math/auto-libm-test-out: Regenerated.
3439         * sysdeps/i386/fpu/libm-test-ulps: Update.
3440
3441         [BZ #17050]
3442         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
3443         (__ieee754_y1): Set errno if return value overflows.
3444         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
3445         (__ieee754_y1f): Set errno if return value overflows.
3446         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
3447         (__ieee754_y1l): Set errno if return value overflows.
3448         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
3449         (__ieee754_y1l): Set errno if return value overflows.
3450         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
3451         * math/auto-libm-test-out: Regenerated.
3452
3453         * math/gen-auto-libm-tests.c: Document use of
3454         ignore-zero-inf-sign.
3455         (input_flag_type): Add value flag_ignore_zero_inf_sign.
3456         (input_flags): Add ignore-zero-inf-sign.
3457         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
3458         * math/gen-libm-test.pl (generate_testfile): Handle
3459         ignore-zero-inf-sign.
3460         * math/auto-libm-test-in: Mark some cpow tests with
3461         ignore-zero-inf-sign and some with xfail-rounding.
3462         * math/auto-libm-test-out: Regenerated.
3463         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
3464         * sysdeps/i386/fpu/libm-test-ulps: Update.
3465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3466
3467         [BZ #16315]
3468         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
3469         overflowing or underflowing operations take place with sign of
3470         result.
3471         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3472         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3473         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
3474         (__ieee754_pow): Recompute overflowing and underflowing results in
3475         original rounding mode.
3476         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
3477         (__powl_helper): Allow negative argument X and scale negated value
3478         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
3479         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
3480         overflowing or underflowing operations take place with sign of
3481         result.
3482         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
3483         Include <math.h>.
3484         * math/auto-libm-test-in: Add more tests of pow.
3485         * math/auto-libm-test-out: Regenerated.
3486         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
3487         (pow_tonearest_test_data): Remove.
3488         (pow_test_tonearest): Likewise.
3489         (pow_towardzero_test_data): Likewise.
3490         (pow_test_towardzero): Likewise.
3491         (pow_downward_test_data): Likewise.
3492         (pow_test_downward): Likewise.
3493         (pow_upward_test_data): Likewise.
3494         (pow_test_upward): Likewise.
3495         (main): Don't call removed functions.
3496         * sysdeps/i386/fpu/libm-test-ulps: Update.
3497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3498
3499 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3500
3501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
3502         Moved ...
3503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
3504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3505         Moved ...
3506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
3507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3508         Moved ...
3509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
3510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3511         Moved ...
3512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
3513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3514         File removed.
3515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3516         File removed.
3517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
3518         File removed.
3519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
3520         File removed.
3521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
3522         File removed.
3523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
3524         File removed.
3525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
3526         File removed.
3527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3528         File removed.
3529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
3530         File removed.
3531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3532         File removed.
3533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
3534         File removed.
3535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
3536         File removed.
3537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
3538         Moved ...
3539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
3540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
3541         Moved ...
3542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
3543         ... here.
3544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
3545         Moved ...
3546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
3547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
3548         Moved ...
3549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
3550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
3551         Moved ...
3552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
3553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
3554         Moved ...
3555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
3556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
3557         Moved ...
3558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
3559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
3560         Moved ...
3561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
3562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
3563         Moved ...
3564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
3565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
3566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
3567         ... here.
3568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
3569         Moved ...
3570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
3571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3572         Moved ...
3573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3574         ... here.
3575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
3576         Moved ...
3577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3578         ... here.
3579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3580         Moved ...
3581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3582         ... here.
3583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3584         Moved ...
3585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
3586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
3587         Moved ...
3588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
3589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
3590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
3591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3592         Moved ...
3593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
3594         ... here.
3595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3596         Moved ...
3597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
3598         ... here.
3599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
3600         Moved ...
3601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
3602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3603         Moved ...
3604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
3605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
3606         Moved ...
3607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
3608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3609         Moved ...
3610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
3611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3612         Moved ...
3613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
3614         ... here.
3615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3616         Moved ...
3617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
3618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
3619         Moved ...
3620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
3621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3622         Moved ...
3623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
3624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
3625         Moved ...
3626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
3627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
3628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
3629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3630         Moved ...
3631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
3632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3633         Moved ...
3634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
3635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3636         Moved ...
3637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
3638         ... here.
3639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3640         Moved ...
3641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
3642         ... here.
3643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3644         Moved ...
3645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
3646         ... here.
3647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3648         Moved ...
3649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
3650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3651         Moved ...
3652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
3653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3654         Moved ...
3655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
3656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3657         Moved ...
3658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
3659         ... here.
3660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3661         Moved ...
3662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
3663         ... here.
3664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3665         Moved ...
3666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
3667         ... here.
3668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3669         Moved ...
3670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
3671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3672         Moved ...
3673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
3674
3675 2014-06-23  Will Newton  <will.newton@linaro.org>
3676             Wilco  <wdijkstr@arm.com>
3677
3678         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
3679         implementation.  Include get-rounding-mode.h.
3680         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
3681         [!libc_feholdsetround_noex_ctx]: Define
3682         libc_feholdsetround_noex_ctx.
3683         [!libc_feholdsetround_noexf_ctx]: Define
3684         libc_feholdsetround_noexf_ctx.
3685         [!libc_feholdsetround_noexl_ctx]: Define
3686         libc_feholdsetround_noexl_ctx.
3687         (libc_feholdsetround_ctx): New function.
3688         (libc_feresetround_ctx): New function.
3689         (libc_feholdsetround_noex_ctx): New function.
3690         (libc_feresetround_noex_ctx): New function.
3691
3692 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3693
3694         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
3695         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
3696         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
3697         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
3698         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
3699         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
3700
3701         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
3702         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
3703         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
3704         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
3705         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
3706         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
3707         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
3708         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
3709         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
3710         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
3711         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
3712         Moved ...
3713         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
3714         ... here.
3715         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
3716         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
3717         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
3718         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
3719         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
3720         Moved ...
3721         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
3722         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
3723         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
3724         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
3725         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
3726         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
3727         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
3728         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
3729         Moved ...
3730         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
3731         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
3732         Moved ...
3733         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
3734         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
3735         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
3736         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
3737         Moved ...
3738         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
3739         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
3740         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
3741         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
3742         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
3743         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
3744         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
3745         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
3746         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
3747         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
3748         Moved ...
3749         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
3750         ... here.
3751         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
3752         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
3753         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
3754         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
3755         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
3756         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
3757         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
3758         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
3759         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
3760         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
3761         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
3762         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
3763         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
3764         Moved ...
3765         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
3766         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
3767         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
3768         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
3769         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
3770         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
3771         Moved ...
3772         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
3773         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
3774         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
3775         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
3776         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
3777
3778         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
3779         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
3780         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
3781         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
3782         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
3783         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
3784         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
3785         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
3786         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
3787         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
3788         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
3789         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
3790         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
3791         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
3792         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
3793         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
3794         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
3795         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
3796         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
3797         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
3798         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
3799         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
3800         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
3801         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
3802         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
3803         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
3804         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
3805         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
3806
3807 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
3808
3809         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3810         (FALLOC_FL_COLLAPSE_RANGE): New macro.
3811         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
3812         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
3813         (IPV6_PMTUDISC_INTERFACE): Likewise.
3814         (IPV6_PMTUDISC_OMIT): Likewise.
3815
3816 2014-06-23  Andreas Schwab  <schwab@suse.de>
3817
3818         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3819         Remove unused errout label.
3820
3821 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3822
3823         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3824         macro: hardware supports Vector Crypto instructions.
3825
3826 2014-06-23  Will Newton  <will.newton@linaro.org>
3827
3828         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3829         rather than __builtin_expect.
3830
3831         * elf/dl-lookup.c (undefined_msg): Remove variable.
3832         (_dl_lookup_symbol_x): Replace undefined_msg with string
3833         literal.
3834
3835         * elf/dl-lookup.c (do_lookup_unique): New function.
3836         (do_lookup_x): Move STB_GNU_UNIQUE handling code
3837         to a separate function.
3838
3839 2014-06-23  Andreas Schwab  <schwab@suse.de>
3840
3841         [BZ #17079]
3842         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3843         before reading the next line.
3844
3845 2014-06-23  Will Newton  <will.newton@linaro.org>
3846
3847         * test-skeleton.c (signal_handler): Use printf and %m
3848         rather than perror.  Use printf rather than fprintf to
3849         stderr.  Use puts rather than fputs to stderr.
3850         (main): Likewise.
3851
3852 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
3853
3854         * nscd/nscd.c (thread_info_t): Remove typedef.
3855         (thread_info): Remove variable.
3856
3857 2014-06-21  Allan McRae  <allan@archlinux.org>
3858
3859         * NEWS: Mention CVE-2014-4043.
3860
3861 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3862
3863         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3864         * nptl/smp.h: ... here.
3865
3866         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3867
3868         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3869         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3870         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3871         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3872
3873         * nptl/allocatestack.c: Include <stack-aliasing.h>.
3874         * nptl/stack-aliasing.h: New file.
3875         * sysdeps/i386/i686/stack-aliasing.h: New file.
3876         * sysdeps/i386/i686/nptl/Makefile: File removed.
3877         * sysdeps/x86_64/stack-aliasing.h: New file.
3878         * sysdeps/x86_64/nptl/Makefile
3879         (CFLAGS-pthread_create.c): Variable removed.
3880
3881         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3882         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3883         old file.
3884         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3885         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3886         old file.
3887
3888 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
3889
3890         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3891         (__ASSUME_SIGFRAME_V2): Remove macro.
3892         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3893         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
3894         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3895         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3896         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3897         Declare as function.  Remove conditional macro definitions.
3898         (__default_rt_sa_restorer): Likewise.
3899         (__default_sa_restorer_v1): Remove declaration.
3900         (__default_sa_restorer_v2): Likewise.
3901         (__default_rt_sa_restorer_v1): Likewise.
3902         (__default_rt_sa_restorer_v2): Likewise.
3903         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3904         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3905         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3906
3907 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3908
3909         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3910         (libpthread-routines): Add sysdep.
3911         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3912         * sysdeps/unix/sysv/linux/sparc/Versions
3913         (libpthread: GLIBC_2.3.3): New version set.
3914         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3915         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3916         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3917         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3918         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
3919         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3920         Moved ...
3921         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3922         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3923         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3924         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3925         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3926         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3927         * sysdeps/sparc/nptl/sem_init.c: ... here.
3928         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3929         * sysdeps/sparc/nptl/sem_post.c: ... here.
3930         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3931         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3932         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3933         * sysdeps/sparc/nptl/sem_wait.c: ... here.
3934         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3935         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3936         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3937         (libpthread-routines): Add cpu_relax.
3938         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3939         File removed.
3940         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3941         (librt: GLIBC_2.3.3): New version set.
3942         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3943         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3944         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3945         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3946         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3947         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3948         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3949         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3950         Moved ...
3951         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3952         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3953         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3954         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3955         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3956         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3957         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3958         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3959         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3960         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3961         Moved ...
3962         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3963         Update #include.
3964         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3965         Moved ...
3966         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3967         Update #include.
3968         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3969         Moved ...
3970         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3971         Update #include.
3972         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3973         Moved ...
3974         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3975         Update #include.
3976         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3977         Moved ...
3978         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3979         Update #include.
3980         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3981         Moved ...
3982         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3983         Update #include.
3984         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3985         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3986         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3987         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3988         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3989         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3990         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3991         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3992         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3993         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3994         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3995         Moved ...
3996         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3997         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3998         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3999         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
4000         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
4001
4002 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
4003
4004         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
4005         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
4006         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4007         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
4008         * nscd/nscd.c: Likewise.
4009         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
4010         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
4011         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
4012         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
4013
4014         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
4015         <kernel-features.h>.
4016         (init_mq_netlink): Remove conditional have_sock_cloexec
4017         definitions.  Remove code conditional on have_sock_cloexec < 0.
4018         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
4019         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
4020         * sysdeps/unix/sysv/linux/opensock.c: Do not include
4021         <kernel-features.h>.
4022         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
4023         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
4024
4025 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
4026
4027         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4028         Add tests for memset_chk and memset.
4029
4030         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
4031         with AVX2_Usable.
4032
4033 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
4034
4035         [BZ #16046]
4036         * elf/tst-dl-iter-static.c: New file.
4037         * elf/Makefile (tests-static): Add tst-dl-iter-static.
4038
4039         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
4040         error.
4041
4042 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
4043
4044         * sysdeps/unix/sysv/linux/kernel-features.h
4045         (__ASSUME_F_GETOWN_EX): Remove macro.
4046         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
4047         <kernel-features.h>.
4048         (miss_F_GETOWN_EX): Remove variable or macro.
4049         (do_fcntl): Do not check miss_F_GETOWN_EX.
4050         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
4051
4052         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
4053         Remove macro.
4054         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
4055         [!__ASSUME_AT_RANDOM]: Remove conditional code.
4056         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
4057
4058         * sysdeps/unix/sysv/linux/kernel-features.h
4059         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
4060         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
4061         [ADJ_OFFSET_SS_READ]: Make code unconditional.
4062         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
4063
4064 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
4065
4066         [BZ #17075]
4067         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
4068         Fix calculation of the symbol's value.
4069         * sysdeps/arm/tst-armtlsdescloc.c: New file.
4070         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
4071         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
4072         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
4073         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
4074         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
4075         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
4076         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
4077         (modules-names): Add `tst-armtlsdescmod',
4078         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
4079         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
4080         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
4081         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
4082         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
4083         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
4084         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
4085         ($(objpfx)tst-armtlsdescloc): New dependency.
4086         ($(objpfx)tst-armtlsdescextnow): Likewise.
4087         ($(objpfx)tst-armtlsdescextlazy): Likewise.
4088         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
4089         TLS scheme support.
4090         * sysdeps/arm/configure: Regenerate.
4091
4092 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
4093
4094         * include/fcntl.h (__atfct_seterrno): Remove prototype.
4095         (__atfct_seterrno_2): Likewise.
4096         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
4097         <kernel-features.h>.
4098         (__ASSUME_ATFCTS): Do not undefine and redefine.
4099         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
4100         (__have_atfcts): Remove conditional definition.
4101         (__fxstatat([__NR_fstatat64]: Make code unconditional.
4102         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
4103         unreachable if [__ASSUME_ATFCTS].
4104         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
4105         not undefine and redefine.
4106         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
4107         <kernel-features.h>.
4108         (faccessat) [__NR_faccessat]: Make code unconditional.
4109         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
4110         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
4111         <kernel-features.h>.
4112         (fchmodat) [__NR_fchmodat]: Make code unconditional.
4113         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4114         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
4115         <kernel-features.h>.
4116         (fchownat) [__NR_fchownat]: Make code unconditional.
4117         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
4118         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
4119         <kernel-features.h>.
4120         (futimesat) [__NR_futimesat]: Make code unconditional.
4121         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
4122         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
4123         <kernel-features.h>.
4124         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4125         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4126         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
4127         <kernel-features.h>.
4128         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
4129         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4130         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
4131         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
4132         <kernel-features.h>.
4133         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
4134         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4135         * sysdeps/unix/sysv/linux/linkat.c: Do not include
4136         <kernel-features.h>.
4137         (linkat) [__NR_linkat]: Make code unconditional.
4138         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4139         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
4140         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
4141         <kernel-features.h>.
4142         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
4143         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4144         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
4145         <kernel-features.h>.
4146         (mkdirat) [__NR_mkdirat]: Make code unconditional.
4147         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
4148         * sysdeps/unix/sysv/linux/openat.c: Do not include
4149         <kernel-features.h>.
4150         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
4151         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
4152         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
4153         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
4154         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
4155         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
4156         <kernel-features.h>.
4157         (readlinkat) [__NR_readlinkat]: Make code unconditional.
4158         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
4159         result of INLINE_SYSCALL directly, not via int variable.
4160         * sysdeps/unix/sysv/linux/renameat.c: Do not include
4161         <kernel-features.h>.
4162         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
4163         (renameat) [__NR_renameat]: Make code unconditional.
4164         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
4165         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
4166         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
4167         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
4168         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
4169         (__ASSUME_ATFCTS): Do not undefine and redefine.
4170         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
4171         <kernel-features.h>.
4172         (symlinkat) [__NR_symlinkat]: Make code unconditional.
4173         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4174         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
4175         <kernel-features.h>.
4176         (unlinkat) [__NR_unlinkat]: Make code unconditional.
4177         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4178         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
4179         (__ASSUME_ATFCTS): Do not undefine and redefine.
4180         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
4181         <kernel-features.h>.
4182         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4183         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4184         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
4185         <kernel-features.h>.
4186         (__xmknodat) [__NR_mknodat]: Make code unconditional.
4187         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4188
4189 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
4190
4191         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
4192
4193 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
4194
4195         [BZ #17069]
4196         * posix/regcomp.c (parse_reg_exp): Deallocate partially
4197         constructed tree before returning error.
4198         * posix/bug-regexp36.c: Expand test case.
4199
4200 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4201
4202         [BZ #6803]
4203         * math/libm-test.inc (scalbln_test_date):
4204         Add errno expectations.
4205         * math/w_scalblnf.c: New File.
4206         Add wrapper which checks for setting errno to ERANGE.
4207         Add weak_alias for corresponding scalbln function.
4208         * math/w_scalbln.c: Likewise.
4209         * math/w_scalblnl.c: Likewise.
4210         * math/Makefile (libm-calls): Add w_scalbln.
4211         * sysdeps/ieee754/flt-32/s_scalblnf.c:
4212         Remove weak_alias for corresponding scalbln function.
4213         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4214         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4215         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4216         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4217         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
4218         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4219         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
4220         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4221         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
4222         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
4223         Remove long_double_symbol for scalblnl function in libm, libc.
4224         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
4225         Add wrapper which checks for setting errno to ERANGE.
4226         Add long_double_symbol for scalblnl function in libm, libc.
4227         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
4228         Remove long_double_symbol for scalblnl in libm.
4229         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
4230         Add wrapper which checks for setting errno to ERANGE.
4231         Add long_double_symbol for scalblnl function in libm.
4232         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
4233         Do not use wrapper because of own implementation.
4234
4235 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
4236
4237         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
4238         3 bytes for __pad1 for x32.
4239         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
4240
4241 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
4242             H.J. Lu  <hongjiu.lu@intel.com>
4243
4244         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
4245         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
4246         * sysdeps/x86_64/multiarch/memset.S: Likewise.
4247         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4248         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
4249
4250 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
4251
4252         [BZ #17069]
4253         * posix/regcomp.c (parse_expression): Deallocate partially
4254         constructed tree before returning error.
4255         * posix/Makefile.c (tests): Add bug-regex36.
4256         (generated): Add bug-regex36.mtrace.
4257         (tests-special): Add $(objpfx)bug-regex36-mem.out
4258         (bug-regex36-ENV): New variable.
4259         ($(objpfx)bug-regex36-mem.out): New rule.
4260         * posix/bug-regex36.c: New file.
4261
4262 2014-06-19  Will Newton  <will.newton@linaro.org>
4263
4264         * malloc/malloc.c (systrim): If extra is zero then return
4265         early.
4266
4267 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4268
4269         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
4270
4271 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
4272
4273         * sysdeps/aarch64/strchr.S: New file.
4274
4275 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
4276
4277         [BZ #17022]
4278         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
4279         from arguments -2 or below.
4280         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4281         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
4282
4283 2014-06-18  Andreas Schwab  <schwab@suse.de>
4284
4285         [BZ #17062]
4286         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
4287         of a bracket expr not to run off the end of the string.
4288         * posix/Makefile (tests): Add tst-fnmatch3.
4289         * posix/tst-fnmatch3.c: New file.
4290
4291 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
4292
4293         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
4294         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4295         [$(cross-compiling) = no]: Likewise.
4296         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4297         [$(cross-compiling) = no]: Likewise.
4298
4299 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4300
4301         [BZ #17031]
4302         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
4303         double, adjusted for any remainder from the high double.
4304         * math/libm-test.inc (nearbyint): Add tests.
4305         (rint): Likewise.
4306
4307 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4308
4309         * nptl/sysdeps/powerpc/Makefile: Moved ...
4310         * sysdeps/powerpc/nptl/Makefile: ... here.
4311         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
4312         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
4313         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
4314         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
4315         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
4316         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
4317         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
4318         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
4319         * nptl/sysdeps/powerpc/tls.h: Moved ...
4320         * sysdeps/powerpc/nptl/tls.h: ... here.
4321
4322 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
4323
4324         [BZ #16681]
4325         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
4326         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
4327         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
4328         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
4329         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
4330         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
4331         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
4332         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
4333         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
4334
4335 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
4336
4337         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4338
4339 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
4340
4341         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
4342         defined operator.
4343
4344         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
4345         $TIMEOUTFACTOR.
4346
4347 2014-06-16  Florian Weimer  <fweimer@redhat.com>
4348
4349         [BZ #17058]
4350         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
4351         non-executed part of the test.
4352
4353 2014-06-16  Andreas Schwab  <schwab@suse.de>
4354
4355         * string/bits/string2.h (strdup, strndup): Update feature guard.
4356
4357 2014-06-14  David S. Miller  <davem@davemloft.net>
4358
4359         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4360
4361 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
4362
4363         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
4364         that was previously under [RESET_PID].
4365         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
4366
4367         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
4368         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
4369         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
4370         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4371         (__libc_vfork): New strong alias.
4372         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
4373
4374 2014-06-14 Andi Kleen  <ak@linux.intel.com>
4375
4376         * sysdeps/generic/elide.h: New file.
4377
4378 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4379
4380         * Makefile (installed-headers): Adjust path of pthread.h header.
4381
4382 2014-06-13  Roland McGrath  <roland@hack.frob.com>
4383
4384         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
4385         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
4386         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
4387         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
4388
4389         * nptl/sysdeps/s390/Makefile: Moved ...
4390         * sysdeps/s390/nptl/Makefile: ... here.
4391         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
4392         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
4393         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
4394         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
4395         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
4396         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
4397         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
4398         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
4399         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
4400         * sysdeps/s390/nptl/pthreaddef.h: ... here.
4401         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
4402         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
4403         * nptl/sysdeps/s390/tls.h: Moved ...
4404         * sysdeps/s390/nptl/tls.h: ... here.
4405
4406         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
4407         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
4408
4409 2014-06-13  David S. Miller  <davem@davemloft.net>
4410
4411         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
4412         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
4413         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
4414         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
4415         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
4416         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
4417         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
4418         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
4419         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
4420         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
4421         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
4422         Remove RESET_PID cpp guards.
4423         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
4424         Remove RESET_PID cpp guards.
4425         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
4426
4427 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
4428
4429         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
4430         __sp to uintptr_t.
4431
4432 2014-06-13  Andi Kleen  <ak@linux.intel.com>
4433
4434         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
4435         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
4436         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
4437         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
4438         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
4439         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
4440         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
4441         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
4442         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
4443         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
4444         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
4445         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
4446         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
4447         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
4448         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
4449         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
4450         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
4451         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
4452         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
4453         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
4454
4455         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4456         (pthread_rwlock_rdlock): Add elision.
4457         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
4458         (pthread_rwlock_wrlock): Add elision.
4459         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
4460         (pthread_rwlock_trywrlock): Add elision.
4461         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
4462         (pthread_rwlock_tryrdlock): Add elision.
4463         * nptl/pthread_rwlock_unlock.c: Include elide.h.
4464         (pthread_rwlock_tryrdlock): Add elision unlock.
4465         * nptl/sysdeps/pthread/pthread.h:
4466         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
4467         (PTHREAD_RWLOCK_INITIALIZER,
4468         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
4469         Handle new elision field.
4470         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
4471         * sysdeps/arm/nptl/bits/pthreadtypes.h
4472         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4473         * sysdeps/sh/nptl/bits/pthreadtypes.h
4474         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4475         * sysdeps/tile/nptl/bits/pthreadtypes.h
4476         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4477         * sysdeps/a/nptl/bits/pthreadtypes.h
4478         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4479         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4480         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4481         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4482         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4483         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
4484         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4485         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4486         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4487         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4488         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4489         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4490         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4491         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4492         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4493         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
4494         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4495         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
4496         (elision_init): Set try_xbegin to zero when no RTM.
4497         * sysdeps/x86/nptl/bits/pthreadtypes.h
4498         (pthread_rwlock_t): Change __pad1 to __rwelision.
4499         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4500
4501 2014-06-13  Andi Kleen  <ak@linux.intel.com>
4502
4503         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
4504         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
4505         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
4506         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
4507
4508 2014-06-13  Meador Inge  <meadori@codesourcery.com>
4509
4510         [BZ #16996]
4511         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
4512         that the cached result has been set before returning it.
4513
4514 2014-06-12  Roland McGrath  <roland@hack.frob.com>
4515
4516         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
4517         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
4518         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
4519         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
4520         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
4521         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
4522
4523         * nptl/sysdeps/sparc/Makefile: Moved ...
4524         * sysdeps/sparc/nptl/Makefile: ... here.
4525         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
4526         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
4527         * nptl/sysdeps/sparc/tls.h: Moved ...
4528         * sysdeps/sparc/nptl/tls.h: ... here.
4529         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
4530         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
4531         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
4532         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
4533         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
4534         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
4535         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
4536         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
4537         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
4538         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
4539         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
4540         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
4541         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
4542         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
4543         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
4544         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
4545         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
4546         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
4547         Update #include.
4548         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
4549         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
4550         Update #include.
4551         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
4552         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
4553         Update #include.
4554         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
4555         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
4556         Update #include.
4557
4558         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4559
4560         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
4561         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
4562
4563         * sysdeps/pthread/posix-timer.h: Include <list.h>.
4564         (struct list_links): Type removed.
4565         (struct thread_node, struct timer_node): Replace struct list_links
4566         with struct list_head.
4567         (list_unlink_ip): Likewise.
4568         * sysdeps/pthread/timer_routines.c
4569         (timer_free_list, thread_free_list, thread_active_list): Likewise.
4570         (list_append, list_insbefore): Likewise.
4571         (list_init): Function removed.
4572         (thread_init, init_module): Use INIT_LIST_HEAD instead.
4573         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
4574         * sysdeps/pthread/Makefile: ... here, new file.
4575
4576         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
4577         * sysdeps/nptl/Implies: ... here.
4578         * sysdeps/unix/sysv/linux/Implies: Add nptl.
4579         * nptl/sysdeps/pthread/list.h: Moved ...
4580         * include/list.h: ... here.
4581         * nptl/sysdeps/pthread/createthread.c: Moved ...
4582         * nptl/createthread.c: ... here.
4583         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
4584         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
4585         * nptl/pt-longjmp.c: ... here.
4586         * nptl/sysdeps/pthread/Makefile: Moved ...
4587         * sysdeps/nptl/Makefile: ... here.
4588         * nptl/sysdeps/pthread/Subdirs: Moved ...
4589         * sysdeps/nptl/Subdirs: ... here.
4590         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
4591         * sysdeps/nptl/aio_misc.h: ... here.
4592         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
4593         * sysdeps/nptl/bits/libc-lock.h: ... here.
4594         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
4595         * sysdeps/nptl/bits/libc-lockP.h: ... here.
4596         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
4597         * sysdeps/nptl/bits/stdio-lock.h: ... here.
4598         * nptl/sysdeps/pthread/configure: Moved ...
4599         * sysdeps/nptl/configure: ... here.
4600         * nptl/sysdeps/pthread/configure.ac: Moved ...
4601         * sysdeps/nptl/configure.ac: ... here.
4602         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
4603         * sysdeps/nptl/gai_misc.h: ... here.
4604         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
4605         * sysdeps/nptl/librt-cancellation.c: ... here.
4606         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
4607         * sysdeps/nptl/malloc-machine.h: ... here.
4608         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
4609         * sysdeps/nptl/pthread-functions.h: ... here.
4610         * nptl/sysdeps/pthread/pthread.h: Moved ...
4611         * sysdeps/nptl/pthread.h: ... here.
4612         * nptl/sysdeps/pthread/setxid.h: Moved ...
4613         * sysdeps/nptl/setxid.h: ... here.
4614         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
4615         * sysdeps/nptl/sigfillset.c: ... here.
4616         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
4617         * sysdeps/nptl/tcb-offsets.h: ... here.
4618         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
4619         * sysdeps/nptl/tst-mqueue8x.c: ... here.
4620         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
4621         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
4622         * nptl/sysdeps/pthread/allocalim.h: Moved ...
4623         * sysdeps/pthread/allocalim.h: ... here.
4624         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
4625         * sysdeps/pthread/bits/sigthread.h: ... here.
4626         * nptl/sysdeps/pthread/flockfile.c: Moved ...
4627         * sysdeps/pthread/flockfile.c: ... here.
4628         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
4629         * sysdeps/pthread/ftrylockfile.c: ... here.
4630         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
4631         * sysdeps/pthread/funlockfile.c: ... here.
4632         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
4633         * sysdeps/pthread/posix-timer.h: ... here.
4634         * nptl/sysdeps/pthread/timer_create.c: Moved ...
4635         * sysdeps/pthread/timer_create.c: ... here.
4636         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
4637         * sysdeps/pthread/timer_delete.c: ... here.
4638         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
4639         * sysdeps/pthread/timer_getoverr.c: ... here.
4640         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
4641         * sysdeps/pthread/timer_gettime.c: ... here.
4642         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
4643         * sysdeps/pthread/timer_routines.c: ... here.
4644         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
4645         * sysdeps/pthread/timer_settime.c: ... here.
4646         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
4647         * sysdeps/pthread/tst-timer.c: ... here.
4648         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
4649         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
4650
4651         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
4652         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
4653
4654         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
4655         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
4656         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
4657         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
4658         Update #include target.
4659         * nptl/sysdeps/i386/i686/Makefile: Moved ...
4660         * sysdeps/i386/i686/nptl/Makefile: ... here.
4661         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
4662         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
4663         Update #include target.
4664         * nptl/sysdeps/i386/i686/tls.h: Moved ...
4665         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
4666         * nptl/sysdeps/i386/Makefile: Moved ...
4667         * sysdeps/i386/nptl/Makefile: ... here.
4668         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
4669         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
4670         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
4671         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
4672         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
4673         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
4674         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
4675         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
4676         * sysdeps/i386/nptl/pthreaddef.h: ... here.
4677         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
4678         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
4679         * nptl/sysdeps/i386/tls.h: Moved ...
4680         * sysdeps/i386/nptl/tls.h: ... here.
4681
4682         * sysdeps/sh/Makefile [$(subdir) = csu]
4683         (gen-as-const-headers): Add tcb-offsets.sym.
4684         * nptl/sysdeps/sh/Makefile: File removed.
4685         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
4686         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
4687         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
4688         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
4689         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
4690         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
4691         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
4692         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
4693         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
4694         * sysdeps/sh/nptl/pthreaddef.h: ... here.
4695         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
4696         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
4697         * nptl/sysdeps/sh/tls.h: Moved ...
4698         * sysdeps/sh/nptl/tls.h: ... here.
4699         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
4700         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
4701         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
4702         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
4703         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
4704         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
4705         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
4706         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
4707         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
4708         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
4709         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
4710         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
4711         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
4712         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
4713         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
4714         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
4715         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
4716         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
4717         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
4718         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
4719         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
4720         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
4721         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
4722         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
4723         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
4724         Moved ...
4725         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
4726         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
4727         Moved ...
4728         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
4729         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
4730         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
4731         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
4732         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
4733         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
4734         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
4735         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
4736         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
4737         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
4738         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
4739         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
4740         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
4741         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
4742         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
4743         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
4744         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
4745         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
4746         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
4747
4748 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4749
4750         * posix/spawn_faction_addopen.c: Include string.h.
4751
4752 2014-06-11  Roland McGrath  <roland@hack.frob.com>
4753
4754         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
4755         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
4756         * nptl/sysdeps/x86_64/Makefile: Moved ...
4757         * sysdeps/x86_64/nptl/Makefile: ... here.
4758         * nptl/sysdeps/x86_64/configure: Moved ...
4759         * sysdeps/x86_64/nptl/configure: ... here.
4760         * nptl/sysdeps/x86_64/configure.ac: Moved ...
4761         * sysdeps/x86_64/nptl/configure.ac: ... here.
4762         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
4763         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
4764         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
4765         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
4766         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
4767         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
4768         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
4769         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
4770         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
4771         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
4772         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
4773         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
4774         * nptl/sysdeps/x86_64/tls.h: Moved ...
4775         * sysdeps/x86_64/nptl/tls.h: ... here.
4776         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
4777         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
4778         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
4779         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
4780
4781         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
4782
4783 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4784
4785         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4786
4787 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
4788
4789         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
4790         type.
4791         [POSIX] (off_t): Likewise.
4792         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
4793         [POSIX] (S_ISBLK): Require macro.
4794         [POSIX] (S_ISCHR): Likewise.
4795         [POSIX] (S_ISDIR): Likewise.
4796         [POSIX] (S_ISFIFO): Likewise.
4797         [POSIX] (S_ISREG): Likewise.
4798         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
4799         optional-macro.
4800         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
4801         type.
4802         [POSIX] (time_t): Likewise.
4803         [POSIX] (timer_t): Likewise.
4804
4805 2014-06-11  Florian Weimer  <fweimer@redhat.com>
4806
4807         [BZ #17048]
4808         * posix/spawn_int.h (struct __spawn_action): Make the path string
4809         non-const to support deallocation.
4810         * posix/spawn_faction_addopen.c
4811         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
4812         * posix/spawn_faction_destroy.c
4813         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
4814         path in all spawn_do_open actions.
4815         * posix/tst-spawn.c (do_test): Exercise the copy operation in
4816         posix_spawn_file_actions_addopen.
4817
4818 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
4819
4820         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4821         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4822         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4823         conditional code always true.
4824         (__libc_vfork): New alias.
4825
4826 2014-06-11  Roland McGrath  <roland@hack.frob.com>
4827
4828         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4829         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4830
4831         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4832
4833         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4834         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4835
4836         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4837         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4838
4839         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4840         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4841
4842 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4843
4844         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4845         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4846         multiarch strcmp for PPC64.
4847         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4848         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4849         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4850         multiarch optimizations.
4851         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4852         (__libc_ifunc_impl_list): Likewise.
4853
4854 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4855
4856         * benchtests/scripts/validate_benchout.py: New script.
4857         * benchtests/Makefile (bench-func): Call it.
4858         * benchtests/scripts/benchout.schema.json: New file.
4859
4860 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
4861
4862         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4863         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4864         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4865         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4866         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4867         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4868         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4869         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4870         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4871         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4872         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4873         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4874         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4875         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4876         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4877         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4878         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
4879         Moved ...
4880         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
4881         ... here.
4882         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
4883         Moved ...
4884         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4885         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
4886         Moved ...
4887         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
4888         ... here.
4889         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
4890         Moved ...
4891         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
4892         ... here.
4893         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
4894         Moved ...
4895         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4896         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
4897         Moved ...
4898         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
4899         ... here.
4900         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
4901         Moved ...
4902         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
4903         ... here.
4904         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
4905         Moved ...
4906         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4907         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
4908         Moved ...
4909         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
4910         ... here.
4911         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
4912         Moved ...
4913         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
4914         ... here.
4915         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
4916         Moved ...
4917         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
4918         ... here.
4919         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
4920         Moved ...
4921         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4922         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
4923         Moved ...
4924         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
4925         ... here.
4926         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
4927         Moved ...
4928         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
4929         ... here.
4930         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
4931         Moved ...
4932         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
4933         ... here.
4934         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
4935         Moved ...
4936         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4937         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
4938         Moved ...
4939         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
4940         ... here.
4941         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
4942         Moved ...
4943         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
4944         ... here.
4945         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
4946         Moved ...
4947         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4948         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
4949         Moved ...
4950         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
4951         ... here.
4952         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
4953         Moved ...
4954         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4955         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
4956         Moved ...
4957         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4958         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
4959         Moved ...
4960         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
4961         ... here.
4962         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
4963         Moved ...
4964         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
4965         ... here.
4966         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
4967         Moved ...
4968         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
4969         ... here.
4970         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
4971         Moved ...
4972         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4973         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
4974         Moved ...
4975         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
4976         ... here.
4977         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
4978         Moved ...
4979         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
4980         ... here.
4981         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4982         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4983         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4984         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4985         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
4986         Moved ...
4987         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
4988         ... here.
4989         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4990         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4991         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4992         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4993         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4994         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4995         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4996         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4997         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4998         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4999         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
5000         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
5001         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
5002         Moved ...
5003         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
5004         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
5005         Moved ...
5006         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
5007         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
5008         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
5009         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
5010         Moved ...
5011         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
5012         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
5013         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
5014         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
5015         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
5016         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
5017         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
5018
5019 2014-06-10  Wilco  <wdijkstr@arm.com>
5020
5021         * math/test-fenv-return.c: New file.
5022         * math/Makefile: Add new test test-fenv-return.
5023
5024 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
5025
5026         [BZ #17042]
5027         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
5028         when x - 1 is zero.
5029         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
5030         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
5031         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
5032         0.0L for an argument of 1.0L.
5033         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
5034         Likewise.
5035         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
5036         value when x - 1 is zero.
5037         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
5038         * sysdeps/i386/fpu/libm-test-ulps: Update.
5039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5040
5041 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
5042
5043         [BZ #15119]
5044         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
5045
5046 2014-06-09  Roland McGrath  <roland@hack.frob.com>
5047
5048         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
5049         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
5050
5051 2014-06-09  Roland McGrath  <roland@hack.frob.com>
5052
5053         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5054         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
5055
5056         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5057         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
5058
5059         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5060         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
5061
5062         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5063         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
5064
5065         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
5066         if not already defined.
5067         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
5068         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
5069         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
5070         (TLS_INIT_TP): Use it.
5071         (TLS_DEFINE_INIT_TP): New macro.
5072         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
5073
5074 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
5075
5076         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
5077         constant.
5078         [POSIX] (IXANY): Likewise.
5079         [POSIX] (OLCUC): Likewise.
5080         [POSIX || POSIX2008] (CBAUD): Do not allow.
5081         [POSIX || POSIX2008] (DEFECHO): Likewise.
5082         [POSIX || POSIX2008] (ECHOCTL): Likewise.
5083         [POSIX || POSIX2008] (ECHOKE): Likewise.
5084         [POSIX || POSIX2008] (ECHOPRT): Likewise.
5085         [POSIX || POSIX2008] (EXTA): Likewise.
5086         [POSIX || POSIX2008] (EXTB): Likewise.
5087         [POSIX || POSIX2008] (FLUSHO): Likewise.
5088         [POSIX || POSIX2008] (LOBLK): Likewise.
5089         [POSIX || POSIX2008] (PENDIN): Likewise.
5090         [POSIX || POSIX2008] (SWTCH): Likewise.
5091         [POSIX || POSIX2008] (VDISCARD): Likewise.
5092         [POSIX || POSIX2008] (VDSUSP): Likewise.
5093         [POSIX || POSIX2008] (VLNEXT): Likewise.
5094         [POSIX || POSIX2008] (VREPRINT): Likewise.
5095         [POSIX || POSIX2008] (VSTATUS): Likewise.
5096         [POSIX || POSIX2008] (VWERASE): Likewise.
5097         (B*): Change to B[0123456789]*.
5098         * conform/data/time.h-data [POSIX || UNIX98]
5099         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
5100         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5101         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
5102         [POSIX] (tm_*): Do not allow.
5103
5104 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
5105
5106         * Makefile (install): Don't set LANGUAGE.
5107         * Makefile.in (install): Likewise.
5108         * assert/Makefile (test-assert-ENV): Remove variable.
5109         (test-assert-perr-ENV): Likewise.
5110         * elf/Makefile (neededtest4-ENV): Likewise.
5111         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5112         [$(cross-compiling) = no]: Don't set LANGUAGE.
5113         * io/ftwtest-sh (LANG): Remove variable.
5114         * libio/Makefile (tst-widetext-ENV): Likewise.
5115         * manual/install.texi (Running make install): Don't refer to
5116         environment settings for make install.
5117         * INSTALL: Regenerated.
5118         * nptl/tst-tls6.sh: Don't set LANG.
5119         * posix/globtest.sh (LANG): Remove variable.
5120         * string/Makefile (tester-ENV): Likewise.
5121         (inl-tester-ENV): Likewise.
5122         (noinl-tester-ENV): Likewise.
5123         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5124         [$(cross-compiling) = no]: Don't set LANGUAGE.
5125         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
5126         without explicit environment settings.
5127
5128 2014-06-06  Roland McGrath  <roland@hack.frob.com>
5129
5130         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
5131         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
5132         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
5133         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
5134
5135 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
5136
5137         * crypt/crypt-private.h [DOS]: Add some includes taken from the
5138         other files in the crypt directory.
5139         * crypt/crypt.c: Remove duplicate includes.
5140         * crypt/crypt-entry.c: Likewise.
5141         * crypt/crypt_util.c: Likewise.
5142
5143 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
5144
5145         * Makeconfig (run-program-env): New variable.
5146         (run-program-prefix-before-env): Likewise.
5147         (run-program-prefix-after-env): Likewise.
5148         (run-program-prefix): Define in terms of new variables.
5149         (built-program-cmd-before-env): New variable.
5150         (built-program-cmd-after-env): Likewise.
5151         (built-program-cmd): Define in terms of new variables.
5152         (test-program-prefix-before-env): New variable.
5153         (test-program-prefix-after-env): Likewise.
5154         (test-program-prefix): Define in terms of new variables.
5155         (test-program-cmd-before-env): New variable.
5156         (test-program-cmd-after-env): Likewise.
5157         (test-program-cmd): Define in terms of new variables.
5158         * Rules (make-test-out): Use $(run-program-env).
5159         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
5160         (help): Do not mention environment variables.  Mention
5161         --timeoutfactor option.
5162         (timeoutfactor): New variable.
5163         (blacklist_exports): Remove function.
5164         (exports): Remove variable.
5165         (command): Do not include ${exports}.
5166         * manual/install.texi (Configuring and compiling): Do not mention
5167         test wrappers preserving environment variables.  Mention that last
5168         assignment to a variable must take precedence.
5169         * INSTALL: Regenerated.
5170         * benchtests/Makefile (run-bench): Use $(run-program-env).
5171         * catgets/Makefile ($(objpfx)test1.cat): Use
5172         $(built-program-cmd-before-env), $(run-program-env) and
5173         $(built-program-cmd-after-env).
5174         ($(objpfx)test2.cat): Do not specify environment variables
5175         explicitly.
5176         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
5177         $(run-program-env) and $(built-program-cmd-after-env).
5178         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
5179         $(run-program-env) and $(test-program-cmd-after-env).
5180         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
5181         explicitly.
5182         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
5183         run_program_env and test_program_cmd_after_env arguments.
5184         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
5185         * elf/tst-pathopt.sh: Use run_program_env argument.
5186         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
5187         $(test-wrapper-env) and $(run-program-env).
5188         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
5189         run_program_env arguments.
5190         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
5191         * intl/Makefile ($(objpfx)tst-gettext.out): Use
5192         $(test-program-prefix-before-env), $(run-program-env) and
5193         $(test-program-prefix-after-env).
5194         ($(objpfx)tst-gettext2.out): Likewise.
5195         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
5196         run_program_env and test_program_prefix_after_env arguments.
5197         * intl/tst-gettext2.sh: Likewise.
5198         * intl/tst-gettext4.sh: Do not set environment variables
5199         explicitly.
5200         * intl/tst-gettext6.sh: Likewise.
5201         * intl/tst-translit.sh: Likewise.
5202         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
5203         $(test-program-prefix-before-env), $(run-program-env) and
5204         $(test-program-prefix-after-env).
5205         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
5206         run_program_env and test_program_prefix_after_env arguments.
5207         * math/Makefile (run-regen-ulps): Use $(run-program-env).
5208         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
5209         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
5210         explicitly with each use of ${test_wrapper_env}.
5211         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
5212         $(test-program-prefix-before-env), $(run-program-env) and
5213         $(test-program-prefix-after-env).
5214         * posix/tst-getconf.sh: Do not set environment variables
5215         explicitly.
5216         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
5217         run_program_env and test_program_prefix_after_env arguments.
5218         * stdio-common/tst-printf.sh: Do not set environment variables
5219         explicitly.
5220         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
5221         $(test-program-prefix-before-env), $(run-program-env) and
5222         $(test-program-prefix-after-env).
5223         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
5224         run_program_env and test_program_prefix_after_env arguments.
5225         Split $test calls into $test_pre and $test.
5226         * timezone/Makefile (build-testdata): Use
5227         $(built-program-cmd-before-env), $(run-program-env) and
5228         $(built-program-cmd-after-env).
5229
5230 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5231
5232         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
5233         strlen for non SHARED builds.
5234
5235 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
5236
5237         * nptl/allocatestack.c (check_list): Inlined function...
5238         (__reclaim_stacks): ... here.
5239
5240 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
5241
5242         [BZ #15698]
5243         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5244         memory overrun.
5245
5246 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
5247
5248         * Rules (make-test-out): Include
5249         LOCPATH=$(common-objpfx)localedata in default environment.
5250         * debug/Makefile (tst-chk1-ENV): Remove variable.
5251         (tst-chk2-ENV): Likewise.
5252         (tst-chk3-ENV): Likewise.
5253         (tst-chk4-ENV): Likewise.
5254         (tst-chk5-ENV): Likewise.
5255         (tst-chk6-ENV): Likewise.
5256         (tst-lfschk1-ENV): Likewise.
5257         (tst-lfschk2-ENV): Likewise.
5258         (tst-lfschk3-ENV): Likewise.
5259         (tst-lfschk4-ENV): Likewise.
5260         (tst-lfschk5-ENV): Likewise.
5261         (tst-lfschk6-ENV): Likewise.
5262         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
5263         (tst-iconv7-ENV): Likewise.
5264         * intl/Makefile (LOCPATH-ENV): Likewise.
5265         (tst-codeset-ENV): Likewise.
5266         (tst-gettext3-ENV): Likewise.
5267         (tst-gettext5-ENV): Likewise.
5268         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
5269         (tst-fopenloc-ENV): Likewise.
5270         (tst-fgetws-ENV): Remove variable.
5271         (tst-ungetwc1-ENV): Likewise.
5272         (tst-ungetwc2-ENV): Likewise.
5273         (bug-ungetwc2-ENV): Likewise.
5274         (tst-swscanf-ENV): Likewise.
5275         (bug-ftell-ENV): Likewise.
5276         (tst-fgetwc-ENV): Likewise.
5277         (tst-fseek-ENV): Likewise.
5278         (tst-ftell-partial-wide-ENV): Likewise.
5279         (tst-ftell-active-handler-ENV): Likewise.
5280         (tst-ftell-append-ENV): Likewise.
5281         * posix/Makefile (tst-fnmatch-ENV): Likewise.
5282         (tst-regexloc-ENV): Likewise.
5283         (bug-regex1-ENV): Likewise.
5284         (tst-regex-ENV): Likewise.
5285         (tst-regex2-ENV): Likewise.
5286         (bug-regex5-ENV): Likewise.
5287         (bug-regex6-ENV): Likewise.
5288         (bug-regex17-ENV): Likewise.
5289         (bug-regex18-ENV): Likewise.
5290         (bug-regex19-ENV): Likewise.
5291         (bug-regex20-ENV): Likewise.
5292         (bug-regex22-ENV): Likewise.
5293         (bug-regex23-ENV): Likewise.
5294         (bug-regex25-ENV): Likewise.
5295         (bug-regex26-ENV): Likewise.
5296         (bug-regex30-ENV): Likewise.
5297         (bug-regex32-ENV): Likewise.
5298         (bug-regex33-ENV): Likewise.
5299         (bug-regex34-ENV): Likewise.
5300         (bug-regex35-ENV): Likewise.
5301         (tst-rxspencer-ENV): Likewise.
5302         (tst-rxspencer-no-utf8-ENV): Likewise.
5303         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
5304         (tst-sscanf-ENV): Likewise.
5305         (tst-swprintf-ENV): Likewise.
5306         (tst-swscanf-ENV): Likewise.
5307         (test-vfprintf-ENV): Likewise.
5308         (scanf13-ENV): Likewise.
5309         (bug14-ENV): Likewise.
5310         (tst-grouping-ENV): Likewise.
5311         * stdlib/Makefile (tst-strtod-ENV): Likewise.
5312         (tst-strtod3-ENV): Likewise.
5313         (tst-strtod4-ENV): Likewise.
5314         (tst-strtod5-ENV): Likewise.
5315         (testmb2-ENV): Likewise./
5316         * string/Makefile (tst-strxfrm-ENV): Likewise.
5317         (tst-strxfrm2-ENV): Likewise.
5318         (bug-strcoll1-ENV): Likewise.
5319         (test-strcasecmp-ENV): Likewise.
5320         (test-strncasecmp-ENV): Likewise.
5321         * time/Makefile (tst-strptime-ENV): Likewise.
5322         (tst-ftime_l-ENV): Likewise.
5323         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
5324         (tst-mbrtowc-ENV): Likewise.
5325         (tst-wcrtomb-ENV): Likewise.
5326         (tst-mbrtowc2-ENV): Likewise.
5327         (tst-c16c32-1-ENV): Likewise.
5328         (tst-mbsnrtowcs-ENV): Likewise.
5329
5330 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
5331
5332         * manual/resource.texi (How to get information about the memory
5333         subsystem?): Fix typo.
5334         Reported by Peon de la Parra Ivan <peon@keba.com>
5335
5336 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
5337
5338         [BZ #16882]
5339         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
5340         (pthread_spin_lock): Branch out of spin loop to proper location.
5341         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
5342         (pthread_spin_lock): Likewise.
5343
5344         * nptl/tst-spin4.c: New test.
5345         * nptl/Makefile (tests): Add tst-spin4.
5346
5347 2014-06-03  Andreas Schwab  <schwab@suse.de>
5348
5349         [BZ #15946]
5350         * resolv/res_send.c (send_dg): Reload file descriptor after
5351         calling reopen.
5352
5353 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
5354
5355         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5356
5357 2014-06-03  Richard Henderson  <rth@redhat.com>
5358
5359         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
5360         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
5361         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
5362         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
5363         in the SAVE_PID block.
5364         (__libc_vfork): New alias.
5365         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
5366
5367         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
5368         child in registers, not on the stack.  Remove RESET_PID conditionals.
5369         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
5370
5371 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5372
5373         * sysdeps/aarch64/libm-test-ulps: Regenerate.
5374
5375 2014-06-03  Wilco  <wdijkstr@arm.com>
5376
5377         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
5378         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
5379         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5380         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
5381         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
5382         Likewise.
5383
5384 2014-06-03  Wilco  <wdijkstr@arm.com>
5385
5386         * sysdeps/aarch64/fpu/math_private.h
5387         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
5388         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
5389         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
5390         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5391         Fix declarations.
5392
5393 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5394
5395         * crypt/crypt-private.h: Include ufc-crypt.h.
5396         (__b64_from_24bit): Declare extern.
5397         * crypt/crypt_util.c(__b64_from_24bit): New function.
5398         (b64t): New static const variable.
5399         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
5400         (b64t): Remove variable.
5401         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
5402         * crypt/sha256-crypt.c: Include crypt-private.h.
5403         (b64t): Remove variable.
5404         (__sha256_crypt_r): Remove b64_from_24bit and replace
5405         with __b64_from_24bit.
5406         * crypt/sha512-crypt.c: Likewise.
5407
5408 2014-06-02  Roland McGrath  <roland@hack.frob.com>
5409
5410         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
5411         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
5412         Label the code __libc_vfork rather than __vfork.
5413         [!NOT_IN_libc] (vfork): Define as weak alias.
5414         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
5415         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
5416         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
5417
5418 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5419
5420         * malloc/malloc.c (malloc_info): Fix format specifier for
5421         n_mmaps.
5422
5423 2014-06-02  Wilco  <wdijkstr@arm.com>
5424
5425         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
5426         FPCR write.
5427
5428 2014-06-02  Wilco  <wdijkstr@arm.com>
5429
5430         [BZ #17009]
5431         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
5432         Rewrite to reduce FPCR/FPSR accesses.
5433
5434 2014-06-01  David S. Miller  <davem@davemloft.net>
5435
5436         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5437
5438 2014-05-31  David S. Miller  <davem@davemloft.net>
5439
5440         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
5441         to occur in round to nearest mode when |x| >= 2.0
5442
5443 2014-05-30  Richard Henderson  <rth@twiddle.net>
5444
5445         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
5446         (PSEUDO_RET_NOERRNO): Remove.
5447         (ret): Don't redefine.
5448         (ret_NOERRNO): Define in terms of ret.
5449         (ret_ERRVAL): Likewise.
5450
5451         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
5452         use of PSEUDO_RET; perform the error check directly.
5453
5454 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
5455
5456         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
5457         with __int128_t.
5458
5459 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5460
5461         * malloc/malloc (malloc_info): Fix formatting.
5462
5463 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5464             Roland McGrath  <roland@hack.frob.com>
5465
5466         * malloc/malloc (malloc_info): Also print mmapped statistics.
5467
5468 2014-05-30  Roland McGrath  <roland@hack.frob.com>
5469
5470         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
5471         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
5472
5473 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
5474
5475         * malloc/malloc.c (malloc_info): Inline mi_arena.
5476
5477 2014-05-29  Richard Henderson  <rth@twiddle.net>
5478
5479         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
5480         Remove comma before expanding ASM_ARGS_##nr.
5481         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
5482         Make _x0 a strict output; make _x8 a strict input; adjust expansion
5483         of ASM_ARGS_##nr.
5484         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
5485         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
5486         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
5487         (ASM_ARGS_1): Add leading comma.
5488
5489         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
5490         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
5491         to __errno_location.
5492         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
5493         Remove the expected plt for __errno_location.
5494
5495         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5496         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
5497         call to __read_tp.
5498
5499         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5500         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
5501         it and break it down.
5502         (DOCARGS_0, DOCARGS_1): Do nothing.
5503         (DOCARGS_2): Update to store into the new stack frame.
5504         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
5505         (UNDOCARGS_1): Update to restore from the new stack frame.
5506         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
5507         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
5508
5509         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5510         (SINGLE_THREAD_P): New parameter for result regno.
5511         (PSEUDO): Update to match; use cbz instead of beq.
5512
5513         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5514         Use ENTRY to define the _nocancel entry point.  Share the syscall
5515         and syscall error check paths with the cancel path.
5516         (PSEUDO_END): New.
5517
5518         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
5519         whitespace; tabs before and after asm mnemonics.
5520
5521 2014-05-29  Eric Wong  <normalperson@yhbt.net>
5522
5523         [BZ #15132]
5524         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5525         Call fstat64 or stat64 internally, depending on arguments passed.
5526         Replace stat buffer argument with file descriptor argument.
5527         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
5528         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5529         Pass fd to __internal_statvfs instead of calling fstat64.
5530         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
5531         Pass fd to __internal_statvfs64 instead of calling fstat64.
5532         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
5533         Pass -1 to __internal_statvfs instead of calling stat64.
5534         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
5535         Pass -1 to __internal_statvfs64 instead of calling stat64.
5536
5537 2014-05-28  Roland McGrath  <roland@hack.frob.com>
5538
5539         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
5540         that was previously under [RESET_PID].
5541         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
5542
5543         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
5544         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
5545
5546 2014-05-27  Roland McGrath  <roland@hack.frob.com>
5547
5548         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
5549
5550         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
5551         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
5552
5553 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
5554
5555         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
5556
5557 2014-05-27  Andreas Schwab  <schwab@suse.de>
5558
5559         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
5560         TLS_INIT_TP macro.
5561         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5562         * elf/rtld.c (init_tls, dl_main): Likewise.
5563         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
5564         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
5565         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
5566         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
5567         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
5568         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
5569         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
5570         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
5571         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
5572         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
5573         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
5574         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
5575         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
5576         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
5577         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
5578         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
5579         * sysdeps/generic/tls.h: Update description.
5580
5581 2014-05-27  Will Newton  <will.newton@linaro.org>
5582
5583         [BZ #16990]
5584         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
5585         and restore r2 rather than just restoring.
5586
5587 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5588
5589         [BZ #16724]
5590         * libio/tst-ftell-append.c: New test case.
5591         * libio/Makefile (tests): Add test case.
5592         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
5593         append mode.
5594         * libio/wfileops.c (do_ftell_wide): Likewise.
5595
5596 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5597
5598         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5599
5600         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
5601         ...
5602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
5603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5604         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
5605         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
5606         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
5607         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
5608         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
5609         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
5610         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5611         Moved ...
5612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
5613         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5614         Moved ...
5615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
5616         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
5617         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
5618         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
5619         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
5620         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
5621         ...
5622         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
5623         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
5624         Moved ...
5625         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
5626         here.
5627         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
5628         ...
5629         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
5630         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
5631         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
5632
5633         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
5634         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
5635         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
5636         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
5637
5638         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
5639         merge into ...
5640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
5641         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
5642         ...
5643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
5644         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
5645         ...
5646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
5647         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5648         Moved ...
5649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
5650         here.
5651         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5652         Moved ...
5653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
5654         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5655         Moved ...
5656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
5657
5658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
5659         conditional [RESET_PID].
5660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
5661         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
5662         removed.
5663         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
5664         removed.
5665
5666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
5667         <tcb-offsets.h>.
5668         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5669         (__libc_vfork): New strong alias.
5670         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
5671         removed.
5672         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
5673         Removed.
5674
5675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
5676         <tcb-offsets.h>.
5677         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
5678         (__libc_vfork): New strong alias.
5679         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
5680         removed.
5681         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
5682         removed.
5683
5684 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
5685
5686         * malloc/malloc.c (mi_arena): New function.
5687         (malloc_info): Remove nested function mi_arena. Call non-nosted
5688         function mi_arena.
5689
5690 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5691
5692         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
5693         by insrwi.
5694         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
5695         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
5696         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
5697         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
5698         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
5699         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
5700         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
5701
5702 2014-05-26  Andreas Schwab  <schwab@suse.de>
5703
5704         [BZ #16984]
5705         * locale/programs/repertoire.c (repertoire_read): Add slash
5706         between I18NPATH element and file name.
5707         * locale/programs/locfile.c (locfile_read): Likewise.
5708
5709 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5710
5711         * nptl/pthread_mutexattr_settype.c
5712         (__pthread_mutexattr_settype):
5713         Disable lock elision for PTHREAD_MUTEX_NORMAL.
5714
5715 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5716
5717         * nptl/tst-mutex5 (do_test):
5718         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
5719
5720 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5721
5722         * benchtests/README: Document 'init' directive.
5723         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
5724         BENCH_INIT.
5725         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
5726         (parse_file): Recognize 'init' directive.
5727
5728 2014-05-26  Kyle McMartin  <kyle@redhat.com>
5729
5730         [BZ #16796]
5731         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
5732         alignment of struct pthread.
5733
5734 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5735
5736         [BZ #16878]
5737         * nscd/netgroupcache.c (addgetnetgrentX): Look for
5738         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5739         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
5740         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5741
5742 2014-05-25  Richard Henderson  <rth@twiddle.net>
5743
5744         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5745         (SINGLE_THREAD_P_PIC): Remove.
5746         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
5747         (SINGLE_THREAD_P_PIC): Remove.
5748
5749         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
5750         branch to syscall error ...
5751         (PSEUDO): ... here.
5752         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
5753         from __local_syscall_error to .Lsyscall_error.
5754         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
5755         (SYSCALL_ERROR): Update label name.
5756
5757         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5758         Do not use DOARGS/UNDOARGS.
5759         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
5760         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
5761         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
5762         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
5763         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
5764
5765         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
5766         block comment.
5767
5768         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
5769         define if !NOT_IN_libc.
5770         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
5771         define with non-default symbol versions.
5772
5773 2014-05-23  Richard Henderson  <rth@twiddle.net>
5774
5775         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
5776         (vfork, __vfork): Define via compat_symbol.
5777
5778         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
5779         [!HAVE_IFUNC] (vfork_compat): Remove.
5780         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
5781
5782 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
5783
5784         [BZ #16978]
5785         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
5786         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
5787         variable.
5788
5789 2014-05-23  Richard Henderson  <rth@twiddle.net>
5790
5791         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
5792         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
5793         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
5794         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
5795
5796         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
5797         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
5798         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
5799         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
5800         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
5801         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
5802         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
5803         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
5804         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
5805         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
5806         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
5807         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
5808         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
5809         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
5810         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
5811         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
5812         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
5813         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
5814         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
5815         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
5816         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5817         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5818         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5819         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5820         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5821         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5822         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5823         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5824         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5825         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5826         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5827         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5828         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5829         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5830         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5831         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5832         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5833         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5834         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5835         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5836         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5837         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5838         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5839         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5840         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5841         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5842         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5843         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5844         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5845         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5846         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5847         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5848         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5849         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5850         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5851         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5852
5853         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5854         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5855         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
5856         before exiting on error.
5857         (__libc_vfork): New strong alias.
5858         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5859         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5860
5861         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5862         that was previously under [RESET_PID].
5863         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5864
5865         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5866
5867 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
5868
5869         [BZ #16977]
5870         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5871         value when x - 1 is zero.
5872         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5873         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5874         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5875         0.0L for an argument of 1.0L.
5876         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5877         Likewise.
5878         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5879         value when x - 1 is zero.
5880         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5881         * sysdeps/i386/fpu/libm-test-ulps: Update.
5882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5883
5884 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
5885
5886         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5887         alphasort and versionsort.
5888
5889 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5890
5891         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5892         macro.
5893         [copysignf]: Likewise.
5894
5895 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5896
5897         * crypt/md5-crypt.c: Fix formatting.
5898
5899 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5900
5901         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5902         (b64_from_24bit): New function.
5903
5904 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5905
5906         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5907         libc_hidden_builtin_def to ifunc.
5908         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5909         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5910
5911 2014-05-21  Roland McGrath  <roland@hack.frob.com>
5912
5913         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5914         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5915
5916 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
5917
5918         * nscd/Depend (linuxthreads): Remove.
5919         (nptl): Add.
5920         * resolv/Depend (linuxthreads): Remove.
5921         * rt/Depend (linuxthreads): Remove.
5922
5923         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5924         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5925         $(common-objpfx)elf/.
5926         (link-libc-before-gnulib): Likewise.
5927         (elfobjdir): Remove variable.
5928         * Makefile (install): Use $(elf-objpfx) instead of
5929         $(common-objpfx)elf/.
5930         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5931         $(elfobjdir)/.
5932         (link-libc-deps): Likewise.
5933         ($(common-objpfx)libc.so): Likewise.
5934         ($(common-objpfx)linkobj/libc.so): Likewise.
5935         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5936         instead of $(common-objpfx)elf/.
5937         (symbolic-link-list): Likewise.
5938         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5939         [$(cross-compiling) = no]: Likewise.
5940         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5941         $(elfobjdir)/.
5942         (static-gnulib-arch): Likewise.
5943         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5944         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5945         $(common-objpfx)elf/.
5946
5947 2014-05-21  Richard Henderson  <rth@redhat.com>
5948
5949         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5950         (SINGLE_THREAD_P): Use the correct width load.  Fold
5951         into the ldr offset.
5952
5953         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5954         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5955
5956 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
5957
5958         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5959         (libgcc_s_resume): Use __attribute_used__.
5960         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5961         Likewise.
5962
5963 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5964
5965         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5966         optimization when used with float constants.
5967
5968         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5969
5970 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
5971
5972         [BZ #16915]
5973         * locale/nl_langinfo_l.c: Make direct reference to every
5974         _nl_current_CATEGORY symbol.
5975         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5976         (tests-static): Add tst-langinfo-static.
5977         (tests-special): Add tst-langinfo-static.out.
5978         ($(objpfx)tst-langinfo.out): Redirect output.
5979         ($(objpfx)tst-langinfo-static.out): New.
5980         * localedata/tst-langinfo.sh: Send output to stdout.
5981         * localedata/tst-langinfo-static.c: New file.
5982
5983         [BZ #16965]
5984         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5985         when the shift amount is modulo the limb size.
5986
5987 2014-05-20  Richard Henderson  <rth@redhat.com>
5988
5989         [BZ #16967]
5990         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5991         Change type of sa_flags from unsigned int to int.
5992
5993         [BZ #16966]
5994         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
5995
5996         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5997
5998 2014-05-20  Will Newton  <will.newton@linaro.org>
5999
6000         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6001         Test the return value of the system call in the nocancel case.
6002
6003 2014-05-20  Will Newton  <will.newton@linaro.org>
6004             Yvan Roux  <yvan.roux@linaro.org>
6005
6006         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
6007         #include of asm/ptrace.h.
6008         (PTRACE_GET_THREAD_AREA): Remove #undef.
6009         (PTRACE_GETHBPREGS): Likewise.
6010         (PTRACE_SETHBPREGS): Likewise.
6011         (struct user_regs_struct): New structure.
6012         (struct user_fpsimd_struct): New structure.
6013         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
6014         #include of asm/ptrace.h and second #include of sys/user.h.
6015         (PTRACE_GET_THREAD_AREA): Remove #undef.
6016         (PTRACE_GETHBPREGS): Likewise.
6017         (PTRACE_SETHBPREGS): Likewise.
6018         (ELF_NGREG): Use new struct user_regs_struct.
6019         (elf_fpregset_t): Use new struct user_fpsimd_struct.
6020
6021 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6022
6023         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
6024         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
6025
6026 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
6027
6028         [BZ #16958]
6029         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
6030         membar to avoid block loads/stores to overlap previous stores.
6031
6032 2014-05-17  Richard Henderson  <rth@redhat.com>
6033
6034         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
6035         Create the __##syscall_name##_nocancel entry point.
6036         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
6037         Remove; let the sysdep-cancel.h code create it.
6038
6039 2014-05-17  David S. Miller  <davem@davemloft.net>
6040
6041         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
6042         Protect with __USE_GNU.
6043         (TIOCSET_TEMPT): Likewise.
6044         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6045         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
6046         these are already provided in bits/ioctl-types.h
6047
6048 2014-05-16  Roland McGrath  <roland@hack.frob.com>
6049
6050         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
6051         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
6052
6053         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
6054         Use wait4 regardless of [__NR_waitpid].
6055
6056 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
6057
6058         PR libgcc/60166
6059         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6060         (_FP_NANSIGN_Q): Set the quiet bit.
6061
6062 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
6063
6064         * benchtests/Makefile
6065         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
6066         not $(common-objpfx)math/libm.so.
6067         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
6068         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
6069         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
6070         $(common-objpfx)dlfcn/libdl.so.
6071         ($(objpfx)tst-audit8): Depend on $(libm), not
6072         $(common-objpfx)math/libm.so.
6073         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
6074         not $(common-objpfx)dlfcn/libdl.so.
6075         * math/Makefile
6076         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
6077         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
6078         [$(build-shared) = yes].
6079         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
6080         $(common-objpfx)nptl/libpthread.so.
6081         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
6082         $(common-objpfx)math/libm.so$(libm.so-version) or
6083         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
6084         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
6085         $(common-objpfx)dlfcn/libdl.so.
6086         * setjmp/Makefile (link-libm): Remove variable.
6087         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
6088         * stdio-common/Makefile (link-libm): Remove variable.
6089         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
6090         * stdlib/Makefile (link-libm): Remove variable.
6091         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
6092         ($(objpfx)tst-strtod-round): Likewise.
6093         ($(objpfx)tst-tininess): Likewise.
6094         ($(objpfx)tst-strtod-underflow): Likewise.
6095         ($(objpfx)tst-strtod6): Likewise.
6096         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
6097         $(libdl), not $(common-objpfx)nptl/libpthread.so and
6098         $(common-objpfx)dlfcn/libdl.so.
6099
6100 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6101
6102         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
6103         BSD terminal modes definitions.
6104
6105 2014-05-16  Roland McGrath  <roland@hack.frob.com>
6106
6107         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
6108         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
6109
6110         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
6111         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
6112         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
6113         Don't do #include_next.
6114         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
6115         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
6116         Don't do #include_next.
6117         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
6118         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
6119         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
6120         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
6121
6122 2014-05-16  Allan McRae  <allan@archlinux.org>
6123
6124         * po/sv.po: Update Swedish translation from translation project.
6125
6126         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
6127         in sed expression.
6128
6129 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
6130
6131         [BZ #16917]
6132         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
6133         errno if the TIOCGPTN ioctl fails with an error different than
6134         EINVAL.
6135         * login/tst-ptsname.c: New file.
6136         * login/Makefile (tests): Add tst-ptsname.
6137
6138         [BZ #16943]
6139         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
6140         and prlimit64.
6141
6142 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6143
6144         [BZ #16849]
6145         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
6146         herrno to return EAI_AGAIN.
6147
6148 2014-05-14  Roland McGrath  <roland@hack.frob.com>
6149
6150         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
6151         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
6152         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
6153         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
6154         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
6155         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
6156         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
6157         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
6158         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
6159         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
6160         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
6161         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
6162         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
6163         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
6164         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
6165         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
6166         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
6167         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
6168         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
6169         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
6170         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
6171         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
6172         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
6173         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
6174         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
6175         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
6176         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
6177         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
6178         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
6179         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
6180         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
6181         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
6182         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
6183         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
6184         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6185         Moved ...
6186         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
6187         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
6188         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
6189         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
6190         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
6191         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
6192         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
6193         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
6194         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
6195         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
6196         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
6197         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
6198         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
6199         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
6200         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
6201         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
6202         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
6203         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
6204         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
6205         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
6206         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
6207         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
6208         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
6209         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
6210         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
6211         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
6212         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
6213         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
6214         Moved ...
6215         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
6216         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
6217         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
6218         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
6219         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
6220         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
6221         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
6222         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
6223         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
6224         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
6225         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
6226         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
6227         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
6228         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
6229         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
6230         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
6231         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
6232         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
6233         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
6234         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
6235         Moved ...
6236         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
6237         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
6238         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
6239
6240         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
6241         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
6242         (libpthread-sysdep_routines): Add elision-related stuff here instead.
6243         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
6244         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
6245         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
6246         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
6247         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
6248         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
6249         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
6250         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
6251         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
6252         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
6253         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
6254         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
6255         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
6256         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
6257         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
6258         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
6259         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
6260         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
6261         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
6262         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
6263         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
6264         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
6265         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
6266         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
6267         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
6268         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
6269         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
6270         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
6271
6272         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
6273         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
6274
6275         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
6276         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
6277         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
6278         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
6279         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
6280         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
6281         Moved ...
6282         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
6283         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
6284         Moved ...
6285         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
6286         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
6287         Moved ...
6288         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
6289         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
6290         Moved ...
6291         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
6292         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
6293         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
6294         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
6295         Moved ...
6296         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
6297         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
6298         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
6299         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
6300         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
6301         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
6302         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
6303         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
6304         Moved ...
6305         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
6306         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6307         Moved ...
6308         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6309         ... here.
6310         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
6311         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
6312         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
6313         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
6314         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6315         Moved ...
6316         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6317         ... here.
6318         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
6319         Moved ...
6320         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
6321         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
6322         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
6323         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
6324         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
6325         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
6326         Moved ...
6327         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
6328         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
6329         Moved ...
6330         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
6331         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
6332         Moved ...
6333         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
6334         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
6335         Moved ...
6336         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
6337         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
6338         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
6339         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
6340         Moved ...
6341         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
6342         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
6343         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
6344         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
6345         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
6346         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
6347         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
6348         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
6349         Moved ...
6350         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
6351         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6352         Moved ...
6353         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6354         ... here.
6355         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
6356         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
6357         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
6358         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
6359         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6360         Moved ...
6361         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6362         ... here.
6363         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
6364         Moved ...
6365         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
6366         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
6367         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
6368         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
6369         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
6370         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
6371         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
6372         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
6373         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
6374         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
6375         Moved ...
6376         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
6377         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
6378         Moved ...
6379         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
6380         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
6381         Moved ...
6382         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
6383         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
6384         Moved ...
6385         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
6386         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
6387         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
6388         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
6389         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
6390         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
6391         Moved ...
6392         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
6393         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
6394         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
6395         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
6396         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
6397         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
6398         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
6399         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
6400         Moved ...
6401         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
6402         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6403         Moved ...
6404         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6405         ... here.
6406         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
6407         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
6408         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
6409         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
6410         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6411         Moved ...
6412         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6413         ... here.
6414         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
6415         Moved ...
6416         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
6417         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
6418         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
6419         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
6420         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
6421         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
6422         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
6423         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
6424         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
6425         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
6426         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
6427
6428         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
6429         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
6430
6431         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
6432         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
6433
6434         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
6435         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
6436         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
6437         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
6438         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
6439         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
6440         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
6441         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
6442         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
6443         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
6444         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
6445         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
6446         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
6447         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
6448         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
6449         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
6450         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
6451         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
6452         Moved ...
6453         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
6454         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
6455         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
6456         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
6457         Moved ...
6458         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
6459         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
6460         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
6461         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
6462         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
6463         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
6464         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
6465         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
6466         Moved ...
6467         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
6468         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
6469         Moved ...
6470         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
6471         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
6472         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
6473         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
6474         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
6475         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
6476         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
6477         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
6478         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
6479         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
6480         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
6481         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
6482         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
6483         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
6484         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
6485         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
6486         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
6487
6488         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
6489         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
6490         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
6491         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
6492         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
6493
6494         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
6495         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
6496         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
6497         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
6498         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
6499         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
6500         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
6501         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
6502         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
6503         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
6504
6505         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
6506         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
6507
6508         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
6509         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
6510         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
6511         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
6512         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
6513         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
6514         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
6515         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
6516         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
6517         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
6518         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
6519         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
6520         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
6521         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
6522         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
6523         Update #include.
6524         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
6525         Likewise.
6526         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6527         Likewise.
6528         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6529         Likewise.
6530         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6531         Likewise.
6532         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
6533         Likewise.
6534         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
6535         Likewise.
6536         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6537         Likewise.
6538         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
6539         Likewise.
6540         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
6541         Likewise.
6542         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
6543         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
6544         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
6545         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
6546         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
6547         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
6548         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
6549         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
6550         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
6551         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
6552         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
6553         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
6554         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
6555         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
6556         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
6557
6558         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
6559         that was previously under [RESET_PID].
6560         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6561         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
6562         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
6563
6564         * sysdeps/i386/nptl/Implies: New file.
6565         * sysdeps/x86_64/nptl/Implies: New file.
6566         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
6567         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6568         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
6569         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
6570
6571         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
6572         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6573         (__libc_vfork): New strong alias.
6574         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
6575         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
6576
6577         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
6578         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6579         (__libc_vfork): New strong alias.
6580         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
6581         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
6582
6583         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
6584         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6585         (__libc_vfork): New strong alias.
6586         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
6587         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
6588         * nptl/pt-vfork.c: New file.
6589         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
6590         (libpthread: GLIBC_2.20): New version set (empty).
6591
6592 2014-05-14  Will Newton  <will.newton@linaro.org>
6593
6594         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
6595         rather than #if.
6596
6597 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
6598
6599         [BZ #16564]
6600         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
6601         arguments with exponent 65 or above.
6602         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
6603         arguments 0x1p113L or above.
6604         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
6605         to arguments 0x1p107L or above.
6606         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
6607         positive arguments with exponent 65 or above.
6608         * math/auto-libm-test-in: Add more tests of log1p.
6609         * math/auto-libm-test-out: Regenerated.
6610
6611         [BZ #16928]
6612         * math/s_cacos.c (__cacos): Ensure zero real part of result from
6613         non-finite arguments is +0.
6614         * math/s_cacosf.c (__cacosf): Likewise.
6615         * math/s_cacosl.c (__cacosl): Likewise.
6616         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
6617         * sysdeps/i386/fpu/libm-test-ulps: Update.
6618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6619
6620         [BZ #16927]
6621         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
6622         value.
6623         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6624         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
6625         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
6626         for explicit high bit of mantissa when testing for argument equal
6627         to 1.
6628         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
6629         * sysdeps/i386/fpu/libm-test-ulps: Update.
6630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6631
6632         [BZ #16516]
6633         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
6634         (__erf): Scale by 16 instead of 8 in potentially underflowing
6635         case.  Ensure exception if result actually underflows.
6636         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
6637         (__erff): Scale by 16 instead of 8 in potentially underflowing
6638         case.  Ensure exception if result actually underflows.
6639         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
6640         (efx8): Remove variable.
6641         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6642         case.  Ensure exception if result actually underflows.
6643         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
6644         (efx8): Remove variable.
6645         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6646         case.  Ensure exception if result actually underflows.
6647         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
6648         (efx8): Remove variable.
6649         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6650         case.  Ensure exception if result actually underflows.
6651         * math/auto-libm-test-in: Add more tests of erf.
6652         * math/auto-libm-test-out: Regenerated.
6653
6654 2014-05-14  Andreas Schwab  <schwab@suse.de>
6655
6656         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
6657         Remove code conditionalized on USE___THREAD.
6658
6659         * config.h.in (HAVE_PT_CHOWN): Define as 0.
6660         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
6661         not definedness.
6662
6663 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
6664
6665         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
6666         Define unconditionally.
6667         (__ASSUME_O_CLOEXEC): Likewise.
6668         (__ASSUME_SOCK_CLOEXEC): Likewise.
6669         (__ASSUME_IN_NONBLOCK): Likewise.
6670         (__ASSUME_PIPE2): Likewise.
6671         (__ASSUME_EVENTFD2): Likewise.
6672         (__ASSUME_SIGNALFD4): Likewise.
6673         (__ASSUME_DUP3): Likewise.
6674         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6675         (__ASSUME_DUP3): Do not define.
6676         (__ASSUME_EVENTFD2): Likewise.
6677         (__ASSUME_IN_NONBLOCK): Likewise.
6678         (__ASSUME_O_CLOEXEC): Likewise.
6679         (__ASSUME_PIPE2): Likewise.
6680         (__ASSUME_SIGNALFD4): Likewise.
6681         (__ASSUME_SOCK_CLOEXEC): Likewise.
6682         (__ASSUME_UTIMES): Undefine.
6683         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6684         (__ASSUME_UTIMES): Do not define.
6685         (__ASSUME_O_CLOEXEC): Likewise.
6686         (__ASSUME_SOCK_CLOEXEC): Likewise.
6687         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
6688         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
6689         0x020621].
6690         (__ASSUME_PIPE2): Likewise.
6691         (__ASSUME_EVENTFD2): Likewise.
6692         (__ASSUME_SIGNALFD4): Likewise.
6693         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
6694         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
6695         Do not define.
6696         (__ASSUME_EVENTFD2): Likewise.
6697         (__ASSUME_SIGNALFD4): Likewise.
6698         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6699         (__ASSUME_32BITUIDS): Likewise.
6700         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6701         (__ASSUME_IPC64): Likewise.
6702         (__ASSUME_ST_INO_64_BIT): Likewise.
6703         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
6704         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
6705         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6706         (__ASSUME_UTIMES): Do not define.
6707         (__ASSUME_PSELECT): Likewise.
6708         (__ASSUME_PPOLL): Likewise.
6709         (__ASSUME_O_CLOEXEC): Likewise.
6710         (__ASSUME_SOCK_CLOEXEC): Likewise.
6711         (__ASSUME_IN_NONBLOCK): Likewise.
6712         (__ASSUME_PIPE2): Likewise.
6713         (__ASSUME_EVENTFD2): Likewise.
6714         (__ASSUME_SIGNALFD4): Likewise.
6715         (__ASSUME_DUP3): Likewise.
6716         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6717         (__ASSUME_UTIMES): Likewise.
6718         (__ASSUME_O_CLOEXEC): Likewise.
6719         (__ASSUME_SOCK_CLOEXEC): Likewise.
6720         (__ASSUME_IN_NONBLOCK): Likewise.
6721         (__ASSUME_PIPE2): Likewise.
6722         (__ASSUME_EVENTFD2): Likewise.
6723         (__ASSUME_SIGNALFD4): Likewise.
6724         (__ASSUME_DUP3): Likewise.
6725         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6726         (__ASSUME_UTIMES): Likewise.
6727         (__ASSUME_O_CLOEXEC): Likewise.
6728         (__ASSUME_SOCK_CLOEXEC): Likewise.
6729         (__ASSUME_IN_NONBLOCK): Likewise.
6730         (__ASSUME_PIPE2): Likewise.
6731         (__ASSUME_EVENTFD2): Likewise.
6732         (__ASSUME_SIGNALFD4): Likewise.
6733         (__ASSUME_DUP3): Likewise.
6734         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
6735         Likewise.
6736         (__ASSUME_UTIMES): Likewise.
6737         (__ASSUME_EVENTFD2): Likewise.
6738         (__ASSUME_SIGNALFD4): Likewise.
6739         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6740         (__ASSUME_O_CLOEXEC): Likewise.
6741         (__ASSUME_SOCK_CLOEXEC): Likewise.
6742         (__ASSUME_IN_NONBLOCK): Likewise.
6743         (__ASSUME_PIPE2): Likewise.
6744         (__ASSUME_EVENTFD2): Likewise.
6745         (__ASSUME_SIGNALFD4): Likewise.
6746         (__ASSUME_DUP3): Likewise.
6747         (__ASSUME_UTIMES): Undefine.
6748
6749         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
6750         feclearexcept.  Remove symbol versioning code.
6751         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
6752         symbol versioning code.
6753         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
6754         symbol versioning code.
6755         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
6756         feupdateenv.  Remove symbol versioning code.
6757         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
6758         fegetexceptflag.  Remove symbol versioning code.
6759         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
6760         fesetexceptflag.  Remove symbol versioning code.
6761         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
6762         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
6763         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
6764         (__posix_fadvise64_l32): Remove prototype.
6765         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
6766         code.
6767
6768 2014-05-13  Roland McGrath  <roland@hack.frob.com>
6769
6770         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
6771         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
6772         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
6773         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
6774
6775 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
6776
6777         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
6778         current working directory
6779
6780 2014-05-13  Roland McGrath  <roland@hack.frob.com>
6781
6782         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
6783         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
6784         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
6785         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
6786         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
6787         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
6788         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
6789         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
6790         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
6791         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
6792         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
6793         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
6794         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
6795         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
6796         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
6797         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
6798         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
6799         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
6800         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
6801         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
6802         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
6803         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
6804         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
6805         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
6806         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
6807         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
6808         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
6809         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
6810         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
6811         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
6812         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
6813         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
6814         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
6815         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
6816         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6817         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6818         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6819         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6820         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6821         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6822         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6823         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6824
6825         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6826         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6827
6828         * sysdeps/unix/sysv/linux/arm/Makefile
6829         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6830         Add rt-aeabi_unwind_cpp_pr1.
6831         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6832         Add nptl-aeabi_unwind_cpp_pr1.
6833         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6834         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6835         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6836         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6837         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6838         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6839
6840         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6841         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6842         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6843         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6844
6845         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6846         Deconditionalize the code that was previously under [RESET_PID].
6847         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6848
6849         * sysdeps/generic/exit-thread.h: New file.
6850         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6851         * include/unistd.h (__exit_thread): Remove declaration.
6852         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6853         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6854         * csu/libc-start.c: Include <exit-thread.h>.
6855         (LIBC_START_MAIN): Pass no argument to __exit_thread.
6856         * nptl/pthread_create.c: Include <exit-thread.h>.
6857         (start_thread): Call __exit_thread in place of __exit_thread_inline.
6858         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6859         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6860         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6861         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6862         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6863         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6864         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6865         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6866         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6867         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6868         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6869         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6870         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6871         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6872         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6873         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6874
6875 2014-05-13  Andreas Schwab  <schwab@suse.de>
6876
6877         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6878
6879 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
6880
6881         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6882         (__ASSUME_UTIMES): Do not condition on kernel version.
6883         (__ASSUME_PSELECT): Define unconditionally.
6884         (__ASSUME_PPOLL): Likewise.
6885         (__ASSUME_ATFCTS): Likewise.
6886         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6887         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6888         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6889         (__ASSUME_UTIMENSAT): Define unconditionally.
6890         (__ASSUME_PRIVATE_FUTEX): Likewise.
6891         (__ASSUME_FALLOCATE): Likewise.
6892         (__ASSUME_O_CLOEXEC): Likewise.
6893         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
6894         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6895         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6896         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6897         (__ASSUME_IN_NONBLOCK): Likewise.
6898         (__ASSUME_PIPE2): Likewise.
6899         (__ASSUME_EVENTFD2): Likewise.
6900         (__ASSUME_SIGNALFD4): Likewise.
6901         (__ASSUME_DUP3): Likewise.
6902         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6903         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6904         (__ASSUME_AT_RANDOM): Likewise.
6905         (__ASSUME_PREADV): Likewise.
6906         (__ASSUME_PWRITEV): Likewise.
6907         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6908         (__ASSUME_F_GETOWN_EX): Define unconditionally.
6909         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6910         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6911         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6912         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6913         (__ASSUME_O_CLOEXEC): Define unconditionally.
6914         (__ASSUME_PSELECT): Do not undefine conditionally.
6915         (__ASSUME_PPOLL): Likewise.
6916         (__ASSUME_ATFCTS): Likewise.
6917         (__ASSUME_SET_ROBUST_LIST): Likewise.
6918         (__ASSUME_UTIMENSAT): Likewise.
6919         (__ASSUME_FDATASYNC): Define unconditionally.
6920         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6921         (__ASSUME_SIGFRAME_V2): Likewise.
6922         )__ASSUME_EVENTFD2): Likewise.
6923         (__ASSUME_SIGNALFD4): Likewise.
6924         (__ASSUME_PSELECT): Do not undefine conditionally.
6925         (__ASSUME_PPOLL): Likewise.
6926         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6927         (__ASSUME_PSELECT): Define unconditionally.
6928         (__ASSUME_PPOLL): Likewise.
6929         (__ASSUME_O_CLOEXEC): Likewise.
6930         (__ASSUME_SOCK_CLOEXEC): Likewise.
6931         (__ASSUME_IN_NONBLOCK): Likewise.
6932         (__ASSUME_PIPE2): Likewise.
6933         (__ASSUME_EVENTFD2): Likewise.
6934         (__ASSUME_SIGNALFD4): Likewise.
6935         (__ASSUME_DUP3): Likewise.
6936         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6937         (__ASSUME_O_CLOEXEC): Likewise.
6938         (__ASSUME_SOCK_CLOEXEC): Likewise.
6939         (__ASSUME_IN_NONBLOCK): Likewise.
6940         (__ASSUME_PIPE2): Likewise.
6941         (__ASSUME_EVENTFD2): Likewise.
6942         (__ASSUME_SIGNALFD4): Likewise.
6943         (__ASSUME_DUP3): Likewise.
6944         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6945         (__ASSUME_EVENTFD2): Likewise.
6946         (__ASSUME_SIGNALFD4): Likewise.
6947         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6948
6949 2014-05-12  Andreas Schwab  <schwab@suse.de>
6950
6951         [BZ #16932]
6952         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6953         (_nss_nis_gethostbyname4_r): Return error if item length is larger
6954         than maximum RPC packet size.
6955         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6956         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6957         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6958         (_nss_nis_getservbyport_r): Likewise.
6959
6960 2014-05-12  Will Newton  <will.newton@linaro.org>
6961
6962         * malloc/Makefile (tests): Add tst-mallopt.
6963         * malloc/tst-mallopt.c: New file.
6964
6965 2014-05-09  Roland McGrath  <roland@hack.frob.com>
6966
6967         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6968         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6969
6970 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6971
6972         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6973         (tst-tlsmod6.so): Likewise.
6974
6975 2014-05-09  Roland McGrath  <roland@hack.frob.com>
6976
6977         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6978
6979 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
6980
6981         [BZ #16064]
6982         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6983         and <dl-procinfo.h>.
6984         (__fegetenv): Save SSE state in envp->__eip if supported.
6985         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6986         envp->__eip if supported.
6987         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6988         and <dl-procinfo.h>.
6989         (__fesetenv): Always set __eip, __cs_selector, __opcode,
6990         __data_offset and __data_selector in environment to 0.  Set SSE
6991         state if supported.
6992         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6993         test-fenv-sse.
6994         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6995         -mfpmath=sse.
6996         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6997
6998 2014-05-09  Will Newton  <will.newton@linaro.org>
6999
7000         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
7001         and libc_relro_required for ARM.
7002         * sysdeps/arm/preconfigure: Regenerate.
7003
7004 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
7005             Stefan Liebler  <stli@linux.vnet.ibm.com>
7006
7007         * config.make.in (enable-lock-elision): New Makefile variable.
7008         * configure.ac: Likewise.
7009         * configure: Regenerate.
7010         * sysdeps/s390/configure.ac:
7011         Add check for gcc transactions support.
7012         * sysdeps/s390/configure: Regenerate.
7013         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
7014         Build elision files if enabled.
7015         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
7016         Add lock elision support for s390.
7017         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
7018         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
7019         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
7020         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
7021         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
7022         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
7023         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7024         Likewise.
7025         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
7026         Likewise.
7027         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
7028         Likewise.
7029         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
7030         Likewise.
7031         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
7032         (__lll_timedlock_elision, __lll_lock_elision)
7033         (__lll_unlock_elision, __lll_trylock_elision)
7034         (lll_timedlock_elision, lll_lock_elision)
7035         (lll_unlock_elision, lll_trylock_elision): Add.
7036         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7037         (pthread_mutex_t): Add lock elision support for s390.
7038
7039 2014-05-14  Wilco  <wdijkstr@arm.com>
7040
7041         * sysdeps/arm/fclrexcpt.c: Cleanup.
7042         * sysdeps/arm/fedisblxcpt.c: Cleanup.
7043         * sysdeps/arm/feenablxcpt.c: Cleanup.
7044         * sysdeps/arm/fegetenv.c: Cleanup.
7045         * sysdeps/arm/fegetexcept.c: Cleanup.
7046         * sysdeps/arm/fegetround.c: Cleanup.
7047         * sysdeps/arm/feholdexcpt.c: Cleanup.
7048         * sysdeps/arm/fesetenv.c: Cleanup.
7049         * sysdeps/arm/fesetround.c: Cleanup.
7050         * sysdeps/arm/feupdateenv.c: Cleanup.
7051         * sysdeps/arm/fgetexcptflg.c: Cleanup.
7052         * sysdeps/arm/fraiseexcpt.c: Cleanup.
7053         * sysdeps/arm/fsetexcptflg.c: Cleanup.
7054         * sysdeps/arm/ftestexcept.c: Cleanup.
7055         * sysdeps/arm/get-rounding-mode.h: Cleanup.
7056         * sysdeps/arm/setfpucw.c: Cleanup.
7057
7058 2014-05-09  Will Newton  <will.newton@linaro.org>
7059
7060         * sysdeps/arm/armv7/strcmp.S: New file.
7061         * NEWS: Mention addition of ARMv7 optimized strcmp.
7062
7063 2014-05-08  Roland McGrath  <roland@hack.frob.com>
7064
7065         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
7066         look for %.ac rather than %.in.
7067
7068         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
7069         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
7070         * sysdeps/mach/hurd/configure: Regenerated.
7071         * sysdeps/unix/sysv/linux/configure: Regenerated.
7072
7073         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
7074
7075 2014-05-07  Steve Ellcey  <sellcey@mips.com>
7076
7077         [BZ# 16922]
7078         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
7079         (LONG_SUB): Ditto.
7080         (PTR_SUB): Ditto.
7081
7082 2014-05-07  Andreas Schwab  <schwab@suse.de>
7083
7084         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
7085         when skipping over non-matching result from nscd.
7086
7087 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
7088
7089         [BZ #16876]
7090         * nptl/sockperf.c (client): Check socket return value.
7091
7092         [BZ #16877]
7093         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
7094         nscd security class.
7095
7096 2014-05-06  Roland McGrath  <roland@hack.frob.com>
7097
7098         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
7099         * sysdeps/arm/unwind.h: ... here.
7100
7101 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
7102
7103         [BZ# 16916]
7104         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
7105         Define.
7106
7107 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7108
7109         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
7110         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
7111         multiarch strncpy for PPC64.
7112         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
7113         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
7114         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
7115         multiarch optimizations.
7116         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7117         (__libc_ifunc_impl_list): Likewise.
7118         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
7119         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
7120         multiarch stpncpy for PPC64.
7121         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
7122         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
7123
7124 2014-05-06  Andreas Schwab  <schwab@suse.de>
7125
7126         [BZ #16912]
7127         * gmon/mcount.c (_MCOUNT_DECL): Use
7128         atomic_compare_and_exchange_bool_acq instead of
7129         catomic_compare_and_exchange_bool_acq.
7130
7131 2014-05-05  Roland McGrath  <roland@hack.frob.com>
7132
7133         * elf/Makefile (others, install-bin): Remove pldd.
7134         (pldd-modules): Variable removed.
7135         ($(objpfx)pldd): Target removed.
7136         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
7137         (others, install-bin): Append pldd here.
7138         ($(objpfx)pldd): New target.
7139
7140         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
7141         to 0, so the first #if test emitted later doesn't see it undefined.
7142         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
7143         * sysdeps/gnu/errlist.c: Regenerated.
7144
7145 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7146
7147         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7148         [libc_hidden_builtin_def]: Define to empty value.
7149         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
7150         [libc_hidden_builtin_def]: Likewise.
7151         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
7152         [libc_hidden_builtin_def]: Likewise.
7153         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
7154         [libc_hidden_builtin_def]: Likewise.
7155         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
7156         __redirect_memcpy and define ifunc as default hidden symbol.
7157         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
7158         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
7159
7160 2014-05-04  Adam Conrad  <adconrad@0c3.net>
7161
7162         * locale/iso-4217.def: Reintroduce XDR currency.
7163
7164 2014-05-04  Allan McRae  <allan@archlinux.org>
7165
7166         * po/eo.po: Update Esperanto translation from translation project.
7167
7168 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
7169
7170         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
7171         and FEATURE_INDEX_MAX to 1.
7172         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
7173
7174 2014-05-01  Steve Ellcey  <sellcey@mips.com>
7175
7176         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
7177         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
7178         * iconvdata/big5.c (ONE_DIRECTION): Define.
7179         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
7180         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
7181         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
7182         * iconvdata/cp932.c (ONE_DIRECTION): Define.
7183         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
7184         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
7185         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
7186         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
7187         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
7188         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
7189         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
7190         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
7191         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
7192         * iconvdata/gbk.c (ONE_DIRECTION): Define.
7193         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
7194         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
7195         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
7196         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
7197         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
7198         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
7199         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
7200         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
7201         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
7202         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
7203         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
7204         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
7205         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
7206         * iconvdata/iso646.c (ONE_DIRECTION): Define.
7207         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
7208         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
7209         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
7210         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
7211         * iconvdata/johab.c (ONE_DIRECTION): Define.
7212         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
7213         * iconvdata/sjis.c (ONE_DIRECTION): Define.
7214         * iconvdata/t.61.c (ONE_DIRECTION): Define.
7215         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
7216         * iconvdata/tscii.c (ONE_DIRECTION): Define.
7217         * iconvdata/uhc.c (ONE_DIRECTION): Define.
7218         * iconvdata/unicode.c (ONE_DIRECTION): Define.
7219         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
7220         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
7221         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
7222
7223 2014-05-01  Roland McGrath  <roland@hack.frob.com>
7224
7225         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
7226         (_IO_JUMPS_OFFSET): Define to 0.
7227
7228         * nptl/sysdeps/pthread/bits/libc-lock.h
7229         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7230         (__libc_lock_define_initialized_recursive): Always define using
7231         initializer.  Modern compilers treat uninitialized (implicit zero) and
7232         explicit zero initializers the same (i.e. put the datum in bss).
7233
7234 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
7235
7236         * nscd/nscd-client.h: Include <string.h>.
7237
7238 2014-05-01  David S. Miller  <davem@davemloft.net>
7239
7240         [BZ #16885]
7241         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
7242         multiple zero bytes exist at the end of a string.
7243         Reported by Aurelien Jarno <aurelien@aurel32.net>
7244
7245         * string/test-strcmp.c (check): Add explicit test for situations where
7246         there are multiple zero bytes after the first.
7247
7248 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
7249
7250         [BZ #16890]
7251         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
7252         when compiling wprintf.
7253         * stdio-common/tstdiomisc.c (t3): New function.
7254         (main): Call it.
7255
7256 2014-05-01  Steve Ellcey  <sellcey@mips.com>
7257
7258         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
7259         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
7260         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
7261         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
7262
7263 2014-05-01  Steve Ellcey  <sellcey@mips.com>
7264
7265         * stdlib/longlong.h: Updated from GCC.
7266
7267 2014-05-01  Will Newton  <will.newton@linaro.org>
7268             Bernard Ogden  <bernie.ogden@linaro.org>
7269
7270         * NEWS: Update fixed bug list.
7271
7272         [BZ #15119]
7273         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
7274
7275 2014-04-30  David S. Miller  <davem@davemloft.net>
7276
7277         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
7278         (libc_feholdexcept_setround_sparc_ctx): New function.
7279         (libc_fesetenv_sparc_ctx): Likewise.
7280         (libc_feupdateenv_sparc_ctx): Likewise.
7281         (libc_feholdsetround_sparc_ctx): Likewise.
7282         (libc_feholdexcept_setround_ctx): Define.
7283         (libc_feholdexcept_setroundf_ctx): Likewise.
7284         (libc_feholdexcept_setroundl_ctx): Likewise.
7285         (libc_fesetenv_ctx): Likewise.
7286         (libc_fesetenvf_ctx): Likewise.
7287         (libc_fesetenvl_ctx): Likewise.
7288         (libc_feupdateenv_ctx): Likewise.
7289         (libc_feupdateenvf_ctx): Likewise.
7290         (libc_feupdateenvl_ctx): Likewise.
7291         (libc_feresetround_ctx): Likewise.
7292         (libc_feresetroundf_ctx): Likewise.
7293         (libc_feresetroundl_ctx): Likewise.
7294         (libc_feholdsetround_ctx): Likewise.
7295         (libc_feholdsetroundf_ctx): Likewise.
7296         (libc_feholdsetroundl_ctx): Likewise.
7297
7298         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7299         with __USE_GNU instead of XOPEN cpp guards.
7300
7301         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
7302         0.
7303
7304         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7305         with XOPEN cpp guards.
7306
7307 2014-04-30  Julian Brown  <julian@codesourcery.com>
7308
7309         [BZ #16888]
7310         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
7311         handling.
7312
7313 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
7314
7315         [BZ #9894]
7316         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7317         Change to 2.6.32.
7318         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
7319         * sysdeps/unix/sysv/linux/configure: Regenerated.
7320         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
7321         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
7322         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
7323         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
7324         * README: Update reference to required Linux kernel version.
7325         * manual/install.texi (Linux): Update reference to required Linux
7326         kernel headers version.
7327         * INSTALL: Regenerated.
7328
7329         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
7330         header inclusion.
7331         [POSIX] (limits.h): Likewise.
7332         [POSIX] (math.h): Likewise.
7333         [POSIX] (sys/wait.h): Likewise.
7334         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
7335         function.
7336         [POSIX] (stddef.h): Do not allow header inclusion.
7337
7338 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7339
7340         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
7341
7342 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
7343
7344         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
7345         Return immediately after lll_futex_wake.
7346
7347 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7348
7349         [BZ #16791]
7350         * nscd/nscd-client.h (datahead_init_common): Initialize entire
7351         structure.
7352         (datahead_init_pos): Call datahead_init_common early.
7353         (datahead_init_neg): Likewise.
7354
7355         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
7356         datahead_init_neg): New functions.
7357         * nscd/aicache.c (addhstaiX): Use them.
7358         * nscd/grpcache.c (cache_addgr): Likewise.
7359         * nscd/hstcache.c (cache_addhst): Likewise.
7360         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7361         * nscd/netgroupcache.c (do_notfound): Likewise.
7362         (addgetnetgrentX): Likewise.
7363         (addinnetgrX): Likewise.
7364         * nscd/pwdcache.c (cache_addpw): Likewise.
7365         * nscd/servicescache.c (cache_addserv): Likewise.
7366
7367 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7368             Atsushi Onoe  <atsushi@onoe.org>
7369
7370         [BZ #14308]
7371         [BZ #12994]
7372         [BZ #13651]
7373         * resolv/res_query.c (__libc_res_nsearch): Return if at least
7374         one response is valid.
7375         * resolv/res_send.c (send_dg): Check for validity of other
7376         response if the current response is a referral.
7377
7378 2014-04-29  Steve Ellcey  <sellcey@mips.com>
7379
7380         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
7381
7382 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
7383
7384         [BZ #16823]
7385         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
7386         Always divide by positive zero when computing -Inf result.
7387         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7388         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
7389
7390 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7391
7392         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
7393         FPSCR if value do not change.
7394         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7395         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
7396         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7397         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7398         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
7399         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
7400         function.
7401
7402 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
7403
7404         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
7405         * sysdeps/unix/sysv/linux/hppa: Move directory from
7406         ports/systeps/unix/sysv/linux/hppa.
7407         * README: Update listing for hppa-*-linux-gnu.
7408
7409 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
7410
7411         [BZ #16754]
7412         * manual/stdio.texi (Hook functions): Fix types of stream hook
7413         functions.
7414         [BZ #16854]
7415         * socket/sys/socket.h: Fix typo in comment.
7416
7417 2014-04-28  Wilco  <wdijkstr@arm.com>
7418
7419         * sysdeps/arm/fenv_private.h: New file.
7420         * sysdeps/arm/math_private.h: New file.
7421         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
7422
7423 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
7424
7425         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
7426         with __int128_t.
7427         (La_x86_64_retval): Likewise.
7428
7429 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
7430
7431         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
7432         fpsr if value didn't change.
7433         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
7434         to fpcr if value didn't change.
7435         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
7436         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
7437         fpsr or fpcr if value didn't change.
7438         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7439         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
7440         fpcr if value didn't change.
7441         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
7442         to fpsr if value didn't change.
7443
7444 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
7445
7446         * nptl/tst-sem3.c: Use test-skeleton.c
7447         (main): Rename to do_test.  Use return instead of
7448         exit.
7449         * nptl/tst-sem4.c: Use test-skeleton.c
7450         (main): Rename to do_test.
7451
7452 2014-04-22  David S. Miller  <davem@davemloft.net>
7453
7454         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
7455         (struct sigaction): New struct member __glibc_reserved0, change
7456         type of sa_flags to int.
7457
7458 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
7459
7460         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
7461         (COUNT_LEADING_ZEROS_0): Define for AArch64.
7462
7463 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7464
7465         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
7466         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
7467
7468 2014-04-22  Will Newton  <will.newton@linaro.org>
7469             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
7470
7471         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
7472         (__longjmp): Add longjmp and longjmp_target SystemTap
7473         probes.
7474         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
7475         (__sigsetjmp): Add setjmp SystemTap probe.
7476
7477 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
7478
7479         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
7480         match manual order.
7481
7482 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7483
7484         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
7485
7486         * sysdeps/powerpc/fpu/fenv_private.h
7487         (libc_feholdexcept_setroundl_ctx): Define to
7488         libc_feholdexcept_setround_ppc_ctx.
7489         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
7490         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
7491         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
7492         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
7493
7494 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
7495
7496         * sysdeps/aarch64/math-tests.h: New file.
7497
7498 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
7499
7500         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
7501         New.
7502         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7503         Check and set bit_AVX2_Usable.
7504         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
7505         macro.
7506         (bit_AVX2): Likewise.
7507         (index_AVX2_Usable): Likewise.
7508         (CPUID_AVX2): Likewise.
7509         (HAS_AVX2): Likewise.
7510
7511 2014-04-17  Will Newton  <will.newton@linaro.org>
7512
7513         * manual/setjmp.texi (System V contexts): Add note that
7514         calling setcontext on a context created by a call to a
7515         signal handler is undefined.  Update text to note that
7516         setcontext from a signal handler is possible but not
7517         recommended.
7518
7519         [BZ #16629]
7520         * stdlib/tst-setcontext.c: Include signal.h.
7521         (main): Check that the signal stack before and
7522         after swapcontext is the same.
7523
7524         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
7525         Re-implement to restore registers in user code and avoid
7526         rt_sigreturn system call.
7527
7528 2014-04-17  Wilco  <wdijkstr@arm.com>
7529
7530         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
7531         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
7532         * math/test-fenv.c: Skip exception trap tests on targets which only
7533         support non-stop mode.
7534
7535 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
7536             Wilco Dijkstra  <wilco.dijkstra@arm.com>
7537
7538         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
7539         (libc_feholdsetround_aarch64_ctx)
7540         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
7541         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
7542         (libc_feresetround_ctx, libc_feresetroundf_ctx)
7543         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
7544         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
7545         (libc_feresetround_noexl_ctx): Define.
7546
7547 2014-04-16  Richard Henderson  <rth@redhat.com>
7548
7549         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
7550
7551         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
7552         unwind tables.
7553
7554         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
7555         const from the non-libc, non-ldso copy.
7556
7557         * sysdeps/alpha/libm-test-ulps: Regenerate.
7558
7559 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
7560             Wilco Dijkstra  <wilco.dijkstra@arm.com>
7561
7562         * sysdeps/aarch64/fpu/math_private.h: New file.
7563
7564 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7565
7566         * sysdeps/aarch64/libm-test-ulps: Regenerate.
7567
7568 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
7569
7570         [BZ #16275]
7571         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
7572         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
7573         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
7574         Intel MPX bound registers before _dl_profile_fixup.
7575         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
7576         registers after _dl_profile_fixup.  Save and restore bound
7577         registers bnd0/bnd1 when calling _dl_call_pltexit.
7578         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
7579         (LR_BND_OFFSET): Likewise.
7580         (LRV_BND0_OFFSET): Likewise.
7581         (LRV_BND1_OFFSET): Likewise.
7582
7583 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7584
7585         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
7586         to...
7587         * sysdeps/mach/hurd/i386/tls.h: ... here.
7588         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
7589         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
7590         fields.
7591
7592 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7593
7594         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
7595
7596 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7597
7598         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7599
7600 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7601
7602         [BZ #14770]
7603         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
7604         * sysdeps/s390/configure: Regenerate.
7605
7606         [BZ #16824]
7607         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
7608         Set round-to-nearest internally to reduce error accumulation.
7609
7610 2014-04-16  Alan Modra  <amodra@gmail.com>
7611
7612         [BZ #16740]
7613         [BZ #16619]
7614         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
7615         * math/libm-test.inc (frexp_test_data): Add tests.
7616         * NEWS: Update fixed bug list.
7617
7618 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7619
7620         * benchtests/Makefile: Depend on libraries in build directory.
7621         (bench-math): Separate out math tests.
7622         (bench-pthread): Separate out pthread tests.
7623         (bench): Include math and pthread tests.
7624
7625 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
7626
7627         [BZ #16831]
7628         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
7629         _dl_debug_initialize.
7630
7631         * configure.ac: Remove SELinux header check.
7632         * configure: Regenerate.
7633         * nscd/selinux.c (perms): Array of const char* to permission names.
7634         (nscd_request_avc_has_perm): Call security_deny_unknown to find
7635         default policy. Call string_to_security_class and string_to_av_perm to
7636         translate strings. Enforce default policy and call avs_has_perm with
7637         results of translated strings.
7638
7639 2014-04-13  David S. Miller  <davem@davemloft.net>
7640
7641         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7642
7643 2014-04-12  Allan McRae  <allan@archlinux.org>
7644
7645         [BZ #16838]
7646         * manual/string.texi (Collation Functions): Fix qsort argument
7647         order in example.
7648         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7649
7650 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
7651
7652         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
7653         Make the test a no-op if there are no exceptions defined.
7654
7655 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
7656
7657         * elf/Makefile (tests): make tst-dlopen-aout conditional on
7658         enable-hardcoded-path-in-tests
7659
7660 2014-04-11  Will Newton  <will.newton@linaro.org>
7661
7662         * benchtests/Makefile (extra-objs): Add json-lib.o.
7663         (bench-func): Tidy up JSON output.
7664         * benchtests/bench-skeleton.c: Include json-lib.h.
7665         (main): Use JSON library functions to do output of
7666         benchmark results.
7667         * benchtests/bench-timing-type.c (main): Output the
7668         timing type simply, leaving formatting to the user.
7669         * benchtests/json-lib.c: New file.
7670         * benchtests/json-lib.h: Likewise.
7671
7672 2014-04-11  Torvald Riegel  <triegel@redhat.com>
7673
7674         [BZ #15215]
7675         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
7676         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
7677         memory barriers.  Add comments.
7678         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
7679         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
7680         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
7681         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
7682         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
7683         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
7684
7685 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7686
7687         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
7688         * sysdeps/s390/s390-64/configure.ac: ... this ...
7689         * sysdeps/s390/configure.ac: ... to here.
7690         * sysdeps/s390/s390-32/configure: Delete file.
7691         * sysdeps/s390/s390-64/configure: Delete file.
7692         * sysdeps/s390/configure: Regenerate.
7693
7694 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
7695
7696         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
7697
7698 2014-04-11  Will Newton  <will.newton@linaro.org>
7699
7700         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
7701         to zero if it is not defined elsewhere.  (mtrim): Test
7702         the value of MALLOC_DEBUG with #if rather than #ifdef.
7703
7704 2014-04-10 Torvald Riegel  <triegel@redhat.com>
7705
7706         * benchtests/pthread_once-inputs: New file.
7707         * benchtests/pthread_once-source.c: New file.
7708         * benchtests/README: Update documentation.
7709
7710 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
7711             H.J. Lu  <hongjiu.lu@intel.com>
7712
7713         [BZ #16275]
7714         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
7715         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
7716         * sysdeps/x86_64/configure: Regenerated.
7717         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
7718         macro.
7719         (REGISTER_SAVE_RAX): Likewise.
7720         (REGISTER_SAVE_RCX): Likewise.
7721         (REGISTER_SAVE_RDX): Likewise.
7722         (REGISTER_SAVE_RSI): Likewise.
7723         (REGISTER_SAVE_RDI): Likewise.
7724         (REGISTER_SAVE_R8): Likewise.
7725         (REGISTER_SAVE_R9): Likewise.
7726         (REGISTER_SAVE_BND0): Likewise.
7727         (REGISTER_SAVE_BND1): Likewise.
7728         (REGISTER_SAVE_BND2): Likewise.
7729         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
7730         bound registers when calling _dl_fixup.
7731
7732 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7733
7734         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
7735         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
7736         of its definition.
7737         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
7738         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
7739         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
7740         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
7741         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
7742         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
7743         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
7744
7745 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
7746
7747         [BZ #15514]
7748         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
7749         pathconf(_PC_NAME_MAX).
7750
7751 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7752
7753         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
7754         Remove macro usage.
7755         (__PTHREAD_SPINS): Move definition to ...
7756         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7757         (__PTHREAD_SPINS): ... here.
7758         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7759         (__PTHREAD_SPIN): Likewise.
7760         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
7761         (__PTHREAD_SPIN): Likewise.
7762         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
7763         (__PTHREAD_SPIN): Likewise.
7764         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
7765         (__PTHREAD_SPIN): Likewise.
7766         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7767         (__PTHREAD_SPIN): Likewise.
7768         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7769         (__PTHREAD_SPIN): Likewise.
7770         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
7771         (__PTHREAD_SPIN): Likewise.
7772         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7773         (__PTHREAD_SPIN): Likewise.
7774         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7775         (__PTHREAD_SPIN): Likewise.
7776         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7777         (__PTHREAD_SPIN): Likewise.
7778         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7779         (__PTHREAD_SPIN): Likewise.
7780         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
7781         (__PTHREAD_SPIN): Likewise.
7782
7783         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
7784         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
7785         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
7786         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
7787         imply folder.
7788         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
7789         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
7790         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
7791         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
7792         correct imply path.
7793         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
7794         strlen symbol for non multi-arch builds.
7795         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
7796         missing hidden_def and weak_alias.
7797
7798 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
7799
7800         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
7801
7802 2014-04-07  Will Newton  <will.newton@linaro.org>
7803
7804         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
7805         and contents.  [!_LIBC] Remove #ifndef and contents.
7806         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
7807         * string/memccpy.c (__memccpy): Use ANSI prototype.
7808         * string/memfrob.c (memfrob): Likewise.
7809         * string/strcoll.c (STRCOLL): Likewise.
7810         * string/strlen.c (strlen): Likewise.
7811         * string/strtok.c (STRTOK): Likewise.
7812         * string/strcat.c: Remove unused #include of memcopy.h.
7813         (strcat): Use ANSI prototype.
7814         * string/strchr.c: Remove unused #include of memcopy.h.
7815         (strchr): Use ANSI prototype.
7816         * string/strcmp.c: Remove unused #include of memcopy.h.
7817         (strcmp): Use ANSI prototype.
7818         * string/strcpy.c: Remove unused #include of memcopy.h.
7819         (strcpy): Use ANSI prototype.
7820
7821 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7822
7823         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7824         * config.make.in (config-extra-cppflags): Set it from
7825         libc_extra_cppflags.
7826         * configure.ac (libc_extra_cflags): Make it accumulate over
7827         configure fragments.
7828         (libc_extra_cppflags): New flag.
7829         * configure. Regenerate.
7830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7831         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7832         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7834
7835         [BZ #16815]
7836         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7837         result for FE_DOWNWARD rounding mode.
7838         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7839         Likewise.
7840         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7841
7842 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
7843
7844         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7845         in function argument name.
7846
7847 2014-04-03  David Svoboda  <svoboda@cert.org>
7848
7849         [BZ #5666]
7850         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7851         explicitly.
7852
7853 2014-04-03  Roland McGrath  <roland@hack.frob.com>
7854
7855         * elf/dl-unmap-segments.h: New file.
7856         * sysdeps/generic/ldsodefs.h
7857         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7858         * elf/dl-close.c: Include <dl-unmap-segments.h>.
7859         * elf/dl-fptr.c: Likewise.
7860         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7861         * sysdeps/aarch64/tlsdesc.c: Likewise.
7862         * sysdeps/arm/tlsdesc.c: Likewise.
7863         * sysdeps/i386/tlsdesc.c: Likewise.
7864         * sysdeps/tile/dl-runtime.c: Likewise.
7865         * sysdeps/x86_64/tlsdesc.c: Likewise.
7866         * elf/dl-load.h: New file.
7867         * elf/dl-load.c: Include it.
7868         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7869         Macros moved to dl-load.h.
7870         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7871         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7872         Use _dl_unmap_segments in place of __munmap.
7873         Break out segment-mapping loop into ...
7874         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7875
7876 2014-04-03  Will Newton  <will.newton@linaro.org>
7877
7878         * elf/dl-lookup.c (do_lookup_x): Remove comment
7879         referring to nested function and move variable
7880         declarations down to before first use.
7881
7882 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
7883
7884         [BZ #16799]
7885         [BZ #16800]
7886         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7887         with 0 numerator.
7888         * math/s_catanf.c (__catanf): Likewise.
7889         * math/s_catanh.c (__catanh): Likewise.
7890         * math/s_catanhf.c (__catanhf): Likewise.
7891         * math/s_catanhl.c (__catanhl): Likewise.
7892         * math/s_catanl.c (__catanl): Likewise.
7893         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
7894         by positive zero when computing -Inf result.
7895         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
7896         (catanh_test): Likewise.
7897         * sysdeps/i386/fpu/libm-test-ulps: Update.
7898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7899
7900         [BZ #16789]
7901         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7902         instead of using underflowing value in computing result.
7903         * math/s_clog10.c (__clog10): Likewise.
7904         * math/s_clog10f.c (__clog10f): Likewise.
7905         * math/s_clog10l.c (__clog10l): Likewise.
7906         * math/s_clogf.c (__clogf): Likewise.
7907         * math/s_clogl.c (__clogl): Likewise.
7908         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7909         (clog10_test): Likewise.
7910         * sysdeps/i386/fpu/libm-test-ulps: Update.
7911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7912
7913 2014-04-02  Alan Modra  <amodra@gmail.com>
7914
7915         [BZ #16739]
7916         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7917         output when value is near a power of two.  Use int64_t for lx and
7918         remove casts.  Use decimal rather than hex exponent constants.
7919         Don't use long double multiplication when double will suffice.
7920         * math/libm-test.inc (nextafter_test_data): Add tests.
7921         * NEWS: Add 16739 and 16786 to bug list.
7922
7923         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7924
7925         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7926
7927 2014-04-01  Will Newton  <will.newton@linaro.org>
7928
7929         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7930         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
7931
7932 2014-04-01  Florian Weimer  <fweimer@redhat.com>
7933
7934         [BZ #13347]
7935         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7936         * nptl/tst-setuid2.c: New file.
7937         * nptl/Makefile (xtests): Add tst-setuid2.
7938
7939 2014-04-01  Alan Modra  <amodra@gmail.com>
7940
7941         [BZ #16786]
7942         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7943
7944 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
7945
7946         [BZ #6803]
7947         [BZ #6804]
7948         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7949         set errno as appropriate.
7950         * math/w_scalbf.c (__scalbf): Likewise.
7951         * math/w_scalbl.c (__scalbl): Likewise.
7952         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7953         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7954         * math/libm-test.inc (scalb_test_data): Add errno expectations.
7955         Add more NaN tests.
7956
7957         [BZ #16349]
7958         * math/w_atan2.c: Include <errno.h>.
7959         (__atan2): Set errno for result underflowing to zero.
7960         * math/w_atan2f.c: Include <errno.h>.
7961         (__atan2f): Set errno for result underflowing to zero.
7962         * math/w_atan2l.c: Include <errno.h>.
7963         (__atan2l): Set errno for result underflowing to zero.
7964         * math/auto-libm-test-in: Don't allow missing errno for some atan2
7965         tests.
7966         * math/auto-libm-test-out: Regenerated.
7967
7968 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7969
7970         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7971         Encode instruction correctly in little endian.
7972         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7973         Likewise.
7974         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7975         Likewise.
7976         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7977         Likewise.
7978         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7979         Likewise.
7980
7981 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
7982
7983         [BZ #9894]
7984         * sysdeps/unix/sysv/linux/kernel-features.h
7985         [__sparc__ && !__arch64__ && !__sparc_v9__]
7986         (__ASSUME_SET_ROBUST_LIST): Do not define.
7987         [__sparc__ && !__arch64__ && !__sparc_v9__]
7988         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7989         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7990         Likewise.
7991         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7992         (__ASSUME_FUTEX_LOCK_PI): Undefine.
7993         (__ASSUME_REQUEUE_PI): Likewise.
7994         (__ASSUME_SET_ROBUST_LIST): Likewise.
7995         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7996         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7997         Undefine.
7998         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7999         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
8000         Likewise.
8001         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
8002         Likewise.
8003         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
8004         Likewise.
8005         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8006         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
8007         Undefine.
8008         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
8009         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
8010         Likewise.
8011
8012         [BZ #16648]
8013         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8014         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
8015         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
8016
8017 2014-03-31  Will Newton  <will.newton@linaro.org>
8018
8019         * benchtests/Makefile (bench): Add ffs and ffsll to list
8020         of tests.
8021         * benchtests/ffs-inputs: New file.
8022         * benchtests/ffsll-inputs: Likewise.
8023
8024 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
8025
8026         [BZ #16770]
8027         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
8028         too large before casting to int.
8029         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
8030         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
8031         * math/libm-test.inc (scalb_test_data): Add more tests.
8032
8033 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8034
8035         * benchtests/Makefile (DETAILED_OPT): New make option.
8036         (bench-func): Run benchmark program with -d if DETAILED_OPT is
8037         set.
8038         * benchtests/bench-skeleton.c: Include stdbool.h.
8039         (main): Store and print timings per input.
8040         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
8041         member to each argument value.
8042         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
8043         (_print_arg_data): Initialize per-input timing to 0.
8044
8045         * benchtests/Makefile (timing-type): New binary.
8046         (bench-clean): Also remove bench-timing-type.
8047         (bench): New target for timing-type.
8048         (bench-func): Print output in JSON format.
8049         * benchtests/bench-skeleton.c (main): Print output in JSON
8050         format.
8051         * benchtests/bench-timing-type.c: New file.
8052         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
8053         (TIMING_PRINT_STATS): Remove.
8054         * benchtests/scripts/bench.py (_print_arg_data): Store variant
8055         name separately.
8056
8057         * benchtests/bench-modf.c: Remove.
8058         * benchtests/modf-inputs: New inputs file.
8059
8060 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
8061
8062         [BZ #16362]
8063         * math/s_clog10.c (M_PI_LOG10E): New macro.
8064         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
8065         imaginary parts are 0.
8066         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
8067         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
8068         imaginary parts are 0.
8069         * math/s_clog10l.c (M_PI_LOG10El): New macro.
8070         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
8071         imaginary parts are 0.
8072         * math/libm-test.inc (clog10_test_data): Update expected results
8073         for when real and imaginary parts are 0.
8074
8075 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
8076
8077         * elf/dl-load.c: Finish conversion of __builtin_expect into
8078         __glibc_{un}likely.
8079
8080 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
8081
8082         [BZ #16348]
8083         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
8084         1+x for argument with exponent below -67.
8085         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
8086         Likewise.
8087         * math/auto-libm-test-in: Add more tests of exp.
8088         * math/auto-libm-test-out: Regenerated.
8089
8090 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8091
8092         [BZ #16759]
8093         * inet/getnetgrent_r.c (get_nonempty_val): New function.
8094         (nscd_getnetgrent): Use it.
8095
8096         [BZ #16760]
8097         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
8098         of stpcpy.
8099
8100 2014-03-27  Andi Kleen  <ak@linux.intel.com>
8101
8102         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
8103         (lll_robust_lock, lll_cond_lock, lll_timedlock)
8104         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
8105         (lll_robust_unlock): Remove out of line section. Use cfi
8106         intrinsics.
8107         (LLL_STUB_UNWIND_INFO*): Remove.
8108         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
8109         (lll_robust_lock, lll_cond_lock, lll_timedlock)
8110         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
8111         (lll_robust_unlock): Remove out of line section. Use cfi
8112         intrinsics.
8113         (LLL_STUB_UNWIND_INFO*): Remove.
8114
8115 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8116
8117         [BZ #16758]
8118         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
8119         blank values.
8120
8121 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
8122
8123         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
8124
8125 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
8126
8127         [BZ #16198]
8128         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
8129         fnstenv.
8130         * math/test-fenv-preserve.c: New file.
8131         * math/Makefile (tests): Add test-fenv-preserve.
8132
8133 2014-03-26  Will Newton <will.newton@linaro.org>
8134
8135         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
8136
8137 2014-03-25  Roland McGrath  <roland@hack.frob.com>
8138
8139         * scripts/versionlist.awk: Partition the version sets and emit all
8140         GLIBC_* (sorted) before all others (sorted).
8141
8142 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
8143
8144         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
8145         GLIBC_2.2.5 version.
8146
8147 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8148
8149         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
8150         calls.
8151
8152         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
8153         previous change.
8154
8155         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8156
8157 2014-03-25  Andreas Schwab  <schwab@suse.de>
8158
8159         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
8160         label to be used after in6ailist is initialized.
8161
8162 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8163
8164         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8165         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8166
8167 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
8168
8169         [BZ #16357]
8170         [BZ #16599]
8171         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
8172         min_plus_half.
8173         (fp_formats): Update initializers.
8174         (init_fp_formats): Initialize new field.
8175         (output_for_one_input_case): Allow underflow for results up to
8176         min_plus_half.
8177         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
8178         * math/auto-libm-test-in: Don't mark some underflows from asin and
8179         atanh as spurious.
8180         * math/auto-libm-test-out: Regenerated.
8181         * sysdeps/i386/fpu/libm-test-ulps: Update.
8182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8183
8184 2014-03-25  Andreas Schwab  <schwab@suse.de>
8185
8186         * libio/Makefile (tst-ftell-partial-wide-ENV)
8187         (tst-ftell-active-handler-ENV): Define.
8188
8189 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
8190
8191         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
8192
8193 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
8194
8195         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
8196
8197 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
8198
8199         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
8200         * sysdeps/x86_64/fpu/multiarch/e_exp.c
8201         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8202
8203 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
8204
8205         [BZ #16634]
8206         * elf/dl-load.c (open_verify): Add mode parameter.
8207         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
8208         (open_path): Change from boolean 'secure' to complete flag 'mode'
8209         (_dl_map_object): Adjust.
8210         * elf/Makefile (tests): Add tst-dlopen-aout.
8211         * elf/tst-dlopen-aout.c: New test.
8212
8213 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
8214
8215         [BZ #16714]
8216         * sysdeps/unix/sysv/linux/s390/bits/stat.h
8217         (struct stat): Rename member pad0 to __glibc_reserved0.
8218
8219         [BZ #16712]
8220         * sysdeps/s390/s390-32/bits/wordsize.h
8221         (__WORDSIZE32_SIZE_ULONG): New define.
8222         * sysdeps/s390/s390-64/bits/wordsize.h
8223         (__WORDSIZE32_SIZE_ULONG): Likewise.
8224         * sysdeps/generic/stdint.h (SIZE_MAX):
8225         Define as UL if __WORDSIZE32_SIZE_ULONG.
8226
8227         [BZ #16713]
8228         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
8229         (__glibc_reserved0): New variable.
8230         (sa_flags): Change type to int.
8231
8232         * posix/Makefile (before-compile): Use += before-compile instead
8233         of a :=.
8234
8235         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8236         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8237
8238 2014-03-20  Andreas Schwab  <schwab@suse.de>
8239
8240         [BZ #16743]
8241         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
8242         non-matching result from nscd.
8243
8244 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8245
8246         * scripts/bench.py: Moved to ...
8247         * benchtests/scripts/bench.py: ... here.
8248         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
8249
8250 2014-03-24  Andreas Schwab  <schwab@suse.de>
8251
8252         [BZ #16002]
8253         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
8254         alloca_account and account alloca use for struct in6ailist.
8255
8256 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
8257
8258         [BZ #16284]
8259         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
8260         rounding mode to recompute results that overflow to infinity or
8261         underflow to zero.
8262         * math/auto-libm-test-in: Don't mark tests as expected to fail for
8263         bug 16284.
8264         * math/auto-libm-test-out: Regenerated.
8265         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
8266         (ccosh_test): Likewise.
8267         (csin_test_data): Use plus_oflow.
8268         (csin_test): Use ALL_RM_TEST.
8269         (csinh_test_data): Use plus_oflow.
8270         (csinh_test): Use ALL_RM_TEST.
8271         * sysdeps/i386/fpu/libm-test-ulps: Update.
8272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8273
8274 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
8275
8276         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
8277         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
8278         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
8279
8280         [BZ #16731]
8281         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
8282         when x - 1 is zero.
8283         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
8284         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
8285         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8286         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
8287         argument is 1.
8288         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
8289         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
8290         zero.
8291         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
8292         * sysdeps/i386/fpu/libm-test-ulps: Update.
8293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8294
8295 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8296
8297         * scripts/bench.pl: Remove file.
8298         * scripts/bench.py: New benchmark script.
8299         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
8300         * benchtests/README: Mention python dependency.
8301         * scripts/pylintrc: New file.
8302         * scripts/pylint: New file.
8303
8304         * bits/mathdef.h: Use #ifdef instead of #if.
8305         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
8306         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8307         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
8308         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8309         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
8310         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8311
8312 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8313             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8314
8315         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
8316         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
8317         and strpbrk-ppc64 objects.
8318         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8319         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
8320         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
8321         multiarch strpbrk for POWER7.
8322         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
8323         multiarch strpbrk for PPC64.
8324         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
8325         ifunc selector.
8326         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
8327         strpbrk for POWER7.
8328
8329 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
8330
8331         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
8332         (atan_test): Likewise.
8333         (atanh_test_data): Use NO_TEST_INLINE for two tests.
8334         (atanh_test): Use ALL_RM_TEST.
8335         (atan2_test_data): Likewise.
8336         (cabs_test): Likewise.
8337         (cacosh_test): Likewise.
8338         (carg_test): Likewise.
8339         (casin_test): Likewise.
8340         (casinh_test): Likewise.
8341         (cbrt_test): Likewise.
8342         (csqrt_test): Likewise.
8343         (erf_test): Likewise.
8344         (erfc_test): Likewise.
8345         (pow10_test): Likewise.
8346         (exp2_test): Likewise.
8347         (hypot_test): Likewise.
8348         (j0_test): Likewise.
8349         (j1_test): Likewise.
8350         (lgamma_test): Likewise.
8351         (gamma_test): Likewise.
8352         (sincos_test): Likewise.
8353         (tanh_test): Likewise.
8354         (y0_test): Likewise.
8355         (y1_test): Likewise.
8356         * sysdeps/i386/fpu/libm-test-ulps: Update.
8357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8358
8359 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8360
8361         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
8362         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
8363         and strcspn-ppc64 objects.
8364         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8365         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
8366         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
8367         multiarch strcspn for POWER7.
8368         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
8369         multiarch strcspn for PPC64.
8370         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
8371         ifunc selector.
8372         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
8373         strcspn for POWER7.
8374
8375 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
8376
8377         * math/gen-libm-test.pl (generate_testfile): Expect only function
8378         name as argument to AUTO_TESTS_* and pass results for all rounding
8379         modes to parse_args.
8380         (parse_auto_input): Separate inputs of automatic tests from
8381         outputs before storing in %auto_tests.
8382         * math/libm-test.inc (acos_test_data): Update call to
8383         AUTO_TESTS_f_f.
8384         (acos_test): Use ALL_RM_TEST.
8385         (acos_tonearest_test_data): Remove.
8386         (acos_test_tonearest): Likewise.
8387         (acos_towardzero_test_data): Likewise.
8388         (acos_test_towardzero): Likewise.
8389         (acos_downward_test_data): Likewise.
8390         (acos_test_downward): Likewise.
8391         (acos_upward_test_data): Likewise.
8392         (acos_test_upward): Likewise.
8393         (acosh_test_data): Update call to AUTO_TESTS_f_f.
8394         (asin_test_data): Likewise.
8395         (asin_test): Use ALL_RM_TEST.
8396         (asin_tonearest_test_data): Remove.
8397         (asin_test_tonearest): Likewise.
8398         (asin_towardzero_test_data): Likewise.
8399         (asin_test_towardzero): Likewise.
8400         (asin_downward_test_data): Likewise.
8401         (asin_test_downward): Likewise.
8402         (asin_upward_test_data): Likewise.
8403         (asin_test_upward): Likewise.
8404         (asinh_test_data): Update call to AUTO_TESTS_f_f.
8405         (atan_test_data): Likewise.
8406         (atanh_test_data): Likewise.
8407         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
8408         (cabs_test_data): Update call to AUTO_TESTS_c_f.
8409         (carg_test_data): Likewise.
8410         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
8411         (ccos_test_data): Update call to AUTO_TESTS_c_c.
8412         (ccosh_test_data): Likewise.
8413         (cexp_test_data): Likewise.
8414         (clog_test_data): Likewise.
8415         (clog10_test_data): Likewise.
8416         (cos_test_data): Update call to AUTO_TESTS_f_f.
8417         (cos_test): Use ALL_RM_TEST.
8418         (cos_tonearest_test_data): Remove.
8419         (cos_test_tonearest): Likewise.
8420         (cos_towardzero_test_data): Likewise.
8421         (cos_test_towardzero): Likewise.
8422         (cos_downward_test_data): Likewise.
8423         (cos_test_downward): Likewise.
8424         (cos_upward_test_data): Likewise.
8425         (cos_test_upward): Likewise.
8426         (cosh_test_data): Update call to AUTO_TESTS_f_f.
8427         (cosh_test): Use ALL_RM_TEST.
8428         (cosh_tonearest_test_data): Remove.
8429         (cosh_test_tonearest): Likewise.
8430         (cosh_towardzero_test_data): Likewise.
8431         (cosh_test_towardzero): Likewise.
8432         (cosh_downward_test_data): Likewise.
8433         (cosh_test_downward): Likewise.
8434         (cosh_upward_test_data): Likewise.
8435         (cosh_test_upward): Likewise.
8436         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
8437         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
8438         (ctan_test_data): Likewise.
8439         (ctan_test): Use ALL_RM_TEST.
8440         (ctan_tonearest_test_data): Remove.
8441         (ctan_test_tonearest): Likewise.
8442         (ctan_towardzero_test_data): Likewise.
8443         (ctan_test_towardzero): Likewise.
8444         (ctan_downward_test_data): Likewise.
8445         (ctan_test_downward): Likewise.
8446         (ctan_upward_test_data): Likewise.
8447         (ctan_test_upward): Likewise.
8448         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
8449         (ctanh_test): Use ALL_RM_TEST.
8450         (ctanh_tonearest_test_data): Remove.
8451         (ctanh_test_tonearest): Likewise.
8452         (ctanh_towardzero_test_data): Likewise.
8453         (ctanh_test_towardzero): Likewise.
8454         (ctanh_downward_test_data): Likewise.
8455         (ctanh_test_downward): Likewise.
8456         (ctanh_upward_test_data): Likewise.
8457         (ctanh_test_upward): Likewise.
8458         (erf_test_data): Update call to AUTO_TESTS_f_f.
8459         (erfc_test_data): Likewise.
8460         (exp_test_data): Likewise.
8461         (exp_test): Use ALL_RM_TEST.
8462         (exp_tonearest_test_data): Remove.
8463         (exp_test_tonearest): Likewise.
8464         (exp_towardzero_test_data): Likewise.
8465         (exp_test_towardzero): Likewise.
8466         (exp_downward_test_data): Likewise.
8467         (exp_test_downward): Likewise.
8468         (exp_upward_test_data): Likewise.
8469         (exp_test_upward): Likewise.
8470         (exp10_test_data): Update call to AUTO_TESTS_f_f.
8471         (exp10_test): Use ALL_RM_TEST.
8472         (exp10_tonearest_test_data): Remove.
8473         (exp10_test_tonearest): Likewise.
8474         (exp10_towardzero_test_data): Likewise.
8475         (exp10_test_towardzero): Likewise.
8476         (exp10_downward_test_data): Likewise.
8477         (exp10_test_downward): Likewise.
8478         (exp10_upward_test_data): Likewise.
8479         (exp10_test_upward): Likewise.
8480         (exp2_test_data): Update call to AUTO_TESTS_f_f.
8481         (expm1_test_data): Likewise.
8482         (expm1_test): Use ALL_RM_TEST.
8483         (expm1_tonearest_test_data): Remove.
8484         (expm1_test_tonearest): Likewise.
8485         (expm1_towardzero_test_data): Likewise.
8486         (expm1_test_towardzero): Likewise.
8487         (expm1_downward_test_data): Likewise.
8488         (expm1_test_downward): Likewise.
8489         (expm1_upward_test_data): Likewise.
8490         (expm1_test_upward): Likewise.
8491         (fma_test_data): Update call to AUTO_TESTS_fff_f.
8492         (fma_test): Use ALL_RM_TEST.
8493         (fma_towardzero_test_data): Remove.
8494         (fma_test_towardzero): Likewise.
8495         (fma_downward_test_data): Likewise.
8496         (fma_test_downward): Likewise.
8497         (fma_upward_test_data): Likewise.
8498         (fma_test_upward): Likewise.
8499         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
8500         (j0_test_data): Update call to AUTO_TESTS_f_f.
8501         (j1_test_data): Likewise.
8502         (jn_test_data): Update call to AUTO_TESTS_if_f.
8503         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
8504         (log_test_data): Update call to AUTO_TESTS_f_f.
8505         (log10_test_data): Likewise.
8506         (log1p_test_data): Likewise.
8507         (log2_test_data): Likewise.
8508         (pow_test_data): Update call to AUTO_TESTS_ff_f.
8509         (pow_tonearest_test_data): Likewise.
8510         (sin_test_data): Update call to AUTO_TESTS_f_f.
8511         (sin_test): Use ALL_RM_TEST.
8512         (sin_tonearest_test_data): Remove.
8513         (sin_test_tonearest): Likewise.
8514         (sin_towardzero_test_data): Likewise.
8515         (sin_test_towardzero): Likewise.
8516         (sin_downward_test_data): Likewise.
8517         (sin_test_downward): Likewise.
8518         (sin_upward_test_data): Likewise.
8519         (sin_test_upward): Likewise.
8520         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
8521         (sinh_test_data): Update call to AUTO_TESTS_f_f.
8522         (sinh_test): Use ALL_RM_TEST.
8523         (sinh_tonearest_test_data): Remove.
8524         (sinh_test_tonearest): Likewise.
8525         (sinh_towardzero_test_data): Likewise.
8526         (sinh_test_towardzero): Likewise.
8527         (sinh_downward_test_data): Likewise.
8528         (sinh_test_downward): Likewise.
8529         (sinh_upward_test_data): Likewise.
8530         (sinh_test_upward): Likewise.
8531         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
8532         (sqrt_test): Use ALL_RM_TEST.
8533         (sqrt_tonearest_test_data): Remove.
8534         (sqrt_test_tonearest): Likewise.
8535         (sqrt_towardzero_test_data): Likewise.
8536         (sqrt_test_towardzero): Likewise.
8537         (sqrt_downward_test_data): Likewise.
8538         (sqrt_test_downward): Likewise.
8539         (sqrt_upward_test_data): Likewise.
8540         (sqrt_test_upward): Likewise.
8541         (tan_test_data): Update call to AUTO_TESTS_f_f.
8542         (tan_test): Use ALL_RM_TEST.
8543         (tan_tonearest_test_data): Remove.
8544         (tan_test_tonearest): Likewise.
8545         (tan_towardzero_test_data): Likewise.
8546         (tan_test_towardzero): Likewise.
8547         (tan_downward_test_data): Likewise.
8548         (tan_test_downward): Likewise.
8549         (tan_upward_test_data): Likewise.
8550         (tan_test_upward): Likewise.
8551         (tanh_test_data): Update call to AUTO_TESTS_f_f.
8552         (tgamma_test_data): Likewise.
8553         (y0_test_data): Likewise.
8554         (y1_test_data): Likewise.
8555         (yn_test_data): Update call to AUTO_TESTS_if_f.
8556         (main): Do not call removed functions.
8557
8558 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
8559
8560         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
8561         (ldexp_test_data): Remove.
8562         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
8563         scalbn_test_data.
8564         (scalb_test): Use ALL_RM_TEST.
8565
8566 2014-03-19  Andreas Schwab  <schwab@suse.de>
8567
8568         * nscd/nscd.service: Also invalidate netgroup cache on reload.
8569
8570 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
8571
8572         [BZ #16649]
8573         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8574         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
8575         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
8576         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8577         (__ASSUME_PREADV): Undefine.
8578         (__ASSUME_PWRITEV): Likewise.
8579
8580 2014-03-18  Roland McGrath  <roland@hack.frob.com>
8581
8582         * bits/mman-linux.h: Add comment about non-Linux use.
8583         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
8584         bits/mman-linux.h resting place.
8585
8586         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
8587         * bits/mman-linux.h: ... here.
8588
8589 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8590
8591         * conform/conformtest.pl: Add standard definition when calling C
8592         preprocessor on data files.
8593         (checknamespace): Remove unused variable.
8594
8595 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
8596
8597         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
8598         minus_oflow, plus_uflow and minus_uflow in expected results.
8599         * math/libm-test.inc (scalbn_test_data): Add more tests of
8600         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
8601         minus_uflow.
8602         (scalbn_test): Use ALL_RM_TEST.
8603         (scalbln_test_data): Add more tests of negative arguments.  Use
8604         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
8605         (scalbln_test): Use ALL_RM_TEST.
8606
8607 2014-03-18  Roland McGrath  <roland@hack.frob.com>
8608
8609         * scripts/abilist.awk: Ignore symbols marked with .hidden.
8610
8611 2014-03-18  Will Newton  <will.newton@linaro.org>
8612
8613         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
8614         inaccurate comment.
8615
8616 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
8617
8618         * Makerules [!subdir] (check-abi): Exit with error status if a
8619         test failed.
8620
8621 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
8622
8623         * math/libm-test.inc (nearbyint_test_data): Include all tests used
8624         for rint.  Include results for all rounding modes.
8625         (nearbyint_test): Use ALL_RM_TEST.
8626         (rint_test_data): Include all tests used for nearbyint.
8627
8628 2014-03-17  Will Newton  <will.newton@linaro.org>
8629
8630         * nptl/sysdeps/pthread/pthread.h: Revert previous
8631         change.
8632
8633         * sysdeps/generic/ldsodefs.h: Revert previous
8634         change.
8635
8636         * libio/genops.c: Revert previous change.
8637         * libio/libioP.h: Likewise.
8638         * stdio-common/vfprintf.c: Likewise.
8639
8640         * sysdeps/generic/math_private.h: Revert previous
8641         change.
8642
8643         * sysdeps/generic/math_private.h: Check whether
8644         HAVE_RM_CTX is defined with #ifdef rather
8645         than #if.
8646
8647         * argp/argp-fmtstream.h: Check whether
8648         __STRICT_ANSI__ is defined with #ifdef rather
8649         than #if.
8650         * argp/argp.h: Likewise.
8651
8652         * libio/genops.c: Check whether
8653         _IO_JUMPS_OFFSET is defined with #ifdef rather
8654         than #if.
8655         * libio/libioP.h: Likewise.
8656         * stdio-common/vfprintf.c: Likewise.
8657
8658         * sysdeps/generic/ldsodefs.h: Check whether
8659         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
8660         than #if.
8661
8662         * nptl/sysdeps/pthread/pthread.h: Check
8663         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
8664         its value.
8665
8666 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
8667
8668         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
8669         setting O_APPEND.
8670         * libio/tst-ftell-active-handler.c (do_append_test): Add a
8671         test case.
8672
8673         [BZ #16680]
8674         * libio/fileops.c (_IO_file_open): Seek to end of file but
8675         don't cache the offset.
8676         (get_file_offset): Remove function.
8677         (do_ftell): Use cached offset when available.
8678         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
8679         don't cache the offset.
8680         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
8681         case.
8682         (do_one_test): Call it.
8683         (do_ftell_test): Fix up expected old offset for a+ mode.
8684         * libio/wfileops.c (do_ftell_wide): Used cached offset when
8685         available.
8686
8687         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
8688         up test status with function return status.
8689         (do_write_test): Likewise.
8690         (do_append_test): Likewise.
8691
8692         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
8693         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
8694         Remove.
8695
8696 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
8697
8698         * math/gen-libm-test.pl (parse_args): Handle results specified for
8699         each rounding mode separately.
8700         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
8701         tests and results from lrint_tonearest_test_data,
8702         lrint_towardzero_test_data, lrint_downward_test_data and
8703         lrint_upward_test_data.
8704         (lrint_test): Use ALL_RM_TEST.
8705         (lrint_tonearest_test_data): Remove.
8706         (lrint_test_tonearest): Likewise.
8707         (lrint_towardzero_test_data): Likewise.
8708         (lrint_test_towardzero): Likewise.
8709         (lrint_downward_test_data): Likewise.
8710         (lrint_test_downward): Likewise.
8711         (lrint_upward_test_data): Likewise.
8712         (lrint_test_upward): Likewise.
8713         (llrint_test_data): Merge in per-rounding-mode tests and results
8714         from llrint_tonearest_test_data, llrint_towardzero_test_data,
8715         llrint_downward_test_data and llrint_upward_test_data.
8716         (llrint_test): Use ALL_RM_TEST.
8717         (llrint_tonearest_test_data): Remove.
8718         (llrint_test_tonearest): Likewise.
8719         (llrint_towardzero_test_data): Likewise.
8720         (llrint_test_towardzero): Likewise.
8721         (llrint_downward_test_data): Likewise.
8722         (llrint_test_downward): Likewise.
8723         (llrint_upward_test_data): Likewise.
8724         (llrint_test_upward): Likewise.
8725         (rint_test_data): Merge in per-rounding-mode tests and results
8726         from rint_tonearest_test_data, rint_towardzero_test_data,
8727         rint_downward_test_data and rint_upward_test_data.  Add
8728         per-rounding-mode results for tests not in those arrays.
8729         (rint_test): Use ALL_RM_TEST.
8730         (rint_tonearest_test_data): Remove.
8731         (rint_test_tonearest): Likewise.
8732         (rint_towardzero_test_data): Likewise.
8733         (rint_test_towardzero): Likewise.
8734         (rint_downward_test_data): Likewise.
8735         (rint_test_downward): Likewise.
8736         (rint_upward_test_data): Likewise.
8737         (rint_test_upward): Likewise.
8738         (main): Don't call removed functions.
8739
8740 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8741
8742         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
8743         "Compiled on ..." crapola.  It is anti-useful.
8744
8745 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
8746
8747         * scripts/evaluate-test.sh: Handle fourth argument to determine
8748         whether test run should stop on failure.
8749         * Makeconfig (stop-on-test-failure): New variable.
8750         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
8751         $(stop-on-test-failure).
8752         * Makefile (tests): Give a summary of results from testing and
8753         exit with failure status if they include an ERROR or FAIL.
8754         (xtests): Likewise.
8755         * manual/install.texi (Configuring and compiling): Mention
8756         stop-on-test-failure=y.
8757         * INSTALL: Regenerated.
8758
8759 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8760
8761         * scripts/versionlist.awk: New file.
8762         * Makerules [$(build-shared) = yes]
8763         (postclean-generated): Add Versions.def, not Versions.def.v and
8764         Versions.def.v.i.
8765         ($(common-objpfx)Versions.def.v.i): Target removed.
8766         ($(common-objpfx)Versions.def): New target.
8767         ($(common-objpfx)Versions.all): Depend on that rather that
8768         $(common-objpfx)Versions.def.v.
8769         * Versions.def: File removed.
8770
8771         * Makeconfig (+gccwarn): Add -Wundef.
8772         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
8773         a dl-sysdep.h breaking its contract.
8774         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
8775         * include/stackinfo.h: New file.
8776         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
8777         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
8778         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
8779         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
8780         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
8781         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
8782         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8783         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8784         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8785         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8786         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8787         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
8788         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8789         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8790         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8791
8792 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8793
8794         [BZ #16707]
8795         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
8796         implementation.
8797         * math/libm-test.inc (round_test_data): Add more tests.
8798
8799         [BZ #16706]
8800         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
8801         implementation.
8802         * math/libm-test.inc (nearbyint_test_data): Add more tests.
8803
8804         [BZ #16701]
8805         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
8806         implementation.
8807         * math/libm-test.inc (ceil_test_data): Add more tests.
8808
8809         * math/libm-test.inc (trunc_test_data): Add more tests related to
8810         BZ#16414.
8811
8812 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8813
8814         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
8815         with #if rather than #ifdef.
8816         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8817
8818 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
8819
8820         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8821         first.  Disable AVX-512 GCC support if assembler doesn't support
8822         it.
8823         * sysdeps/x86_64/configure: Regenerated.
8824
8825 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
8826
8827         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8828         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8829         (__old_pthread_attr_setstack): Likewise.
8830         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8831         [!_STACK_GROWS_DOWN]: Likewise.
8832
8833 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
8834
8835         * config.make.in (have-bash2): Delete.
8836         * configure.ac (libc_cv_have_bash2): Delete.
8837         * configure: Regenerate.
8838         * elf/Makefile (common-ldd-rewrite): Rename to ...
8839         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
8840         (sh-ldd-rewrite): Delete.
8841         (bash-ldd-rewrite): Delete.
8842         (have-bash2): Delete checks.
8843         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8844         ldd-rewrite.
8845
8846         * config.make.in (have-ksh): Delete.
8847         (KSH): Delete.
8848         * configure.ac (libc_cv_have_ksh): Delete.
8849         * configure: Regenerate.
8850
8851         * elf/Makefile: Delete $(have-ksh) check.
8852         ($(objpfx)sotruss): Change KSH to BASH.
8853         * elf/sotruss.ksh: Rename to ...
8854         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
8855         function style to match POSIX.  Drop ksh vim mode setting.
8856
8857         * manual/time.texi (Specifying the Time Zone with TZ): Change
8858         Tuesday to Thursday.
8859
8860         * debug/tst-longjmp_chk2.c: Update header comment.
8861         (stackoverflow_handler): Add comment.  Call assert on pass value.
8862
8863 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
8864
8865         [BZ #16194]
8866         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8867         (HAVE_AVX512_ASM_SUPPORT): Likewise.
8868         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8869         (La_x86_64_vector): Add zmm.
8870         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8871         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8872         ($(objpfx)tst-audit10): New target.
8873         ($(objpfx)tst-audit10.out): Likewise.
8874         (tst-audit10-ENV): New.
8875         (AVX512-CFLAGS): Likewise.
8876         (CFLAGS-tst-audit10.c): Likewise.
8877         (CFLAGS-tst-auditmod10a.c): Likewise.
8878         (CFLAGS-tst-auditmod10b.c): Likewise.
8879         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8880         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8881         * sysdeps/x86_64/configure: Regenerated.
8882         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8883         AVX-512 zmm register support.
8884         (_dl_x86_64_save_sse): Likewise.
8885         (_dl_x86_64_restore_sse): Likewise.
8886         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8887         size vector registers.
8888         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8889         (ZMM_SIZE): Likewise.
8890         * sysdeps/x86_64/tst-audit10.c: New file.
8891         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8892         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8893
8894 2014-03-13  Roland McGrath  <roland@hack.frob.com>
8895
8896         * configure.ac (HAVE_EHDR_START): New check.
8897         * configure: Regenerated.
8898         * config.h.in (HAVE_EHDR_START): New #undef.
8899         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8900         assuming the lowest-addressed segment maps the start of the file.
8901
8902 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
8903
8904         * INSTALL: Regenerated.
8905
8906 2014-03-13  Will Newton  <will.newton@linaro.org>
8907
8908         * manual/setjmp.texi (System V contexts): Improve
8909         clarity and grammar of documentation.
8910
8911 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
8912
8913         [BZ #16381]
8914         * elf/Makefile (tests): Add tst-pie2.
8915         (tests-pie): Add tst-pie2.
8916         * elf/tst-pie2.c: New file.
8917         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8918         for ET_EXEC.
8919         * elf/rtld.c (map_doit): Load executable as lt_executable.
8920         (dl_main): Likewise.
8921
8922 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
8923
8924         [BZ #16642]
8925         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8926         (__ASSUME_PSELECT): Undefine.
8927
8928 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8929
8930         [BZ #16689]
8931         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8932         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8933         static build.
8934         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8935         selector for static builds.
8936
8937 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8938
8939         [BZ #16695]
8940         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8941         key in the buffer.
8942
8943 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8944
8945         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8946         IFUNC selector for static builds.
8947
8948 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
8949
8950         * sysdeps/mips/math_private.h [__mips_hard_float]
8951         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8952         libc_feresetround_mips_ctx.
8953         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8954         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8955         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8956
8957         [BZ #16677]
8958         * math/s_nextafter.c (__nextafter): Do not return value from
8959         overflowing computation.
8960         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8961         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8962         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8963         Likewise.
8964         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8965         Likewise.
8966         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8967         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8968
8969 2014-03-11  Roland McGrath  <roland@hack.frob.com>
8970
8971         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8972         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8973         Move sfi_sp use from the load-multiple (that no longer sets sp) to
8974         the new mov targetting sp.
8975
8976 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8977
8978         [BZ #16683]
8979         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8980         Define it for static builds as well.
8981         (NO_BZERO_IMPL): Likewise.
8982
8983 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8984
8985         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8986         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8987         multiarch strspn for PPC64.
8988         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8989         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8990         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8991         (__libc_ifunc_impl_list): Likewise.
8992         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8993         multiarch optimizations
8994         * string/strspn.c (strspn): Using macro to redefine symbol name.
8995
8996 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8997             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8998
8999         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
9000         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
9001         multiarch strncat for PPC64.
9002         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
9003         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
9004         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9005         (__libc_ifunc_impl_list): Likewise.
9006         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
9007         multiarch optimizations
9008
9009 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9010
9011         [BZ #16639]
9012         * nscd/nscd.service: Make service type forking.
9013
9014 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9015
9016         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
9017         sign in non default rounding modes.
9018         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9019
9020 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
9021
9022         * math/libm-test.inc (ALL_RM_TEST): New macro.
9023         (ceil_test): Use ALL_RM_TEST.
9024         (cimag_test): Likewise.
9025         (conj_test): Likewise.
9026         (copysign_test): Likewise.
9027         (cproj_test): Likewise.
9028         (creal_test): Likewise.
9029         (fabs_test): Likewise.
9030         (floor_test): Likewise.
9031         (fmax_test): Likewise.
9032         (fmin_test): Likewise.
9033         (fmod_test): Likewise.
9034         (fpclassify_test): Likewise.
9035         (frexp_test): Likewise.
9036         (ilogb_test): Likewise.
9037         (isfinite_test): Likewise.
9038         (finite_test): Likewise.
9039         (isgreater_test): Likewise.
9040         (isgreaterequal_test): Likewise.
9041         (isinf_test): Likewise.
9042         (isless_test): Likewise.
9043         (islessequal_test): Likewise.
9044         (islessgreater_test): Likewise.
9045         (isnan_test): Likewise.
9046         (isnormal_test): Likewise.
9047         (issignaling_test): Likewise.
9048         (isunordered_test): Likewise.
9049         (logb_test): Likewise.
9050         (logb_downward_test_data): Remove.
9051         (logb_test_downward): Likewise.
9052         (lround_test): Use ALL_RM_TEST.
9053         (llround_test): Likewise.
9054         (modf_test): Likewise.
9055         (nexttoward_test): Likewise.
9056         (remainder_test): Likewise.
9057         (drem_test): Likewise.
9058         (remainder_tonearest_test_data): Likewise.
9059         (remainder_test_tonearest): Likewise.
9060         (drem_test_tonearest): Likewise.
9061         (remainder_towardzero_test_data): Likewise.
9062         (remainder_test_towardzero): Likewise.
9063         (drem_test_towardzero): Likewise.
9064         (remainder_downward_test_data): Likewise.
9065         (remainder_test_downward): Likewise.
9066         (drem_test_downward): Likewise.
9067         (remainder_upward_test_data): Likewise.
9068         (remainder_test_upward): Likewise.
9069         (drem_test_upward): Likewise.
9070         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
9071         (round_test): Use ALL_RM_TEST.
9072         (signbit_test): Likewise.
9073         (trunc_test): Likewise.
9074         (significand_test): Likewise.
9075         (main): Don't call removed functions.
9076
9077 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
9078
9079         [BZ #16674]
9080         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
9081         || __USE_XOPEN2K8].
9082         (ILL_ILLOPN): Likewise.
9083         (ILL_ILLADR): Likewise.
9084         (ILL_ILLTRP): Likewise.
9085         (ILL_PRVOPC): Likewise.
9086         (ILL_PRVREG): Likewise.
9087         (ILL_COPROC): Likewise.
9088         (ILL_BADSTK): Likewise.
9089         (FPE_INTDIV): Likewise.
9090         (FPE_INTOVF): Likewise.
9091         (FPE_FLTDIV): Likewise.
9092         (FPE_FLTOVF): Likewise.
9093         (FPE_FLTUND): Likewise.
9094         (FPE_FLTRES): Likewise.
9095         (FPE_FLTINV): Likewise.
9096         (FPE_FLTSUB): Likewise.
9097         (SEGV_MAPERR): Likewise.
9098         (SEGV_ACCERR): Likewise.
9099         (BUS_ADRALN): Likewise.
9100         (BUS_ADRERR): Likewise.
9101         (BUS_OBJERR): Likewise.
9102         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9103         (TRAP_TRACE): Likewise.
9104         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9105         __USE_XOPEN2K8].
9106         (CLD_KILLED): Likewise.
9107         (CLD_DUMPED): Likewise.
9108         (CLD_TRAPPED): Likewise.
9109         (CLD_STOPPED): Likewise.
9110         (CLD_CONTINUED): Likewise.
9111         (POLL_IN): Likewise.
9112         (POLL_OUT): Likewise.
9113         (POLL_MSG): Likewise.
9114         (POLL_ERR): Likewise.
9115         (POLL_PRI): Likewise.
9116         (POLL_HUP): Likewise.
9117         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
9118         Likewise.
9119         (ILL_ILLOPN): Likewise.
9120         (ILL_ILLADR): Likewise.
9121         (ILL_ILLTRP): Likewise.
9122         (ILL_PRVOPC): Likewise.
9123         (ILL_PRVREG): Likewise.
9124         (ILL_COPROC): Likewise.
9125         (ILL_BADSTK): Likewise.
9126         (FPE_INTDIV): Likewise.
9127         (FPE_INTOVF): Likewise.
9128         (FPE_FLTDIV): Likewise.
9129         (FPE_FLTOVF): Likewise.
9130         (FPE_FLTUND): Likewise.
9131         (FPE_FLTRES): Likewise.
9132         (FPE_FLTINV): Likewise.
9133         (FPE_FLTSUB): Likewise.
9134         (SEGV_MAPERR): Likewise.
9135         (SEGV_ACCERR): Likewise.
9136         (BUS_ADRALN): Likewise.
9137         (BUS_ADRERR): Likewise.
9138         (BUS_OBJERR): Likewise.
9139         (BUS_MCEERR_AR): Likewise.
9140         (BUS_MCEERR_AO): Likewise.
9141         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9142         (TRAP_TRACE): Likewise.
9143         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9144         __USE_XOPEN2K8].
9145         (CLD_KILLED): Likewise.
9146         (CLD_DUMPED): Likewise.
9147         (CLD_TRAPPED): Likewise.
9148         (CLD_STOPPED): Likewise.
9149         (CLD_CONTINUED): Likewise.
9150         (POLL_IN): Likewise.
9151         (POLL_OUT): Likewise.
9152         (POLL_MSG): Likewise.
9153         (POLL_ERR): Likewise.
9154         (POLL_PRI): Likewise.
9155         (POLL_HUP): Likewise.
9156         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
9157         (ILL_ILLOPN): Likewise.
9158         (ILL_ILLADR): Likewise.
9159         (ILL_ILLTRP): Likewise.
9160         (ILL_PRVOPC): Likewise.
9161         (ILL_PRVREG): Likewise.
9162         (ILL_COPROC): Likewise.
9163         (ILL_BADSTK): Likewise.
9164         (FPE_INTDIV): Likewise.
9165         (FPE_INTOVF): Likewise.
9166         (FPE_FLTDIV): Likewise.
9167         (FPE_FLTOVF): Likewise.
9168         (FPE_FLTUND): Likewise.
9169         (FPE_FLTRES): Likewise.
9170         (FPE_FLTINV): Likewise.
9171         (FPE_FLTSUB): Likewise.
9172         (SEGV_MAPERR): Likewise.
9173         (SEGV_ACCERR): Likewise.
9174         (BUS_ADRALN): Likewise.
9175         (BUS_ADRERR): Likewise.
9176         (BUS_OBJERR): Likewise.
9177         (BUS_MCEERR_AR): Likewise.
9178         (BUS_MCEERR_AO): Likewise.
9179         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9180         (TRAP_TRACE): Likewise.
9181         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9182         __USE_XOPEN2K8].
9183         (CLD_KILLED): Likewise.
9184         (CLD_DUMPED): Likewise.
9185         (CLD_TRAPPED): Likewise.
9186         (CLD_STOPPED): Likewise.
9187         (CLD_CONTINUED): Likewise.
9188         (POLL_IN): Likewise.
9189         (POLL_OUT): Likewise.
9190         (POLL_MSG): Likewise.
9191         (POLL_ERR): Likewise.
9192         (POLL_PRI): Likewise.
9193         (POLL_HUP): Likewise.
9194         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
9195         Likewise.
9196         (ILL_ILLOPN): Likewise.
9197         (ILL_ILLADR): Likewise.
9198         (ILL_ILLTRP): Likewise.
9199         (ILL_PRVOPC): Likewise.
9200         (ILL_PRVREG): Likewise.
9201         (ILL_COPROC): Likewise.
9202         (ILL_BADSTK): Likewise.
9203         (ILL_BADIADDR): Likewise.
9204         (ILL_BREAK): Likewise.
9205         (FPE_INTDIV): Likewise.
9206         (FPE_INTOVF): Likewise.
9207         (FPE_FLTDIV): Likewise.
9208         (FPE_FLTOVF): Likewise.
9209         (FPE_FLTUND): Likewise.
9210         (FPE_FLTRES): Likewise.
9211         (FPE_FLTINV): Likewise.
9212         (FPE_FLTSUB): Likewise.
9213         (FPE_DECOVF): Likewise.
9214         (FPE_DECDIV): Likewise.
9215         (FPE_DECERR): Likewise.
9216         (FPE_INVASC): Likewise.
9217         (FPE_INVDEC): Likewise.
9218         (SEGV_MAPERR): Likewise.
9219         (SEGV_ACCERR): Likewise.
9220         (SEGV_PSTKOVF): Likewise.
9221         (BUS_ADRALN): Likewise.
9222         (BUS_ADRERR): Likewise.
9223         (BUS_OBJERR): Likewise.
9224         (BUS_MCEERR_AR): Likewise.
9225         (BUS_MCEERR_AO): Likewise.
9226         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9227         (TRAP_TRACE): Likewise.
9228         (TRAP_BRANCH): Likewise.
9229         (TRAP_HWBKPT): Likewise.
9230         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9231         __USE_XOPEN2K8].
9232         (CLD_KILLED): Likewise.
9233         (CLD_DUMPED): Likewise.
9234         (CLD_TRAPPED): Likewise.
9235         (CLD_STOPPED): Likewise.
9236         (CLD_CONTINUED): Likewise.
9237         (POLL_IN): Likewise.
9238         (POLL_OUT): Likewise.
9239         (POLL_MSG): Likewise.
9240         (POLL_ERR): Likewise.
9241         (POLL_PRI): Likewise.
9242         (POLL_HUP): Likewise.
9243         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
9244         (ILL_ILLOPN): Likewise.
9245         (ILL_ILLADR): Likewise.
9246         (ILL_ILLTRP): Likewise.
9247         (ILL_PRVOPC): Likewise.
9248         (ILL_PRVREG): Likewise.
9249         (ILL_COPROC): Likewise.
9250         (ILL_BADSTK): Likewise.
9251         (FPE_INTDIV): Likewise.
9252         (FPE_INTOVF): Likewise.
9253         (FPE_FLTDIV): Likewise.
9254         (FPE_FLTOVF): Likewise.
9255         (FPE_FLTUND): Likewise.
9256         (FPE_FLTRES): Likewise.
9257         (FPE_FLTINV): Likewise.
9258         (FPE_FLTSUB): Likewise.
9259         (SEGV_MAPERR): Likewise.
9260         (SEGV_ACCERR): Likewise.
9261         (BUS_ADRALN): Likewise.
9262         (BUS_ADRERR): Likewise.
9263         (BUS_OBJERR): Likewise.
9264         (BUS_MCEERR_AR): Likewise.
9265         (BUS_MCEERR_AO): Likewise.
9266         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9267         (TRAP_TRACE): Likewise.
9268         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9269         __USE_XOPEN2K8].
9270         (CLD_KILLED): Likewise.
9271         (CLD_DUMPED): Likewise.
9272         (CLD_TRAPPED): Likewise.
9273         (CLD_STOPPED): Likewise.
9274         (CLD_CONTINUED): Likewise.
9275         (POLL_IN): Likewise.
9276         (POLL_OUT): Likewise.
9277         (POLL_MSG): Likewise.
9278         (POLL_ERR): Likewise.
9279         (POLL_PRI): Likewise.
9280         (POLL_HUP): Likewise.
9281         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
9282         (ILL_ILLOPN): Likewise.
9283         (ILL_ILLADR): Likewise.
9284         (ILL_ILLTRP): Likewise.
9285         (ILL_PRVOPC): Likewise.
9286         (ILL_PRVREG): Likewise.
9287         (ILL_COPROC): Likewise.
9288         (ILL_BADSTK): Likewise.
9289         (FPE_INTDIV): Likewise.
9290         (FPE_INTOVF): Likewise.
9291         (FPE_FLTDIV): Likewise.
9292         (FPE_FLTOVF): Likewise.
9293         (FPE_FLTUND): Likewise.
9294         (FPE_FLTRES): Likewise.
9295         (FPE_FLTINV): Likewise.
9296         (FPE_FLTSUB): Likewise.
9297         (SEGV_MAPERR): Likewise.
9298         (SEGV_ACCERR): Likewise.
9299         (BUS_ADRALN): Likewise.
9300         (BUS_ADRERR): Likewise.
9301         (BUS_OBJERR): Likewise.
9302         (BUS_MCEERR_AR): Likewise.
9303         (BUS_MCEERR_AO): Likewise.
9304         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9305         (TRAP_TRACE): Likewise.
9306         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9307         __USE_XOPEN2K8].
9308         (CLD_KILLED): Likewise.
9309         (CLD_DUMPED): Likewise.
9310         (CLD_TRAPPED): Likewise.
9311         (CLD_STOPPED): Likewise.
9312         (CLD_CONTINUED): Likewise.
9313         (POLL_IN): Likewise.
9314         (POLL_OUT): Likewise.
9315         (POLL_MSG): Likewise.
9316         (POLL_ERR): Likewise.
9317         (POLL_PRI): Likewise.
9318         (POLL_HUP): Likewise.
9319         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
9320         (ILL_ILLOPN): Likewise.
9321         (ILL_ILLADR): Likewise.
9322         (ILL_ILLTRP): Likewise.
9323         (ILL_PRVOPC): Likewise.
9324         (ILL_PRVREG): Likewise.
9325         (ILL_COPROC): Likewise.
9326         (ILL_BADSTK): Likewise.
9327         (FPE_INTDIV): Likewise.
9328         (FPE_INTOVF): Likewise.
9329         (FPE_FLTDIV): Likewise.
9330         (FPE_FLTOVF): Likewise.
9331         (FPE_FLTUND): Likewise.
9332         (FPE_FLTRES): Likewise.
9333         (FPE_FLTINV): Likewise.
9334         (FPE_FLTSUB): Likewise.
9335         (SEGV_MAPERR): Likewise.
9336         (SEGV_ACCERR): Likewise.
9337         (BUS_ADRALN): Likewise.
9338         (BUS_ADRERR): Likewise.
9339         (BUS_OBJERR): Likewise.
9340         (BUS_MCEERR_AR): Likewise.
9341         (BUS_MCEERR_AO): Likewise.
9342         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9343         (TRAP_TRACE): Likewise.
9344         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9345         __USE_XOPEN2K8].
9346         (CLD_KILLED): Likewise.
9347         (CLD_DUMPED): Likewise.
9348         (CLD_TRAPPED): Likewise.
9349         (CLD_STOPPED): Likewise.
9350         (CLD_CONTINUED): Likewise.
9351         (POLL_IN): Likewise.
9352         (POLL_OUT): Likewise.
9353         (POLL_MSG): Likewise.
9354         (POLL_ERR): Likewise.
9355         (POLL_PRI): Likewise.
9356         (POLL_HUP): Likewise.
9357         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
9358         (ILL_ILLOPN): Likewise.
9359         (ILL_ILLADR): Likewise.
9360         (ILL_ILLTRP): Likewise.
9361         (ILL_PRVOPC): Likewise.
9362         (ILL_PRVREG): Likewise.
9363         (ILL_COPROC): Likewise.
9364         (ILL_BADSTK): Likewise.
9365         (ILL_DBLFLT): Likewise.
9366         (ILL_HARDWALL): Likewise.
9367         (FPE_INTDIV): Likewise.
9368         (FPE_INTOVF): Likewise.
9369         (FPE_FLTDIV): Likewise.
9370         (FPE_FLTOVF): Likewise.
9371         (FPE_FLTUND): Likewise.
9372         (FPE_FLTRES): Likewise.
9373         (FPE_FLTINV): Likewise.
9374         (FPE_FLTSUB): Likewise.
9375         (SEGV_MAPERR): Likewise.
9376         (SEGV_ACCERR): Likewise.
9377         (BUS_ADRALN): Likewise.
9378         (BUS_ADRERR): Likewise.
9379         (BUS_OBJERR): Likewise.
9380         (BUS_MCEERR_AR): Likewise.
9381         (BUS_MCEERR_AO): Likewise.
9382         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9383         (TRAP_TRACE): Likewise.
9384         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9385         __USE_XOPEN2K8].
9386         (CLD_KILLED): Likewise.
9387         (CLD_DUMPED): Likewise.
9388         (CLD_TRAPPED): Likewise.
9389         (CLD_STOPPED): Likewise.
9390         (CLD_CONTINUED): Likewise.
9391         (POLL_IN): Likewise.
9392         (POLL_OUT): Likewise.
9393         (POLL_MSG): Likewise.
9394         (POLL_ERR): Likewise.
9395         (POLL_PRI): Likewise.
9396         (POLL_HUP): Likewise.
9397         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
9398         (ILL_ILLOPN): Likewise.
9399         (ILL_ILLADR): Likewise.
9400         (ILL_ILLTRP): Likewise.
9401         (ILL_PRVOPC): Likewise.
9402         (ILL_PRVREG): Likewise.
9403         (ILL_COPROC): Likewise.
9404         (ILL_BADSTK): Likewise.
9405         (FPE_INTDIV): Likewise.
9406         (FPE_INTOVF): Likewise.
9407         (FPE_FLTDIV): Likewise.
9408         (FPE_FLTOVF): Likewise.
9409         (FPE_FLTUND): Likewise.
9410         (FPE_FLTRES): Likewise.
9411         (FPE_FLTINV): Likewise.
9412         (FPE_FLTSUB): Likewise.
9413         (SEGV_MAPERR): Likewise.
9414         (SEGV_ACCERR): Likewise.
9415         (BUS_ADRALN): Likewise.
9416         (BUS_ADRERR): Likewise.
9417         (BUS_OBJERR): Likewise.
9418         (BUS_MCEERR_AR): Likewise.
9419         (BUS_MCEERR_AO): Likewise.
9420         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9421         (TRAP_TRACE): Likewise.
9422         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9423         __USE_XOPEN2K8].
9424         (CLD_KILLED): Likewise.
9425         (CLD_DUMPED): Likewise.
9426         (CLD_TRAPPED): Likewise.
9427         (CLD_STOPPED): Likewise.
9428         (CLD_CONTINUED): Likewise.
9429         (POLL_IN): Likewise.
9430         (POLL_OUT): Likewise.
9431         (POLL_MSG): Likewise.
9432         (POLL_ERR): Likewise.
9433         (POLL_PRI): Likewise.
9434         (POLL_HUP): Likewise.
9435         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
9436         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9437
9438         [BZ #16670]
9439         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
9440         before #include of <time.h>.
9441         [!__USE_XOPEN2K] (__need_timespec): Likewise.
9442         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
9443         (test-xfail-UNIX98/sched.h/conform): Likewise.
9444
9445 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9446
9447         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
9448         error absence of trapping exception support.
9449         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9450
9451 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
9452
9453         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
9454         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
9455         * timezone/Makefile (testdata): Move definition above include of
9456         Rules.
9457         (test-zones): New variable.
9458         (tests-special): Add zone files.
9459         (build-testdata): Use $(evaluate-test).
9460
9461         * elf/Makefile (tests-special): Rename tests to end with .out.
9462         ($(objpfx)noload-mem): Likewise.
9463         ($(objpfx)tst-leaks1-mem): Likewise.
9464         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
9465         * iconv/Makefile (xtests-special): Change test-iconvconfig to
9466         $(objpfx)test-iconvconfig.out.
9467         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
9468         set -e inside subshell and redirect output to file.
9469         * iconvdata/Makefile (generated): Rename tests to end with .out.
9470         Correct type.
9471         (tests-special): Rename tests to end with .out.
9472         ($(objpfx)mtrace-tst-loading): Likewise.
9473         * intl/Makefile (generated): Likewise.
9474         (tests-special): Likewise.
9475         ($(objpfx)mtrace-tst-gettext): Likewise.
9476         * misc/Makefile (generated): Likewise.
9477         (tests-special): Likewise.
9478         ($(objpfx)tst-error1-mem): Likewise.
9479         * nptl/Makefile (tests-special): Likewise.
9480         ($(objpfx)tst-stack3-mem): Likewise.
9481         (generated): Likewise.
9482         * posix/Makefile (generated): Likewise.
9483         (tests-special): Likewise.
9484         (xtests-special): Likewise.
9485         ($(objpfx)tst-fnmatch-mem): Likewise.
9486         ($(objpfx)bug-regex2-mem): Likewise.
9487         ($(objpfx)bug-regex14-mem): Likewise.
9488         ($(objpfx)bug-regex21-mem): Likewise.
9489         ($(objpfx)bug-regex31-mem): Likewise.
9490         ($(objpfx)tst-vfork3-mem): Likewise.
9491         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9492         ($(objpfx)tst-pcre-mem): Likewise.
9493         ($(objpfx)tst-boost-mem): Likewise.
9494         ($(objpfx)bug-ga2-mem): Likewise.
9495         ($(objpfx)bug-glob2-mem): Likewise.
9496         * resolv/Makefile (generate): Likewise.
9497         (tests-special): Likewise.
9498         (xtests-special): Likewise.
9499         (generated): Likewise.
9500         ($(objpfx)mtrace-tst-leaks): Likewise.
9501         ($(objpfx)mtrace-tst-leaks2): Likewise.
9502
9503         * scripts/merge-test-results.sh: New file.
9504         * Makefile (tests-special-notdir): New variable.
9505         (tests): Run merge-test-results.sh.
9506         (xtests): Likewise.
9507         * Rules (tests-special-notdir): New variable.
9508         (xtests-special-notdir): Likewise.
9509         (tests): Run merge-test-results.sh
9510         (xtests): Likewise.
9511
9512         * Makeconfig (test-xfail-name): New variable.
9513         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
9514         compute variable name for expected failures.
9515         * conform/Makefile (conformtest-headers-data): New variable.
9516         (conformtest-standards): Likewise.
9517         (conformtest-headers-ISO): Likewise.
9518         (conformtest-headers-ISO99): Likewise.
9519         (conformtest-headers-ISO11): Likewise.
9520         (conformtest-headers-POSIX): Likewise.
9521         (conformtest-headers-XPG3): Likewise.
9522         (conformtest-headers-XPG4): Likewise.
9523         (conformtest-headers-UNIX98): Likewise.
9524         (conformtest-headers-XOPEN2K): Likewise.
9525         (conformtest-headers-POSIX2008): Likewise.
9526         (conformtest-headers-XOPEN2K8): Likewise.
9527         (conformtest-header-list-base): Likewise.
9528         (conformtest-header-list-tests): Likewise.
9529         (conformtest-header-base): Likewise.
9530         (conformtest-header-tests): Likewise.
9531         (tests-special): Add $(conformtest-header-list-tests).  If
9532         [$(fast-check) && !$(cross-compiling)], add
9533         $(conformtest-header-tests) instead of
9534         $(objpfx)run-conformtest.out.
9535         (generated): Add $(conformtest-header-list-base).  If
9536         [$(fast-check) && !$(cross-compiling)], add
9537         $(conformtest-header-base).  Remove previous setting.
9538         ($(conformtest-header-list-tests)): New target.
9539         (test-xfail-run-conformtest): Remove variable.
9540         ($(objpfx)run-conformtest.out): Remove target.
9541         (test-xfail-ISO11/complex.h/conform): New variable.
9542         (test-xfail-ISO11/stdalign.h/conform): Likewise.
9543         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9544         (test-xfail-XPG3/varargs.h/conform): Likewise.
9545         (test-xfail-XPG4/varargs.h/conform): Likewise.
9546         (test-xfail-UNIX98/varargs.h/conform): Likewise.
9547         (test-xfail-XPG4/ndbm.h/conform): Likewise.
9548         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
9549         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
9550         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
9551         (test-xfail-XPG3/fcntl.h/conform): Likewise.
9552         (test-xfail-XPG3/ftw.h/conform): Likewise.
9553         (test-xfail-XPG3/grp.h/conform): Likewise.
9554         (test-xfail-XPG3/langinfo.h/conform): Likewise.
9555         (test-xfail-XPG3/limits.h/conform): Likewise.
9556         (test-xfail-XPG3/pwd.h/conform): Likewise.
9557         (test-xfail-XPG3/search.h/conform): Likewise.
9558         (test-xfail-XPG3/signal.h/conform): Likewise.
9559         (test-xfail-XPG3/stdio.h/conform): Likewise.
9560         (test-xfail-XPG3/stdlib.h/conform): Likewise.
9561         (test-xfail-XPG3/string.h/conform): Likewise.
9562         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
9563         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
9564         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9565         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9566         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
9567         (test-xfail-XPG3/sys/types.h/conform): Likewise.
9568         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
9569         (test-xfail-XPG3/termios.h/conform): Likewise.
9570         (test-xfail-XPG3/time.h/conform): Likewise.
9571         (test-xfail-XPG3/unistd.h/conform): Likewise.
9572         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
9573         (test-xfail-XPG4/fcntl.h/conform): Likewise.
9574         (test-xfail-XPG4/langinfo.h/conform): Likewise.
9575         (test-xfail-XPG4/netdb.h/conform): Likewise.
9576         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
9577         (test-xfail-XPG4/signal.h/conform): Likewise.
9578         (test-xfail-XPG4/stdio.h/conform): Likewise.
9579         (test-xfail-XPG4/stdlib.h/conform): Likewise.
9580         (test-xfail-XPG4/stropts.h/conform): Likewise.
9581         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9582         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9583         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9584         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9585         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9586         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
9587         (test-xfail-XPG4/sys/time.h/conform): Likewise.
9588         (test-xfail-XPG4/sys/types.h/conform): Likewise.
9589         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
9590         (test-xfail-XPG4/termios.h/conform): Likewise.
9591         (test-xfail-XPG4/ucontext.h/conform): Likewise.
9592         (test-xfail-XPG4/unistd.h/conform): Likewise.
9593         (test-xfail-XPG4/utmpx.h/conform): Likewise.
9594         (test-xfail-POSIX/sched.h/conform): Likewise.
9595         (test-xfail-POSIX/signal.h/conform): Likewise.
9596         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9597         (test-xfail-POSIX/tar.h/conform): Likewise.
9598         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
9599         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
9600         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9601         (test-xfail-UNIX98/netdb.h/conform): Likewise.
9602         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
9603         (test-xfail-UNIX98/sched.h/conform): Likewise.
9604         (test-xfail-UNIX98/signal.h/conform): Likewise.
9605         (test-xfail-UNIX98/stdio.h/conform): Likewise.
9606         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
9607         (test-xfail-UNIX98/stropts.h/conform): Likewise.
9608         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9609         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9610         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9611         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9612         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9613         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9614         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
9615         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
9616         (test-xfail-UNIX98/unistd.h/conform): Likewise.
9617         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9618         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
9619         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
9620         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9621         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
9622         (test-xfail-XOPEN2K/math.h/conform): Likewise.
9623         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9624         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9625         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9626         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
9627         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
9628         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
9629         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
9630         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9631         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9632         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9633         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9634         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9635         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9636         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
9637         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
9638         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9639         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
9640         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9641         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
9642         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9643         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
9644         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
9645         (test-xfail-POSIX2008/signal.h/conform): Likewise.
9646         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9647         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
9648         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
9649         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9650         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9651         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
9652         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9653         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9654         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9655         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
9656         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
9657         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9658         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9659         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9660         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
9661         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9662         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9663         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9664         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9665         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
9666         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9667         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9668         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
9669         (conformtest-cc-flags): Likewise.
9670         ($(conformtest-header-tests): New target.
9671         * conform/check-header-lists.sh: New file.
9672         * conform/run-conformtest.sh: Remove.
9673
9674         * conform/conformtest.pl: Allow ' and \ in values given for
9675         constants.
9676         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
9677         inclusion.
9678         [POSIX] (sys/types.h): Likewise.
9679         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
9680         inclusion.
9681         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
9682         inclusion.
9683         * conform/data/signal.h-data (SIGIO): Remove expectation.
9684         [XPG3] (SIGBUS): Do not expect.
9685         [POSIX || XPG3] (SIGPOLL): Likewise.
9686         [POSIX || XPG3] (SIGPROF): Likewise.
9687         [POSIX || XPG3] (SIGSYS): Likewise.
9688         [XPG3] (SIGTRAP): Likewise.
9689         [POSIX || XPG3] (SIGURG): Likewise.
9690         [POSIX || XPG3] (SIGVTALRM): Likewise.
9691         [POSIX || XPG3] (SIGXCPU): Likewise.
9692         [POSIX || XPG3] (SIGXFSZ): Likewise.
9693         [POSIX] (SA_SIGINFO): Expect.
9694         [XPG3] (siginfo_t): Do not expect type or contents.
9695         [POSIX] (si_pid): Do not expect element.
9696         [POSIX] (si_uid): Likewise.
9697         [POSIX] (si_addr): Likewise.
9698         [POSIX] (si_status): Likewise.
9699         [POSIX] (si_band): Likewise.
9700         [XPG4] (si_value): Likewise.
9701         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
9702         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
9703         [POSIX || XPG3] (ILL_ILLADR): Likewise.
9704         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
9705         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
9706         [POSIX || XPG3] (ILL_PRVREG): Likewise.
9707         [POSIX || XPG3] (ILL_COPROC): Likewise.
9708         [POSIX || XPG3] (ILL_BADSTK): Likewise.
9709         [POSIX || XPG3] (FPE_INTDIV): Likewise.
9710         [POSIX || XPG3] (FPE_INTOVF): Likewise.
9711         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
9712         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
9713         [POSIX || XPG3] (FPE_FLTUND): Likewise.
9714         [POSIX || XPG3] (FPE_FLTRES): Likewise.
9715         [POSIX || XPG3] (FPE_FLTINV): Likewise.
9716         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
9717         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
9718         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
9719         [POSIX || XPG3] (BUS_ADRALN): Likewise.
9720         [POSIX || XPG3] (BUS_ADRERR): Likewise.
9721         [POSIX || XPG3] (BUS_OBJERR): Likewise.
9722         [POSIX || XPG3] (CLD_EXITED): Likewise.
9723         [POSIX || XPG3] (CLD_KILLED): Likewise.
9724         [POSIX || XPG3] (CLD_DUMPED): Likewise.
9725         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
9726         [POSIX || XPG3] (CLD_STOPPED): Likewise.
9727         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
9728         [POSIX || XPG3] (POLL_IN): Likewise.
9729         [POSIX || XPG3] (POLL_OUT): Likewise.
9730         [POSIX || XPG3] (POLL_MSG): Likewise.
9731         [POSIX || XPG3] (POLL_ERR): Likewise.
9732         [POSIX || XPG3] (POLL_PRI): Likewise.
9733         [POSIX || XPG3] (POLL_HUP): Likewise.
9734         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
9735         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
9736         (SIG*): Do not allow.
9737         [XPG3] (si_*): Likewise.
9738         [XPG3] (SI_*): Likewise.
9739         [XPG3 || XPG4] (sigev_*): Likewise.
9740         [XPG3 || XPG4] (SIGEV_*): Likewise.
9741         [XPG3 || XPG4] (sival_*): Likewise.
9742         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
9743         [POSIX || XPG3] (BUS_*): Likewise.
9744         [POSIX || XPG3] (CLD_*): Likewise.
9745         [POSIX || XPG3] (FPE_*): Likewise.
9746         [POSIX || XPG3] (ILL_*): Likewise.
9747         [POSIX || XPG3] (POLL_*): Likewise.
9748         [POSIX || XPG3] (SEGV_*): Likewise.
9749         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
9750         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
9751         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
9752         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
9753         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
9754         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
9755         Specify type and value.
9756         (TVERSLEN): Likewise.
9757         (REGTYPE): Likewise.
9758         (AREGTYPE): Likewise.
9759         (LNKTYPE): Likewise.
9760         (SYMTYPE): Likewise.
9761         (CHRTYPE): Likewise.
9762         (BLKTYPE): Likewise.
9763         (DIRTYPE): Likewise.
9764         (FIFOTYPE): Likewise.
9765         (CONTTYPE): Likewise.
9766         (TSUID): Likewise.
9767         (TSGID): Likewise.
9768         (TSVTX): Likewise.
9769         (TUREAD): Likewise.
9770         (TUWRITE): Likewise.
9771         (TUEXEC): Likewise.
9772         (TGREAD): Likewise.
9773         (TGWRITE): Likewise.
9774         (TGEXEC): Likewise.
9775         (TOREAD): Likewise.
9776         (TOWRITE): Likewise.
9777         (TOEXEC): Likewise.
9778         [POSIX] (TSVTX): Expect constant.
9779
9780 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
9781
9782         * Makefile (tests): Change dependencies to ....
9783         (tests-special): ... additions to this variable.
9784         (tests): Depend on $(tests-special).
9785         * Makerules (check-abi-list): New variable.
9786         (check-abi): Depend on $(check-abi-list).
9787         [$(subdir) = elf] (tests-special): Add
9788         $(objpfx)check-abi-libc.out.
9789         [$(build-shared) = yes && subdir] (tests-special): Add
9790         $(check-abi-list).
9791         [$(build-shared) = yes && subdir] (tests): Do not depend on
9792         check-abi.
9793         * Rules (tests): Depend on $(tests-special).
9794         (xtests): Depend on $(xtests-special).
9795         * catgets/Makefile (tests): Change dependencies to ....
9796         (tests-special): ... additions to this variable.
9797         * conform/Makefile (tests): Change dependencies to ....
9798         (tests-special): ... additions to this variable.
9799         * elf/Makefile (tests): Change dependencies to ....
9800         (tests-special): ... additions to this variable.
9801         * grp/Makefile (tests): Change dependencies to ....
9802         (tests-special): ... additions to this variable.
9803         * iconv/Makefile (xtests): Change dependencies to ....
9804         (xtests-special): ... additions to this variable.
9805         * iconvdata/Makefile (tests): Change dependencies to ....
9806         (tests-special): ... additions to this variable.
9807         * intl/Makefile (tests): Change dependencies to ....
9808         (tests-special): ... additions to this variable.  Also add
9809         $(objpfx)tst-gettext.out.
9810         * io/Makefile (tests): Change dependencies to ....
9811         (tests-special): ... additions to this variable.
9812         * libio/Makefile (tests): Change dependencies to ....
9813         (tests-special): ... additions to this variable.
9814         * malloc/Makefile (tests): Change dependencies to ....
9815         (tests-special): ... additions to this variable.
9816         * misc/Makefile (tests): Change dependencies to ....
9817         (tests-special): ... additions to this variable.
9818         * nptl/Makefile (tests): Change dependencies to ....
9819         (tests-special): ... additions to this variable.
9820         * nptl_db/Makefile (tests): Change dependencies to ....
9821         (tests-special): ... additions to this variable.
9822         * posix/Makefile (tests): Change dependencies to ....
9823         (tests-special): ... additions to this variable.
9824         (xtests): Change dependencies to ....
9825         (xtests-special): ... additions to this variable.
9826         * resolv/Makefile (tests): Change dependencies to ....
9827         (tests-special): ... additions to this variable.
9828         (xtests): Change dependencies to ....
9829         (xtests-special): ... additions to this variable.
9830         * stdio-common/Makefile (tests): Change dependencies to ....
9831         (tests-special): ... additions to this variable.
9832         (do-tst-unbputc): Remove target.
9833         (do-tst-printf): Likewise.
9834         * stdlib/Makefile (tests): Change dependencies to ....
9835         (tests-special): ... additions to this variable.
9836         * string/Makefile (tests): Change dependencies to ....
9837         (tests-special): ... additions to this variable.
9838         * sysdeps/x86/Makefile (tests): Change dependencies to ....
9839         (tests-special): ... additions to this variable.
9840
9841         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9842         whole file.
9843         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9844         whole file.
9845         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9846         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9847
9848         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9849         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9850         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9851         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9852         * conform/data/libgen.h-data [XPG3]: Likewise.
9853         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9854         * conform/data/ndbm.h-data [XPG3]: Likewise.
9855         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9856         * conform/data/netdb.h-data [XPG3]: Likewise.
9857         * conform/data/netinet/in.h-data [XPG3]: Likewise.
9858         * conform/data/poll.h-data [XPG3]: Likewise.
9859         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9860         * conform/data/strings.h-data [XPG3]: Likewise.
9861         * conform/data/stropts.h-data [XPG3]: Likewise.
9862         * conform/data/sys/mman.h-data [XPG3]: Likewise.
9863         * conform/data/sys/resource.h-data [XPG3]: Likewise.
9864         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9865         Likewise.
9866         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9867         * conform/data/sys/time.h-data [XPG3]: Likewise.
9868         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9869         * conform/data/sys/uio.h-data [XPG3]: Likewise.
9870         * conform/data/sys/un.h-data [XPG3]: Likewise.
9871         * conform/data/syslog.h-data [XPG3]: Likewise.
9872         * conform/data/ucontext.h-data [XPG3]: Likewise.
9873         * conform/data/utmpx.h-data [XPG3]: Likewise.
9874         * conform/data/varargs.h-data [UNIX98]: Enable file.
9875
9876         * manual/Makefile (INSTALL_INFO): Remove variable setting.
9877
9878         * math/libm-test.inc (struct test_f_f_data): Move expected results
9879         into structure for each rounding mode.
9880         (struct test_ff_f_data): Likewise.
9881         (struct test_ff_f_data_nexttoward): Likewise.
9882         (struct test_fi_f_data): Likewise.
9883         (struct test_fl_f_data): Likewise.
9884         (struct test_if_f_data): Likewise.
9885         (struct test_fff_f_data): Likewise.
9886         (struct test_c_f_data): Likewise.
9887         (struct test_f_f1_data): Likewise.
9888         (struct test_fF_f1_data): Likewise.
9889         (struct test_ffI_f1_data): Likewise.
9890         (struct test_c_c_data): Likewise.
9891         (struct test_cc_c_data): Likewise.
9892         (struct test_f_i_data): Likewise.
9893         (struct test_ff_i_data): Likewise.
9894         (struct test_f_l_data): Likewise.
9895         (struct test_f_L_data): Likewise.
9896         (struct test_fFF_11_data): Likewise.
9897         (RM_): New macro.
9898         (RM_FE_DOWNWARD): Likewise.
9899         (RM_FE_TONEAREST): Likewise.
9900         (RM_FE_TOWARDZERO): Likewise.
9901         (RM_FE_UPWARD): Likewise.
9902         (RUN_TEST_LOOP_f_f): Update references to expected results.
9903         (RUN_TEST_LOOP_2_f): Likewise.
9904         (RUN_TEST_LOOP_fff_f): Likewise.
9905         (RUN_TEST_LOOP_c_f): Likewise.
9906         (RUN_TEST_LOOP_f_f1): Likewise.
9907         (RUN_TEST_LOOP_fF_f1): Likewise.
9908         (RUN_TEST_LOOP_fI_f1): Likewise.
9909         (RUN_TEST_LOOP_ffI_f1): Likewise.
9910         (RUN_TEST_LOOP_c_c): Likewise.
9911         (RUN_TEST_LOOP_cc_c): Likewise.
9912         (RUN_TEST_LOOP_f_i): Likewise.
9913         (RUN_TEST_LOOP_f_i_tg): Likewise.
9914         (RUN_TEST_LOOP_ff_i_tg): Likewise.
9915         (RUN_TEST_LOOP_f_b): Likewise.
9916         (RUN_TEST_LOOP_f_b_tg): Likewise.
9917         (RUN_TEST_LOOP_f_l): Likewise.
9918         (RUN_TEST_LOOP_f_L): Likewise.
9919         (RUN_TEST_LOOP_fFF_11): Likewise.
9920         * math/gen-libm-test.pl (parse_args): Output four copies of
9921         expected results for each test.
9922
9923         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9924         (__ASSUME_UTIMES): Remove.
9925         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9926         (__ASSUME_UTIMES): Likewise.
9927
9928         * math/gen-auto-libm-tests.c: Update comment on output format.
9929         (output_for_one_input_case): Generate before-rounding and
9930         after-rounding information as conditions on output flags not
9931         floating-point format.
9932         * math/auto-libm-test-out: Regenerated.
9933         * math/gen-libm-test.pl (cond_value): New function.
9934         (or_cond_value): Use cond_value.
9935         (generate_testfile): Handle conditional exceptions.
9936
9937 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
9938
9939         * math/libm-test.inc (max_valid_error): New variable.
9940         (init_max_error): Take new argument specifying whether function
9941         results are exactly determined.  Set max_valid_error and bound
9942         other variables for errors based on this argument.
9943         (set_max_error): Do not record results above max_valid_error.
9944         (check_float_internal): Only accept errors of up to 0.5ulps if
9945         also at most max_valid_error.
9946         (START): Take new argument EXACT and pass it to init_max_error.
9947         (acos_test): Update call to START.
9948         (acos_test_tonearest): Likewise.
9949         (acos_test_towardzero): Likewise.
9950         (acos_test_downward): Likewise.
9951         (acos_test_upward): Likewise.
9952         (acosh_test): Likewise.
9953         (asin_test): Likewise.
9954         (asin_test_tonearest): Likewise.
9955         (asin_test_towardzero): Likewise.
9956         (asin_test_downward): Likewise.
9957         (asin_test_upward): Likewise.
9958         (asinh_test): Likewise.
9959         (atan_test): Likewise.
9960         (atanh_test): Likewise.
9961         (atan2_test): Likewise.
9962         (cabs_test): Likewise.
9963         (cacos_test): Likewise.
9964         (cacosh_test): Likewise.
9965         (carg_test): Likewise.
9966         (casin_test): Likewise.
9967         (casinh_test): Likewise.
9968         (catan_test): Likewise.
9969         (catanh_test): Likewise.
9970         (cbrt_test): Likewise.
9971         (ccos_test): Likewise.
9972         (ccosh_test): Likewise.
9973         (ceil_test): Likewise.
9974         (cexp_test): Likewise.
9975         (cimag_test): Likewise.
9976         (clog_test): Likewise.
9977         (clog10_test): Likewise.
9978         (conj_test): Likewise.
9979         (copysign_test): Likewise.
9980         (cos_test): Likewise.
9981         (cos_test_tonearest): Likewise.
9982         (cos_test_towardzero): Likewise.
9983         (cos_test_downward): Likewise.
9984         (cos_test_upward): Likewise.
9985         (cosh_test): Likewise.
9986         (cosh_test_tonearest): Likewise.
9987         (cosh_test_towardzero): Likewise.
9988         (cosh_test_downward): Likewise.
9989         (cosh_test_upward): Likewise.
9990         (cpow_test): Likewise.
9991         (cproj_test): Likewise.
9992         (creal_test): Likewise.
9993         (csin_test): Likewise.
9994         (csinh_test): Likewise.
9995         (csqrt_test): Likewise.
9996         (ctan_test): Likewise.
9997         (ctan_test_tonearest): Likewise.
9998         (ctan_test_towardzero): Likewise.
9999         (ctan_test_downward): Likewise.
10000         (ctan_test_upward): Likewise.
10001         (ctanh_test): Likewise.
10002         (ctanh_test_tonearest): Likewise.
10003         (ctanh_test_towardzero): Likewise.
10004         (ctanh_test_downward): Likewise.
10005         (ctanh_test_upward): Likewise.
10006         (erf_test): Likewise.
10007         (erfc_test): Likewise.
10008         (exp_test): Likewise.
10009         (exp_test_tonearest): Likewise.
10010         (exp_test_towardzero): Likewise.
10011         (exp_test_downward): Likewise.
10012         (exp_test_upward): Likewise.
10013         (exp10_test): Likewise.
10014         (exp10_test_tonearest): Likewise.
10015         (exp10_test_towardzero): Likewise.
10016         (exp10_test_downward): Likewise.
10017         (exp10_test_upward): Likewise.
10018         (pow10_test): Likewise.
10019         (exp2_test): Likewise.
10020         (expm1_test): Likewise.
10021         (expm1_test_tonearest): Likewise.
10022         (expm1_test_towardzero): Likewise.
10023         (expm1_test_downward): Likewise.
10024         (expm1_test_upward): Likewise.
10025         (fabs_test): Likewise.
10026         (fdim_test): Likewise.
10027         (floor_test): Likewise.
10028         (fma_test): Likewise.
10029         (fma_test_towardzero): Likewise.
10030         (fma_test_downward): Likewise.
10031         (fma_test_upward): Likewise.
10032         (fmax_test): Likewise.
10033         (fmin_test): Likewise.
10034         (fmod_test): Likewise.
10035         (fpclassify_test): Likewise.
10036         (frexp_test): Likewise.
10037         (hypot_test): Likewise.
10038         (ilogb_test): Likewise.
10039         (isfinite_test): Likewise.
10040         (finite_test): Likewise.
10041         (isgreater_test): Likewise.
10042         (isgreaterequal_test): Likewise.
10043         (isinf_test): Likewise.
10044         (isless_test): Likewise.
10045         (islessequal_test): Likewise.
10046         (islessgreater_test): Likewise.
10047         (isnan_test): Likewise.
10048         (isnormal_test): Likewise.
10049         (issignaling_test): Likewise.
10050         (isunordered_test): Likewise.
10051         (j0_test): Likewise.
10052         (j1_test): Likewise.
10053         (jn_test): Likewise.
10054         (ldexp_test): Likewise.
10055         (lgamma_test): Likewise.
10056         (gamma_test): Likewise.
10057         (lrint_test): Likewise.
10058         (lrint_test_tonearest): Likewise.
10059         (lrint_test_towardzero): Likewise.
10060         (lrint_test_downward): Likewise.
10061         (lrint_test_upward): Likewise.
10062         (llrint_test): Likewise.
10063         (llrint_test_tonearest): Likewise.
10064         (llrint_test_towardzero): Likewise.
10065         (llrint_test_downward): Likewise.
10066         (llrint_test_upward): Likewise.
10067         (log_test): Likewise.
10068         (log10_test): Likewise.
10069         (log1p_test): Likewise.
10070         (log2_test): Likewise.
10071         (logb_test): Likewise.
10072         (logb_test_downward): Likewise.
10073         (lround_test): Likewise.
10074         (llround_test): Likewise.
10075         (modf_test): Likewise.
10076         (nearbyint_test): Likewise.
10077         (nextafter_test): Likewise.
10078         (nexttoward_test): Likewise.
10079         (pow_test): Likewise.
10080         (pow_test_tonearest): Likewise.
10081         (pow_test_towardzero): Likewise.
10082         (pow_test_downward): Likewise.
10083         (pow_test_upward): Likewise.
10084         (remainder_test): Likewise.
10085         (drem_test): Likewise.
10086         (remainder_test_tonearest): Likewise.
10087         (drem_test_tonearest): Likewise.
10088         (remainder_test_towardzero): Likewise.
10089         (drem_test_towardzero): Likewise.
10090         (remainder_test_downward): Likewise.
10091         (drem_test_downward): Likewise.
10092         (remainder_test_upward): Likewise.
10093         (drem_test_upward): Likewise.
10094         (remquo_test): Likewise.
10095         (rint_test): Likewise.
10096         (rint_test_tonearest): Likewise.
10097         (rint_test_towardzero): Likewise.
10098         (rint_test_downward): Likewise.
10099         (rint_test_upward): Likewise.
10100         (round_test): Likewise.
10101         (scalb_test): Likewise.
10102         (scalbn_test): Likewise.
10103         (scalbln_test): Likewise.
10104         (signbit_test): Likewise.
10105         (sin_test): Likewise.
10106         (sin_test_tonearest): Likewise.
10107         (sin_test_towardzero): Likewise.
10108         (sin_test_downward): Likewise.
10109         (sin_test_upward): Likewise.
10110         (sincos_test): Likewise.
10111         (sinh_test): Likewise.
10112         (sinh_test_tonearest): Likewise.
10113         (sinh_test_towardzero): Likewise.
10114         (sinh_test_downward): Likewise.
10115         (sinh_test_upward): Likewise.
10116         (sqrt_test): Likewise.
10117         (sqrt_test_tonearest): Likewise.
10118         (sqrt_test_towardzero): Likewise.
10119         (sqrt_test_downward): Likewise.
10120         (sqrt_test_upward): Likewise.
10121         (tan_test): Likewise.
10122         (tan_test_tonearest): Likewise.
10123         (tan_test_towardzero): Likewise.
10124         (tan_test_downward): Likewise.
10125         (tan_test_upward): Likewise.
10126         (tanh_test): Likewise.
10127         (tgamma_test): Likewise.
10128         (trunc_test): Likewise.
10129         (y0_test): Likewise.
10130         (y1_test): Likewise.
10131         (yn_test): Likewise.
10132         (significand_test): Likewise.
10133
10134         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
10135         individual tests in comment.
10136         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
10137         (prev_max_error): New variable.
10138         (prev_real_max_error): Likewise.
10139         (prev_imag_max_error): Likewise.
10140         (compare_ulp_data): Don't refer to test names in comment.
10141         (find_test_ulps): Remove function.
10142         (find_function_ulps): Likewise.
10143         (find_complex_function_ulps): Likewise.
10144         (init_max_error): Take function name as argument.  Look up ulps
10145         for that function.
10146         (print_ulps): Remove function.
10147         (print_max_error): Use prev_max_error instead of calling
10148         find_function_ulps.
10149         (print_complex_max_error): Use prev_real_max_error and
10150         prev_imag_max_error instead of calling find_complex_function_ulps.
10151         (check_float_internal): Take max_ulp parameter instead of calling
10152         find_test_ulps.  Don't call print_ulps.
10153         (check_float): Update call to check_float_internal.
10154         (check_complex): Update calls to check_float_internal.
10155         (START): Pass argument to init_max_error.
10156         * math/gen-libm-test.pl (%results): Don't include "kind"
10157         information.
10158         (parse_ulps): Don't handle ulps of individual tests.
10159         (print_ulps_file): Likewise.
10160         (output_ulps): Likewise.
10161         * math/README.libm-test: Update.
10162         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
10163         individual tests.
10164         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
10165         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
10166         * sysdeps/arm/libm-test-ulps: Likewise.
10167         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
10168         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
10169         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
10170         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
10171         * sysdeps/microblaze/libm-test-ulps: Likewise.
10172         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10173         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10174         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10175         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
10176         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10177         * sysdeps/sh/libm-test-ulps: Likewise.
10178         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10179         * sysdeps/tile/libm-test-ulps: Likewise.
10180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10181
10182 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
10183
10184         * math/libm-test.inc (print_complex_max_error): Check separately
10185         whether real and imaginary errors are within allowed range and
10186         pass 0 to print_complex_function_ulps instead of value within
10187         allowed range.
10188
10189 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10190
10191         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
10192         formatting.
10193         (get_handles_fopen): Likewise.
10194         (do_write_test): Likewise.
10195
10196         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
10197
10198         * libio/fileops.c (do_ftell): Use cached offset when
10199         available.
10200         * libio/iofwide.c (do_ftell_wide): Likewise.
10201         * libio/iofdopen.c (_IO_new_fdopen): Don't use
10202         _IO_file_attach.
10203         * libio/wfileops.c (_IO_fwide): Don't cache offset.
10204
10205         [BZ #16532]
10206         * libio/libioP.h (get_file_offset): New function.
10207         * libio/fileops.c (get_file_offset): Likewise.
10208         (do_ftell): Likewise.
10209         (_IO_new_file_seekoff): Split out ftell logic.
10210         * libio/wfileops.c (do_ftell_wide): Likewise.
10211         (_IO_wfile_seekoff): Split out ftell logic.
10212         * libio/tst-ftell-active-handler.c: New test case.
10213         * libio/Makefile (tests): Add it.
10214
10215 2014-03-03  Roland McGrath  <roland@hack.frob.com>
10216
10217         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
10218         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
10219
10220 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
10221
10222         [BZ #16639]
10223         * nscd/connections.c (nscd_init): Call do_exit.
10224         (start_threads): Call do_exit and notify_parent.
10225         (begin_drop_privileges): Call do_exit.
10226         (finish_drop_privileges): Likewise.
10227         * nscd/selinux.c (preserve_capabilities): Likewise.
10228         (install_real_capabilities): Likewise.
10229         (nscd_selinux_enabled): Likewise.
10230         (avc_create_thread): Likewise.
10231         (avc_alloc_lock): Likewise.
10232         (nscd_avc_init): Likewise.
10233         * nscd/nscd.c (parent_fd): New static variable.
10234         (main): Create a pipe between parent and child processes.
10235         Skip closing parent_fd.
10236         (monitor_child): New function.
10237         (do_exit): Likewise.
10238         (notify_parent): Likewise.
10239         * nscd/nscd.h (notify_parent): Likewise.
10240         (do_exit): Likewise.
10241
10242 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
10243
10244         * malloc/malloc.c (__libc_calloc): Revert last change.
10245
10246 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10247
10248         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10249
10250 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10251
10252         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
10253         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
10254         implementation.
10255         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10256         (__libc_ifunc_impl_list): Likewise.
10257         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
10258         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
10259         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
10260         * string/strrchr.c: Define STRRCHR.
10261
10262 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
10263
10264         * benchtest/bench-strtok.c (simple_strtok): Delete.
10265         (strtok_string): Use as benchmark.
10266         * string/strtok (STRTOK): New macro.
10267
10268 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
10269
10270         * manual/threads.texi: Add header and standard comments to all
10271         functions.
10272
10273         * elf/dl-lookup.c (check_match): New function.
10274         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
10275         (do_lookup_x): Remove nested function check_match. Use non-nested
10276         function check_match.
10277
10278 2014-02-28  Roland McGrath  <roland@hack.frob.com>
10279
10280         * csu/Makefile (generated, before-compile): Use += rather than =.
10281         * catgets/Makefile (generated, generated-dirs): Likewise.
10282         * debug/Makefile (generated): Likewise.
10283         * dlfcn/Makefile (generated): Likewise.
10284         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
10285         * iconvdata/Makefile (before-compile, generated): Likewise.
10286         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
10287         * libio/Makefile (generated): Likewise.
10288         * malloc/Makefile (generated): Likewise.
10289         * manual/Makefile (generated, generated-dirs): Likewise.
10290         * misc/Makefile (generated): Likewise.
10291         * posix/Makefile (generated): Likewise.
10292         * resolv/Makefile (generated): Likewise.
10293         * sunrpc/Makefile (generated, generated-dirs): Likewise.
10294         * timezone/Makefile (generated, generated-dirs): Likewise.
10295
10296         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
10297
10298 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10299
10300         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10301         power8 implementation.
10302         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
10303         file: POWER8 llround ifunc implementation.
10304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
10305         (__lllround): Add POWER8 implementation.
10306         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
10307         POWER8 llround implementation.
10308
10309         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
10310         power8 implementation.
10311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
10312         file: POWER8 llrint ifunc implementation.
10313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
10314         Add POWER8 implementation.
10315         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
10316         POWER8 llrint implementation.
10317
10318         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
10319         power8 implementation.
10320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
10321         file: POWER8 finite ifunc implementation.
10322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
10323         Add POWER8 implementation.
10324         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
10325         Likewise.
10326         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
10327         POWER8 finite implementation.
10328         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
10329
10330         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
10331         power8 implementation.
10332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
10333         file: POWER8 isinf ifunc implementation.
10334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
10335         POWER8 implementation.
10336         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
10337         Likewise.
10338         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
10339         isinf implementation.
10340         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
10341
10342         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
10343         (INIT_ARCH): Add hwcap2 initialization.
10344         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10345         power8 implementation.
10346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
10347         file: POWER8 isnan ifunc implementation.
10348         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
10349         POWER8 implementation.
10350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
10351         Likewise.
10352         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
10353         isnan implementation.
10354         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
10355
10356 2014-02-27  Joey Ye  <joey.ye@arm.com>
10357
10358         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10359         (_FP_NANFRAC_Q): Set to zero.
10360
10361 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10362
10363         [BZ #16623]
10364         * math/auto-libm-test-in: New test inputs.
10365         * math/auto-libm-test-out: Regenerate.
10366         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
10367         and DA.
10368         (__cos): Likewise.
10369         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10370
10371 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
10372
10373         * scripts/evaluate-test.sh: Take new argument indicating whether
10374         failure is expected.
10375         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
10376         indicating whether failure is expected.
10377         * conform/Makefile (test-xfail-run-conformtest): New variable.
10378         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
10379         level.
10380         * posix/Makefile (test-xfail-annexc): New variable.
10381         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
10382
10383 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
10384
10385         * argp/Makefile: Include Makeconfig immediately after defining
10386         subdir.
10387         * assert/Makefile: Likewise.
10388         * benchtests/Makefile: Likewise.
10389         * catgets/Makefile: Likewise.
10390         * conform/Makefile: Likewise.
10391         * crypt/Makefile: Likewise.
10392         * csu/Makefile: Likewise.
10393         (all): Remove target.
10394         * ctype/Makefile: Include Makeconfig immediately after defining
10395         subdir.
10396         * debug/Makefile: Likewise.
10397         * dirent/Makefile: Likewise.
10398         * dlfcn/Makefile: Likewise.
10399         * gmon/Makefile: Likewise.
10400         * gnulib/Makefile: Likewise.
10401         * grp/Makefile: Likewise.
10402         * gshadow/Makefile: Likewise.
10403         * hesiod/Makefile: Likewise.
10404         * hurd/Makefile: Likewise.
10405         (all): Remove target.
10406         * iconvdata/Makefile: Include Makeconfig immediately after
10407         defining subdir.
10408         * inet/Makefile: Likewise.
10409         * intl/Makefile: Likewise.
10410         * io/Makefile: Likewise.
10411         * libio/Makefile: Likewise.
10412         (all): Remove target.
10413         * locale/Makefile: Include Makeconfig immediately after defining
10414         subdir.
10415         * login/Makefile: Likewise.
10416         * mach/Makefile: Likewise.
10417         (all): Remove target.
10418         * malloc/Makefile: Include Makeconfig immediately after defining
10419         subdir.
10420         (all): Remove target.
10421         * manual/Makefile: Include Makeconfig immediately after defining
10422         subdir.
10423         * math/Makefile: Likewise.
10424         * misc/Makefile: Likewise.
10425         * nis/Makefile: Likewise.
10426         * nss/Makefile: Likewise.
10427         * po/Makefile: Likewise.
10428         (all): Remove target.
10429         * posix/Makefile: Include Makeconfig immediately after defining
10430         subdir.
10431         * pwd/Makefile: Likewise.
10432         * resolv/Makefile: Likewise.
10433         * resource/Makefile: Likewise.
10434         * rt/Makefile: Likewise.
10435         * setjmp/Makefile: Likewise.
10436         * shadow/Makefile: Likewise.
10437         * signal/Makefile: Likewise.
10438         * socket/Makefile: Likewise.
10439         * soft-fp/Makefile: Likewise.
10440         * stdio-common/Makefile: Likewise.
10441         * stdlib/Makefile: Likewise.
10442         * streams/Makefile: Likewise.
10443         * string/Makefile: Likewise.
10444         * sunrpc/Makefile: Likewise.
10445         (all): Remove target.
10446         * sysvipc/Makefile: Include Makeconfig immediately after defining
10447         subdir.
10448         * termios/Makefile: Likewise.
10449         * time/Makefile: Likewise.
10450         * timezone/Makefile: Likewise.
10451         (all): Remove target.
10452         * wcsmbs/Makefile: Include Makeconfig immediately after defining
10453         subdir.
10454         * wctype/Makefile: Likewise.
10455
10456 2014-02-26  Steve Ellcey  <sellcey@mips.com>
10457
10458         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
10459         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
10460         (libc_feholdexcept_setround_mips): Ditto.
10461         (libc_feholdsetround): New.
10462         (libc_feholdsetroundf): New.
10463         (libc_feholdsetroundl): New.
10464         (libc_feupdateenv_test_mips): New.
10465         (libc_feupdateenv_test): New.
10466         (libc_feupdateenv_testf): New.
10467         (libc_feupdateenv_testl): New.
10468         (libc_feresetround): New.
10469         (libc_feresetroundf): New.
10470         (libc_feresetroundl): New.
10471         (libc_fetestexcept_mips): New.
10472         (libc_fetestexcept): New.
10473         (libc_fetestexceptf): New.
10474         (libc_fetestexceptl): New.
10475         (HAVE_RM_CTX): New.
10476         (libc_feholdexcept_setround_mips_ctx): New.
10477         (libc_feholdexcept_setround_ctx): New.
10478         (libc_feholdexcept_setroundf_ctx): New.
10479         (libc_feholdexcept_setroundl_ctx): New.
10480         (libc_fesetenv_mips_ctx): New.
10481         (libc_fesetenv_ctx): New.
10482         (libc_fesetenv_ctxf): New.
10483         (libc_fesetenv_ctxl): New.
10484         (libc_feupdateenv_mips_ctx): New.
10485         (libc_feupdateenv_ctx): New.
10486         (libc_feupdateenvf_ctx): New.
10487         (libc_feupdateenvl_ctx): New.
10488         (libc_feholdsetround_mips_ctx): New.
10489         (libc_feholdsetround_ctx): New.
10490         (libc_feholdsetroundf_ctx): New.
10491         (libc_feholdsetroundl_ctx): New.
10492         (libc_feresetround_mips_ctx): New.
10493         (libc_feresetround_ctx): New.
10494         (libc_feresetroundf_ctx): New.
10495         (libc_feresetroundl_ctx): New.
10496
10497 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
10498
10499         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
10500
10501         * manual/ipc.texi: New file.
10502         * manual/Makefile (chapters): Add ipc.
10503         * manual/job.texi: Add "Inter-Process Communication" to next.
10504         * manual/process.texi: Add "Inter-Process Communication" to prev.
10505
10506 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10507
10508         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10509
10510 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
10511
10512         * malloc/malloc.c (__libc_calloc): Simplify implementation.
10513
10514         * manual/arith.texi: Fix spaces after sentences.
10515         * manual/charset.texi: Likewise.
10516         * manual/errno.texi: Likewise.
10517         * manual/install.texi: Likewise.
10518         * manual/llio.texi: Likewise.
10519         * manual/locale.texi: Likewise.
10520         * manual/maint.texi: Likewise.
10521         * manual/math.texi: Likewise.
10522         * manual/memory.texi: Likewise.
10523         * manual/message.texi: Likewise.
10524         * manual/probes.texi: Likewise.
10525         * manual/resource.texi: Likewise.
10526         * manual/signal.texi: Likewise.
10527         * manual/socket.texi: Likewise.
10528         * manual/stdio.texi: Likewise.
10529         * manual/string.texi: Likewise.
10530         * manual/time.texi: Likewise.
10531         * manual/users.texi: Likewise.
10532
10533 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
10534
10535         [BZ #16632]
10536         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
10537         _DEFAULT_SOURCE is defined.
10538
10539 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
10540             Carlos O'Donell  <carlos@redhat.com>
10541
10542         [BZ #16613]
10543         * elf/dl-tls.c (_dl_count_modids): New function.
10544         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
10545         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
10546         audit library and increment generation counter.
10547         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
10548         * elf/tst-audit9.c: New file.
10549         * elf/tst-auditmod9a.c: New file.
10550         * elf/tst-auditmod9b.c: New file.
10551         * elf/Makefile: Add rules to build and run tst-audit9.
10552
10553 2014-02-25  Florian Weimer  <fweimer@redhat.com>
10554
10555         [BZ #15347]
10556         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
10557
10558 2014-02-25  Will Newton  <will.newton@linaro.org>
10559
10560         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
10561         (__longjmp): Restore sp and lr before restoring callee
10562         saved registers.  Add longjmp and longjmp_target
10563         SystemTap probe point.
10564         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
10565         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
10566         Define to zero to match jmpbuf layout.
10567         * sysdeps/arm/setjmp.S: Include stap-probe.h.
10568         (__sigsetjmp): Save sp and lr before saving callee
10569         saved registers.  Add setjmp SystemTap probe point.
10570
10571 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10572
10573         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10574
10575 2014-02-24  Andreas Schwab  <schwab@suse.de>
10576
10577         [BZ #15804]
10578         * elf/pldd.c (wait_for_ptrace_stop): New function.
10579         (main): Call it after attaching.
10580
10581 2014-02-22  Roland McGrath  <roland@hack.frob.com>
10582
10583         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
10584         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
10585         Versions files is now verboten.
10586         * hurd/Versions (libc: GLIBC_2.0):
10587         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
10588         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
10589         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
10590         * mach/Versions: Likewise.
10591
10592         * csu/Versions: Remove unused %include.
10593         * resolv/Versions: Likewise.
10594
10595 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
10596
10597         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
10598         ($(objpfx)check-local-headers.out): Likewise.
10599         ($(objpfx)begin-end-check.out): Likewise.
10600         * Makerules (check-abi-%.out): Likewise.
10601         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
10602         ($(objpfx)test2.cat): Likewise.
10603         ($(objpfx)de/libc.cat): Likewise.
10604         ($(objpfx)test-gencat.out): Likewise.
10605         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
10606         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
10607         ($(objpfx)noload-mem): Likewise.
10608         ($(objpfx)tst-pathopt.out): Likewise.
10609         ($(objpfx)tst-rtld-load-self.out): Likewise.
10610         ($(objpfx)tst-array1-cmp.out): Likewise.
10611         ($(objpfx)tst-array1-static-cmp.out): Likewise.
10612         ($(objpfx)tst-array2-cmp.out): Likewise.
10613         ($(objpfx)tst-array3-cmp.out): Likewise.
10614         ($(objpfx)tst-array4-cmp.out): Likewise.
10615         ($(objpfx)tst-array5-cmp.out): Likewise.
10616         ($(objpfx)tst-array5-static-cmp.out): Likewise.
10617         ($(objpfx)check-textrel.out): Likewise.
10618         ($(objpfx)check-execstack.out): Likewise.
10619         ($(objpfx)check-localplt.out): Likewise.
10620         ($(objpfx)order2-cmp.out): Likewise.
10621         ($(objpfx)tst-leaks1-mem): Likewise.
10622         ($(objpfx)tst-leaks1-static-mem): Likewise.
10623         ($(objpfx)tst-initorder-cmp.out): Likewise.
10624         ($(objpfx)tst-initorder2-cmp.out): Likewise.
10625         ($(objpfx)tst-unused-dep.out): Likewise.
10626         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
10627         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
10628         * iconv/Makefile (test-iconvconfig): Likewise.
10629         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
10630         ($(objpfx)iconv-test.out): Likewise.
10631         ($(objpfx)tst-tables.out): Likewise.
10632         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
10633         ($(objpfx)tst-gettext.out): Likewise.
10634         ($(objpfx)tst-translit.out): Likewise.
10635         ($(objpfx)tst-gettext2.out): Likewise.
10636         ($(objpfx)tst-gettext4.out): Likewise.
10637         ($(objpfx)tst-gettext6.out): Likewise.
10638         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
10639         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
10640         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
10641         ($(objpfx)tst-fopenloc-mem.out): Likewise.
10642         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
10643         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
10644         * posix/Makefile ($(objpfx)globtest.out): Likewise.
10645         ($(objpfx)wordexp-tst.out): Likewise.
10646         ($(objpfx)annexc.out): Likewise.
10647         ($(objpfx)tst-fnmatch-mem): Likewise.
10648         ($(objpfx)bug-regex2-mem): Likewise.
10649         ($(objpfx)bug-regex14-mem): Likewise.
10650         ($(objpfx)bug-regex21-mem): Likewise.
10651         ($(objpfx)bug-regex31-mem): Likewise.
10652         ($(objpfx)tst-vfork3-mem): Likewise.
10653         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10654         ($(objpfx)tst-pcre-mem): Likewise.
10655         ($(objpfx)tst-boost-mem): Likewise.
10656         ($(objpfx)tst-getconf.out): Likewise.
10657         ($(objpfx)bug-ga2-mem): Likewise.
10658         ($(objpfx)bug-glob2-mem): Likewise.
10659         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
10660         ($(objpfx)mtrace-tst-leaks2): Likewise.
10661         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
10662         ($(objpfx)tst-printf.out): Likewise.
10663         ($(objpfx)tst-setvbuf1.out): Likewise.
10664         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
10665         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
10666         ($(objpfx)tst-fmtmsg.out): Likewise.
10667         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
10668         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
10669
10670         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
10671         * bits/sigaction.h [__USE_MISC]: Likewise.
10672         * bits/waitstatus.h: Update #endif comments.
10673         * ctype/ctype.h: Likewise.
10674         * dirent/dirent.h: Likewise.
10675         [__USE_MISC]: Remove redundant conditionals.
10676         * grp/grp.h: Update #endif comments.
10677         [__USE_GNU]: Remove redundant conditionals.
10678         [__USE_MISC]: Likewise.
10679         * inet/netinet/in.h [__USE_GNU]: Likewise.
10680         * io/sys/stat.h [__USE_MISC]: Likewise.
10681         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
10682         * libio/bits/stdio.h: Update #endif comments.
10683         [__USE_MISC]: Remove redundant conditionals.
10684         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
10685         * libio/stdio.h: Update #endif comments.
10686         [__USE_MISC]: Remove redundant conditionals.
10687         * math/bits/math-finite.h [__USE_MISC]: Likewise.
10688         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
10689         * math/math.h: Update #else and #endif comments.
10690         [__USE_MISC]: Remove redundant conditionals.
10691         * misc/sys/uio.h: Update #endif comments.
10692         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
10693         * posix/glob.h [__USE_MISC]: Likewise.
10694         * posix/sys/types.h: Update #endif comments.
10695         [__USE_MISC]: Remove redundant conditionals.
10696         * posix/sys/wait.h: Update #endif comments.
10697         [__USE_MISC]: Remove redundant conditionals.
10698         * posix/unistd.h: Update #endif comments.
10699         [__USE_MISC]: Remove redundant conditionals.
10700         * pwd/pwd.h [__USE_GNU]: Likewise.
10701         [__USE_MISC]: Likewise.
10702         * resolv/netdb.h [__USE_GNU]: Likewise.
10703         * signal/signal.h: Update #endif comments.
10704         [__USE_MISC]: Remove redundant conditionals.
10705         * stdlib/stdlib.h: Update #else and #endif comments.
10706         [__USE_MISC]: Remove redundant conditionals.
10707         [__USE_GNU]: Likewise.
10708         * string/bits/string2.h [__USE_MISC]: Likewise.
10709         * string/string.h: Update #endif comments.
10710         [__USE_MISC]: Remove redundant conditionals.
10711         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
10712         Likewise.
10713         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
10714         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
10715         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
10716         Likewise.
10717         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
10718         Likewise.
10719         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
10720         comments.
10721         [__USE_MISC]: Remove redundant conditionals.
10722         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
10723         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
10724         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
10725         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
10726         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
10727         Likewise.
10728         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
10729         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
10730         Likewise.
10731         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
10732         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
10733         Likewise.
10734         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
10735         Likewise.
10736         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
10737         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
10738         Likewise.
10739         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
10740         Likewise.
10741         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
10742         * sysdeps/x86/bits/string.h: Update #endif comments.
10743         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
10744         conditionals.
10745         * time/sys/time.h: Update #endif comments.
10746         * time/time.h: Likewise.
10747         [__USE_MISC]: Remove redundant conditionals.
10748
10749 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
10750
10751         [BZ #16600]
10752         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
10753
10754 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
10755
10756         * Versions.def (librt): Add GLIBC_2.17.
10757
10758 2014-02-21  Adam Conrad  <adconrad@0c3.net>
10759
10760         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
10761         synonym for _SYS_AUXV_H to allow direct inclusion.
10762         * sysdeps/sparc/bits/hwcap.h: Likewise.
10763         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
10764         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
10765         * sysdeps/sparc/sysdep.h: Likewise.
10766
10767 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10768
10769         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
10770
10771 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10772
10773         * benchtests/bench-strrchr.c: Print length instead of position.
10774
10775 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
10776
10777         [BZ #16611]
10778         * sysdeps/unix/sysv/linux/kernel-features.h
10779         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
10780         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
10781         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
10782         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
10783         Likewise.
10784         [__i386__ || __powerpc__ || __sh__ || __sparc__]
10785         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10786         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
10787         (__ASSUME_SENDMMSG): Define instead of using previous
10788         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
10789         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10790         (__ASSUME_SENDMMSG_SYSCALL): Define.
10791         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10792         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
10793         Likewise.
10794         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10795         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10796         Likewise.
10797         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10798         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10799         Likewise.
10800         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
10801         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10802         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10803         [__ASSUME_SENDMMSG]: Change conditionals to
10804         [__ASSUME_SENDMMSG_SOCKETCALL].
10805         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10806         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
10807         Define.
10808         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10809         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
10810         Likewise.
10811         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
10812         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10813         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10814         [!__ASSUME_SENDMMSG]: Change conditional to
10815         [!__ASSUME_SENDMMSG_SOCKETCALL].
10816         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10817         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10818         Define.
10819
10820         [BZ #16610]
10821         * sysdeps/unix/sysv/linux/kernel-features.h
10822         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10823         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10824         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10825         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10826         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10827         [__i386__ || __sparc__]
10828         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10829         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10830         (__ASSUME_RECVMMSG): Define instead of using previous
10831         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10832         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10833         (__ASSUME_RECVMMSG_SYSCALL): Define.
10834         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10835         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10836         Likewise.
10837         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10838         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10839         Likewise.
10840         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10841         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10842         Likewise.
10843         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10844         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10845         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10846         [__ASSUME_RECVMMSG]: Change condition to
10847         [__ASSUME_RECVMMSG_SOCKETCALL].
10848         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10849         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10850         Define.
10851         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10852         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10853         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10854         Likewise.
10855         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10856         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10857         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10858         [!__ASSUME_RECVMMSG]: Change condition to
10859         [!__ASSUME_RECVMMSG_SOCKETCALL].
10860         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10861         (__ASSUME_RECVMMSG_SYSCALL): Define.
10862
10863         [BZ #16609]
10864         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10865         __powerpc__ || __s390__ || __sh__ || __sparc__]
10866         (__ASSUME_SOCKETCALL): Define.
10867         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10868         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10869         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10870         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10871         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10872         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10873         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10874         (__ASSUME_ACCEPT4): Define instead of using previous
10875         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10876         __powerpc__ || __sparc__ || __s390__)] condition.
10877         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10878         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10879         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10880         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10881         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10882         [!__ASSUME_ACCEPT4]: Change condition to
10883         [!__ASSUME_ACCEPT4_SOCKETCALL].
10884         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10885         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
10886         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10887         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10888         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10889         __ASSUME_ACCEPT4_SYSCALL.
10890         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10891         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10892         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10893         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
10894         __ASSUME_ACCEPT4_SYSCALL.
10895         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
10896         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10897         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10898         [__ASSUME_ACCEPT4]: Change condition to
10899         [__ASSUME_ACCEPT4_SOCKETCALL].
10900         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10901         (__ASSUME_SOCKETCALL): Define.
10902         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10903         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10904         (__ASSUME_SOCKETCALL): Define.
10905         (__ASSUME_ACCEPT4): Remove.
10906         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10907         Define.
10908         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10909         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10910         Likewise.
10911         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10912         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10913
10914         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10915         macro.
10916         (HWCAP_ARM_LPAE): Likewise.
10917         (HWCAP_ARM_EVTSTRM): Likewise.
10918         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10919         Add vpfd32, lpae and evtstrm.
10920         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10921         Increase to 22.
10922
10923 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
10924
10925         * math/auto-libm-test-in: Add tests of clog10.
10926         * math/auto-libm-test-out: Regenerated.
10927         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10928         * sysdeps/i386/fpu/libm-test-ulps: Update.
10929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10930
10931 2014-02-18  Andreas Schwab  <schwab@suse.de>
10932
10933         [BZ #16574]
10934         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10935         Store non-zero if the second buffer was newly allocated.
10936         (send_dg): Likewise.
10937         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10938         to send_vc and send_dg.
10939         (res_nsend): Pass NULL for ansp2_malloced.
10940         * resolv/res_query.c (__libc_res_nquery): Add parameter
10941         answerp2_malloced and pass it down to __libc_res_nsend.
10942         (res_nquery): Pass additional NULL to __libc_res_nquery.
10943         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10944         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
10945         second answer buffer if answerp2_malloced was set.
10946         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10947         (__libc_res_nquerydomain): Add parameter
10948         answerp2_malloced and pass it down to __libc_res_nquery.
10949         (res_nquerydomain): Pass additional NULL to
10950         __libc_res_nquerydomain.
10951         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10952         additional NULL to __libc_res_nsend and __libc_res_nquery.
10953         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10954         additional NULL to __libc_res_nsearch.
10955         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
10956         parameter of __libc_res_nsearch to check for separately allocated
10957         second buffer.
10958         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10959         __libc_res_nquery.
10960         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10961         additional NULL to __libc_res_nquery.
10962         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10963         __libc_res_nsearch.
10964         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10965         * include/resolv.h: Update prototypes of __libc_res_nquery,
10966         __libc_res_nsearch, __libc_res_nsend.
10967
10968 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
10969
10970         * math/auto-libm-test-in: Add tests of fma.
10971         * math/auto-libm-test-out: Regenerated.
10972         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10973         (fma_towardzero_test_data): Likewise.
10974         (fma_downward_test_data): Likewise.
10975         (fma_upward_test_data): Likewise.
10976         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10977         mpc_mode.
10978         (rounding_modes): Add values for new field.
10979         (func_calc_method): Add value mpfr_fff_f.
10980         (func_calc_desc): Add mpfr_fff_f union field.
10981         (test_function): Add field exact_args.
10982         (FUNC): Add macro argument EXACT_ARGS.
10983         (FUNC_mpfr_f_f): Update call to FUNC.
10984         (FUNC_mpfr_f_f): Likewise.
10985         (FUNC_mpfr_ff_f): Likewise.
10986         (FUNC_mpfr_if_f): Likewise.
10987         (FUNC_mpc_c_f): Likewise.
10988         (FUNC_mpc_c_c): Likewise.
10989         (test_functions): Add fma.  Update calls to FUNC.
10990         (handle_input_arg): Add argument exact_args.
10991         (add_test): Update call to handle_input_arg.
10992         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
10993         (output_for_one_input_case): Update call to calc_generic_results.
10994         Recalculate exact zero results in each rounding mode.
10995
10996         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10997         non-negative before setting low bit.
10998         * math/auto-libm-test-in: Mark one asin test possibly having
10999         spurious underflow.
11000         * math/auto-libm-test-out: Regenerated.
11001         * sysdeps/i386/fpu/libm-test-ulps: Update.
11002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11003
11004 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
11005
11006         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
11007         * sysdeps/unix/sysv/linux/microblaze: Move directory from
11008         ports/sysdeps/unix/sysv/linux/microblaze.
11009         * README: Add missing listing for microblaze*-*-linux-gnu.
11010
11011 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
11012
11013         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
11014         duplicate code
11015
11016 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
11017
11018         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
11019         * sysdeps/unix/sysv/linux/ia64: Move directory from
11020         ports/sysdeps/unix/sysv/linux/ia64.
11021         * README: Update listing for ia64-*-linux-gnu.
11022
11023 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
11024             Joseph Myers  <joseph@codesourcery.com>
11025
11026         * Makeconfig (test-name): New variable.
11027         (evaluate-test): Likewise.
11028         * Makerules (do-test-clean): Remove .test-result files.
11029         (common-mostlyclean): Likewise.
11030         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
11031         * scripts/evaluate-test.sh: New file.
11032
11033 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
11034
11035         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
11036         separate $(objpfx)tst-fopenloc-cmp.out and
11037         $(objpfx)tst-fopenloc-mem.out targets.
11038         (tests): Update dependencies.
11039         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
11040         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
11041         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
11042         (tst-rxspencer-no-utf8-ARGS): New variable.
11043         (tst-rxspencer-no-utf8-ENV): Likewise.
11044         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
11045         instead of $(objpfx)tst-rxspencer-mem.
11046         ($(objpfx)tst-rxspencer-mem): Change target to
11047         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
11048         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
11049         * posix/tst-rxspencer-no-utf8.c: New file.
11050
11051         * elf/Makefile ($(objpfx)order.out): Remove rule.
11052         [$(run-built-tests) = yes] (tests): Depend on
11053         $(objpfx)order-cmp.out.
11054         ($(objpfx)order-cmp.out): New rule.
11055         [$(run-built-tests) = yes] (tests): Depend on
11056         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
11057         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
11058         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
11059         $(objpfx)tst-array5-static-cmp.out.
11060         ($(objpfx)tst-array1.out): Remove rule.
11061         ($(objpfx)tst-array1-cmp.out): New rule.
11062         ($(objpfx)tst-array1-static.out): Remove rule.
11063         ($(objpfx)tst-array1-static-cmp.out): New rule.
11064         ($(objpfx)tst-array2.out): Remove rule.
11065         ($(objpfx)tst-array2-cmp.out): New rule.
11066         ($(objpfx)tst-array3.out): Remove rule.
11067         ($(objpfx)tst-array3-cmp.out): New rule.
11068         ($(objpfx)tst-array4.out): Remove rule.
11069         ($(objpfx)tst-array4-cmp.out): New rule.
11070         ($(objpfx)tst-array5.out): Remove rule.
11071         ($(objpfx)tst-array5-cmp.out): New rule.
11072         ($(objpfx)tst-array5-static.out): Remove rule.
11073         ($(objpfx)tst-array5-static-cmp.out): New rule.
11074         [$(run-built-tests) = yes] (tests): Depend on
11075         $(objpfx)order2-cmp.out.
11076         ($(objpfx)order2.out): Remove rule.
11077         ($(objpfx)order2-cmp.out): New rule.
11078         ($(objpfx)tst-initorder.out): Remove rule.
11079         [$(run-built-tests) = yes] (tests): Depend on
11080         $(objpfx)tst-initorder-cmp.out.
11081         ($(objpfx)tst-initorder-cmp.out): New rule.
11082         ($(objpfx)tst-initorder2.out): Remove rule.
11083         [$(run-built-tests) = yes] (tests): Depend on
11084         $(objpfx)tst-initorder2-cmp.out.
11085         ($(objpfx)tst-initorder2-cmp.out): New rule.
11086         [$(run-built-tests) = yes] (tests): Depend on
11087         $(objpfx)tst-unused-dep-cmp.out.
11088         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
11089         ($(objpfx)tst-unused-dep-cmp.out): New rule.
11090         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
11091         on $(objpfx)tst-setvbuf1-cmp.out.
11092         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
11093         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
11094         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
11095         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
11096         ($(objpfx)tst-svc.out): Remove rule.
11097         ($(objpfx)tst-svc-cmp.out): New rule.
11098
11099 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
11100
11101         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
11102         * ctype/ctype.h [__USE_MISC]: Likewise.
11103         * dirent/dirent.h [__USE_MISC]: Likewise.
11104         * grp/grp.h [__USE_MISC]: Likewise.
11105         * io/fcntl.h [__USE_MISC]: Likewise.
11106         * io/sys/stat.h [__USE_MISC]: Likewise.
11107         * libio/stdio.h [__USE_MISC]: Likewise.
11108         * posix/unistd.h [__USE_MISC]: Likewise.
11109         * pwd/pwd.h [__USE_MISC]: Likewise.
11110         * stdlib.h [__USE_MISC]: Likewise.
11111         * string/bits/string2.h [__USE_MISC]: Likewise.
11112         * string/string.h [__USE_MISC]: Likewise.
11113         * time/time.h [__USE_MISC]: Likewise.
11114
11115 2014-02-13  Andreas Schwab  <schwab@suse.de>
11116
11117         [BZ #16574]
11118         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
11119         second answer buffer if it was separately allocated.
11120
11121 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
11122
11123         * sysdeps/mips/math-tests.h: Include <features.h>.
11124         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11125         (ROUNDING_TESTS_long_double): Do not define.
11126         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11127         (EXCEPTION_TESTS_long_double): Likewise.
11128         * sysdeps/mips/mips64/libm-test-ulps: Update.
11129
11130         * include/features.h (__USE_BSD): Remove macro definitions.
11131         (__USE_SVID): Likewise.
11132         (_BSD_SOURCE): Likewise.
11133         (_SVID_SOURCE): Likewise.
11134         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
11135         from definition of _DEFAULT_SOURCE.
11136         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
11137         [_DEFAULT_SOURCE].
11138         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
11139         * bits/mman.h [__USE_BSD]: Likewise.
11140         * bits/termios.h [__USE_BSD]: Likewise.
11141         * bits/waitstatus.h [__USE_BSD]: Likewise.
11142         * ctype/ctype.h [__USE_SVID]: Likewise.
11143         * dirent/dirent.h [__USE_BSD]: Likewise.
11144         * grp/grp.h [__USE_SVID]: Likewise.
11145         [__USE_BSD]: Likewise.
11146         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
11147         * io/fcntl.h [__USE_BSD]: Likewise.
11148         * io/ftw.h [__USE_BSD]: Likewise.
11149         * io/sys/stat.h [__USE_BSD]: Likewise.
11150         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
11151         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
11152         * libio/stdio.h [__USE_SVID]: Likewise.
11153         [__USE_BSD]: Likewise.
11154         * math/math.h [__USE_SVID]: Likewise.
11155         [__USE_BSD]: Likewise.
11156         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
11157         * misc/bits/syslog.h [__USE_BSD]: Likewise.
11158         * misc/search.h [__USE_SVID]: Likewise.
11159         * misc/sys/mman.h [__USE_BSD]: Likewise.
11160         * misc/sys/syslog.h [__USE_BSD]: Likewise.
11161         * misc/sys/uio.h [__USE_BSD]: Likewise.
11162         * posix/bits/unistd.h [__USE_BSD]: Likewise.
11163         * posix/glob.h [__USE_BSD]: Likewise.
11164         * posix/regex.h [__USE_BSD]: Likewise.
11165         * posix/sys/types.h [__USE_BSD]: Likewise.
11166         [__USE_SVID]: Likewise.
11167         * posix/sys/utsname.h [__USE_SVID]: Likewise.
11168         * posix/sys/wait.h [__USE_BSD]: Likewise.
11169         [__USE_SVID]: Likewise.
11170         * posix/unistd.h [__USE_BSD]: Likewise.
11171         [__USE_SVID]: Likewise.
11172         * pwd/pwd.h [__USE_SVID]: Likewise.
11173         * resolv/netdb.h [__USE_BSD]: Likewise.
11174         * setjmp/setjmp.h [__USE_BSD]: Likewise.
11175         * signal/signal.h [__USE_BSD]: Likewise.
11176         [__USE_SVID]: Likewise.
11177         * socket/sys/socket.h [__USE_BSD]: Likewise.
11178         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
11179         * stdlib/stdlib.h [__USE_BSD]: Likewise.
11180         [__USE_SVID]: Likewise.
11181         * string/bits/string2.h [__USE_BSD]: Likewise.
11182         [__USE_SVID]: Likewise.
11183         * string/bits/string3.h [__USE_BSD]: Likewise.
11184         * string/endian.h [__USE_BSD]: Likewise.
11185         * string/string.h [__USE_SVID]: Likewise.
11186         [__USE_BSD]: Likewise.
11187         * string/strings.h [__USE_BSD]: Likewise.
11188         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
11189         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
11190         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
11191         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
11192         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
11193         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
11194         Likewise.
11195         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
11196         Likewise.
11197         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
11198         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
11199         Likewise.
11200         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
11201         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
11202         Likewise.
11203         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
11204         Likewise.
11205         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
11206         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
11207         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
11208         Likewise.
11209         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
11210         Likewise.
11211         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
11212         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
11213         * termios/termios.h [__USE_BSD]: Likewise.
11214         * time/sys/time.h [__USE_BSD]: Likewise.
11215         * time/time.h [__USE_BSD]: Likewise.
11216         [__USE_SVID]: Likewise.
11217
11218         * Makefile (subdir_targets): Remove subdir_lint.out.
11219
11220         * stdio-common/Makefile (do-tst-unbputc): Remove target.
11221         (do-tst-printf): Likewise.
11222         (tests): Depend directly on $(objpfx)tst-unbputc.out and
11223         $(objpfx)tst-printf.out.
11224
11225         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
11226
11227         * Makerules (check-abi-%): Change target to
11228         $(objpfx)check-abi-%.out.
11229         (check-abi target): Update dependencies.
11230         (check-abi-pattern variable): Redirect output of diff to $@.
11231         (check-abi variable): Likewise.
11232         * elf/Makefile (check-abi): Update dependencies.
11233
11234         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
11235         unused.
11236         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
11237         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
11238         subnormal range.
11239         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
11240         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
11241         value has largest subnormal exponent.
11242         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
11243         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
11244         * sysdeps/aarch64/soft-fp/sfp-machine.h
11245         (_FP_TININESS_AFTER_ROUNDING): New macro.
11246         * sysdeps/alpha/soft-fp/sfp-machine.h
11247         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11248         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11249         Likewise.
11250         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
11251         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11252         * sysdeps/mips/soft-fp/sfp-machine.h
11253         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11254         * sysdeps/powerpc/soft-fp/sfp-machine.h
11255         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11256         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11257         Likewise.
11258         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11259         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11260         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11261         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11262         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11263         Likewise.
11264
11265 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
11266
11267         [BZ #16545]
11268         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
11269         model 1.
11270
11271 2014-02-12  Richard Henderson  <rth@redhat.com>
11272
11273         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
11274         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
11275         * sysdeps/unix/sysv/linux/alpha: Move directory from
11276         ports/sysdeps/unix/sysv/linux/alpha.
11277         * README: Update listing for alpha-*-linux-gnu.
11278
11279 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
11280
11281         * include/features.h: Update comment documenting feature test
11282         macros.
11283         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
11284         _DEFAULT_SOURCE.
11285         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
11286         (_SVID_SOURCE): Likewise.
11287         (_DEFAULT_SOURCE): Update description of default features.
11288         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
11289         with _GNU_SOURCE.
11290         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
11291         (S_ISVTX): Likewise.
11292         * manual/math.texi (Mathematical Constants): Likewise.
11293         * manual/signal.texi (Interrupted Primitives): Likewise.
11294         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
11295         * math/test-matherr.c (_SVID_SOURCE): Do not define.
11296         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
11297         Don't refer to _SVID_SOURCE in warning text.
11298
11299         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11300
11301         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
11302         already defined.
11303         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
11304         * sysdeps/mips/dl-lookup.c: Remove.
11305         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
11306
11307 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
11308
11309         [BZ #16447]
11310         * math/auto-libm-test-in: Add testcase for expl.
11311         * math/auto-libm-test-out: Regenerate.
11312         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
11313         calculation of unsafe.
11314         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
11315
11316 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
11317
11318         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
11319         * sysdeps/unix/sysv/linux/aarch64: Move directory from
11320         ports/sysdeps/unix/sysv/linux/aarch64.
11321         * README: Update listing for aarch64*-*-linux-gnu.
11322
11323 2014-02-11  Will Newton  <will.newton@linaro.org>
11324
11325         * manual/probes.texi (Mathematical Function Probes): Use
11326         "triggered" instead of "hit".
11327
11328         * manual/probes.texi (Internal Probes): Add documentation
11329         of setjmp, longjmp and longjmp_target probes.
11330
11331         * include/stap-probe.h: Add comment about probe argument
11332         format.
11333
11334         * malloc/mtrace.c (attribute_hidden): Remove unused macro
11335         definition.  (tr_where, tr_freehook, tr_mallochook,
11336         tr_reallochook, tr_memalignhook): Use ANSI protoype.
11337
11338 2014-02-11  David S. Miller  <davem@davemloft.net>
11339
11340         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
11341         processing int_tests.
11342
11343 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
11344
11345         * sysdeps/mips: Move directory from ports/sysdeps/mips.
11346         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
11347         * sysdeps/unix/sysv/linux/mips: Move directory from
11348         ports/sysdeps/unix/sysv/linux/mips.
11349         * README: Update listing for mips-*-linux-gnu and
11350         mips64-*-linux-gnu.
11351
11352 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
11353
11354         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
11355         * sysdeps/unix/sysv/linux/m68k: Move directory from
11356         ports/sysdeps/unix/sysv/linux/m68k.
11357         * README: Update listing for m68k-*-linux-gnu.
11358
11359 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
11360
11361         * sysdeps/tile: Move directory from ports/sysdeps/tile.
11362         * sysdeps/unix/sysv/linux/generic: Move directory from
11363         ports/sysdeps/unix/sysv/linux/generic.
11364         * sysdeps/unix/sysv/linux/tile: Move directory from
11365         ports/sysdeps/unix/sysv/linux/tile.
11366         * README: Update listing for tile*-*-linux-gnu.
11367
11368 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
11369
11370         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
11371         __builtin_expect.
11372         * benchtests/bench-memmem.c (simple_memmem): Likewise.
11373         * catgets/open_catalog.c (__open_catalog): Likewise.
11374         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
11375         * debug/confstr_chk.c: Likewise.
11376         * debug/fread_chk.c (__fread_chk): Likewise.
11377         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
11378         * debug/getgroups_chk.c: Likewise.
11379         * debug/mbsnrtowcs_chk.c: Likewise.
11380         * debug/mbsrtowcs_chk.c: Likewise.
11381         * debug/mbstowcs_chk.c: Likewise.
11382         * debug/memcpy_chk.c: Likewise.
11383         * debug/memmove_chk.c: Likewise.
11384         * debug/mempcpy_chk.c: Likewise.
11385         * debug/memset_chk.c: Likewise.
11386         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11387         * debug/strcat_chk.c (__strcat_chk): Likewise.
11388         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
11389         * debug/strncat_chk.c (__strncat_chk): Likewise.
11390         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
11391         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
11392         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
11393         * debug/wcpncpy_chk.c: Likewise.
11394         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11395         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
11396         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
11397         * debug/wcsncpy_chk.c: Likewise.
11398         * debug/wcsnrtombs_chk.c: Likewise.
11399         * debug/wcsrtombs_chk.c: Likewise.
11400         * debug/wcstombs_chk.c: Likewise.
11401         * debug/wmemcpy_chk.c: Likewise.
11402         * debug/wmemmove_chk.c: Likewise.
11403         * debug/wmempcpy_chk.c: Likewise.
11404         * debug/wmemset_chk.c: Likewise.
11405         * dirent/scandirat.c (SCANDIRAT): Likewise.
11406         * dlfcn/dladdr1.c (dladdr1): Likewise.
11407         * dlfcn/dladdr.c (dladdr): Likewise.
11408         * dlfcn/dlclose.c (dlclose_doit): Likewise.
11409         * dlfcn/dlerror.c (__dlerror): Likewise.
11410         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
11411         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
11412         * dlfcn/dlopen.c (dlopen_doit): Likewise.
11413         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
11414         * dlfcn/dlsym.c (dlsym_doit): Likewise.
11415         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
11416         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
11417         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
11418         Likewise.
11419         * elf/dl-conflict.c: Likewise.
11420         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
11421         * elf/dl-dst.h: Likewise.
11422         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
11423         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
11424         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
11425         * elf/dl-init.c (call_init, _dl_init): Likewise.
11426         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
11427         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
11428         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
11429         Likewise.
11430         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
11431         Likewise.
11432         * elf/dl-minimal.c (__libc_memalign): Likewise.
11433         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
11434         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11435         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
11436         * elf/dl-sym.c (do_sym): Likewise.
11437         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
11438         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
11439         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
11440         * elf/dl-writev.h (_dl_writev): Likewise.
11441         * elf/ldconfig.c (search_dir): Likewise.
11442         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
11443         (dl_main): Likewise.
11444         * elf/setup-vdso.h (setup_vdso): Likewise.
11445         * grp/compat-initgroups.c (compat_call): Likewise.
11446         * grp/fgetgrent.c (fgetgrent): Likewise.
11447         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
11448         * grp/putgrent.c (putgrent): Likewise.
11449         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11450         Likewise.
11451         * hurd/hurdinit.c: Likewise.
11452         * iconvdata/8bit-gap.c (struct): Likewise.
11453         * iconvdata/ansi_x3.110.c : Likewise.
11454         * iconvdata/big5.c : Likewise.
11455         * iconvdata/big5hkscs.c : Likewise.
11456         * iconvdata/cp1255.c: Likewise.
11457         * iconvdata/cp1258.c : Likewise.
11458         * iconvdata/cp932.c : Likewise.
11459         * iconvdata/euc-cn.c: Likewise.
11460         * iconvdata/euc-jisx0213.c : Likewise.
11461         * iconvdata/euc-jp.c: Likewise.
11462         * iconvdata/euc-jp-ms.c : Likewise.
11463         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
11464         * iconvdata/gb18030.c : Likewise.
11465         * iconvdata/gbbig5.c (const): Likewise.
11466         * iconvdata/gbgbk.c: Likewise.
11467         * iconvdata/gbk.c : Likewise.
11468         * iconvdata/ibm1364.c : Likewise.
11469         * iconvdata/ibm930.c : Likewise.
11470         * iconvdata/ibm932.c: Likewise.
11471         * iconvdata/ibm933.c : Likewise.
11472         * iconvdata/ibm935.c : Likewise.
11473         * iconvdata/ibm937.c : Likewise.
11474         * iconvdata/ibm939.c : Likewise.
11475         * iconvdata/ibm943.c: Likewise.
11476         * iconvdata/iso_11548-1.c: Likewise.
11477         * iconvdata/iso-2022-cn.c : Likewise.
11478         * iconvdata/iso-2022-cn-ext.c : Likewise.
11479         * iconvdata/iso-2022-jp-3.c: Likewise.
11480         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
11481         * iconvdata/iso-2022-kr.c : Likewise.
11482         * iconvdata/iso646.c (gconv_end): Likewise.
11483         * iconvdata/iso_6937-2.c : Likewise.
11484         * iconvdata/iso_6937.c : Likewise.
11485         * iconvdata/iso8859-1.c: Likewise.
11486         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
11487         * iconvdata/shift_jisx0213.c : Likewise.
11488         * iconvdata/sjis.c : Likewise.
11489         * iconvdata/t.61.c : Likewise.
11490         * iconvdata/tcvn5712-1.c : Likewise.
11491         * iconvdata/tscii.c: Likewise.
11492         * iconvdata/uhc.c : Likewise.
11493         * iconvdata/unicode.c (gconv_end): Likewise.
11494         * iconvdata/utf-16.c (gconv_end): Likewise.
11495         * iconvdata/utf-32.c (gconv_end): Likewise.
11496         * iconvdata/utf-7.c (base64): Likewise.
11497         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
11498         * iconv/gconv_close.c (__gconv_close): Likewise.
11499         * iconv/gconv_open.c (__gconv_open): Likewise.
11500         * iconv/gconv_simple.c (internal_ucs4_loop_single)
11501         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
11502         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
11503         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
11504         (ucs4le_internal_loop_single): Likewise.
11505         * iconv/iconv.c (iconv): Likewise.
11506         * iconv/iconv_close.c: Likewise.
11507         * iconv/loop.c (SINGLE): Likewise.
11508         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
11509         * include/atomic.h: Likewise.
11510         * inet/inet6_option.c (option_alloc): Likewise.
11511         * intl/bindtextdom.c (set_binding_values): Likewise.
11512         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
11513         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
11514         * intl/localealias.c (read_alias_file): Likewise.
11515         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11516         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
11517         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
11518         * libio/fmemopen.c (fmemopen): Likewise.
11519         * libio/iofgets.c (_IO_fgets): Likewise.
11520         * libio/iofgets_u.c (fgets_unlocked): Likewise.
11521         * libio/iofgetws.c (fgetws): Likewise.
11522         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11523         * libio/iogetdelim.c (_IO_getdelim): Likewise.
11524         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
11525         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
11526         * locale/findlocale.c (_nl_find_locale): Likewise.
11527         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
11528         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
11529         Likewise.
11530         * locale/setlocale.c (setlocale): Likewise.
11531         * login/programs/pt_chown.c (main): Likewise.
11532         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
11533         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
11534         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
11535         (mmap, mmap64, mremap, munmap): Likewise.
11536         * math/e_exp2l.c: Likewise.
11537         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
11538         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
11539         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
11540         * math/s_catan.c (__catan): Likewise.
11541         * math/s_catanf.c (__catanf): Likewise.
11542         * math/s_catanh.c (__catanh): Likewise.
11543         * math/s_catanhf.c (__catanhf): Likewise.
11544         * math/s_catanhl.c (__catanhl): Likewise.
11545         * math/s_catanl.c (__catanl): Likewise.
11546         * math/s_ccosh.c (__ccosh): Likewise.
11547         * math/s_ccoshf.c (__ccoshf): Likewise.
11548         * math/s_ccoshl.c (__ccoshl): Likewise.
11549         * math/s_cexp.c (__cexp): Likewise.
11550         * math/s_cexpf.c (__cexpf): Likewise.
11551         * math/s_cexpl.c (__cexpl): Likewise.
11552         * math/s_clog10.c (__clog10): Likewise.
11553         * math/s_clog10f.c (__clog10f): Likewise.
11554         * math/s_clog10l.c (__clog10l): Likewise.
11555         * math/s_clog.c (__clog): Likewise.
11556         * math/s_clogf.c (__clogf): Likewise.
11557         * math/s_clogl.c (__clogl): Likewise.
11558         * math/s_csin.c (__csin): Likewise.
11559         * math/s_csinf.c (__csinf): Likewise.
11560         * math/s_csinh.c (__csinh): Likewise.
11561         * math/s_csinhf.c (__csinhf): Likewise.
11562         * math/s_csinhl.c (__csinhl): Likewise.
11563         * math/s_csinl.c (__csinl): Likewise.
11564         * math/s_csqrt.c (__csqrt): Likewise.
11565         * math/s_csqrtf.c (__csqrtf): Likewise.
11566         * math/s_csqrtl.c (__csqrtl): Likewise.
11567         * math/s_ctan.c (__ctan): Likewise.
11568         * math/s_ctanf.c (__ctanf): Likewise.
11569         * math/s_ctanh.c (__ctanh): Likewise.
11570         * math/s_ctanhf.c (__ctanhf): Likewise.
11571         * math/s_ctanhl.c (__ctanhl): Likewise.
11572         * math/s_ctanl.c (__ctanl): Likewise.
11573         * math/w_pow.c: Likewise.
11574         * math/w_powf.c: Likewise.
11575         * math/w_powl.c: Likewise.
11576         * math/w_scalb.c (sysv_scalb): Likewise.
11577         * math/w_scalbf.c (sysv_scalbf): Likewise.
11578         * math/w_scalbl.c (sysv_scalbl): Likewise.
11579         * misc/error.c (error_tail): Likewise.
11580         * misc/pselect.c (__pselect): Likewise.
11581         * nis/nis_callback.c (__nis_create_callback): Likewise.
11582         * nis/nis_call.c (__nisfind_server): Likewise.
11583         * nis/nis_creategroup.c (nis_creategroup): Likewise.
11584         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
11585         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
11586         * nis/nis_getservlist.c (nis_getservlist): Likewise.
11587         * nis/nis_lookup.c (nis_lookup): Likewise.
11588         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
11589         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
11590         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
11591         * nis/nis_xdr.c (xdr_endpoint): Likewise.
11592         * nis/nss_compat/compat-grp.c (getgrent_next_file)
11593         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
11594         * nis/nss_compat/compat-initgroups.c (add_group)
11595         (internal_getgrent_r): Likewise.
11596         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
11597         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
11598         * nis/nss_compat/compat-spwd.c (getspent_next_file)
11599         (internal_getspnam_r): Likewise.
11600         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
11601         (_nss_nis_getaliasbyname_r): Likewise.
11602         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
11603         (_nss_nis_getntohost_r): Likewise.
11604         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
11605         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
11606         (_nss_nis_getgrgid_r): Likewise.
11607         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
11608         (internal_nis_gethostent_r, internal_gethostbyname2_r)
11609         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
11610         (_nss_nis_gethostbyname4_r): Likewise.
11611         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
11612         (initgroups_netid): Likewise.
11613         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
11614         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
11615         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
11616         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
11617         (_nss_nis_getprotobynumber_r): Likewise.
11618         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
11619         (_nss_nis_getsecretkey): Likewise.
11620         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
11621         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
11622         (_nss_nis_getpwuid_r): Likewise.
11623         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
11624         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
11625         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
11626         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
11627         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
11628         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
11629         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
11630         Likewise.
11631         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
11632         (_nss_nisplus_getntohost_r): Likewise.
11633         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
11634         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
11635         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
11636         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
11637         Likewise.
11638         * nis/nss_nisplus/nisplus-initgroups.c
11639         (_nss_nisplus_initgroups_dyn): Likewise.
11640         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
11641         (_nss_nisplus_getnetbyaddr_r): Likewise.
11642         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
11643         (_nss_nisplus_getprotobynumber_r): Likewise.
11644         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
11645         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
11646         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
11647         Likewise.
11648         * nis/nss_nisplus/nisplus-service.c
11649         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
11650         (_nss_nisplus_getservbyport_r): Likewise.
11651         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
11652         (_nss_nisplus_getspnam_r): Likewise.
11653         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
11654         Likewise.
11655         * nscd/aicache.c (addhstaiX): Likewise.
11656         * nscd/cache.c (cache_search, prune_cache): Likewise.
11657         * nscd/connections.c (register_traced_file, send_ro_fd)
11658         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
11659         (main_loop_epoll): Likewise.
11660         * nscd/grpcache.c (addgrbyX): Likewise.
11661         * nscd/hstcache.c (addhstbyX): Likewise.
11662         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11663         * nscd/mem.c (gc, mempool_alloc): Likewise.
11664         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
11665         (addinnetgrX): Likewise.
11666         * nscd/nscd-client.h (__nscd_acquire_maplock)
11667         (__nscd_drop_map_ref): Likewise.
11668         * nscd/nscd_getai.c (__nscd_getai): Likewise.
11669         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11670         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
11671         Likewise.
11672         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
11673         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11674         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
11675         (__nscd_get_map_ref): Likewise.
11676         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
11677         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
11678         Likewise.
11679         * nscd/pwdcache.c (addpwbyX): Likewise.
11680         * nscd/selinux.c (preserve_capabilities): Likewise.
11681         * nscd/servicescache.c (addservbyX): Likewise.
11682         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
11683         * posix/fnmatch.c (fnmatch): Likewise.
11684         * posix/getopt.c (_getopt_internal_r): Likewise.
11685         * posix/glob.c (glob, glob_in_dir): Likewise.
11686         * posix/wordexp.c (exec_comm_child): Likewise.
11687         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
11688         (getanswer_r, gaih_getanswer_slice): Likewise.
11689         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
11690         * resolv/res_init.c: Likewise.
11691         * resolv/res_mkquery.c (res_nmkquery): Likewise.
11692         * resolv/res_query.c (__libc_res_nquery): Likewise.
11693         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
11694         Likewise.
11695         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
11696         * stdio-common/perror.c (perror): Likewise.
11697         * stdio-common/printf_fp.c (___printf_fp): Likewise.
11698         * stdio-common/tmpnam.c (tmpnam): Likewise.
11699         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11700         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
11701         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11702         Likewise.
11703         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11704         * stdlib/putenv.c (putenv): Likewise.
11705         * stdlib/setenv.c (__add_to_environ): Likewise.
11706         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11707         * stdlib/strtol_l.c (INTERNAL): Likewise.
11708         * string/memmem.c (memmem): Likewise.
11709         * string/strerror.c (strerror): Likewise.
11710         * string/strnlen.c (__strnlen): Likewise.
11711         * string/test-memmem.c (simple_memmem): Likewise.
11712         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
11713         * sunrpc/pm_getport.c (__get_socket): Likewise.
11714         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
11715         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
11716         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
11717         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
11718         Likewise.
11719         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11720         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11721         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
11722         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
11723         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
11724         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
11725         Likewise.
11726         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
11727         Likewise.
11728         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
11729         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
11730         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11731         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11732         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11733         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
11734         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11735         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
11736         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
11737         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11738         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11739         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
11740         Likewise.
11741         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
11742         Likewise.
11743         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
11744         Likewise.
11745         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
11746         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11747         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
11748         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
11749         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11750         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
11751         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11752         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
11753         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
11754         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
11755         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
11756         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11757         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11758         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
11759         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11760         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11761         Likewise.
11762         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
11763         Likewise.
11764         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
11765         Likewise.
11766         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
11767         Likewise.
11768         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11769         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11770         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
11771         Likewise.
11772         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
11773         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
11774         * sysdeps/posix/opendir.c (__opendirat): Likewise.
11775         * sysdeps/posix/sleep.c: Likewise.
11776         * sysdeps/posix/tempname.c: Likewise.
11777         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
11778         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11779         Likewise.
11780         * sysdeps/powerpc/powerpc32/dl-machine.h
11781         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
11782         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11783         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11784         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
11785         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
11786         Likewise.
11787         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
11788         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
11789         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11790         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
11791         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11792         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
11793         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
11794         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
11795         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11796         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
11797         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
11798         (elf_machine_lazy_rel): Likewise.
11799         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11800         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
11801         (elf_machine_lazy_rel): Likewise.
11802         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
11803         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
11804         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
11805         * sysdeps/unix/grantpt.c (grantpt): Likewise.
11806         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
11807         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
11808         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11809         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11810         Likewise.
11811         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11812         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11813         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
11814         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
11815         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11816         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11817         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11818         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11819         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11820         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11821         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11822         Likewise.
11823         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11824         (__posix_fallocate64_l64): Likewise.
11825         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11826         (posix_fallocate): Likewise.
11827         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11828         Likewise.
11829         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11830         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11831         (getifaddrs_internal): Likewise.
11832         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11833         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11834         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11835         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11836         * sysdeps/unix/sysv/linux/posix_fallocate64.c
11837         (__posix_fallocate64_l64): Likewise.
11838         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11839         Likewise.
11840         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
11841         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11842         (__get_clockfreq): Likewise.
11843         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11844         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11845         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11846         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11847         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11848         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11849         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11850         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11851         Likewise.
11852         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11853         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11854         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11855         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11856         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11857         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11858         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11859         Likewise.
11860         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11861         (posix_fallocate): Likewise.
11862         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11863         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11864         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
11865         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11866         (elf_machine_rela, elf_machine_rela_relative)
11867         (elf_machine_lazy_rel): Likewise.
11868         * time/asctime.c (asctime_internal): Likewise.
11869         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11870         * time/tzset.c (__tzset_parse_tz): Likewise.
11871         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11872         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11873         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11874         * wcsmbs/wcsmbsload.h: Likewise.
11875
11876         [BZ #15894]
11877         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11878
11879         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11880         (arena_get2): Remove THREAD_STATS conditionals.
11881         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11882         (__malloc_stats, int): Likewise.
11883
11884 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
11885
11886         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11887         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
11888
11889         * manual/setjmp.texi: Fix typos/grammar errors.
11890
11891         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11892         Only return early when n is <= 0.  Delete unused return statement.
11893
11894         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
11895         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11896         * debug/tst-longjmp_chk3.c: New file.
11897
11898         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11899         (test_main): Replace code with set_fortify_handler call.
11900         * debug/test-strcpy_chk.c: Likewise.
11901         * debug/tst-chk1.c: Likewise.
11902         * debug/tst-longjmp_chk.c: Likewise.
11903         * test-skeleton.c: Include fcntl.h & paths.h
11904         (set_fortify_handler): Define.
11905
11906         * debug/tst-longjmp_chk.c: Add header comment and include
11907         ../test-skeleton.c.
11908         (do_test): Mark static.
11909         (TEST_FUNCTION): Define.
11910
11911         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11912         (IP_PMTUDISC_INTERFACE): Likewise.
11913         (IP_MULTICAST_IF): Likewise.
11914         (IP_MULTICAST_TTL): Likewise.
11915         (IP_MULTICAST_LOOP): Likewise.
11916         (IP_ADD_MEMBERSHIP): Likewise.
11917         (IP_DROP_MEMBERSHIP): Likewise.
11918         (IP_UNBLOCK_SOURCE): Likewise.
11919         (IP_BLOCK_SOURCE): Likewise.
11920         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11921         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11922         (IP_MSFILTER): Likewise.
11923         (MCAST_JOIN_GROUP): Likewise.
11924         (MCAST_BLOCK_SOURCE): Likewise.
11925         (MCAST_UNBLOCK_SOURCE): Likewise.
11926         (MCAST_LEAVE_GROUP): Likewise.
11927         (MCAST_JOIN_SOURCE_GROUP): Likewise.
11928         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11929         (MCAST_MSFILTER): Likewise.
11930         (IP_MULTICAST_ALL): Likewise.
11931         (IP_UNICAST_IF): Likewise.
11932
11933         * timezone/Makefile: Delete $(have-ksh) check.
11934         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11935         * timezone/tzselect.ksh: Add +x mode bits.
11936
11937         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11938         (ANON_INODE_FS_MAGIC): Likewise.
11939         (BDEVFS_MAGIC): Likewise.
11940         (BINFMTFS_MAGIC): Likewise.
11941         (BTRFS_TEST_MAGIC): Likewise.
11942         (CRAMFS_MAGIC_WEND): Likewise.
11943         (DEBUGFS_MAGIC): Likewise.
11944         (ECRYPTFS_SUPER_MAGIC): Likewise.
11945         (EXT3_SUPER_MAGIC): Likewise.
11946         (EXT4_SUPER_MAGIC): Likewise.
11947         (FUTEXFS_SUPER_MAGIC): Likewise.
11948         (HOSTFS_SUPER_MAGIC): Likewise.
11949         (HUGETLBFS_MAGIC): Likewise.
11950         (MINIX3_SUPER_MAGIC): Likewise.
11951         (MTD_INODE_FS_MAGIC): Likewise.
11952         (NILFS_SUPER_MAGIC): Likewise.
11953         (OPENPROM_SUPER_MAGIC): Likewise.
11954         (PIPEFS_MAGIC): Likewise.
11955         (PSTOREFS_MAGIC): Likewise.
11956         (QNX6_SUPER_MAGIC): Likewise.
11957         (RAMFS_MAGIC): Likewise.
11958         (REISERFS_SUPER_MAGIC_STRING): Likewise.
11959         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11960         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11961         (SECURITYFS_MAGIC): Likewise.
11962         (SELINUX_MAGIC): Likewise.
11963         (SMACK_MAGIC): Likewise.
11964         (SOCKFS_MAGIC): Likewise.
11965         (SQUASHFS_MAGIC): Likewise.
11966         (STACK_END_MAGIC): Likewise.
11967         (TMPFS_MAGIC): Likewise.
11968         (USBDEVICE_SUPER_MAGIC): Likewise.
11969         (V9FS_MAGIC): Likewise.
11970         (XENFS_SUPER_MAGIC): Likewise.
11971         (CRAMFS_MAGIC): Fix typo in comment.
11972         (EXT2_SUPER_MAGIC): Update comment.
11973         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11974
11975 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
11976
11977         * sysdeps/arm: Move directory from ports/sysdeps/arm.
11978         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11979         * sysdeps/unix/sysv/linux/arm: Move directory from
11980         ports/sysdeps/unix/sysv/linux/arm.
11981         * README: Update listing for arm-*-linux-gnueabi.
11982
11983         * README: Remove mention of am33.
11984
11985 2014-02-07  Roland McGrath  <roland@hack.frob.com>
11986
11987         * bits/sigset.h (__sigemptyset): Use a statement expression rather
11988         than the comma operator, to avoid "rhs of comma has no effect"
11989         compiler warnings.
11990         (__sigfillset, __sigandset, __sigorset): Likewise.
11991         * include/signal.h (__sigemptyset): Likewise.
11992         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11993
11994 2014-02-07  Allan McRae  <allan@archlinux.org>
11995
11996         * version.h (RELEASE): Set to "development".
11997         (VERSION): Set to "2.19.90"
11998         * NEWS: Add 2.20 section.
11999
12000 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
12001
12002         [BZ #16529]
12003         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
12004
12005 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
12006
12007         * manual/contrib.texi: Update entry for Carlos O'Donell,
12008         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
12009
12010 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
12011
12012         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
12013
12014         * sysdeps/unix/sysv/linux/kernel-features.h
12015         [__LINUX_KERNEL_VERSION >= 0x020621]
12016         (__ASSUME_PROC_PID_TASK_COMM): Define.
12017
12018 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12019
12020         [BZ #16398]
12021         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
12022         conversion when destination buffer does not have enough space.
12023         * libio/tst-ftell-partial-wide.c: New test case.
12024         * libio/Makefile (tests): Add tst-ftell-partial-wide.
12025
12026         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
12027         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
12028         Leonard and Allan McRae.
12029
12030 2014-02-04  David S. Miller  <davem@davemloft.net>
12031
12032         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
12033         32-bit.
12034
12035 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12036
12037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
12038         New file
12039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
12040         New file
12041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
12042         New file.
12043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
12044         New file.
12045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
12046         New file.
12047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
12048         New file.
12049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
12050         New file.
12051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
12052         New file.
12053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
12054         New file.
12055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
12056         New file.
12057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
12058         New file.
12059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
12060         New file.
12061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
12062         New file.
12063
12064 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12065
12066         * nptl/shlib-versions: Change powerpc*le start to 2.17.
12067         * shlib-versions: Likewise.
12068
12069 2014-02-04  Roland McGrath  <roland@hack.frob.com>
12070             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12071
12072         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
12073         (abilist-pattern): New variable, set to %-le.abilist.
12074
12075         * Makerules (abilist-pattern): New variable.
12076         (vpath): Use $(abilist-pattern) in place of %.abilist.
12077         (check-abi-% pattern rule): Likewise.
12078         (check-abi, update-abi): Likewise.
12079
12080 2014-02-04  Eric Wong  <normalperson@yhbt.net>
12081
12082         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12083
12084 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
12085
12086         * manual/startup.texi: Add next, previous, and top entries for
12087         the `Program Arguments' and `Environment Variables' nodes.
12088
12089 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
12090
12091         * manual/macros.texi: Add comments before MTASC-safety macros.
12092
12093         * manual/users.texi: Document MTASC-safety properties.
12094
12095         * manual/threads.texi (pthread_key_create, pthread_key_delete)
12096         (pthread_getspecific, pthread_setspecific): Format with
12097         @deftypefun, and add @safety note.
12098         * manual/signal.texi: Move comments that analyze the above
12099         functions to their home place.
12100
12101 2014-02-03  Allan McRae  <allan@archlinux.org>
12102
12103         * po/sl.po: Update Slovenian translation from translation project.
12104
12105 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
12106
12107         * manual/time.texi (timegm): Add missing blank after @c.
12108         Reported by Joseph Myers <joseph@codesourcery.com>.
12109
12110 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
12111
12112         * manual/check-safety.sh: New.
12113         * manual/Makefile ($(objpfx)stamp-summary): Run it.
12114
12115         * manual/terminal.texi: Document MTASC-safety properties.
12116
12117         * manual/filesys.texi: Document MTASC-safety properties.
12118
12119         * manual/errno.texi: Document MTASC-safety properties.
12120
12121         * manual/intro.texi: Document safety identifiers and
12122         conditionals.
12123
12124         * manual/string.texi (wcstok): Fix prototype.
12125         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
12126
12127         * manual/time.texi: Document MTASC-safety properties.
12128
12129         * manual/string.texi: Document MTASC-safety properties.
12130
12131         * manual/threads.texi: Document MTASC-safety properties.
12132
12133         * manual/stdio.texi: Document MTASC-safety properties.
12134
12135         * manual/syslog.texi: Document MTASC-safety properties.
12136
12137         * manual/sysinfo.texi: Document MTASC-safety properties.
12138
12139         * manual/startup.texi: Document MTASC-safety properties.
12140
12141         * manual/socket.texi: Document MTASC-safety properties.
12142
12143         * manual/signal.texi: Document MTASC-safety properties.
12144
12145 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
12146
12147         * manual/setjmp.texi: Document MTASC-safety properties.
12148
12149         * manual/search.texi: Document MTASC-safety properties.
12150
12151         * manual/resource.texi: Document MTASC-safety properties.
12152
12153         * manual/process.texi: Document MTASC-safety properties.
12154
12155         * manual/platform.texi: Document MTASC-safety properties.
12156
12157         * manual/pipe.texi: Document MTASC-safety properties.
12158
12159         * manual/pattern.texi: Document MTASC-safety properties.
12160
12161         * manual/message.texi: Document MTASC-safety properties.
12162
12163         [BZ #12751]
12164         * manual/memory.texi: Document MTASC-safety properties.
12165
12166         * manual/math.texi: Document MTASC-safety properties.
12167
12168         * manual/locale.texi: Document MTASC-safety properties.
12169
12170         * manual/llio.texi: Document MTASC-safety properties.
12171
12172         * manual/libdl.texi: New.
12173
12174         * manual/lang.texi: Document MTASC-safety properties.
12175
12176         * manual/job.texi: Document MTASC-safety properties.
12177
12178         * manual/getopt.texi: Document MTASC-safety properties.
12179
12180         * manual/ctype.texi: Document MTASC-safety properties.
12181
12182 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
12183
12184         [BZ #16046]
12185         * csu/libc-tls.c (static_map): Remove variable.
12186         (__libc_setup_tls): Use main executable's link map for TLS data.
12187         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
12188         casing for LM_ID_BASE and GL(dl_nns).
12189         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
12190         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
12191         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
12192         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
12193         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
12194         member.
12195         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
12196         l_phnum members.
12197
12198 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
12199
12200         * manual/debug.texi: Document MTASC-safety properties.
12201
12202 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
12203
12204         [BZ #16510]
12205         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
12206         of __x86_64__ when disabling x87 inline functions.
12207
12208 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
12209
12210         * manual/charset.texi: Document MTASC-safety properties.
12211
12212         * manual/crypt.texi: Document MTASC-safety properties.
12213
12214         * manual/conf.texi: Document MTASC-safety properties.
12215
12216         * manual/arith.texi: Document MTASC-safety properties.
12217
12218         * manual/argp.texi: Document MTASC-safety properties.
12219
12220         * manual/macros.texi: Introduce macros to document multi
12221         thread, asynchronous signal and asynchronous cancellation
12222         safety properties.
12223         * manual/intro.texi: Introduce the properties themselves.
12224
12225 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12226
12227         * sysdeps/sh/sh4/Makefile: New file.
12228
12229 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
12230
12231         * math/gen-libm-test.pl ($srcdir): New variable.
12232         ($auto_input): Use it.
12233
12234 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12235
12236         [BZ #16506]
12237         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
12238         access beyond array bounds when parsing netgroups file.
12239
12240         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
12241         the old buffer before realloc.
12242
12243 2014-01-27  Allan McRae  <allan@archlinux.org>
12244
12245         * po/fr.po: Update French translation from translation project.
12246
12247 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12248
12249         * sysdeps/sh/libm-test-ulps: Regenerate.
12250
12251 2014-01-24  David S. Miller  <davem@davemloft.net>
12252
12253         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
12254
12255 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12256
12257         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
12258         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
12259
12260 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12261
12262         [BZ #16474]
12263         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
12264         string pointers after reallocation.
12265
12266 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12267
12268         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
12269         __SH4A__ instead of __SH_FPU_ANY__.
12270
12271 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12272
12273         * sysdeps/sh/fpu_control.h: New file.
12274         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
12275         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
12276         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
12277         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
12278         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
12279         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
12280         * sysdeps/sh/sys/ucontext.h: Remove.
12281         * sysdeps/sh/sys: Remove directory.
12282
12283 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12284
12285         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
12286         s390/sys/ucontext.h.
12287         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
12288         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
12289
12290 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
12291
12292         [BZ #15605]
12293         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
12294
12295 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12296
12297         [BZ#16431]
12298         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12299         Adjust the vDSO correctly for internal calls.
12300         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
12301
12302 2014-01-20  Allan McRae  <allan@archlinux.org>
12303
12304         * po/ca.po: Update Catalan translation from translation project.
12305
12306 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
12307
12308         * sysdeps/s390/sotruss-lib.c: New file.
12309
12310 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12311
12312         [BZ#16430]
12313         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
12314         (__GI___gettimeofday): Alias for a different internal symbol to avoid
12315         local calls issues by not having a PLT stub required for IFUNC calls.
12316         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
12317
12318 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
12319
12320         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
12321         * math/test-fpucw-static.c: Likewise.
12322
12323 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12324
12325         [BZ #16453]
12326         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
12327
12328 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12329
12330         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
12331         implementation for powerpc.
12332
12333 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
12334
12335         [BZ #14782]
12336         * sysdeps/posix/system.c (__libc_system): Do not enable
12337         asynchronous cancellation.
12338
12339 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12340
12341         [BZ #16427]
12342         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
12343         handling only for numbers special also in the IEEE case.
12344
12345 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12346
12347         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12348
12349 2014-01-11  Allan McRae  <allan@archlinux.org>
12350
12351         * po/bg.po: Update Bulgarian translation from translation project.
12352
12353         * po/de.po: Update German translation from translation project.
12354
12355 2014-01-10  Roland McGrath  <roland@hack.frob.com>
12356
12357         * sysdeps/generic/gcc-compat.h: New file.
12358
12359 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12360
12361         * benchtests/asin-inputs: Correct slow inputs.
12362         * benchtests/acos-inputs: Likewise.
12363
12364 2014-01-10  Allan McRae  <allan@archlinux.org>
12365
12366         * po:sv.po: Update Swedish translation from translation project.
12367
12368         * po/vi.po: Update Vietnamese translation from translation project.
12369
12370         * po/eo.po: Update Esperanto translation from translation project.
12371
12372         * po/cs.po: Update Czech translation from translation project.
12373
12374         * po/nl.po: Update Dutch translation from translation project.
12375
12376         * po/pl.po: Update Polish translation from translation project.
12377
12378         * po/ru.po: Update Russian translation from translation project.
12379
12380         * po/uk.po: Update Ukrainian translation from translation project.
12381
12382 2014-01-08  Brooks Moses  <bmoses@google.com>
12383
12384         * elf/dl-load.c: Fix comment typo.
12385
12386 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
12387
12388         * po/header.pot: Rename to...
12389         * po/pot.header: ... this.
12390         * po/Makefile: Use pot.header.
12391
12392 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
12393             Maxim Kuvyrkov  <maxim@kugelworks.com>
12394
12395         [BZ #16394]
12396         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
12397         SRC and DEST against LEN.
12398
12399 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12400
12401         [BZ #16414]
12402         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
12403         implementation.
12404         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
12405
12406 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12407
12408         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12409
12410 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
12411
12412         [BZ #16408]
12413         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
12414         for large positive arguments.
12415
12416 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
12417
12418         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12419
12420         * math/auto-libm-test-in: Mark various tests with
12421         xfail-rounding:ldbl-128ibm.
12422         * math/auto-libm-test-out: Regenerated.
12423
12424         [BZ #16407]
12425         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
12426         Increase overflow threshold.
12427
12428 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
12429
12430         [BZ #14286]
12431         * stdio-common/vfprintf.c: Check for integer overflow.
12432
12433 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12434
12435         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
12436         the first argument and return value of __tls_get_addr_internal.
12437
12438 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12439
12440         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
12441         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
12442
12443 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12444
12445         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
12446         * sysdeps/s390/rtld-global-offsets.sym: New file.
12447         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
12448         GLIBC_2.19 symbol.
12449         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
12450         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
12451         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12452         ... this.
12453         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
12454         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12455         ... this.
12456         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12457         Regenerate.
12458         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12459         Regenerate.
12460         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
12461         halfs of GPRs for high_gprs contexts.
12462         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
12463         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
12464         field.
12465         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
12466         uc_flags field.
12467         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
12468         64 bit versions:
12469         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
12470         for high GPRs (uc_high_gprs) and for future extensions
12471         (__reserved).
12472         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
12473         for future extensions (__reserved).
12474         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
12475         64 bit versions:
12476         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
12477         SC_HIGHGPRS offset definition.
12478         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
12479         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
12480
12481         * Versions.def: Add GLIBC_2.19 for libpthread.
12482         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
12483         siglongjmp for libpthread with GLIBC_2.19 symver.
12484         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
12485         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
12486         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
12487         * sysdeps/s390/__longjmp.c: New file.
12488         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
12489         * sysdeps/s390/longjmp.c: New file.
12490         * sysdeps/s390/setjmp.S: New file.
12491         * sysdeps/s390/sigjmp.S: New file.
12492         * sysdeps/s390/v1-longjmp.c: New file.
12493         * sysdeps/s390/v1-setjmp.h: New file.
12494         * sysdeps/s390/v1-sigjmp.c: New file.
12495         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
12496         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
12497         GLIBC_2.19 version.
12498         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
12499         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
12500         versioned symbols for ____longjmp_chk.
12501         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12502         Likewise.
12503         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12504         Regenerate.
12505         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12506         Regenerate.
12507         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12508         Regenerate.
12509         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12510         Regenerate.
12511         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
12512         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
12513         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
12514         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
12515         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
12516         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
12517         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
12518         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
12519         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
12520         * sysdeps/s390/rtld-__longjmp.c: New file.
12521         * sysdeps/s390/rtld-setjmp.S: New file.
12522
12523 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
12524
12525         [BZ #16400]
12526         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12527         Return -__logl (x) for small positive arguments without evaluating
12528         a polynomial.
12529
12530 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
12531
12532         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
12533         Rename to ...
12534         (__ptrace_peeksiginfo_args): ... this.
12535         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12536         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12537         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12538
12539 2014-01-06  Allan McRae  <allan@archlinux.org>
12540
12541         * inet/netinet/in.h: Fix typo in comment.
12542
12543 2014-01-05  Andreas Jaeger  <aj@suse.de>
12544
12545         * sysdeps/i386/fpu/libm-test-ulps: Update.
12546
12547 2014-01-05  Allan McRae  <allan@archlinux.org>
12548
12549         * po/libc.pot: Regenerated.
12550
12551         * malloc/memusagestat.c: Fix gettext call formatting.
12552
12553 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
12554
12555         * nscd/nscd.c: Improve usage() output.
12556
12557 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
12558
12559         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
12560         * sysdeps/unix/sysv/linux/configure: Regenerated.
12561         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
12562         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
12563
12564 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
12565
12566         [BZ #16390]
12567         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12568         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
12569
12570 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12571
12572         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
12573         extra tokens at end of #undef directive.
12574         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
12575         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
12576         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12577
12578 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
12579
12580         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12581
12582         * math/auto-libm-test-in: Mark various tests with
12583         xfail-rounding:ldbl-128ibm.
12584         * math/auto-libm-test-out: Regenerated.
12585
12586 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
12587
12588         [BZ #16386]
12589         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
12590         numbers with subnormal high part when calculating exponent.
12591
12592         [BZ #16385]
12593         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
12594         fabs.
12595
12596         [BZ #16384]
12597         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
12598         M_LN2l.
12599         (__ieee754_acoshl): Use __log1pl not __log1p.
12600
12601 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
12602
12603         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
12604         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
12605         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
12606         (grow_heap, heap_trim, _int_new_arena, get_free_list)
12607         (reused_arena, arena_get2): Convert to GNU style.
12608         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
12609         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
12610         (memalign_check, __malloc_set_state): Likewise.
12611         * malloc/mallocbug.c (main): Likewise.
12612         * malloc/malloc.c (__malloc_assert, malloc_init_state)
12613         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
12614         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
12615         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
12616         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
12617         (__posix_memalign, malloc_info): Likewise.
12618         * malloc/malloc.h: Likewise.
12619         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
12620         (mallochook, memalignhook, reallochook, mabort): Likewise.
12621         * malloc/mcheck.h: Likewise.
12622         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
12623         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
12624         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
12625         * malloc/morecore.c (__default_morecore): Likewise.
12626         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
12627         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
12628         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
12629         (print_and_abort): Likewise.
12630         * malloc/obstack.h: Likewise.
12631         * malloc/set-freeres.c (__libc_freeres): Likewise.
12632         * malloc/tst-mallocstate.c (main): Likewise.
12633         * malloc/tst-mtrace.c (main): Likewise.
12634         * malloc/tst-realloc.c (do_test): Likewise.
12635
12636 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12637
12638         [BZ #16366]
12639         * nscd/netgroupcache.c (do_notfound): New function.
12640         (addgetnetgrentX): Use it.
12641
12642         [BZ # 16365]
12643         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
12644         NSS_STATUS_NOTFOUND.
12645
12646 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
12647
12648         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12650
12651 2014-01-01  Allan McRae  <allan@archlinux.org>
12652
12653         * scripts/update-copyrights: Update configure input file suffix.
12654
12655         * NEWS: Update copyright year.
12656         * catgets/gencat.c: Likewise.
12657         * csu/version.c: Likewise.
12658         * debug/catchsegv.sh: Likewise.
12659         * debug/pcprofiledump.c: Likewise.
12660         * debug/xtrace.sh: Likewise.
12661         * elf/ldconfig.c: Likewise.
12662         * elf/ldd.bash.in: Likewise.
12663         * elf/pldd.c: Likewise.
12664         * elf/sotruss.ksh: Likewise.
12665         * elf/sprof.c: Likewise.
12666         * iconv/iconv_prog.c: Likewise.
12667         * iconv/iconvconfig.c: Likewise.
12668         * locale/programs/locale.c: Likewise.
12669         * locale/programs/localedef.c: Likewise.
12670         * login/programs/pt_chown.c: Likewise.
12671         * malloc/memusage.sh: Likewise.
12672         * malloc/memusagestat.c: Likewise.
12673         * malloc/mtrace.pl: Likewise.
12674         * manual/libc.texinfo: Likewise.
12675         * nscd/nscd.c: Likewise.
12676         * nss/getent.c: Likewise.
12677         * nss/makedb.c: Likewise.
12678         * posix/getconf.c: Likewise.
12679         * scripts/test-installation.pl: Likewise.
12680
12681         * All files with FSF copyright notices: Update copyright dates
12682         using scripts/update-copyrights.
12683         * intl/plural.c: Regenerated.
12684         * locale/programs/charmap-kw.h: Likewise.
12685         * locale/programs/locfile-kw.h: Likewise.
12686
12687 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
12688
12689         * sysdeps/unix/sysv/linux/configure: Regenerated.
12690         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
12691         the linux/fanotify.h header.
12692         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
12693         HAVE_LINUX_FANOTIFY_H is defined.
12694
12695 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
12696
12697         * benchtests/cos-inputs: New inputs.
12698         * benchtests/sin-inputs: Likewise.
12699
12700         * benchtests/atan-inputs: New inputs. Fix name of multiple
12701         precision fallback inputs.
12702
12703         * benchtests/atanh-inputs: New inputs.
12704         * benchtests/tanh-inputs: Likewise.
12705
12706         * benchtests/acosh-inputs: New inputs.
12707         * benchtests/asinh-inputs: Likewise.
12708
12709         * benchtests/cosh-inputs: New inputs.
12710         * benchtests/sinh-inputs: Likewise.
12711
12712         * benchtests/acos-inputs: Add more inputs.
12713         * benchtests/asin-inputs: Likewise.
12714
12715 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
12716
12717         [BZ #16375]
12718         * manual/arith.texi: Fix spelling.
12719         * manual/charset.texi: Likewise.
12720         * manual/errno.texi: Likewise.
12721         * manual/filesys.texi: Likewise.
12722         * manual/lang.texi: Likewise.
12723         * manual/llio.texi: Likewise.
12724         * manual/locale.texi: Likewise.
12725         * manual/message.texi: Likewise.
12726         * manual/resource.texi: Likewise.
12727         * manual/search.texi: Likewise.
12728         * manual/setjmp.texi: Likewise.
12729         * manual/stdio.texi: Likewise.
12730         * manual/string.texi: Likewise.
12731         * manual/sysinfo.texi: Likewise.
12732         * manual/time.texi: Likewise.
12733
12734 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
12735
12736         * po/sl.po: New file.
12737
12738 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
12739
12740         * .gitignore: Add core/.gdbinit/.gdb_history.
12741
12742 2013-12-27  Allan McRae  <allan@archlinux.org>
12743
12744         [BZ #16369]
12745         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
12746         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
12747
12748 2013-12-24  Brooks Moses  <bmoses@google.com>
12749
12750         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
12751         all compilers that claim C++98 compliance, not just GCC.
12752         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
12753         Likewise.
12754
12755 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
12756
12757         * NEWS: Restore accidentally deleted bug-fix entries.
12758
12759 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
12760             Ondřej Bílka  <neleai@seznam.cz>
12761
12762         [BZ #15073]
12763         * malloc/malloc.c (_int_free): Perform sanity check only if we
12764         have_lock.
12765
12766 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
12767
12768         [BZ #12986]
12769         * manual/stdio.texi (String Input Conversions): Clarify that character
12770         classes are not supported.
12771
12772 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12773
12774         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12775
12776 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
12777
12778         [BZ #16337]
12779         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12780         Calculate results for small negative arguments directly rather
12781         than using reflection formula with special underflow handling.
12782
12783         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
12784         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
12785         sysdeps/unix/bsd/bsd4.4/syscalls.list.
12786         (fchflags): Likewise.
12787         (revoke): Likewise.
12788         (setlogin): Likewise.
12789         (sigaltstack): Likewise.
12790         (wait4): Likewise.
12791         (sigblock): Remove.
12792         (sigsetmask): Likewise.
12793         (wait3): Likewise.
12794         (waitpid): Likewise.
12795         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
12796         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
12797         file.
12798         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
12799         * sysdeps/unix/bsd/Makefile: ... here.
12800         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
12801         * sysdeps/unix/bsd/Versions: ... here.
12802         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
12803         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
12804         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
12805         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
12806         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
12807         * sysdeps/unix/bsd/sigblock.c: ... here.
12808         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
12809         * sysdeps/unix/bsd/sigsetmask.c: ... here.
12810         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
12811         * sysdeps/unix/bsd/sigvec.c: ... here.
12812         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
12813         * sysdeps/unix/bsd/tcdrain.c: ... here.
12814         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
12815         * sysdeps/unix/bsd/tcgetattr.c: ... here.
12816         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12817         * sysdeps/unix/bsd/tcsetattr.c: ... here.
12818         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12819         * sysdeps/unix/bsd/wait.c: ... here.
12820         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12821         * sysdeps/unix/bsd/wait3.c: ... here.
12822         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12823         * sysdeps/unix/bsd/waitpid.c: ... here.
12824
12825 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
12826
12827         [BZ #16356]
12828         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12829         round-to-nearest for [!USE_AS_EXPM1L].
12830         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12831         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
12832         more tests of exp and exp10.  Expect some exp10 tests to miss
12833         exceptions or fail in directed rounding modes.
12834         * math/auto-libm-test-out: Regenerated.
12835         * math/libm-test.inc (exp10_tonearest_test_data): New array.
12836         (exp10_test_tonearest): New function.
12837         (exp10_towardzero_test_data): New array.
12838         (exp10_test_towardzero): New function.
12839         (exp10_downward_test_data): New array.
12840         (exp10_test_downward): New function.
12841         (exp10_upward_test_data): New array.
12842         (exp10_test_upward): New function.
12843         (main): Call the new functions.
12844         * sysdeps/i386/fpu/libm-test-ulps: Update.
12845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12846
12847 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
12848
12849         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12850         asinh, atan, atan2, atanh, cbrt, cos and cosh.
12851         * math/auto-libm-test-out: Regenerated.
12852         * math/libm-test.inc (acosh_test_data): Add more tests.
12853         (atanh_test_data): Likewise.
12854         (ceil_test_data): Likewise.
12855         (copysign_test_data): Likewise.
12856         * sysdeps/i386/fpu/libm-test-ulps: Update.
12857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12858
12859         * timezone/checktab.awk: Update from tzcode 2013i.
12860         * timezone/private.h: Likewise.
12861         * timezone/scheck.c: Likewise.
12862         * timezone/tzfile.h: Likewise.
12863         * timezone/tzselect.ksh: Likewise.
12864         * timezone/zdump.c: Likewise.
12865         * timezone/zic.c: Likewise.
12866
12867         * math/auto-libm-test-in: Add tests of cpow.
12868         * math/auto-libm-test-out: Regenerated.
12869         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
12870         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12871         mpc_cc_c.
12872         (func_calc_desc): Add mpc_cc_c union field.
12873         (test_functions): Add cpow.
12874         (special_fill_2pi): New function.
12875         (special_real_inputs): Add 2pi.
12876         (calc_generic_results): Handle mpc_cc_c.
12877         * sysdeps/i386/fpu/libm-test-ulps: Update.
12878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12879
12880         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12881         csqrt, ctan and ctanh.
12882         * math/auto-libm-test-out: Regenerated.
12883         * math/libm-test.inc (TEST_COND_x86_64): New macro.
12884         (TEST_COND_x86): Likewise.
12885         (ccos_test_data): Use AUTO_TESTS_c_c.
12886         (ccosh_test_data): Likewise.
12887         (cexp_test_data): Likewise.
12888         (clog_test_data): Likewise.
12889         (csqrt_test_data): Likewise.
12890         (ctan_test_data): Likewise.
12891         (ctan_tonearest_test_data): Likewise.
12892         (ctan_towardzero_test_data): Likewise.
12893         (ctan_downward_test_data): Likewise.
12894         (ctan_upward_test_data): Likewise.
12895         (ctanh_test_data): Likewise.
12896         (ctanh_tonearest_test_data): Likewise.
12897         (ctanh_towardzero_test_data): Likewise.
12898         (ctanh_downward_test_data): Likewise.
12899         (ctanh_upward_test_data): Likewise.
12900         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12901         mpc_c_c.
12902         (func_calc_desc): Add mpc_c_c union field.
12903         (FUNC_mpc_c_c): New macro.
12904         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12905         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12906         ctanh.
12907         (special_fill_min_subnorm_p120): New function.
12908         (special_real_inputs): Add min_subnorm_p120.
12909         (calc_generic_results): Handle mpc_c_c.
12910         * sysdeps/i386/fpu/libm-test-ulps: Update.
12911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12912
12913 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12914
12915         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12916         (do_sin_slow): New functions.
12917         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12918         (cslow2, csloww1, csloww2): Use the new functions.
12919
12920         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12921         Use M to change sign of result instead of X.  Assume X is
12922         positive.
12923         (csloww1): Likewise.
12924         (__sin): Adjust.
12925         (__cos): Adjust.
12926
12927         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12928         arguments A and DA.
12929         (__sin): Adjust.
12930         (__cos): Likewise.
12931
12932         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12933         (__cos): Likewise.
12934         (sloww1): Don't adjust sign of DX.
12935         (csloww1): Likewise.
12936         (sloww2): Use X directly and don't adjust sign of DX.
12937         (csloww2): Likewise.
12938
12939 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12940
12941         * math/auto-libm-test-in: Add tests of cabs and carg.
12942         * math/auto-libm-test-out: Regenerated.
12943         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12944         (carg_test_data): Likewise.
12945         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12946         mpc_c_f.
12947         (func_calc_desc): Add mpc_c_f union field.
12948         (test_functions): Add cabs and carg.
12949         (calc_generic_results): Handle mpc_c_f.
12950
12951         * sysdeps/powerpc/powerpc32/libgcc-compat.S
12952         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12953         as a macro and a compat symbol.
12954         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12955         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12956         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12957         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12958         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12959         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12960         not use .hidden.
12961         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12962         Likewise.
12963         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12964         Likewise.
12965         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12966         Likewise.
12967         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12968         Likewise.
12969         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12970         Likewise.
12971         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12972         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12973         from GLIBC_2.3.2.
12974
12975 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12976
12977         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12978
12979 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12980
12981         * manual/texinfo.tex: Update to version 2013-11-26.10 with
12982         trailing whitespace removed.
12983         * scripts/config.guess: Update to version 2013-11-29.
12984         * scripts/config.sub: Update to version 2013-10-01.
12985
12986         * math/auto-libm-test-in: Add tests of sincos.
12987         * math/auto-libm-test-out: Regenerated.
12988         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12989         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12990         mpfr_f_11.
12991         (func_calc_desc): Add mpfr_f_11 union field.
12992         (test_functions): Add sincos.
12993         (calc_generic_results): Handle mpfr_f_11.
12994         * sysdeps/i386/fpu/libm-test-ulps: Update.
12995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12996
12997 2013-12-19  Andreas Schwab  <schwab@suse.de>
12998
12999         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
13000         CALL_MCOUNT.
13001         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13002         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
13003         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
13004
13005 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
13006
13007         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
13008         * sysdeps/i386/fpu/libm-test-ulps: Update.
13009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13010
13011         [BZ #16293]
13012         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
13013         round-to-nearest mode when using frndint.
13014         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
13015         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
13016         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
13017         Likewise.
13018         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
13019         sinh test to fail.
13020         * math/auto-libm-test-out: Regenerated.
13021         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
13022         (TEST_COND_x86): Likewise.
13023         (expm1_tonearest_test_data): New array.
13024         (expm1_test_tonearest): New function.
13025         (expm1_towardzero_test_data): New array.
13026         (expm1_test_towardzero): New function.
13027         (expm1_downward_test_data): New array.
13028         (expm1_test_downward): New function.
13029         (expm1_upward_test_data): New array.
13030         (expm1_test_upward): New function.
13031         (main): Run the new test functions.
13032         * sysdeps/i386/fpu/libm-test-ulps: Update.
13033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13034
13035         * include/features.h: Update comment documenting feature test
13036         macros.  Mention _DEFAULT_SOURCE in comment.
13037         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
13038         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
13039         _BSD_SOURCE and _SVID_SOURCE.
13040         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
13041         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
13042         !_SVID_SOURCE]: Likewise.
13043         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13044         (__USE_POSIX_IMPLICITLY): Define.
13045         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13046         (_POSIX_SOURCE): Undefine and redefine.
13047         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13048         (_POSIX_C_SOURCE): Likewise.
13049         * manual/creature.texi (_DEFAULT_SOURCE): Document.
13050         (Feature Test Macros): Update documentation of default features.
13051
13052 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13053
13054         * benchtests/Makefile: Add bench-strtok.
13055         * benchtests/bench-strtok.c: New file: strtok benchtest.
13056
13057 2013-12-19  Allan McRae  <allan@archlinux.org>
13058
13059         * manual/install.texi: Suppress menu for plain text output.
13060         * INSTALL: Regenerated.
13061
13062 2013-12-18  Brooks Moses  <bmoses@google.com>
13063
13064         [BZ #15846]
13065         * misc/getauxval.c: Include errno.h.
13066         (__getauxval): Set errno to ENOENT if the requested type is not
13067         found.
13068         * misc/sys/auxv.h (getauxval): Document that it may set errno;
13069         don't declare with __attribute_const__.
13070         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
13071         * manual/startup.texi: Document that getauxval sets errno.
13072
13073 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
13074
13075         * math/auto-libm-test-in: Add tests of jn and yn.
13076         * math/auto-libm-test-out: Regenerated.
13077         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
13078         (yn_test_data): Likewise.
13079         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13080         mpfr_if_f.
13081         (func_calc_desc): Add mpfr_if_f union field.
13082         (FUNC_mpfr_if_f): New macro.
13083         (test_functions): Add jn and yn.
13084         (calc_generic_results): Assert type of second input for
13085         mpfr_ff_f.  Handle mpfr_if_f.
13086         (output_for_one_input_case): Disable all checking for arguments
13087         fitting floating-point types in case of an integer argument.
13088         * sysdeps/i386/fpu/libm-test-ulps: Update.
13089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13090
13091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13092         Don't expect fegetround reference in libm.so.
13093
13094 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13095
13096         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
13097         $(config-cflags-nofma).
13098
13099 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
13100
13101         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
13102         * math/auto-libm-test-out: Regenerated.
13103
13104         [BZ #16338]
13105         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
13106         to determine exponent and adjust argument to have exponent of -1.
13107         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
13108         log2.
13109         * math/auto-libm-test-out: Regenerated.
13110         * sysdeps/i386/fpu/libm-test-ulps: Update.
13111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13112
13113 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
13114
13115         * manual/probes.texi: Remove cases when per-thread arenas are
13116         disabled.
13117
13118 2013-12-18  Andreas Schwab  <schwab@suse.de>
13119
13120         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
13121         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
13122         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
13123         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
13124         * sysdeps/i386/i686/multiarch/Makefile: Update.
13125         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
13126
13127 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
13128
13129         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
13130         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
13131
13132 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
13133
13134         [BZ #15968]
13135         Support TZ transition times < 00:00:00.
13136         This is needed for version-3 tz-format files; it supports time
13137         stamps past 2037 for America/Godthab (the only entry in the tz
13138         database for which this change is relevant).
13139         * manual/time.texi (TZ Variable): Document transition times
13140         from -167:59:59 through -00:00:01.
13141         * time/tzset.c (tz_rule): Time of day is now signed.
13142         (__tzset_parse_tz): Parse negative time of day.
13143
13144         Document TZ transition times >= 25:00:00.
13145         * manual/time.texi (TZ Variable): Document transition times from
13146         25:00:00 through 167:59:59.  These are already supported, and this
13147         support will help with version-3 tz-format files.
13148
13149         * manual/time.texi (TZ Variable): Modernize North America example
13150         to reflect current (i.e., 2007-and-later) daylight saving rules.
13151
13152         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
13153
13154 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
13155
13156         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
13157         * sysdeps/unix/bsd/bits/stat.h: Likewise.
13158         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
13159         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13160         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
13161         * sysdeps/unix/bsd/bsdstat.h: Likewise.
13162         * sysdeps/unix/bsd/clock.c: Likewise.
13163         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
13164         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
13165         * sysdeps/unix/bsd/init-posix.c: Likewise.
13166         * sysdeps/unix/bsd/poll.c: Likewise.
13167         * sysdeps/unix/bsd/ptsname.c: Likewise.
13168         * sysdeps/unix/bsd/seekdir.c: Likewise.
13169         * sysdeps/unix/bsd/setegid.c: Likewise.
13170         * sysdeps/unix/bsd/seteuid.c: Likewise.
13171         * sysdeps/unix/bsd/setgid.c: Likewise.
13172         * sysdeps/unix/bsd/setrgid.c: Likewise.
13173         * sysdeps/unix/bsd/setruid.c: Likewise.
13174         * sysdeps/unix/bsd/setsid.c: Likewise.
13175         * sysdeps/unix/bsd/setuid.c: Likewise.
13176         * sysdeps/unix/bsd/sigaction.c: Likewise.
13177         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
13178         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
13179         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
13180         * sysdeps/unix/bsd/telldir.c: Likewise.
13181         * sysdeps/unix/bsd/times.c: Likewise.
13182         * sysdeps/unix/bsd/usleep.c: Likewise.
13183
13184         * misc/Makefile (install-lib): Remove libbsd-compat.a.
13185         ($(objpfx)libbsd-compat.a): Remove rule.
13186
13187         * include/features.h (__FAVOR_BSD): Do not define.
13188         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
13189         features conflicting with POSIX.
13190         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
13191         (_BSD_SOURCE): Remove description of not being a subset of other
13192         feature test macros.
13193         * manual/job.texi (getpgrp): Do not document BSD version.
13194         (getpgid): Do not document by reference to BSD getpgrp.
13195         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
13196         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
13197         * signal/signal.h [__FAVOR_BSD]: Likewise.
13198         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
13199         instead of making contents conditional on [__FAVOR_BSD].
13200         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
13201
13202 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13203
13204         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13205
13206 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
13207
13208         [BZ #16314]
13209         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
13210         values below 2**-450, not 2**-500.
13211         * math/auto-libm-test-in: Don't allow spurious underflow from
13212         hypot.
13213         * math/auto-libm-test-out: Regenerated.
13214
13215         [BZ #16316]
13216         [BZ #16330]
13217         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
13218         values of ha and hb and sort them after adjusting subnormal
13219         arguments.
13220         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13221         Likewise.
13222         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
13223         values of ea and eb and sort them after adjusting subnormal
13224         arguments.
13225         * math/auto-libm-test-in: Do not expect some hypot tests of
13226         subnormals to fail.  Add more hypot tests.
13227         * math/auto-libm-test-out: Regenerated.
13228
13229 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13230
13231         [BZ #13304]
13232         * sysdeps/sh/s_fma.c: New file.
13233         * sysdeps/sh/s_fmaf.c: New file.
13234         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
13235         version.
13236         * sysdeps/sh/Implies: Add sh/soft-fp.
13237
13238 2013-12-16  Roland McGrath  <roland@hack.frob.com>
13239
13240         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
13241         level of indirection to members `objname', `errstring', `malloced'.
13242         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
13243         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
13244         it as the __longjmp argument (just pass 1 instead).
13245         (_dl_catch_error): Initialize C with argument pointers and address of
13246         volatile local ERRCODE rather than copying values out of C at return.
13247
13248 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
13249
13250         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
13251         * math/auto-libm-test-out: Regenerated.
13252         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
13253         (hypot_test_data): Likewise.
13254         (pow_test_data): Likewise.
13255         (pow_tonearest_test_data): Likewise.
13256         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13257         mpfr_ff_f.
13258         (func_calc_desc): Add mpfr_ff_f union field.
13259         (FUNC_mpfr_ff_f): New macro.
13260         (test_functions): Add atan2, hypot and pow.
13261         (special_fill_min): New function.
13262         (special_fill_minus_min): Likewise.
13263         (special_fill_min_subnorm): Likewise.
13264         (special_fill_minus_min_subnorm): Likewise.
13265         (special_real_inputs): Add min, -min, min_subnorm and
13266         -min_subnorm.
13267         (calc_generic_results): Handle mpfr_ff_f.
13268         * sysdeps/i386/fpu/libm-test-ulps: Update.
13269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13270
13271 2013-12-16  Will Newton  <will.newton@linaro.org>
13272
13273         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
13274         (Aligned Memory Blocks): Add documentation for aligned_alloc
13275         and suggest it as an alternative to posix_memalign.
13276         (Hooks for Malloc): Document __memalign_hook is also called
13277         for aligned_alloc.  (Summary of Malloc): Add summary for
13278         aligned alloc.  Document __memalign_hook is also called
13279         for aligned_alloc.
13280
13281 2013-12-16  Will Newton  <will.newton@linaro.org>
13282
13283         * manual/memory.texi (Malloc Examples): Clarify default
13284         alignment documentation.  Suggest posix_memalign rather
13285         than memalign or valloc.
13286         (Aligned Memory Blocks): Remove suggestion to use memalign
13287         or valloc.  Remove obsolete comment about BSD.
13288         Document memalign errno values and mark the function obsolete.
13289         Document posix_memalign returned error codes.  Mark valloc
13290         as obsolete.  (Hooks for Malloc): __memalign_hook is also
13291         called for posix_memalign and valloc.
13292         (Summary of Malloc): Add posix_memalign to function summary.
13293         __memalign_hook is also called for posix_memalign and valloc.
13294
13295 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13296
13297         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
13298         TAYLOR_SIN.
13299         (__sin): Adjust.
13300         (__cos): Likewise.
13301         (sloww): Use mynumber union.  Expand ternary operator into
13302         if-else statements.
13303         (cslow): use mynumber union.
13304
13305 2013-12-16  Allan McRae  <allan@archlinux.org>
13306
13307         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
13308         * configure: Regenerated.
13309
13310         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
13311
13312         [BZ #14120]
13313         * configure.ac: Added --enable-maintainer-mode. Check for
13314         autoconf when enabled.
13315         * configure: Regenerated.
13316
13317         * nscd/nscd.service: New file.
13318         * nscd/nscd.tmpfiles: New file.
13319
13320 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
13321
13322         [BZ #12100]
13323         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
13324         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
13325         * sysdeps/x86_64/multiarch/strstr.c: ... here.
13326         (strstr): Add __strstr_sse2_unaligned ifunc.
13327         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
13328         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
13329         (strcasestr): Remove __strcasestr_sse42 ifunc.
13330         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
13331         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
13332         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13333
13334 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13335
13336         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
13337         * sysdeps/sh/bits/fenv.h: ... here.
13338         * sysdeps/sh/sh4/fpu/bits: Remove directory.
13339
13340 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13341
13342         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
13343
13344         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
13345         hypotf multiarch implementations.
13346         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
13347         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
13348         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
13349         multiarch hypot for PPC64.
13350         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
13351         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
13352         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
13353         multiarch hypotf for PPC64.
13354
13355         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
13356         modff multiarch implementations.
13357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
13358         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
13359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
13360         multiarch modf for PPC64.
13361         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
13362         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
13363         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
13364         multiarch modff for PPC64.
13365
13366         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
13367         and logl multiarch implementations.
13368         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
13369         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
13370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
13371         multiarch logb for PPC64.
13372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
13373         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
13374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
13375         multiarch logb for PPC64.
13376         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
13377         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
13378         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
13379         multiarch logb for PPC64.
13380
13381         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
13382         isinff multiarch implementation.
13383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
13384         file.
13385         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
13386         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
13387         multiarch isinf for PPC64.
13388         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
13389         file.
13390         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
13391         multiarch isinff for PPC64.
13392
13393         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
13394         finitef multiarch implementation.
13395         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
13396         file.
13397         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
13398         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
13399         multiarch finite for PPC64.
13400         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
13401         file.
13402         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
13403         multiarch finitef for PPC64.
13404
13405         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
13406         lrint multiarch implementation.
13407         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
13408         file.
13409         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
13410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
13411         multiarch llrint for PPC64.
13412         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
13413         multiarch lrint for PPC64.
13414
13415         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
13416         copysignf multiarch implementation.
13417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
13418         file.
13419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
13420         file.
13421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
13422         multiarch copysign for PPC64.
13423         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
13424         multiarch copysignf for PPC64.
13425
13426         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
13427         multiarch implementation.
13428         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
13429         file.
13430         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
13431         file.
13432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
13433         file.
13434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
13435         file.
13436         multiarch llround for PPC64.
13437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
13438         multiarch trunc for PPC64.
13439         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
13440         multiarch truncf for PPC64.
13441
13442         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
13443         multiarch implementation.
13444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
13445         file.
13446         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
13447         file.
13448         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
13449         file.
13450         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
13451         file.
13452         multiarch llround for PPC64.
13453         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
13454         multiarch round for PPC64.
13455         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
13456         multiarch roundf for PPC64.
13457
13458         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
13459         multiarch implementation.
13460         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
13461         file.
13462         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
13463         file.
13464         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
13465         file.
13466         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
13467         file.
13468         multiarch llround for PPC64.
13469         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
13470         multiarch floor for PPC64.
13471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
13472         multiarch floorf for PPC64.
13473
13474         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
13475         multiarch implementation.
13476         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
13477         file.
13478         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
13479         file.
13480         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
13481         file.
13482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
13483         file.
13484         multiarch llround for PPC64.
13485         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
13486         multiarch ceil for PPC64.
13487         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
13488         multiarch ceilf for PPC64.
13489
13490         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13491         multiarch implementation.
13492         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
13493         file.
13494         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
13495         file.
13496         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
13497         file.
13498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
13499         multiarch llround for PPC64.
13500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
13501         multiarch lround for PPC64.
13502
13503         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13504         multiarch implementation.
13505         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
13506         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
13507         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
13508         file.
13509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
13510         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
13511         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
13512         multiarch isnan for PPC64.
13513         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
13514         multiarch isnanf for PPC64.
13515
13516         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
13517         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
13518         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
13519         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
13520         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
13521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
13522
13523         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
13524         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13525         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13526         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13527
13528         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
13529         multiarch implementations.
13530         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13531         (__libc_ifunc_impl_list): Likewise.
13532         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13533         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
13534         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
13535         multiarch stpcpy for PPC64.
13536
13537         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
13538         multiarch implementations.
13539         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13540         (__libc_ifunc_impl_list): Likewise.
13541         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
13542         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
13543         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
13544         multiarch strcpy for PPC64.
13545
13546         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
13547         redefine function name.
13548         (_wordcopy_fwd_dest_aligned): Likewise.
13549         (_wordcopy_bwd_aligned): Likewise.
13550         (_wordcopy_bwd_dest_aligned): Likewise.
13551         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
13552         multiarch implementations.
13553         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13554         (__libc_ifunc_impl_list): Likewise.
13555         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
13556         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
13557         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
13558         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
13559         multiarch wcscpy for PPC64.
13560
13561         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
13562         multiarch implementations.
13563         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13564         (__libc_ifunc_impl_list): Likewise.
13565         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
13566         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
13567         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
13568         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
13569         multiarch wcscpy for PPC64.
13570
13571         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
13572         multiarch implementations.
13573         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13574         (__libc_ifunc_impl_list): Likewise.
13575         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
13576         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
13577         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
13578         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
13579         multiarch wcsrchr for PPC64.
13580
13581         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
13582         multiarch implementations.
13583         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13584         (__libc_ifunc_impl_list): Likewise.
13585         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
13586         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
13587         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
13588         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
13589         multiarch wcschr for PPC64.
13590
13591         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
13592         multiarch implementations.
13593         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13594         (__libc_ifunc_impl_list): Likewise.
13595         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
13596         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
13597         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
13598         multiarch strchrnul for PPC64.
13599
13600         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
13601         implementations.
13602         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13603         (__libc_ifunc_impl_list): Likewise.
13604         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
13605         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
13606         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
13607         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
13608         strchr for PPC64.
13609
13610         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
13611         implementations.
13612         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13613         (__libc_ifunc_impl_list): Likewise.
13614         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
13615         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
13616         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
13617         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
13618         strncmp for PPC64.
13619
13620         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
13621         multiarch implementations.
13622         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13623         (__libc_ifunc_impl_list): Likewise.
13624         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
13625         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
13626         strncasecmp for PPC64.
13627         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
13628         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
13629         multiarch strncasecmp_l for PPC64.
13630
13631         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
13632         multiarch implementations.
13633         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13634         (__libc_ifunc_impl_list): Likewise.
13635         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
13636         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
13637         multiarch strcasecmp for PPC64.
13638         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
13639         file.
13640         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
13641         multiarch strcasecmp_l for PPC64.
13642
13643         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
13644         implementations.
13645         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13646         (__libc_ifunc_impl_list): Likewise.
13647         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
13648         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
13649         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
13650         strnlen for PPC64.
13651
13652         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
13653         implementations.
13654         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13655         (__libc_ifunc_impl_list): Likewise.
13656         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
13657         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
13658         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
13659         strlen for PPC64.
13660
13661         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
13662         implementations.
13663         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13664         (__libc_ifunc_impl_list): Likewise.
13665         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
13666         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
13667         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
13668         rawmemrchr for PPC64.
13669
13670         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
13671         implementation.
13672         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13673         (__libc_ifunc_impl_list): Likewise.
13674         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
13675         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
13676         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
13677         memrchr for PPC64.
13678
13679         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
13680         implementation.
13681         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13682         (__libc_ifunc_impl_list): Likewise.
13683         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
13684         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
13685         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
13686         memchr for PPC64.
13687
13688         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
13689         implementation.
13690         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13691         (__libc_ifunc_impl_list): Likewise.
13692         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
13693         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
13694         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
13695         mempcpy for PPC64.
13696
13697         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
13698         avoid cretion of __bzero symbol.
13699         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
13700         Likewise.
13701         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
13702         Likewise.
13703         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
13704         Likewise.
13705         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
13706         multiarch implementations.
13707         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13708         (__libc_ifunc_impl_list): Likewise.
13709         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
13710         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
13711         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
13712         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
13713         bzero for PPC32.
13714         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
13715         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
13716         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
13717         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
13718         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
13719         memset for PPC64.
13720         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
13721
13722         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
13723         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
13724         implementations.
13725         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13726         (__libc_ifunc_impl_list): Likewise.
13727         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
13728         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
13729         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
13730         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
13731         memcmp for PPC64.
13732
13733         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
13734         multiarch for POWER/PPC64.
13735         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13736         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
13737         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
13738         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
13739         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
13740         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
13741         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
13742         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
13743         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
13744         memcpy for PPC64.
13745
13746         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
13747         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
13748         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
13749         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
13750         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
13751         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
13752         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
13753         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
13754         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
13755         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
13756         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
13757         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
13758         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
13759         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
13760         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
13761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
13762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
13763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
13764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
13765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
13766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
13767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
13768
13769 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13770
13771         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
13772
13773 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13774
13775         * benchtests/Makefile (bench): Add exp2 and log2.
13776         (LDLIBS-bench-exp2): Add -lm.
13777         (LDLIBS-bench-log2): Likewise.
13778         * benchtests/exp2-inputs: New inputs file.
13779         * benchtests/log2-inputs: New inputs file.
13780         * benchtests/log-inputs: Add new inputs.
13781         * benchtests/tan-inputs: Likewise.
13782
13783 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13784
13785         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
13786         definition...
13787         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
13788         (csloww2): ... from here.
13789
13790         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
13791         instead of structures.
13792         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
13793         (POLYNOMIAL): Likewise.
13794         (TAYLOR_SLOW): Likewise.
13795         (__sin): Likewise.
13796         (__cos): Likewise.
13797         (slow1): Likewise.
13798         (slow2): Likewise.
13799         (sloww): Likewise.
13800         (sloww1); Likewise.
13801         (sloww2): Likewise.
13802         (bsloww1): Likewise.
13803         (bsloww2): Likewise.
13804         (cslow2): Likewise.
13805         (csloww): Likewise.
13806         (csloww1): Likewise.
13807         (csloww2): Likewise.
13808
13809 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
13810
13811         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
13812         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
13813         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
13814         * malloc/hooks.c (realloc_check): Likewise.
13815
13816         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13817         * malloc/arena.c: Remove PER_THREAD conditional.
13818         [!PER_THREAD]: Remove code.
13819         (ptmalloc_unlock_all2): Likewise.
13820         (ptmalloc_init): Likewise.
13821         (_int_new_arena): Likewise.
13822         (arena_get2): Likewise.
13823         * malloc/hooks.c (__malloc_get_state): Likewise.
13824         (__malloc_set_state): Likewise.
13825         * malloc/malloc.c: Likewise.
13826         (struct malloc_state): Likewise.
13827         (struct malloc_par): Likewise.
13828         (__libc_realloc): Likewise.
13829         (__libc_mallopt): Likewise.
13830
13831 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13832
13833         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13834
13835 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
13836
13837         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13838         macro to a function.  Check for zero perturb_byte.
13839         (_int_malloc, _int_free): Remove zero perturb_byte checks.
13840
13841         * malloc/malloc.c: (force_reg): Remove.
13842         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13843         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
13844         force_reg by atomic_forced_read.
13845         * malloc/arena.c (ptmalloc_init): Likewise.
13846         * malloc/hooks.c (top_check): Likewise.
13847
13848 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13849
13850         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13851
13852 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
13853
13854         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13855
13856 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
13857
13858         * math/auto-libm-test-in: Add tests of lgamma.
13859         * math/auto-libm-test-out: Regenerated.
13860         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13861         (M_LOG_2_SQRT_PIl): Likewise.
13862         (lgamma_test_data): Use AUTO_TESTS_f_f1.
13863         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13864         mpfr_f_f1.
13865         (func_calc_desc): Add mpfr_f_f1 union field.
13866         (ARGS1): New macro.
13867         (ARGS2): Likewise.
13868         (ARGS3): Likewise.
13869         (ARGS4): Likewise.
13870         (RET1): Likewise.
13871         (RET2): Likewise.
13872         (CALC): Likewise.
13873         (FUNC): Likewise.
13874         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13875         (test_functions): Add lgamma.
13876         (calc_generic_results): Handle mpfr_f_f1.
13877         * sysdeps/i386/fpu/libm-test-ulps: Update.
13878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13879
13880 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13881
13882         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13883         __mpn_add_n for PowerPC64/POWER7.
13884         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13885         __mpn_sub_n for PowerPC64/POWER7.
13886
13887         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13888         __mpn_addmul_1 for PowerPC64.
13889         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13890         __mpn_submul_1 for PowerPC64.
13891         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13892         for PowerPC64.
13893         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
13894         for PowerPC64.
13895
13896 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
13897
13898         [BZ #15089]
13899         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13900
13901 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13902
13903         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13904
13905         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13906         add multiarch folders.
13907         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13908         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13909         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13910         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13911         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13912         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13913         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13914         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13915         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13916         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13917         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13924
13925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13926         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13928         New file.
13929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13930         New file.
13931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13932         multiarch __ieee754_hypot for PowerPC32.
13933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13934         New file.
13935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13936         New file.
13937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13938         multiarch __ieee754_hypotf for PowerPC32.
13939
13940         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13941         long_double_symbol only if __logbl is defined.
13942         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13943         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13944         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13945         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13946         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13947         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13948         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13949         path for implementation.
13950         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13951         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13953         logb, and logbl multiarch implementations for PowerPC32.
13954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13955         file.
13956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13957         file.
13958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13959         multiarch logb for PowerPC32.
13960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13961         file.
13962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13963         file.
13964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13965         multiarch logbf for PowerPC32.
13966         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13968         file.
13969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13970         multiarch logbl implementation for PowerPC32.
13971
13972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13973         and modff multiarch implementations.
13974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13975         New file.
13976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13977         New file.
13978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13979         multiarch modf for PowerPC32.
13980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13981         New file.
13982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13983         New file.
13984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13985         multiarch modff for PowerPC32.
13986
13987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13988         and lrintf multiarch implementations.
13989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13990         New file.
13991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13992         New file.
13993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13994         multiarch lrint for PowerPC32.
13995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13996         file: multiarch lrintf for PowerPC32.
13997
13998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13999         and lroundf multiarch implementations.
14000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
14001         New file.
14002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
14003         New file.
14004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
14005         New file.
14006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
14007         multiarch lround for PowerPC32.
14008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
14009         file: multiarch lroundf for PowerPC32.
14010
14011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
14012         copysign and copysignf multiarch implementations.
14013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
14014         New file.
14015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
14016         New file.
14017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
14018         file: multiarch copysign for PowerPC32.
14019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
14020         file: multiarch copysignf for PowerPC32.
14021
14022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
14023         and truncf multiarch implementations.
14024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
14025         New file.
14026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
14027         file.
14028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
14029         multiarch trunc for PowerPC32.
14030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
14031         New file.
14032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
14033         New file.
14034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
14035         multiarch truncf for PowerPC32.
14036
14037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
14038         and roundf multiarch implementations.
14039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
14040         New file.
14041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
14042         file.
14043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
14044         multiarch round for PowerPC32.
14045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
14046         New file.
14047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
14048         New file.
14049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
14050         multiarch roundf for PowerPC32.
14051
14052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
14053         and floorf multiarch implementations.
14054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
14055         New file.
14056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
14057         file.
14058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
14059         multiarch floor for PowerPC32.
14060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
14061         New file.
14062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
14063         New file.
14064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
14065         multiarch floorf for PowerPC32.
14066
14067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
14068         and ceilf multiarch implementations.
14069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
14070         New file.
14071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
14072         file.
14073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
14074         multiarch ceil for PowerPC32.
14075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
14076         New file.
14077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
14078         file.
14079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
14080         multiarch ceilf for PowerPC32.
14081
14082         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
14083         is defined.
14084         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
14085         FINITEF is defined.
14086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
14087         and finitef multiarch implementations.
14088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
14089         New file.
14090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
14091         file.
14092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
14093         multiarch finite for PowerPC32.
14094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
14095         New file.
14096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
14097         file: multiarch finitef for PowerPC32.
14098
14099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
14100         and isinff multiarch implementations.
14101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
14102         file.
14103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
14104         file.
14105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
14106         multiarch isinf for PowerPC32.
14107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
14108         New file.
14109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
14110         multiarch isinff for PowerPC32.
14111
14112         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
14113         alias when __isnan is defined.
14114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
14115         and isnanf multiarch implementations.
14116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
14117         file.
14118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
14119         file.
14120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
14121         file.
14122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
14123         file.
14124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
14125         multiarch isnan for PowerPC32.
14126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
14127         New file.
14128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
14129         New file.
14130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
14131         multiarch isnanf for PowerPC32.
14132
14133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
14134         and sqrtf multiarch implementations.
14135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
14136         file.
14137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
14138         file.
14139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
14140         multiarch sqrt for PowerPC32.
14141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
14142         file.
14143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
14144         file.
14145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
14146         multiarch sqrtf for PowerPC32.
14147
14148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
14149         and llroundf multiarch implementations.
14150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
14151         New file.
14152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
14153         New file.
14154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
14155         New file.
14156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
14157         file: multiarch llround for PowerPC32.
14158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
14159         file: multiarch llroundf for PowerPC32.
14160
14161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
14162         multiarch PowerPC32 fpu implementations.
14163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
14164         New file.
14165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
14166         New file.
14167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
14168         multiarch llrint for PowerPC32.
14169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
14170         New file.
14171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
14172         New file.
14173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
14174         file.
14175
14176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
14177
14178         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
14179         file.
14180         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
14181         file.
14182         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
14183         file.
14184         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
14185         multiarch wordcopy for PPC32.
14186         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14187         wordcopy objects.
14188         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14189         (__libc_ifunc_impl_list): Likewise.
14190         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
14191         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
14192         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
14193         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
14194         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
14195         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
14196
14197         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
14198         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
14199         file.
14200         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
14201         file.
14202         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
14203         file.
14204         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
14205         multiarch wcscpy for PPC32.
14206         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14207         multiarch objects.
14208         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14209         (__libc_ifunc_impl_list): Likewise.
14210         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14211         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14212         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
14213         sysdeps/powerpc/power6/wcscpy.c.
14214
14215         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
14216         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
14217         file.
14218         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
14219         file.
14220         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
14221         file.
14222         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
14223         multiarch wcsrchr for PPC32.
14224         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14225         multiarch objects.
14226         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14227         (__libc_ifunc_impl_list): Likewise.
14228         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14229         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14230         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
14231         sysdeps/powerpc/power6/wcsrchr.c.
14232
14233         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
14234         file.
14235         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
14236         file.
14237         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
14238         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
14239         multiarch wcschr for PPc32.
14240         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14241         multiarch objects.
14242         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14243         (__libc_ifunc_impl_list): Likewise.
14244         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
14245         * sysdeps/powerpc/power6/wcschr.c: ... to here.
14246         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
14247         sysdeps/powerpc/power6/wcschr.c.
14248
14249         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
14250         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
14251         file.
14252         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
14253         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
14254         file: multiarch strchr for PPC32.
14255         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
14256         multiarch objects.
14257         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14258         (__libc_ifunc_impl_list): Likewise.
14259
14260         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
14261         name.
14262         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
14263         file.
14264         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
14265         file.
14266         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
14267         multiarch strchrnul for PPC32.
14268         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
14269         multiarch objects.
14270         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14271         (__libc_ifunc_impl_list): Likewise.
14272
14273         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
14274         file.
14275         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
14276         multiarch strncasecmp for PPC32.
14277         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
14278         file.
14279         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
14280         multiarch strncasecmp_l for PPC32.
14281         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
14282         strncasecmp multiarch objects.
14283         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14284         (__libc_ifunc_impl_list): Likewise.
14285
14286         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
14287         file.
14288         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
14289         multiarch strncasecmp for PPC32.
14290         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14291         New file.
14292         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
14293         multiarch strcasecmp_l for PPC32.
14294         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
14295         multiarch objects.
14296         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14297         (__libc_ifunc_impl_list): Likewise.
14298
14299         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
14300         file.
14301         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
14302         file.
14303         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
14304         multiarch strncmp for PPC32.
14305         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
14306         multiarch objects.
14307         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14308         (__libc_ifunc_impl_list): Likewise.
14309
14310         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
14311         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
14312         file.
14313         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
14314         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
14315         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
14316         multiarch objects.
14317         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14318         (__libc_ifunc_impl_list): Likewise.
14319
14320         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
14321         file.
14322         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
14323         file.
14324         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
14325         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
14326         multiarch objects.
14327         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14328         (__libc_ifunc_impl_list): Likewise.
14329
14330         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
14331         file.
14332         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
14333         file.
14334         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
14335         multiarch rawmemchr for PPC32.
14336         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
14337         multiarch objects.
14338         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14339         (__libc_ifunc_impl_list): Likewise.
14340
14341         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
14342         file.
14343         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
14344         file.
14345         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
14346         file: memrchr multiarch for PPC32.
14347         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
14348         multiarch objects.
14349         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14350         (__libc_ifunc_impl_list): Likewise.
14351
14352         * string/memchr.c (__memchr): Using macro to redefine symbol name.
14353         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
14354         file.
14355         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
14356         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
14357         multiarch memchr for PPC32.
14358         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
14359         multiarch objects.
14360         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14361         (__libc_ifunc_impl_list): Likewise.
14362
14363         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
14364         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
14365         file.
14366         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
14367         file.
14368         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
14369         file: multiarch mempcpy for PPC32.
14370         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
14371         multiarch objects.
14372         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14373         (__libc_ifunc_impl_list): Likewise.
14374
14375         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
14376         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
14377         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
14378         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
14379         multiarch bzero for PPC32.
14380         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
14381         file.
14382         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
14383         file.
14384         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
14385         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
14386         file: multiarch memset for PPC32.
14387         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
14388         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
14389         memset multiarch objects.
14390         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14391         (__libc_ifunc_impl_list): Likewise.
14392
14393         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
14394         file.
14395         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
14396         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
14397         memcmp for PPC32.
14398         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
14399         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
14400         multiarch objects.
14401         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14402         (__libc_ifunc_impl_list): Likewise.
14403
14404         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
14405         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
14406         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
14407         file.
14408         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
14409         file.
14410         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
14411         file.
14412         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
14413         multiarch memcpy for PPC32.
14414         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
14415         multiarch objects.
14416         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14417         (__libc_ifunc_impl_list): Likewise.
14418
14419         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
14420         support multiarch for POWER/PPC32.
14421         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
14422         Likewise.
14423         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
14424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
14425         Implies file to make multiarch folder appers before the fpu and
14426         default folder for power4 configuration.
14427
14428 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
14429
14430         * scripts/bench.pl: Append volatile keyword to type.
14431
14432 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14433
14434         * sysdeps/sh/sotruss-lib.c: New file.
14435         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
14436
14437 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14438
14439         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14440
14441 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
14442
14443         [BZ #6810]
14444         * math/w_tgamma.c: Include <errno.h>.
14445         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
14446         * math/w_tgammaf.c: Include <errno.h>.
14447         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
14448         * math/w_tgammal.c: Include <errno.h>.
14449         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
14450         * math/auto-libm-test-in: Do not allow missing errno on tgamma
14451         underflow.  Add more tgamma tests.
14452         * math/auto-libm-test-out: Regenerated.
14453         * sysdeps/i386/fpu/libm-test-ulps: Update.
14454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14455
14456         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
14457         sin, sinh, tan, tanh, tgamma, y0 and y1.
14458         * math/auto-libm-test-out: Regenerated.
14459         * math/libm-test.inc (TEST_COND_x86_64): New macro.
14460         (TEST_COND_x86): Likewise.
14461         (M_E2l): Remove macro.
14462         (M_E3l): Likewise.
14463         (M_2_SQRT_PIl): Likewise.
14464         (M_SQRT_PIl): Likewise.
14465         (M_1_DIV_El): Likewise.
14466         (log_test_data): Use AUTO_TESTS_f_f.
14467         (log10_test_data): Likewise.
14468         (log1p_test_data): Likewise.
14469         (log2_test_data): Likewise.
14470         (sin_test_data): Likewise.
14471         (sin_tonearest_test_data): Likewise.
14472         (sin_towardzero_test_data): Likewise.
14473         (sin_downward_test_data): Likewise.
14474         (sin_upward_test_data): Likewise.
14475         (sinh_test_data): Likewise.
14476         (sinh_tonearest_test_data): Likewise.
14477         (sinh_towardzero_test_data): Likewise.
14478         (sinh_downward_test_data): Likewise.
14479         (sinh_upward_test_data): Likewise.
14480         (tan_test_data): Likewise.
14481         (tan_tonearest_test_data): Likewise.
14482         (tan_towardzero_test_data): Likewise.
14483         (tan_downward_test_data): Likewise.
14484         (tan_upward_test_data): Likewise.
14485         (tanh_test_data): Likewise.
14486         (tgamma_test_data): Likewise.
14487         (y0_test_data): Likewise.
14488         (y1_test_data): Likewise.
14489         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
14490         (special_real_inputs): Add pi/4.
14491         * sysdeps/i386/fpu/libm-test-ulps: Update.
14492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14493
14494 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14495
14496         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
14497         "longjmp_target" static probes.
14498         (__longjmp): Rename to __longjmp_symbol.
14499         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14500         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
14501         on which longjmp to generate.
14502         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14503         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
14504         probe.
14505         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14506         (__sigjmp_save): Rename to __sigjmp_save_symbol.
14507         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14508         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
14509         and __sigjmp_save_symbol based on which sigsetjmp to generated.
14510         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
14511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
14512         __longjmp_symbol based on which __longjmp to generate.
14513         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
14514         probe.
14515         (setjmp): Rename to setjmp_symbol.
14516         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14517         (_setjmp): Rename to _setjmp_symbol.
14518         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14519         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
14520         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
14521         which setjmp to generate.
14522         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
14523         "longjmp_target" static probes.
14524
14525 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14526
14527         * benchtests/README: Add note about output arguments.
14528         * benchtests/bench-sincos.c: Remove file.
14529         * benchtests/sincos-inputs: New file.
14530         * scripts/bench.pl: Identify output arguments and define
14531         static variables for them.
14532
14533         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
14534
14535         [BZ #15941]
14536         * Makefile (INSTALL): Add install-plain.texi as the primary
14537         dependency.
14538         * manual/install-plain.texi: New file.
14539         * manual/install.texi: Include node directive only for
14540         non-plaintext output.
14541
14542 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
14543
14544         * stdlib/longlong.h: Update from GCC.
14545
14546         [BZ #6807]
14547         [BZ #15901]
14548         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
14549         * math/w_j0f.c (y0f): Likewise.
14550         * math/w_j0l.c (__y0l): Likewise.
14551         * math/w_j1.c (y1): Likewise.
14552         * math/w_j1f.c (y1f): Likewise.
14553         * math/w_j1l.c (__y1l): Likewise
14554         * math/w_jn.c (yn): Likewise.
14555         * math/w_jnf.c (ynf): Likewise.
14556         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
14557         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
14558         value for Bessel function domain errors outside _SVID_ mode.
14559         Adjust sign of return value for yn (negative integer, 0).
14560         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
14561         by zero in return for negative x and set sign appropriately for
14562         negative n.
14563         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
14564         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14565         * math/libm-test.inc (y0_test_data): Add more tests and adjust
14566         expectations in error cases.
14567         (y1_test_data): Likewise.
14568         (yn_test_data): Likewise.
14569         * sysdeps/i386/fpu/libm-test-ulps: Update.
14570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14571
14572 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14573
14574         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
14575         "64" to "64-v1".  Add "64-v2".
14576         (abi-64-options): Rename to ...
14577         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
14578         (abi-64-condition): Rename to ...
14579         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
14580         (abi-64-ld-soname): Rename to ...
14581         (abi-64-v1-ld-soname): ... this.
14582         (abi-64-v2-options): Define.
14583         (abi-64-v2-condition): Likewise.
14584         (abi-64-v2-ld-soname): Likewise.
14585         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
14586         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
14587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
14588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
14589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
14590
14591 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14592             Alan Modra  <amodra@gmail.com>
14593
14594         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
14595         New versions for use with the ELFv2 ABI.
14596         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
14597         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
14598         declaration.
14599         (struct La_ppc64v2_retval): Likewise.
14600         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
14601         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
14602         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
14603         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
14604         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
14605         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14606         Do not save or restore CR.
14607         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
14608         (_dl_profile_resolve): Do no save or restore CR.  Support extended
14609         return values for ELFv2 ABI.  Fix location of FPR return registers.
14610         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
14611         updated values for _CALL_ELF == 2.
14612         (La_regs, La_retval, int_retval): Likewise.
14613
14614 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14615
14616         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
14617         (FRAME_MIN_SIZE_PARM): Likewise.
14618         (FRAME_BACKCHAIN): Likewise.
14619         (FRAME_CR_SAVE): Likewise.
14620         (FRAME_LR_SAVE): Likewise.
14621         (FRAME_TOC_SAVE): Likewise.
14622         (FRAME_PARM_SAVE): Likewise.
14623         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
14624         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
14625         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14626         (call_mcount_parm_offset): New macro.
14627         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
14628         (PROF): Use symbolic stack frame offsets.
14629         (TAIL_CALL_SYSCALL_ERROR): Likewise.
14630         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
14631         Redefine in terms of FRAME_MIN_SIZE.
14632         (_dl_runtime_resolve): Use symbolic stack frame offsets.
14633         (_dl_profile_resolve): Likewise.  Update comment.
14634         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
14635         symbols stack frame offsets.
14636         (__sigsetjmp): Likewise.
14637         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
14638         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
14639         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
14640         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
14641
14642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
14643         (FRAME_BACKCHAIN): Remove.
14644         (FRAME_CR_SAVE): Likewise.
14645         (FRAME_LR_SAVE): Likewise.
14646         (FRAME_COMPILER_DW): Likewise.
14647         (FRAME_LINKER_DW): Likewise.
14648         (FRAME_TOC_SAVE): Likewise.
14649         (FRAME_PARM_SAVE): Likewise.
14650         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
14651         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
14652         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
14654         (CHECK_SP): Use symbolic stack frame offsets.
14655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
14656         zone" instead of caller's parameter save area for temp storage.
14657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14658         Likewise.  Also, use symbolic stack frame offsets.
14659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
14660         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
14661         our own stack frame instead of the caller's.
14662         (__socket): Use symbolic stack frame offsets.
14663
14664 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14665             Alan Modra  <amodra@gmail.com>
14666
14667         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
14668         Define.
14669         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
14670         (PPC64_LOCAL_ENTRY_OFFSET): Define.
14671         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
14672         New function.
14673         (elf_machine_fixup_plt): Call it.
14674         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
14675         reloc arguments.
14676         (elf_machine_rela): Update call to elf_machine_plt_conflict.
14677         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14678         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
14679         r2 before calling target.
14680
14681 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14682             Alan Modra  <amodra@gmail.com>
14683
14684         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
14685         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
14686         versions of macros to support ELFv2 ABI.
14687         (LOCALENTRY): New macro.
14688         (ENTRY, EALIGN): Use it.
14689         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
14690         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
14691         fall through into ENTRY entry point.
14692         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
14693         Only define if _CALL_ELF != 2.
14694
14695         (elf_machine_matches_host): Verify ABI version matches.
14696         (RTLD_START): Use LOCALENTRY.
14697         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
14698         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
14699         (PLT_ENTRY_WORDS): New macro.
14700         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
14701         (elf_machine_runtime_setup): Support ELFv2 ABI.
14702         (elf_machine_fixup_plt): Likewise.
14703         (elf_machine_plt_conflict): Likewise.
14704         (resolve_ifunc): Likewise.
14705         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14706         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14707         Likewise.
14708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
14709         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
14710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14711         (makecontext): Support ELFv2 ABI.
14712         * elf/elf.h (EF_PPC64_ABI): Define.
14713
14714 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14715
14716         * sysdeps/powerpc/powerpc64/sysdep.h
14717         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
14718         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
14719         (ENTRY) [ASSEMBLER]: ... but instead here ...
14720         (EALIGN) [ASSEMBLER]: ... and here.
14721         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
14722         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
14723         (ENTRY_2) [!ASSEMBLER]: Use it.
14724         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
14725         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
14726         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14727         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
14728         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
14729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
14730         Use PPC64_LOAD_FUNCPTR.
14731
14732         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
14733
14734 2013-12-04  Alan Modra  <amodra@gmail.com>
14735
14736         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
14737         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
14738         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
14739         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
14740
14741         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
14742         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
14743         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
14744         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
14745         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
14746         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
14747
14748 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14749
14750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14751         (__makecontext): Fix incorrect CFI when backtracing out of
14752         context created via makecontext.
14753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
14754         (__setcontext): Fix incorrect CFI during switch to new context.
14755         (__novec_setcontext): Likewise.
14756
14757 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
14758
14759         [BZ #4772]
14760         * time/strptime_l.c (__strptime_internal): Allow modifiers
14761         in strptime.
14762         * time/tst-strptime.c (day_tests): Add testcase.
14763
14764 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14765
14766         * scripts/bench.pl: Skip over blank lines.
14767
14768 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
14769
14770         [BZ #926]
14771         * manual/time.texi (Calendar Time): Clarify what timezone functions
14772         use.
14773
14774 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14775
14776         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14777
14778 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
14779
14780         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
14781         implementation.
14782         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14783         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14784         * debug/memset_chk.c (__memset_chk): Likewise.
14785         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
14786         * debug/strncpy_chk.c: Likewise.
14787
14788 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
14789
14790         [BZ #15268]
14791         [BZ #15425]
14792         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
14793         (__ieee754_exp): For possibly underflowing results, check size of
14794         result and force underflow exception if required.
14795         * math/auto-libm-test-in: Add more tests of exp.
14796         * math/auto-libm-test-out: Regenerated.
14797         * sysdeps/i386/fpu/libm-test-ulps: Update.
14798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14799
14800         [BZ #16283]
14801         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
14802         * math/w_exp2f.c (__exp2f): Likewise.
14803         * math/w_exp2l.c (__exp2l): Likewise.
14804         * math/auto-libm-test-in: Do not allow missing errno on exp2
14805         underflow.
14806         * math/auto-libm-test-out: Regenerated.
14807
14808 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
14809
14810         [BZ #16274]
14811         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
14812         handle filename validation.
14813         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
14814         (do_open): Delete.
14815
14816 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
14817
14818         [BZ #6786]
14819         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14820         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14821         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14822         <float.h>.
14823         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14824         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14825         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14826         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14827         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14828         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14829         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14830         * math/auto-libm-test-in: Don't allow missing errno from erfc.
14831         Add more erfc tests.
14832         * math/auto-libm-test-out: Regenerated.
14833         * sysdeps/i386/fpu/libm-test-ulps: Update.
14834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14835
14836         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14837         exp2, expm1, j0 and j1.
14838         * math/auto-libm-test-out: Regenerated.
14839         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14840         (erfc_test_data): Likewise.
14841         (exp_test_data): Likewise.
14842         (exp_tonearest_test_data): Likewise.
14843         (exp_towardzero_test_data): Likewise.
14844         (exp_downward_test_data): Likewise.
14845         (exp_upward_test_data): Likewise.
14846         (exp10_test_data): Likewise.
14847         (exp2_test_data): Likewise.
14848         (expm1_test_data): Likewise.
14849         (j0_test_data): Likewise.
14850         (j1_test_data): Likewise.
14851         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14852         (input_flag_type): Add flag_xfail_rounding.
14853         (input_flags): Add xfail-rounding.
14854         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14855         (output_for_one_input_case): Handle flag_xfail_rounding.
14856         * sysdeps/i386/fpu/libm-test-ulps: Update.
14857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14858
14859 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
14860
14861         [BZ #16289]
14862         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14863         division by 0.
14864
14865 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14866
14867         [BZ #16195]
14868         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14869         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14870         (STAP_PROBE0): New macro.
14871         (STAP_PROBE1): Likewise.
14872         (STAP_PROBE2): Likewise.
14873         (STAP_PROBE3): Likewise.
14874         (STAP_PROBE4): Likewise.
14875
14876 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
14877
14878         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14879
14880 2013-12-02  Steve Ellcey  <sellcey@mips.com>
14881
14882         * benchtests/Makefile (bench): Add sqrt.
14883         (LDLIBS-bench-sqrt): New.
14884         * benchtests/sqrt-input: New.
14885
14886 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
14887
14888         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14889         (GAIH_EAI): Likewise.
14890         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14891         (gaih_inet): Likewise.
14892         (getaddrinfo): Don't use GAIH_EAI.
14893
14894         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
14895         (struct gaih): Remove definition.
14896
14897 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14898
14899         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14900         Use HERRNOP directly.
14901
14902 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14903
14904         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14905
14906 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
14907
14908         * math/gen-auto-libm-tests.c (test_functions): Add more
14909         single-argument functions.
14910         (special_fill_pi_2): New function.
14911         (special_fill_minus_pi_2): Likewise.
14912         (special_fill_pi_6): Likewise.
14913         (special_fill_minus_pi_6): Likewise.
14914         (special_fill_pi_3): Likewise.
14915         (special_fill_2pi_3): Likewise.
14916         (special_fill_e): Likewise.
14917         (special_fill_1_e): Likewise.
14918         (special_fill_e_minus_1): Likewise.
14919         (special_real_inputs): Add more special inputs.
14920         (output_for_one_input_case): Do not require ERANGE on underflow to
14921         zero if round-to-nearest result does not underflow to zero, unless
14922         exact results required.
14923         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14924         atan, atanh, cbrt, cos and cosh.
14925         * math/auto-libm-test-out: Regenerated.
14926         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14927         (acos_tonearest_test_data): Likewise.
14928         (acos_towardzero_test_data): Likewise.
14929         (acos_downward_test_data): Likewise.
14930         (acos_upward_test_data): Likewise.
14931         (acosh_test_data): Likewise.
14932         (asin_test_data): Likewise.
14933         (asin_tonearest_test_data): Likewise.
14934         (asin_towardzero_test_data): Likewise.
14935         (asin_upward_test_data): Likewise.
14936         (asinh_test_data): Likewise.
14937         (atan_test_data): Likewise.
14938         (atanh_test_data): Likewise.
14939         (cbrt_test_data): Likewise.
14940         (cos_test_data): Likewise.
14941         (cos_tonearest_test_data): Likewise.
14942         (cos_towardzero_test_data): Likewise.
14943         (cos_downward_test_data): Likewise.
14944         (cos_upward_test_data): Likewise.
14945         (cosh_test_data): Likewise.
14946         (cosh_tonearest_test_data): Likewise.
14947         (cosh_towardzero_test_data): Likewise.
14948         (cosh_downward_test_data): Likewise.
14949         (cosh_upward_test_data): Likewise.
14950         * sysdeps/i386/fpu/libm-test-ulps: Update.
14951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14952
14953 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
14954
14955         [BZ #6787]
14956         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14957         * math/w_exp10f.c (__exp10f): Likewise.
14958         * math/w_exp10l.c (__exp10l): Likewise.
14959         * math/libm-test.inc (exp10_test_data): Add more tests and expect
14960         errno settings in existing tests.
14961
14962         [BZ #14032]
14963         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14964         precision control set to double precision.
14965         * sysdeps/i386/fpu/w_sqrt.c: New file.
14966         * math/auto-libm-test-in: Add more tests.
14967         * math/auto-libm-test-out: Update.
14968
14969         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14970         (sqrt_test_tonearest): New function.
14971         (sqrt_towardzero_test_data): New variable.
14972         (sqrt_test_towardzero): New function.
14973         (sqrt_downward_test_data): New variable.
14974         (sqrt_test_downward): New function.
14975         (sqrt_upward_test_data): New variable.
14976         (sqrt_test_upward): New function.
14977         (main): Call the new functions.
14978
14979         * math/gen-auto-libm-tests.c: New file.
14980         * math/auto-libm-test-in: Likewise.
14981         * math/auto-libm-test-out: New generated file.
14982         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14983         variables.
14984         (%beautify): Add generated representations of zero.
14985         (top level): Set $auto_input and call parse_auto_input.
14986         (beautify): Remove trailing "f" from hex float constants.
14987         (parse_args): Handle XFAIL_TEST.
14988         (convert_condition): New function.
14989         (or_value): Likewise.
14990         (or_cond_value): Likewise.
14991         (generate_testfile): Handle AUTO_TESTS_* lines.
14992         (parse_auto_input): New function.
14993         * math/libm-test.inc (XFAIL_TEST): New macro.
14994         (ERRNO_UNCHANGED): Update value.
14995         (ERRNO_EDOM): Likewise.
14996         (ERRNO_ERANGE): Likewise.
14997         (IGNORE_RESULT): Likewise.
14998         (TEST_COND_flt_32): New macro.
14999         (TEST_COND_dbl_64): Likewise.
15000         (TEST_COND_ldbl_96_intel): Likewise.
15001         (TEST_COND_ldbl_96_m68k): Likewise.
15002         (TEST_COND_ldbl_128): Likewise.
15003         (TEST_COND_ldbl_128ibm): Likewise.
15004         (TEST_COND_long32): Likewise.
15005         (TEST_COND_long64): Likewise.
15006         (TEST_COND_before_rounding): Likewise.
15007         (TEST_COND_after_rounding): Likewise.
15008         (enable_test): Handle XFAIL_TEST flag.
15009         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
15010         with finite results.
15011         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
15012         auto-libm-test-out.
15013
15014 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15015             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15016
15017         [BZ #16214]
15018         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
15019         __tls_get_addr_internal instead of __tls_get_offset in order to
15020         avoid GOT pointer dependency.  Make rtld export
15021         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
15022         __tls_get_addr since we are a __tls_get_offset platform.
15023         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
15024         GOT pointer being set up before.
15025         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
15026
15027 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
15028
15029         * manual/math.texi (Errors in Math Functions): Document accuracy
15030         goals.
15031
15032         [BZ #15004]
15033         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
15034         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
15035         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15036         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15037         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15038         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15039         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15040         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
15041         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
15042         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15043         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15044         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15045         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15046         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15047         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15048         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15049
15050         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
15051         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
15052         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
15053         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
15054         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
15055         Likewise.
15056         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
15057         Likewise.
15058         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
15059         Likewise.
15060         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
15061         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
15062         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
15063         atomic-feupdateenv and flt-rounds.
15064         * sysdeps/powerpc/nofpu/Versions (libc): Add
15065         __atomic_feholdexcept, __atomic_feclearexcept,
15066         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
15067         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
15068         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
15069         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
15070         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
15071         here.
15072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
15073         Update.
15074
15075         * manual/arith.texi (FP Exceptions): Document that exceptions may
15076         not be raised when matherr is used.
15077         (Math Error Reporting): Document overflow in directed rounding
15078         modes.  Document that errno may not be set when finite values are
15079         returned on overflow.  Document intent to set errno on underflow
15080         only for underflow to zero.
15081
15082         [BZ #16271]
15083         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
15084         round-to-nearest then adjust result for other rounding modes.
15085         * include/fenv.h (fegetround): Use libm_hidden_proto.
15086         * math/fegetround.c (fegetround): Use libm_hidden_def.
15087         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
15088         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
15089         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15090         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
15091         Likewise.
15092         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
15093         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15094         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
15095         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
15096
15097 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15098
15099         [BZ #16077]
15100         * nss/Versions (libnss_files): Add
15101         _nss_files_gethostbyname3_r.
15102         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
15103         New function.
15104         (HOST_DB_LOOKUP): Remove macro.
15105         (_nss_files_gethostbyname_r): Implement function without the
15106         HOST_DB_LOOKUP macro.
15107         (_nss_files_gethostbyname2_r): Likewise.
15108
15109 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
15110
15111         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
15112
15113 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
15114
15115         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
15116         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
15117         warning.
15118
15119 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15120
15121         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
15122         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
15123         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
15124         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
15125         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
15126         __fe_nomask_env_priv and attribute_hidden.
15127         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
15128         (libc_feupdateenv_test_ppc): Likewise.
15129         (libc_feresetround_ppc): Likewise.
15130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15131         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
15132         compat_symbol macro.
15133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15134         (__fe_nomask_env): Likewise.
15135         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
15136
15137 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15138
15139         * string/Makefile: Remove ifunc tests.
15140         * string/test-string.h: Define TEST_IFUNC.
15141         * string/test-bcopy-ifunc.c: Remove.
15142         * string/test-bzero-ifunc.c: Likewise.
15143         * string/test-memccpy-ifunc.c: Likewise.
15144         * string/test-memchr-ifunc.c: Likewise.
15145         * string/test-memcmp-ifunc.c: Likewise.
15146         * string/test-memcpy-ifunc.c: Likewise.
15147         * string/test-memmem-ifunc.c: Likewise.
15148         * string/test-memmove-ifunc.c: Likewise.
15149         * string/test-mempcpy-ifunc.c: Likewise.
15150         * string/test-memrchr-ifunc.c: Likewise.
15151         * string/test-memset-ifunc.c: Likewise.
15152         * string/test-rawmemchr-ifunc.c: Likewise.
15153         * string/test-stpcpy-ifunc.c: Likewise.
15154         * string/test-stpncpy-ifunc.c: Likewise.
15155         * string/test-strcasecmp-ifunc.c: Likewise.
15156         * string/test-strcasestr-ifunc.c: Likewise.
15157         * string/test-strcat-ifunc.c: Likewise.
15158         * string/test-strchr-ifunc.c: Likewise.
15159         * string/test-strchrnul-ifunc.c: Likewise.
15160         * string/test-strcmp-ifunc.c: Likewise.
15161         * string/test-strcpy-ifunc.c: Likewise.
15162         * string/test-strcspn-ifunc.c: Likewise.
15163         * string/test-strlen-ifunc.c: Likewise.
15164         * string/test-strncasecmp-ifunc.c: Likewise.
15165         * string/test-strncat-ifunc.c: Likewise.
15166         * string/test-strncmp-ifunc.c: Likewise.
15167         * string/test-strncpy-ifunc.c: Likewise.
15168         * string/test-strnlen-ifunc.c: Likewise.
15169         * string/test-strpbrk-ifunc.c: Likewise.
15170         * string/test-strrchr-ifunc.c: Likewise.
15171         * string/test-strspn-ifunc.c: Likewise.
15172         * string/test-strstr-ifunc.c: Likewise.
15173
15174 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15175
15176         * benchtests/Makefile: Remove ifunc tests.
15177         * benchtests/bench-string.h: Define TEST_IFUNC.
15178         * benchtests/bench-bcopy-ifunc.c: Remove.
15179         * benchtests/bench-bzero-ifunc.c: Likewise.
15180         * benchtests/bench-memccpy-ifunc.c: Likewise.
15181         * benchtests/bench-memchr-ifunc.c: Likewise.
15182         * benchtests/bench-memcmp-ifunc.c: Likewise.
15183         * benchtests/bench-memcpy-ifunc.c: Likewise.
15184         * benchtests/bench-memmem-ifunc.c: Likewise.
15185         * benchtests/bench-memmove-ifunc.c: Likewise.
15186         * benchtests/bench-mempcpy-ifunc.c: Likewise.
15187         * benchtests/bench-memrchr-ifunc.c: Likewise.
15188         * benchtests/bench-memset-ifunc.c: Likewise.
15189         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
15190         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
15191         * benchtests/bench-stpcpy-ifunc.c: Likewise.
15192         * benchtests/bench-stpncpy-ifunc.c: Likewise.
15193         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
15194         * benchtests/bench-strcasestr-ifunc.c: Likewise.
15195         * benchtests/bench-strcat-ifunc.c: Likewise.
15196         * benchtests/bench-strchr-ifunc.c: Likewise.
15197         * benchtests/bench-strchrnul-ifunc.c: Likewise.
15198         * benchtests/bench-strcmp-ifunc.c: Likewise.
15199         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
15200         * benchtests/bench-strcpy-ifunc.c: Likewise.
15201         * benchtests/bench-strcspn-ifunc.c: Likewise.
15202         * benchtests/bench-strlen-ifunc.c: Likewise.
15203         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
15204         * benchtests/bench-strncat-ifunc.c: Likewise.
15205         * benchtests/bench-strncmp-ifunc.c: Likewise.
15206         * benchtests/bench-strncpy-ifunc.c: Likewise.
15207         * benchtests/bench-strnlen-ifunc.c: Likewise.
15208         * benchtests/bench-strpbrk-ifunc.c: Likewise.
15209         * benchtests/bench-strrchr-ifunc.c: Likewise.
15210         * benchtests/bench-strsep-ifunc.c: Likewise.
15211         * benchtests/bench-strspn-ifunc.c: Likewise.
15212         * benchtests/bench-strstr-ifunc.c: Likewise.
15213
15214 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15215
15216         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
15217
15218 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15219
15220         * resolv/netdb.h: Use __glibc_reserved instead __unused.
15221         * rt/aio.h: Likewise.
15222         * sysdeps/gnu/bits/utmp.h: Likewise.
15223         * sysdeps/gnu/bits/utmpx.h: Likewise.
15224         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15225         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
15226         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
15227         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
15228         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
15229         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
15230         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
15231         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
15232         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
15233         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
15234         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
15235         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
15236         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
15237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
15238         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15239         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
15240         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
15241         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
15242         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
15243         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
15244         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
15245         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
15246         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
15247         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15248         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
15249         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15250         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
15251         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
15252         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
15253         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
15254         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
15255         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
15256         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
15257         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15258         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
15259         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
15260         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
15261         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
15262         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
15263         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
15264         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
15265         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15266
15267 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
15268
15269         [BZ #16245]
15270         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
15271         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
15272
15273 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
15274
15275         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
15276         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
15277         Likewise.
15278
15279 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15280
15281         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
15282         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
15283         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
15284         (__fesetround): Remove define.
15285         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
15286         rounding and exceptions handling.
15287         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
15288         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
15289         (__fe_nomask_env): Likewise.
15290         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
15291         __fegetround instead of fegetround.
15292         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15293         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
15294
15295 2013-11-21  Roland McGrath  <roland@hack.frob.com>
15296
15297         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
15298         it's there.
15299
15300         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
15301
15302 2013-11-21  Meador Inge  <meadori@codesourcery.com>
15303
15304         [BZ #11157]
15305         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
15306         (encrypt_r): Likewise.
15307         * malloc/obstack.h (obstack_free): Likewise.
15308         * posix/unistd.h (encrypt): Likewise.
15309
15310 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
15311
15312         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
15313         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
15314         DL_CALL_DT_FINI() that call the functions directly.
15315         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
15316         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
15317         * elf/dl-fini.c: Likewise.
15318
15319 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
15320
15321         * malloc/hooks.c (memalign_check): Add alignment rounding.
15322         * malloc/malloc.c (_mid_memalign): New function.
15323         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
15324         Implement by calling _mid_memalign.
15325         * manual/probes.texi (Memory Allocation Probes): Remove
15326         memory_valloc_retry and memory_pvalloc_retry.
15327
15328 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
15329
15330         * locale/programs/locarchive.c (open_archive): Add const
15331         qualifier to ARCHIVEFNAME and copy default fname to
15332         DEFAULT_FNAME.
15333
15334         [BZ #15601]
15335         * libio/tst-widetext.input: Rename Oriya to Odia.
15336         * locale/iso-639.def: Likewise.
15337
15338         * manual/probes.texi (Mathematical Function Probes): Add
15339         documentation for sin, cos, asin and acos probes.
15340         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
15341         (__sin32): Add slowasin probe.
15342         (__cos32): Add slowacos probe.
15343         (__mpsin): Add slowsin probe.
15344         (__mpcos): Add slowcos probe.
15345
15346 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
15347
15348         [BZ #15483]
15349         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
15350         thread-local __sim_exceptions_thread and global
15351         __sim_exceptions_global.
15352         (__sim_disabled_exceptions): Change to thread-local
15353         __sim_disabled_exceptions_thread and global
15354         __sim_disabled_exceptions_global.
15355         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15356         and global __sim_round_mode_global.
15357         (__simulate_exceptions): Use thread-local floating-point state and
15358         set global state from it as needed.
15359         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
15360         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
15361         __sim_round_mode_thread.
15362         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
15363         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
15364         and global __sim_exceptions_global.
15365         (__sim_disabled_exceptions): Change to thread-local
15366         __sim_disabled_exceptions_thread and global
15367         __sim_disabled_exceptions_global.
15368         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15369         and global __sim_round_mode_global.
15370         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
15371         (SIM_SET_GLOBAL): Likewise.
15372         * sysdeps/powerpc/soft-fp/sfp-machine.h
15373         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
15374         __sim_round_mode_thread.
15375         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
15376         __sim_disabled_exceptions_thread.
15377         (__sim_exceptions): Change to __sim_exceptions_thread.
15378         (__sim_disabled_exceptions): Change to
15379         __sim_disabled_exceptions_thread.
15380         (__sim_round_mode): Change to __sim_round_mode_thread.
15381         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
15382         thread-local floating-point state and set global state from it as
15383         needed.
15384         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
15385         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
15386         (__sim_disabled_exceptions): Remove extern declaration.
15387         (feenableexcept): Use thread-local floating-point state and set
15388         global state from it as needed.
15389         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
15390         extern declaration.
15391         (__sim_disabled_exceptions): Likewise.
15392         (__sim_round_mode): Likewise.
15393         (__fegetenv): Use thread-local floating-point state.
15394         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
15395         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15396         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
15397         floating-point state and set global state from it as needed.
15398         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
15399         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15400         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
15401         Likewise.
15402         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
15403         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
15404         Likewise.
15405         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
15406         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
15407         Use __sim_round_mode_thread.
15408         * math/test-fenv-tls.c: New file.
15409         * math/Makefile (tests): Add test-fenv-tls.
15410         ($(objpfx)test-fenv-tls): Depend on
15411         $(common-objpfx)nptl/libpthread.so.
15412
15413 2013-11-19  Andreas Schwab  <schwab@suse.de>
15414
15415         * locale/programs/locale.c (show_info): Decode wordarray elements.
15416         * locale/categories.def (LC_MONETARY): Add element for
15417         _NL_MONETARY_CRNCYSTR.
15418         * locale/C-monetary.c (conversion_rate): New variable.
15419         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
15420         element.
15421
15422 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
15423
15424         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
15425         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
15426
15427 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
15428
15429         * elf/Makefile (tst-auxv): New test.
15430         * elf/tst-auxv.c: New
15431         * elf/rtld.c (dl_main): Adjust AT_EXECFN
15432
15433 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
15434
15435         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
15436         (hidden_proto): Caller changed.
15437         (hidden_tls_proto): New macro.
15438         (libc_hidden_tls_proto): Likewise.
15439         (rtld_hidden_tls_proto): Likewise.
15440         (libm_hidden_tls_proto): Likewise.
15441         (libresolv_hidden_tls_proto): Likewise.
15442         (librt_hidden_tls_proto): Likewise.
15443         (libdl_hidden_tls_proto): Likewise.
15444         (libnss_files_hidden_tls_proto): Likewise.
15445         (libnsl_hidden_tls_proto): Likewise.
15446         (libnss_nisplus_hidden_tls_proto): Likewise.
15447         (libutil_hidden_tls_proto): Likewise.
15448
15449 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
15450
15451         [BZ #10253]
15452         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
15453         (decompose_rpath): Defer expansion to fillin_rpath.
15454         (_dl_init_paths): Pass linkmap to fillin_rpath.
15455
15456 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15457
15458         * benchtests/Makefile: Add strsep.
15459         * benchtests/bench-strsep.c: New file: strsep benchtest.
15460         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
15461
15462 2013-11-18  Andreas Schwab  <schwab@suse.de>
15463
15464         * locale/programs/locale.c (show_info) [case byte]: Check for
15465         '\377' instead of '\177'.
15466         * locale/C-monetary.c (not_available): Always use "\377".
15467         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
15468         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
15469         detect unavailable sign_posn locale elements.
15470         * locale/localeconv.c (__localeconv): For grouping and
15471         mon_grouping handle "\177" and "\377" like no grouping.
15472         (INT_ELEM): New macro.  Use it to set all numeric members.
15473         * locale/programs/ld-monetary.c (monetary_read)
15474         <tok_mon_grouping>: Normalize single -1 to the empty string.
15475         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
15476         Likewise.
15477
15478 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
15479
15480         [BZ #16055]
15481         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
15482         when we match (nil).
15483         * stdio-common/tst-sscanf.c (struct test): Add testcase.
15484
15485 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
15486
15487         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
15488         (NO_TEST_INLINE): Update value.
15489         (ERRNO_UNCHANGED): Likewise.
15490         (ERRNO_EDOM): Likewise.
15491         (ERRNO_ERANGE): Likewise.
15492         (IGNORE_RESULT): Likewise.
15493         (check_float_internal): Check signs of NaN results if
15494         TEST_NAN_SIGN used.
15495         (check_complex): Pass TEST_NAN_SIGN flag through to second
15496         check_float_internal call.
15497         (copysign_test_data): Add tests with quiet NaNs as second
15498         argument.  Use TEST_NAN_SIGN.
15499         (fabs_test_data): Add test of negative quiet NaN argument.  Use
15500         TEST_NAN_SIGN.
15501         (signbit_test_data): Add tests of quiet NaN argument.
15502         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
15503
15504         * math/gen-libm-test.pl (show_exceptions): Take extra argument
15505         $ignore_result.
15506         (parse_args): Handle function results specified as IGNORE.
15507         * math/libm-test.inc (IGNORE_RESULT): New macro.
15508         (check_float_internal): Do not check numerical result if flag
15509         IGNORE_RESULT set.
15510         (check_complex): Pass through IGNORE_RESULT to second
15511         check_float_internal call.
15512         (check_int): Do not check numerical result if flag IGNORE_RESULT
15513         set.
15514         (check_long): Likewise.
15515         (check_bool): Likewise.
15516         (check_longlong): Likewise.
15517         (lrint_test_data): Add tests of infinite and NaN arguments.
15518         (lrint_tonearest_test_data): Likewise.
15519         (lrint_towardzero_test_data): Likewise.
15520         (lrint_downward_test_data): Likewise.
15521         (lrint_upward_test_data): Likewise.
15522         (llrint_test_data): Likewise.
15523         (llrint_tonearest_test_data): Likewise.
15524         (llrint_towardzero_test_data): Likewise.
15525         (llrint_downward_test_data): Likewise.
15526         (llrint_upward_test_data): Likewise.
15527         (lround_test_data): Likewise.
15528         (llround_test_data): Likewise.
15529
15530         * math/libm-test.inc (NO_TEST_INLINE): New macro.
15531         (ERRNO_UNCHANGED): Update value.
15532         (ERRNO_EDOM): Likewise.
15533         (ERRNO_ERANGE): Likewise.
15534         (NO_TEST_INLINE_FLOAT): New macro.
15535         (NO_TEST_INLINE_DOUBLE): Likewise.
15536         (enable_test): New function.
15537         (RUN_TEST_f_f): Check enable_test before running test.
15538         (RUN_TEST_2_f): Likewise.
15539         (RUN_TEST_fff_f): Likewise.
15540         (RUN_TEST_c_f): Likewise.
15541         (RUN_TEST_f_f1): Likewise.
15542         (RUN_TEST_fF_f1): Likewise.
15543         (RUN_TEST_fI_f1): Likewise.
15544         (RUN_TEST_ffI_f1): Likewise.
15545         (RUN_TEST_c_c): Likewise.
15546         (RUN_TEST_cc_c): Likewise.
15547         (RUN_TEST_f_i): Likewise.
15548         (RUN_TEST_f_i_tg): Likewise.
15549         (RUN_TEST_ff_i_tg): Likewise.
15550         (RUN_TEST_f_b): Likewise.
15551         (RUN_TEST_f_b_tg): Likewise.
15552         (RUN_TEST_f_l): Likewise.
15553         (RUN_TEST_f_L): Likewise.
15554         (RUN_TEST_fFF_11): Likewise.
15555         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
15556         conditionals.
15557         (cosh_test_data): Likewise.
15558         (exp_test_data): Likewise.
15559         (expm1_test_data): Likewise.
15560         (hypot_test_data): Likewise.
15561         (pow_test_data): Likewise.
15562         (sinh_test_data): Likewise.
15563         (tanh_test_data): Likewise.
15564         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
15565         flags argument.
15566
15567         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
15568         tests with quiet NaN input and output.
15569         (acosh_test_data): Likewise.
15570         (asin_test_data): Likewise.
15571         (asinh_test_data): Likewise.
15572         (atan_test_data): Likewise.
15573         (atanh_test_data): Likewise.
15574         (atan2_test_data): Likewise.
15575         (cbrt_test_data): Likewise.
15576         (cos_test_data): Likewise.
15577         (cosh_test_data): Likewise.
15578         (erf_test_data): Likewise.
15579         (erfc_test_data): Likewise.
15580         (exp_test_data): Likewise.
15581         (exp10_test_data): Likewise.
15582         (exp2_test_data): Likewise.
15583         (expm1_test_data): Likewise.
15584         (hypot_test_data): Likewise.
15585         (j0_test_data): Likewise.
15586         (j1_test_data): Likewise.
15587         (jn_test_data): Likewise.
15588         (lgamma_test_data): Likewise.
15589         (log_test_data): Likewise.
15590         (log10_test_data): Likewise.
15591         (log1p_test_data): Likewise.
15592         (log2_test_data): Likewise.
15593         (pow_test_data): Likewise.
15594         (scalb_test_data): Likewise.
15595         (sin_test_data): Likewise.
15596         (sincos_test_data): Likewise.
15597         (sinh_test_data): Likewise.
15598         (tan_test_data): Likewise.
15599         (tanh_test_data): Likewise.
15600         (tgamma_test_data): Likewise.
15601         (y0_test_data): Likewise.
15602         (y1_test_data): Likewise.
15603         (yn_test_data): Likewise.
15604
15605         [BZ #16167]
15606         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
15607         argument being NaN and avoid computations with second argument in
15608         that case.
15609         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15610         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15611         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15612
15613 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
15614
15615         * locale/iso-639.def: Add Chitwani Tharu (the).
15616
15617 2013-11-14  Andreas Schwab  <schwab@suse.de>
15618
15619         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
15620         word instead of empty string.
15621
15622 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15623
15624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15625         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
15626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15627         (__fe_nomask_env): Likewise.
15628
15629 2013-11-13  Steve Ellcey  <sellcey@mips.com>
15630
15631         * benchtests/bench-timing.h: Include time.h.
15632
15633 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
15634
15635         [BZ #15997]
15636         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
15637         to 3.4.0 for x32.
15638         * sysdeps/unix/sysv/linux/configure: Regenerated.
15639
15640 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
15641
15642         [BZ #16151]
15643         * stdlib/strtod_l.c (round_and_return): Do not consider
15644         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
15645         exponent one less than half the least subnormal exponent.
15646         * stdlib/test-strtod-round-data: Add more tests.
15647         * stdlib/tst-strtod-round.c (tests): Regenerated.
15648
15649 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15650
15651         [BZ #14143]
15652         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
15653         (__fe_mask_env): Likewise.
15654         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
15655         libm_hidden_proto and add function prototype.
15656         (__fe_mask_env): Add function prototype.
15657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15658         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
15659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15660         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
15661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15662         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
15663
15664 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15665
15666         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
15667         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
15668
15669 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15670
15671         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
15672         of htab_find_slot().
15673
15674 2013-11-11  David S. Miller  <davem@davemloft.net>
15675
15676         [BZ #16150]
15677         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
15678         symbol in the non-vis3 case in static builds.
15679         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
15680         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
15681         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
15682         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
15683
15684 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
15685
15686         [BZ #387]
15687         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
15688         it is empty.
15689
15690 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15691
15692         * benchtests/Makefile: Add bench-strtod.
15693         * benchtests/bench-strtod.c: New file: strtod benchtest
15694
15695 2013-11-11  Andreas Schwab  <schwab@suse.de>
15696
15697         [BZ #16153]
15698         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
15699         terminating NUL in key length.
15700
15701 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15702
15703         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15704         Add artificial ODP entry for vDSO symbol for PPC64.
15705         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
15706         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15707
15708 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
15709
15710         [BZ #15374]
15711         * nss/getent.c (services_keys): Recognize services starting with digit.
15712
15713 2013-11-06  David S. Miller  <davem@davemloft.net>
15714
15715         [BZ #15985]
15716         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
15717         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
15718
15719 2013-11-06  Will Newton  <will.newton@linaro.org>
15720
15721         * manual/memory.texi (Malloc Examples): Remove register
15722         keyword from examples.
15723
15724 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
15725
15726         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
15727
15728 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
15729
15730         [BZ #6981]
15731         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
15732         depending on [__GCC_IEC_559 > 0].
15733         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
15734         depending on [__GCC_IEC_559_COMPLEX > 0].
15735
15736 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
15737
15738         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
15739         to iso-639.def.
15740
15741 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
15742
15743         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
15744
15745 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
15746
15747         [BZ #16112]
15748         * malloc/malloc (malloc_info): Do not handle first bin as
15749         special case.
15750
15751 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
15752
15753         * locale/iso-639.def: Add Central Nahuatl (nhn).
15754
15755 2013-11-01  Bruno Haible  <bruno@clisp.org>
15756
15757         [BZ #7003]
15758         * manual/math.texi (BSD Random): Specify range upper bound as
15759         in POSIX.
15760
15761 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
15762
15763         * locale/iso-639.def: Add Meadow Mari (mhr).
15764
15765 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
15766
15767         [BZ #14752], [BZ #15763]
15768         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
15769         Validate name.
15770         * rt/tst_shm.c: Add test for escaping directory.
15771
15772 2013-10-31  Andreas Schwab  <schwab@suse.de>
15773
15774         [BZ #15917]
15775         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
15776         followed by 'x' as part of digit sequence.
15777         * stdio-common/tst-sscanf.c (double_tests2): New tests.
15778
15779 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
15780
15781         [BZ #16037]
15782         * configure.ac: allow GNU Make 4.0 and greater.
15783         * configure: Regenerated.
15784
15785 2013-10-30  Will Newton  <will.newton@linaro.org>
15786
15787         [BZ #16038]
15788         * malloc/hooks.c (memalign_check): Limit alignment to the
15789         maximum representable power of two.
15790         * malloc/malloc.c (__libc_memalign): Likewise.
15791         * malloc/tst-memalign.c (do_test): Add test for very
15792         large alignment values.
15793         * malloc/tst-posix_memalign.c (do_test): Likewise.
15794
15795 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
15796
15797         [BZ #11087]
15798         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
15799         (munmap_chunk): Likewise.
15800         (mremap_chunk): Likewise.
15801
15802 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
15803
15804         [BZ #15799]
15805         * stdlib/div.c (div): Remove obsolete code.
15806         * stdlib/ldiv.c (ldiv): Likewise.
15807         * stdlib/lldiv.c (lldiv): Likewise.
15808
15809 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15810
15811         [BZ #16071]
15812         * nss/nss_files/files-XXX.c (get_contents_ret): New
15813         enumerator.
15814         (get_contents): New function.
15815         (internal_getent): Use it.  Expand size of LINEBUFLEN.
15816
15817 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
15818
15819         * configure.in: Moved to ...
15820         * configure.ac: ... here. Change reference to configure.in
15821         to configure.ac.
15822         * sysdeps/arm/preconfigure.ac: ... here.
15823         configure.in to configure.ac.
15824         * sysdeps/gnu/configure.in: Moved to ...
15825         * sysdeps/gnu/configure.ac: ... here.
15826         * sysdeps/i386/configure.in: Moved to ...
15827         * sysdeps/i386/configure.ac: ... here.
15828         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15829         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15830         * sysdeps/mach/configure.in: Moved to ...
15831         * sysdeps/mach/configure.ac: ... here.
15832         * sysdeps/mach/hurd/configure.in: Moved to ...
15833         * sysdeps/mach/hurd/configure.ac: ... here.
15834         * sysdeps/powerpc/configure.in: Moved to ...
15835         * sysdeps/powerpc/configure.ac: ... here.
15836         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15837         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15838         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15839         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15840         * sysdeps/s390/s390-32/configure.in: Moved to ...
15841         * sysdeps/s390/s390-32/configure.ac: ... here.
15842         * sysdeps/s390/s390-64/configure.in: Moved to ...
15843         * sysdeps/s390/s390-64/configure.ac: ... here.
15844         * sysdeps/sh/configure.in: Moved to ...
15845         * sysdeps/sh/configure.ac: ... here.
15846         * sysdeps/sparc/configure.in: Moved to ...
15847         * sysdeps/sparc/configure.ac: ... here.
15848         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15849         * sysdeps/unix/sysv/linux/configure.ac: ... here.
15850         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15851         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15852         * sysdeps/x86_64/configure.in: Moved to ...
15853         * sysdeps/x86_64/configure.ac: ... here.
15854         * sysdeps/x86_64/preconfigure.in: Moved to ...
15855         * sysdeps/x86_64/preconfigure.ac: ... here.
15856         * aclocal.m4: Change reference to configure.in to configure.ac.
15857         * config.h.in: Likewise.
15858         * manual/install.texi: Likewise.
15859         * manual/maint.texi: Likewise.
15860         * Makefile: Likewise.
15861         * malloc/Makefile: Likewise.
15862         * nscd/Makefile: Likewise.
15863         * Makeconfig: Change reference to configure.in and
15864         preconfigure.in to configure.ac and preconfigure.ac
15865         respectively.
15866         * INSTALL: Regenerated.
15867         * configure: Likewise.
15868         * sysdeps/gnu/configure: Likewise.
15869         * sysdeps/i386/configure: Likewise.
15870         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15871         * sysdeps/mach/configure: Likewise.
15872         * sysdeps/mach/hurd/configure: Likewise.
15873         * sysdeps/powerpc/configure: Likewise.
15874         * sysdeps/powerpc/powerpc32/configure: Likewise.
15875         * sysdeps/powerpc/powerpc64/configure: Likewise.
15876         * sysdeps/s390/s390-32/configure: Likewise.
15877         * sysdeps/s390/s390-64/configure: Likewise.
15878         * sysdeps/sh/configure: Likewise.
15879         * sysdeps/sparc/configure: Likewise.
15880         * sysdeps/unix/sysv/linux/configure: Likewise.
15881         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15882         * sysdeps/x86_64/configure: Likewise.
15883         * sysdeps/x86_64/preconfigure: Likewise.
15884
15885 2013-10-29  Andreas Schwab  <schwab@suse.de>
15886
15887         * stdio-common/Makefile (tst-swscanf-ENV): Define.
15888
15889 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15890
15891         * benchtests/pow-inputs: Add new inputs.
15892
15893         * benchtests/exp-inputs: Add new inputs.
15894
15895         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
15896         conditional check for return value.
15897         (__cos32): Likewise.
15898
15899 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15900
15901         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15902         to provide a boost for large inputs with word alignment.
15903         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15904         implementation based on optimized PPC64 strcpy.
15905         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15906         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15907         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15908         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15909
15910 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15911
15912         [BZ #2801]
15913         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15914
15915 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15916
15917         [BZ #14876]
15918         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15919         * time/tst-strptime.c (day_tests): Add testcase.
15920
15921 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15922
15923         [BZ #14029]
15924         * manual/pattern.texi: Acknowledge that fnmatch can fail.
15925
15926 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
15927
15928         [BZ #16074]
15929         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15930         MAP_FAILED on error.
15931
15932 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15933
15934         [BZ #16072]
15935         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15936         heap for large requests.
15937
15938 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
15939
15940         [BZ #9954]
15941         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15942         result if the result has no associated interface.
15943         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15944         interface for all 127.X.Y.Z addresses.
15945
15946 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
15947
15948         * locale/iso-639.def: Add Ligurian (lij)
15949
15950 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
15951
15952         [BZ #15825]
15953         * sunrpc/rpc_main.c: Document rpcgen -5.
15954
15955 2013-10-19  Michael Stahl  <mstahl@redhat.com>
15956
15957         * elf/rtld.c (do_preload): Print the reason why preloading failed.
15958
15959 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
15960
15961         [BZ #10278]
15962         * posix/glob.c: Match only directories when trailing slash is present.
15963         * posix/tst-gnuglob.c (my_opendir): Do not open files.
15964         (main): Add testcase.
15965
15966 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
15967
15968         [BZ #15670]
15969         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15970
15971 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
15972
15973         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15974         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15975         AUTH_DES and cindex for FIPS 140-2.
15976         (DES Encryption): Add cindex FIPS 46-3.
15977
15978         * locale/locarchive.h (struct locarhandle): Add fname.
15979         * locale/programs/localedef.c (main): Pass ARGV[remaining]
15980         if an optional argument was specified to --list-archive,
15981         otherwise NULL.
15982         * locale/programs/locarchive.c (show_archive_content): Take new
15983         argument fname and pass it via ah.fname to open_archive.
15984         * locale/programs/localedef.h: Update decl.
15985         (open_archive): If AH->fname is non-null, open that file
15986         rather than the default file name, and don't ignore ENOENT.
15987         (create_archive): Set AH.fname to NULL.
15988         (delete_locales_from_archive): Likewise.
15989         (add_locales_to_archive): Likewise.
15990         * locale/programs/locfile.c (write_all_categories): Likewise.
15991
15992 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
15993             Aldy Hernandez  <aldyh@redhat.com>
15994
15995         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15996         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15997         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15998         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15999         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
16000         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
16001         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
16002         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
16003         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
16004         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
16005         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
16006         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
16007         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
16008         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
16009         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
16010         Likewise.
16011         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
16012         Likewise.
16013         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
16014         Likewise.
16015         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
16016         Likewise.
16017         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
16018         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
16019         Likewise.
16020         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
16021         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
16022         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
16023         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
16024         Likewise.
16025         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
16026         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
16027         * sysdeps/powerpc/preconfigure: Likewise.
16028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
16029         Likewise.
16030         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
16031         Replace contents of file by #include of <fenv_libc.h>.
16032         * sysdeps/powerpc/soft-fp/sfp-machine.h
16033         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
16034         and <sys/prctl.h>.
16035         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
16036         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
16037         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
16038         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
16039         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
16040         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
16041         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
16042         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
16043         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
16044         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
16045         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
16046         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
16047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16048         Allow copysignl PLT reference to be missing.
16049
16050 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
16051             Joseph Myers  <joseph@codesourcery.com
16052
16053         [BZ #15948]
16054         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
16055         single character.
16056         (add_to_tablewc): Assert sequence of wide characters is nonempty.
16057
16058 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16059
16060         * elf/tst-tls-dlinfo.c: Don't include tls.h.
16061         * elf/tst-tls1.c: Likewise.
16062         * elf/tst-tls10.h: Likewise.
16063         * elf/tst-tls14.c: Likewise.
16064         * elf/tst-tls2.c: Likewise.
16065         * elf/tst-tls3.c: Likewise.
16066         * elf/tst-tls4.c: Likewise.
16067         * elf/tst-tls5.c: Likewise.
16068         * elf/tst-tls6.c: Likewise.
16069         * elf/tst-tls7.c: Likewise.
16070         * elf/tst-tls8.c: Likewise.
16071         * elf/tst-tls9.c: Likewise.
16072         * elf/tst-tlsmod1.c: Likewise.
16073         * elf/tst-tlsmod13.c: Likewise.
16074         * elf/tst-tlsmod13a.c: Likewise.
16075         * elf/tst-tlsmod14a.c: Likewise.
16076         * elf/tst-tlsmod16a.c: Likewise.
16077         * elf/tst-tlsmod16b.c: Likewise.
16078         * elf/tst-tlsmod2.c: Likewise.
16079         * elf/tst-tlsmod3.c: Likewise.
16080         * elf/tst-tlsmod4.c: Likewise.
16081         * elf/tst-tlsmod5.c: Likewise.
16082         * elf/tst-tlsmod6.c: Likewise.
16083
16084 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
16085
16086         [BZ #12486]
16087         * malloc/malloc.c: remove checks for statistics.
16088
16089 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
16090
16091         [BZ #15277]
16092         * inet/inet_net.c (inet_network): Detect additional invalid strings.
16093         * inet/tst-network.c: Add testcase.
16094
16095 2013-10-17  Andreas Schwab  <schwab@suse.de>
16096
16097         [BZ #15218]
16098         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
16099         to determine canonical name.
16100
16101 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
16102
16103         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
16104         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
16105         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16106         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16107         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16108         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16109         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16110         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16111         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
16112         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16113         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16114         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16115         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16116         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16117         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16118         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16119         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16120         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16121         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16122         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16123         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16124         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16125         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16126         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
16127         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
16128         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16129         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16130         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
16131         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16132         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
16133         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16134         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16135         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16136         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16137         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16138         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16139         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16140         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16141         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16142         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16143         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16144         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16145         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16146         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16147         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16148         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16149         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16150         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16151         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16152         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16153         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16154         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16155         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16156         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16157         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16158         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16159         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16160         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16161
16162 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
16163
16164         [BZ #16041]
16165         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
16166         make result into a quiet NaN.
16167
16168 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
16169
16170         * soft-fp/adddf3.c: Fix horizontal whitespace.
16171         * soft-fp/addsf3.c: Likewise.
16172         * soft-fp/addtf3.c: Likewise.
16173         * soft-fp/divdf3.c: Likewise.
16174         * soft-fp/divsf3.c: Likewise.
16175         * soft-fp/divtf3.c: Likewise.
16176         * soft-fp/double.h: Likewise.
16177         * soft-fp/eqdf2.c: Likewise.
16178         * soft-fp/eqsf2.c: Likewise.
16179         * soft-fp/eqtf2.c: Likewise.
16180         * soft-fp/extenddftf2.c: Likewise.
16181         * soft-fp/extended.h: Likewise.
16182         * soft-fp/extendsfdf2.c: Likewise.
16183         * soft-fp/extendsftf2.c: Likewise.
16184         * soft-fp/extendxftf2.c: Likewise.
16185         * soft-fp/fixdfdi.c: Likewise.
16186         * soft-fp/fixdfsi.c: Likewise.
16187         * soft-fp/fixdfti.c: Likewise.
16188         * soft-fp/fixsfdi.c: Likewise.
16189         * soft-fp/fixsfsi.c: Likewise.
16190         * soft-fp/fixsfti.c: Likewise.
16191         * soft-fp/fixtfdi.c: Likewise.
16192         * soft-fp/fixtfsi.c: Likewise.
16193         * soft-fp/fixtfti.c: Likewise.
16194         * soft-fp/fixunsdfdi.c: Likewise.
16195         * soft-fp/fixunsdfsi.c: Likewise.
16196         * soft-fp/fixunsdfti.c: Likewise.
16197         * soft-fp/fixunssfdi.c: Likewise.
16198         * soft-fp/fixunssfsi.c: Likewise.
16199         * soft-fp/fixunssfti.c: Likewise.
16200         * soft-fp/fixunstfdi.c: Likewise.
16201         * soft-fp/fixunstfsi.c: Likewise.
16202         * soft-fp/fixunstfti.c: Likewise.
16203         * soft-fp/floatdidf.c: Likewise.
16204         * soft-fp/floatdisf.c: Likewise.
16205         * soft-fp/floatditf.c: Likewise.
16206         * soft-fp/floatsidf.c: Likewise.
16207         * soft-fp/floatsisf.c: Likewise.
16208         * soft-fp/floatsitf.c: Likewise.
16209         * soft-fp/floattidf.c: Likewise.
16210         * soft-fp/floattisf.c: Likewise.
16211         * soft-fp/floattitf.c: Likewise.
16212         * soft-fp/floatundidf.c: Likewise.
16213         * soft-fp/floatundisf.c: Likewise.
16214         * soft-fp/floatunditf.c: Likewise.
16215         * soft-fp/floatunsidf.c: Likewise.
16216         * soft-fp/floatunsisf.c: Likewise.
16217         * soft-fp/floatunsitf.c: Likewise.
16218         * soft-fp/floatuntidf.c: Likewise.
16219         * soft-fp/floatuntisf.c: Likewise.
16220         * soft-fp/floatuntitf.c: Likewise.
16221         * soft-fp/fmadf4.c: Likewise.
16222         * soft-fp/fmasf4.c: Likewise.
16223         * soft-fp/fmatf4.c: Likewise.
16224         * soft-fp/gedf2.c: Likewise.
16225         * soft-fp/gesf2.c: Likewise.
16226         * soft-fp/getf2.c: Likewise.
16227         * soft-fp/ledf2.c: Likewise.
16228         * soft-fp/lesf2.c: Likewise.
16229         * soft-fp/letf2.c: Likewise.
16230         * soft-fp/muldf3.c: Likewise.
16231         * soft-fp/mulsf3.c: Likewise.
16232         * soft-fp/multf3.c: Likewise.
16233         * soft-fp/negdf2.c: Likewise.
16234         * soft-fp/negsf2.c: Likewise.
16235         * soft-fp/negtf2.c: Likewise.
16236         * soft-fp/op-1.h: Likewise.
16237         * soft-fp/op-2.h: Likewise.
16238         * soft-fp/op-4.h: Likewise.
16239         * soft-fp/op-8.h: Likewise.
16240         * soft-fp/op-common.h: Likewise.
16241         * soft-fp/quad.h: Likewise.
16242         * soft-fp/single.h: Likewise.
16243         * soft-fp/soft-fp.h: Likewise.
16244         * soft-fp/sqrtdf2.c: Likewise.
16245         * soft-fp/sqrtsf2.c: Likewise.
16246         * soft-fp/sqrttf2.c: Likewise.
16247         * soft-fp/subdf3.c: Likewise.
16248         * soft-fp/subsf3.c: Likewise.
16249         * soft-fp/subtf3.c: Likewise.
16250         * soft-fp/truncdfsf2.c: Likewise.
16251         * soft-fp/trunctfdf2.c: Likewise.
16252         * soft-fp/trunctfsf2.c: Likewise.
16253         * soft-fp/trunctfxf2.c: Likewise.
16254         * soft-fp/unorddf2.c: Likewise.
16255         * soft-fp/unordsf2.c: Likewise.
16256         * soft-fp/unordtf2.c: Likewise.
16257
16258 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
16259
16260         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
16261         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
16262
16263 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
16264
16265         * elf/dl-libc.c: Clear initfini list after freeing.
16266
16267 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
16268
16269         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
16270         * soft-fp/addsf3.c: Likewise.
16271         * soft-fp/addtf3.c: Likewise.
16272         * soft-fp/divdf3.c: Likewise.
16273         * soft-fp/divsf3.c: Likewise.
16274         * soft-fp/divtf3.c: Likewise.
16275         * soft-fp/double.h: Likewise.
16276         * soft-fp/eqdf2.c: Likewise.
16277         * soft-fp/eqsf2.c: Likewise.
16278         * soft-fp/eqtf2.c: Likewise.
16279         * soft-fp/extenddftf2.c: Likewise.
16280         * soft-fp/extended.h: Likewise.
16281         * soft-fp/extendsfdf2.c: Likewise.
16282         * soft-fp/extendsftf2.c: Likewise.
16283         * soft-fp/extendxftf2.c: Likewise.
16284         * soft-fp/fixdfdi.c: Likewise.
16285         * soft-fp/fixdfsi.c: Likewise.
16286         * soft-fp/fixdfti.c: Likewise.
16287         * soft-fp/fixsfdi.c: Likewise.
16288         * soft-fp/fixsfsi.c: Likewise.
16289         * soft-fp/fixsfti.c: Likewise.
16290         * soft-fp/fixtfdi.c: Likewise.
16291         * soft-fp/fixtfsi.c: Likewise.
16292         * soft-fp/fixtfti.c: Likewise.
16293         * soft-fp/fixunsdfdi.c: Likewise.
16294         * soft-fp/fixunsdfsi.c: Likewise.
16295         * soft-fp/fixunsdfti.c: Likewise.
16296         * soft-fp/fixunssfdi.c: Likewise.
16297         * soft-fp/fixunssfsi.c: Likewise.
16298         * soft-fp/fixunssfti.c: Likewise.
16299         * soft-fp/fixunstfdi.c: Likewise.
16300         * soft-fp/fixunstfsi.c: Likewise.
16301         * soft-fp/fixunstfti.c: Likewise.
16302         * soft-fp/floatdidf.c: Likewise.
16303         * soft-fp/floatdisf.c: Likewise.
16304         * soft-fp/floatditf.c: Likewise.
16305         * soft-fp/floatsidf.c: Likewise.
16306         * soft-fp/floatsisf.c: Likewise.
16307         * soft-fp/floatsitf.c: Likewise.
16308         * soft-fp/floattidf.c: Likewise.
16309         * soft-fp/floattisf.c: Likewise.
16310         * soft-fp/floattitf.c: Likewise.
16311         * soft-fp/floatundidf.c: Likewise.
16312         * soft-fp/floatundisf.c: Likewise.
16313         * soft-fp/floatunsidf.c: Likewise.
16314         * soft-fp/floatunsisf.c: Likewise.
16315         * soft-fp/floatuntidf.c: Likewise.
16316         * soft-fp/floatuntisf.c: Likewise.
16317         * soft-fp/floatuntitf.c: Likewise.
16318         * soft-fp/fmadf4.c: Likewise.
16319         * soft-fp/fmasf4.c: Likewise.
16320         * soft-fp/fmatf4.c: Likewise.
16321         * soft-fp/gedf2.c: Likewise.
16322         * soft-fp/gesf2.c: Likewise.
16323         * soft-fp/getf2.c: Likewise.
16324         * soft-fp/ledf2.c: Likewise.
16325         * soft-fp/lesf2.c: Likewise.
16326         * soft-fp/letf2.c: Likewise.
16327         * soft-fp/muldf3.c: Likewise.
16328         * soft-fp/mulsf3.c: Likewise.
16329         * soft-fp/multf3.c: Likewise.
16330         * soft-fp/negdf2.c: Likewise.
16331         * soft-fp/negsf2.c: Likewise.
16332         * soft-fp/negtf2.c: Likewise.
16333         * soft-fp/op-1.h: Likewise.
16334         * soft-fp/op-2.h: Likewise.
16335         * soft-fp/op-4.h: Likewise.
16336         * soft-fp/op-8.h: Likewise.
16337         * soft-fp/op-common.h: Likewise.
16338         * soft-fp/quad.h: Likewise.
16339         * soft-fp/single.h: Likewise.
16340         * soft-fp/soft-fp.h: Likewise.
16341         * soft-fp/sqrtdf2.c: Likewise.
16342         * soft-fp/sqrtsf2.c: Likewise.
16343         * soft-fp/sqrttf2.c: Likewise.
16344         * soft-fp/subdf3.c: Likewise.
16345         * soft-fp/subsf3.c: Likewise.
16346         * soft-fp/subtf3.c: Likewise.
16347         * soft-fp/truncdfsf2.c: Likewise.
16348         * soft-fp/trunctfdf2.c: Likewise.
16349         * soft-fp/trunctfsf2.c: Likewise.
16350         * soft-fp/trunctfxf2.c: Likewise.
16351         * soft-fp/unorddf2.c: Likewise.
16352         * soft-fp/unordsf2.c: Likewise.
16353         * soft-fp/unordtf2.c: Likewise.
16354
16355 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
16356
16357         [BZ #15672]
16358         * misc/error.c (error_tail): Fix possible buffer overflow.
16359
16360 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
16361
16362         [BZ #13028]
16363         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
16364         address.
16365
16366 2013-10-14  P. J. McDermott  <pj@pehjota.net>
16367
16368         [BZ #832]
16369         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
16370         testing pipefail option.
16371
16372 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
16373
16374         * soft-fp/double.h: Indent preprocessor directives inside #if.
16375         * soft-fp/extended.h: Likewise.
16376         * soft-fp/op-2.h: Likewise.
16377         * soft-fp/op-4.h: Likewise.
16378         * soft-fp/op-common.h: Likewise.
16379         * soft-fp/quad.h: Likewise.
16380         * soft-fp/single.h: Likewise.
16381         * soft-fp/soft-fp.h: Likewise.
16382
16383 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
16384
16385         * iconv/iconv_prog.c: Fix typos.
16386         * stdio-common/psiginfo-data.h: Likewise.
16387
16388 2013-10-12   Reuben Thomas <rrt@sc3d.org>
16389
16390         [BZ #15764]
16391         * locale/setlocale.c: Fix typo.
16392
16393 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
16394
16395         [BZ #16036]
16396         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
16397         signaling NaN arguments.
16398         * soft-fp/unordsf2.c (__unordsf2): Likewise.
16399         * soft-fp/unordtf2.c (__unordtf2): Likewise.
16400
16401         [BZ #14910]
16402         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
16403         unordered operands.
16404         * soft-fp/gesf2.c (__gesf2): Likewise.
16405         * soft-fp/getf2.c (__getf2): Likewise.
16406         * soft-fp/ledf2.c (__ledf2): Likewise.
16407         * soft-fp/lesf2.c (__lesf2): Likewise.
16408         * soft-fp/letf2.c (__letf2): Likewise.
16409
16410         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
16411         * soft-fp/eqsf2.c (__eqsf2): Likewise.
16412         * soft-fp/eqtf2.c (__eqtf2): Likewise.
16413         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
16414         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
16415         * soft-fp/fixdfti.c (__fixdfti): Likewise.
16416         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
16417         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
16418         * soft-fp/fixsfti.c (__fixsfti): Likewise.
16419         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
16420         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
16421         * soft-fp/fixtfti.c (__fixtfti): Likewise.
16422         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
16423         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
16424         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
16425         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
16426         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
16427         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
16428         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
16429         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
16430         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
16431         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
16432         * soft-fp/floatdisf.c (__floatdisf): Likewise.
16433         * soft-fp/floatsisf.c (__floatsisf): Likewise.
16434         * soft-fp/floattidf.c (__floattidf): Likewise.
16435         * soft-fp/floattisf.c (__floattisf): Likewise.
16436         * soft-fp/floattitf.c (__floattitf): Likewise.
16437         * soft-fp/floatundidf.c (__floatundidf): Likewise.
16438         * soft-fp/floatundisf.c (__floatundisf): Likewise.
16439         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
16440         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
16441         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
16442         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
16443         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
16444         * soft-fp/gesf2.c (__gesf2): Likewise.
16445         * soft-fp/getf2.c (__getf2): Likewise.
16446         * soft-fp/ledf2.c (__ledf2): Likewise.
16447         * soft-fp/lesf2.c (__lesf2): Likewise.
16448         * soft-fp/letf2.c (__letf2): Likewise.
16449
16450         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
16451         Undefine and redefine.
16452         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
16453         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
16454         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
16455         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
16456         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16457         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
16458         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16459         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
16460         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16461         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
16462         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16463         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
16464         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16465         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
16466         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16467
16468         [BZ #16032]
16469         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
16470         without decrementing exponent if mantissa >= that for the
16471         denominator, not >.
16472         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
16473         denominator, not >.  Decrement exponent in < case instead of
16474         incrementing in >= case.
16475         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
16476         without decrementing exponent if mantissa >= that for the
16477         denominator, not >.
16478
16479         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
16480         computing saturated result for unsigned overflow.
16481
16482 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16483             Jeff Law  <law@redhat.com>
16484
16485         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
16486         (atan2Mp): Add systemtap probe marker.
16487         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
16488         (__ieee754_log): Add systemtap probe marker.
16489         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
16490         (atanMp): Add systemtap probe marker.
16491         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
16492         (tanMp): Add systemtap probe marker.
16493         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
16494         (__slowexp): Add systemtap probe marker.
16495         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
16496         (__slowpow): Add systemtap probe marker.
16497         * manual/probes.texi: Document probes.
16498
16499 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
16500
16501         [BZ #15362]
16502         * libio/fileops.c (_IO_new_file_write): Return count of bytes
16503         written.
16504         (_IO_new_file_xsputn): Don't return EOF if nothing has been
16505         written.
16506         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
16507         written to buffer but not flushed.
16508         * libio/iofwrite_u.c:  Likewise.
16509         * libio/iopadn.c:  Return bytes returned even if EOF was
16510         encountered.
16511         * libio/iowpadn.c:  Likewise.
16512         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
16513         if _IO_padn does not write the whole buffer.
16514         [!COMPILE_WPRINTF] (PAD): Likewise.
16515
16516 2013-10-10  David S. Miller  <davem@davemloft.net>
16517
16518         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
16519         directory block.
16520
16521 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
16522
16523         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
16524         instead of FSF address.
16525         * soft-fp/fixdfti.c: Likewise.
16526         * soft-fp/fixsfti.c: Likewise.
16527         * soft-fp/fixtfti.c: Likewise.
16528         * soft-fp/fixunsdfti.c: Likewise.
16529         * soft-fp/fixunssfti.c: Likewise.
16530         * soft-fp/fixunstfti.c: Likewise.
16531         * soft-fp/floattidf.c: Likewise.
16532         * soft-fp/floattisf.c: Likewise.
16533         * soft-fp/floattitf.c: Likewise.
16534         * soft-fp/floatuntidf.c: Likewise.
16535         * soft-fp/floatuntisf.c: Likewise.
16536         * soft-fp/floatuntitf.c: Likewise.
16537         * soft-fp/trunctfxf2.c: Likewise.
16538
16539         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
16540         * soft-fp/fixdfti.c: Likewise.
16541         * soft-fp/fixsfti.c: Likewise.
16542         * soft-fp/fixtfti.c: Likewise.
16543         * soft-fp/fixunsdfti.c: Likewise.
16544         * soft-fp/fixunssfti.c: Likewise.
16545         * soft-fp/fixunstfti.c: Likewise.
16546         * soft-fp/floattidf.c: Likewise.
16547         * soft-fp/floattisf.c: Likewise.
16548         * soft-fp/floattitf.c: Likewise.
16549         * soft-fp/floatuntidf.c: Likewise.
16550         * soft-fp/floatuntisf.c: Likewise.
16551         * soft-fp/floatuntitf.c: Likewise.
16552         * soft-fp/trunctfxf2.c: Likewise.
16553
16554 2013-10-10  David S. Miller  <davem@davemloft.net>
16555
16556         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16557
16558 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
16559
16560         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16561         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
16562         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
16563         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
16564         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
16565         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
16566         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
16567
16568         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
16569         for NaNs before doing comparisons on argument.
16570         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16571         Likewise.
16572
16573 2013-10-10  Will Newton  <will.newton@linaro.org>
16574
16575         * malloc/hooks.c (memalign_check): Ensure the value of bytes
16576         passed to _int_memalign does not overflow.
16577
16578 2013-10-10  Torvald Riegel  <triegel@redhat.com>
16579
16580         * scripts/bench.pl: Add include-sources directive.
16581         * benchtests/README: Update documentation.
16582
16583 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
16584
16585         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
16586         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
16587         instead of FP_INIT_ROUNDMODE.
16588         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
16589         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
16590
16591         [BZ #16034]
16592         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
16593         copy class of input value.
16594         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
16595         not handle exceptions.
16596         * soft-fp/negsf2.c (__negsf2): Likewise.
16597         * soft-fp/negtf2.c (__negtf2): Likewise.
16598         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
16599
16600 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
16601
16602         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
16603         semicolon.  From Linux kernel.
16604
16605 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
16606
16607         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
16608
16609 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
16610
16611         [BZ #156]
16612         * manual/socket.texi: Added statement about buffer
16613         for gethostbyname2_r.
16614
16615 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
16616
16617         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
16618         Use .p2align directive instead, throughout.
16619         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16620         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
16621         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
16622         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16623         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16624         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16625         * sysdeps/x86_64/strchr.S: Likewise.
16626         * sysdeps/x86_64/strrchr.S: Likewise.
16627
16628 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
16629
16630         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
16631
16632         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
16633
16634         * sysdeps/generic/math_private.h (__mpsin1): Remove
16635         declaration.
16636         (__mpcos1): Likewise.
16637         (__mpsin): New argument __range_reduce.
16638         (__mpcos): Likewise.
16639         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16640         (slow): Use __mpsin and __mpcos.
16641         (slow1): Likewise.
16642         (slow2): Likewise.
16643         (sloww): Likewise.
16644         (sloww1): Likewise.
16645         (sloww2): Likewise.
16646         (bsloww): Likewise.
16647         (bsloww1): Likewise.
16648         (bsloww2): Likewise.
16649         (cslow2): Likewise.
16650         (csloww): Likewise.
16651         (csloww1): Likewise.
16652         (csloww2): Likewise.
16653         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
16654         range_reduce.  Merge in __mpsin1.
16655         (__mpcos): Likewise.
16656         (__mpsin1): Remove.
16657         (__mpcos1): Likewise.
16658
16659 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
16660
16661         * locale/loadlocale.c (_nl_intern_locale_data): Use
16662         LOCFILE_ALIGNED_P.
16663         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
16664         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
16665         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
16666         obstack data is appropriately aligned.
16667         (obstack_int32_grow_fast): Likewise.
16668         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
16669         * locale/programs/locfile.c (add_locale_uint32): Likewise.
16670         (add_locale_uint32_array): Likewise.
16671
16672 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
16673
16674         * benchtests/Makefile: Remove ARGLIST and RET variables.
16675         ($(objpfx)bench-%.c): Pass only function name to the script.
16676         * benchtests/README: Update documentation.
16677         * benchtests/acos-inputs: Add new directives.
16678         * benchtests/acosh-inputs: Likewise.
16679         * benchtests/asin-inputs: Likewise.
16680         * benchtests/asinh-inputs: Likewise.
16681         * benchtests/atan-inputs: Likewise.
16682         * benchtests/atanh-inputs: Likewise.
16683         * benchtests/cos-inputs: Likewise.
16684         * benchtests/cosh-inputs: Likewise.
16685         * benchtests/exp-inputs: Likewise.
16686         * benchtests/log-inputs: Likewise.
16687         * benchtests/pow-inputs: Likewise.
16688         * benchtests/rint-inputs: Likewise.
16689         * benchtests/sin-inputs: Likewise.
16690         * benchtests/sinh-inputs: Likewise.
16691         * benchtests/tan-inputs: Likewise.
16692         * benchtests/tanh-inputs: Likewise.
16693         * scripts/bench.pl: Add support for new directives.
16694
16695 2013-10-07  Alan Modra  <amodra@gmail.com>
16696
16697         * README: Fix careless merge.
16698
16699 2013-10-05  Alan Modra  <amodra@gmail.com>
16700
16701         * NEWS: Mention powerpc64le support and bugs fixed.
16702         * README: Both big-endian and little-endian powerpc64 supported.
16703
16704 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16705
16706         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
16707         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
16708         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
16709         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
16710
16711 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
16712
16713         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
16714         match prototype.
16715
16716 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
16717
16718         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
16719         Move -mhard-float appending from
16720         ports/sysdeps/powerpc/powerpc32/Makefile.
16721         [$(with-fp) = yes] (ASFLAGS): Likewise.
16722         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
16723         * sysdeps/powerpc/nofpu: Move directory from
16724         ports/sysdeps/powerpc/nofpu.
16725         * sysdeps/powerpc/soft-fp: Move directory from
16726         ports/sysdeps/powerpc/soft-fp.
16727         * sysdeps/powerpc/powerpc32/405: Move directory from
16728         ports/sysdeps/powerpc/powerpc32/405.
16729         * sysdeps/powerpc/powerpc32/440: Move directory from
16730         ports/sysdeps/powerpc/powerpc32/440.
16731         * sysdeps/powerpc/powerpc32/464: Move directory from
16732         ports/sysdeps/powerpc/powerpc32/464.
16733         * sysdeps/powerpc/powerpc32/476: Move directory from
16734         ports/sysdeps/powerpc/powerpc32/476.
16735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
16736         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
16737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
16738         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
16739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
16740         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
16741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
16742         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
16743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
16744         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
16745         * README: Update for powerpc-*-linux-gnu software floating point
16746         support in libc.
16747
16748         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
16749         case to powerpc/powerpc32*.
16750         * sysdeps/unix/sysv/linux/configure: Regenerated.
16751
16752         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
16753         (_FPU_MASK_OM): Define as 0x04.
16754         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
16755         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
16756         0x00c10080.
16757         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
16758         0x0000003c.
16759         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
16760
16761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
16762         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16763         getcontext_e500.
16764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
16765         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16766         setcontext_e500.
16767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
16768         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
16769         and setcontext_e500.
16770
16771 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
16772
16773         * locale/iso-3166.def: Update iso-1366.def and related occurrences
16774
16775 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16776
16777         * manual/threads.texi (Default Thread Attributes): Fix typo.
16778
16779 2013-10-04  Will Newton  <will.newton@linaro.org>
16780
16781         * malloc/Makefile: Add tst-memalign.
16782         * malloc/tst-memalign.c: New file.
16783
16784         * malloc/tst-posix_memalign.c: Add comments.
16785         (do_test): Add comments and call free on all potentially
16786         allocated pointers. Add space after cast.
16787
16788         * malloc/tst-pvalloc.c: Add comments.
16789         (do_test): Add comments and call free on all potentially
16790         allocated pointers. Remove duplicate check for NULL pointer.
16791         Add space after cast.
16792
16793         * malloc/tst-valloc.c: Add comments.
16794         (do_test): Add comments and call free on all potentially
16795         allocated pointers. Remove duplicate check for NULL pointer.
16796         Add space after cast.
16797
16798 2013-10-04  Alan Modra  <amodra@gmail.com>
16799
16800         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16801         Use stdint types in rather than __attribute__((mode())).
16802         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16803
16804 2013-10-04  Alan Modra  <amodra@gmail.com>
16805
16806         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16807         Correct handling of unaligned relocs for little-endian.
16808         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16809
16810 2013-10-04  Alan Modra  <amodra@gmail.com>
16811
16812         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
16813         * configure: Regenerate.
16814         * nptl/shlib-versions: Powerpc*le starts at 2.18.
16815         * shlib-versions: Likewise.
16816
16817 2013-10-04  Alan Modra  <amodra@gmail.com>
16818
16819         * string/tester.c (test_memrchr): Increment reported test cycle.
16820
16821 2013-10-04  Alan Modra  <amodra@gmail.com>
16822
16823         * string/test-memcpy.c (do_one_test): When reporting errors, print
16824         string address and don't overrun end of string.
16825
16826 2013-10-04  Alan Modra  <amodra@gmail.com>
16827
16828         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16829         insrdi.  Make better use of reg selection to speed exit slightly.
16830         Schedule entry path a little better.  Remove useless "are we done"
16831         checks on entry to main loop.  Handle wrapping around zero address.
16832         Correct main loop count.  Handle single left-over word from main
16833         loop inline rather than by using loop_small.  Remove extra word
16834         case in loop_small caused by wrong loop count.  Add little-endian
16835         support.
16836         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16837         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
16838         cache hint.
16839         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16840         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16841         support.  Avoid rlwimi.
16842         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16843
16844 2013-10-04  Alan Modra  <amodra@gmail.com>
16845
16846         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
16847         insrdi.  Formatting.
16848         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16849         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16850         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16851         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16852         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16853         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16854
16855 2013-10-04  Alan Modra  <amodra@gmail.com>
16856
16857         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16858         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16859         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16860         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16861         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16862         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16863         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16864         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16865         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
16866         use of regs.  Use power7 mtocrf.  Tidy function tails.
16867
16868 2013-10-04  Alan Modra  <amodra@gmail.com>
16869
16870         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16871         Formatting.  Consistently use rXXX register defines or rN defines.
16872         Use early exit labels that avoid restoring unused non-volatile regs.
16873         Make cr field use more consistent with rWORDn compares.  Rename
16874         regs used as shift registers for unaligned loop, using rN defines
16875         for short lifetime/multiple use regs.
16876         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16877         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
16878         addi 1,1,64 to pop stack frame.  Simplify return value code.
16879         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16880
16881 2013-10-04  Alan Modra  <amodra@gmail.com>
16882
16883         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16884         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
16885         rather than rlwimi.
16886         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16887         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16888         little-endian support.  Correct typos.
16889         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
16890         rather than rlwimi.
16891         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
16892         in loop and entry code to keep "and." results.
16893         (strchr): Add little-endian support.  Comment.  Move cntlzd
16894         earlier in tail.
16895         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16896
16897 2013-10-04  Alan Modra  <amodra@gmail.com>
16898
16899         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16900         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16901         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16902         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16903
16904 2013-10-04  Alan Modra  <amodra@gmail.com>
16905
16906         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16907         (rTMP): Define as r11.
16908         (strcmp): Add little-endian support.  Optimise tail.
16909         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16910         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16911         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16912         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16913         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16914         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16915         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16916
16917 2013-10-04  Alan Modra  <amodra@gmail.com>
16918
16919         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16920         little-endian support.  Remove unnecessary "are we done" tests.
16921         Handle "s" wrapping around zero and extremely large "size".
16922         Correct main loop count.  Handle single left-over word from main
16923         loop inline rather than by using small_loop.  Correct comments.
16924         Delete "zero" tail, use "end_max" instead.
16925         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16926
16927 2013-10-04  Alan Modra  <amodra@gmail.com>
16928
16929         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16930         support.  Don't branch over align.
16931         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16932         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16933         support.  Rearrange tmp reg use to suit.  Comment.
16934         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16935
16936 2013-10-04  Alan Modra  <amodra@gmail.com>
16937
16938         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16939
16940 2013-10-04  Alan Modra  <amodra@gmail.com>
16941
16942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16943         conditional form of branch and link when obtaining pc.
16944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16945
16946 2013-10-04  Alan Modra  <amodra@gmail.com>
16947
16948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16949         HIWORD/LOWORD.
16950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16952
16953 2013-10-04  Alan Modra  <amodra@gmail.com>
16954
16955         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16956         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16957         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16958         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16959         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16960         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16961         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16962         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16963         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16964         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16965
16966 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16967             Alistair Popple <alistair@ozlabs.au.ibm.com>
16968             Alan Modra <amodra@gmail.com>
16969
16970         [BZ #15723]
16971         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16972         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16973         _dl_hwcap access for little-endian.
16974         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
16975         destroy vmx regs when saving unaligned.
16976         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16977         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
16978         destroy vmx regs when saving unaligned.
16979
16980 2013-10-04  Alan Modra  <amodra@gmail.com>
16981
16982         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16983         Don't use a union to pack hi/low value.
16984
16985 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16986
16987         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16988         for little-endian.
16989         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16990         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16991         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16992         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16993         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16994
16995 2013-10-04  Alan Modra  <amodra@gmail.com>
16996
16997         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16998         constants to usual value for .cst8 section, and remove redundant
16999         high address load.
17000         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
17001         constant for 0x1p52.  Load little-endian words of double from
17002         correct stack offsets.
17003
17004 2013-10-04  Alan Modra  <amodra@gmail.com>
17005
17006         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
17007         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
17008         words of double from correct stack offsets.
17009         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
17010         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
17011         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17012         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17013         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17014         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17015         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17016         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
17017         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
17018         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17019         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17020         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17021         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17022         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17023         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17024         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
17025         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
17026
17027 2013-10-04  Alan Modra  <amodra@gmail.com>
17028
17029         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
17030         64-bit int/double union.
17031         (_FPU_SETCW): Likewise.
17032         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
17033         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
17034
17035 2013-10-04  Alan Modra  <amodra@gmail.com>
17036
17037         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
17038         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
17039
17040 2013-10-04  Alan Modra  <amodra@gmail.com>
17041
17042         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
17043         use vector int constants.
17044         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
17045
17046 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
17047
17048         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
17049         array with long long.
17050         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
17051         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
17052         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
17053         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
17054         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
17055         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
17056         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
17057         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
17058         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
17059         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
17060         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
17061         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
17062         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
17063
17064 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
17065
17066         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
17067         (__signbit): Likewise.  Correct for little-endian.
17068         (__signbitl): Call __signbit.
17069         (lrint): Correct for little-endian.
17070         (lrintf): Call lrint.
17071
17072 2013-10-04  Alan Modra  <amodra@gmail.com>
17073
17074         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
17075         union 32-bit int array member with 64-bit int array.
17076         (t515, tm256): Double rather than long double.
17077         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
17078
17079 2013-10-04  Alan Modra  <amodra@gmail.com>
17080
17081         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
17082         Delete.
17083         (IEEE854_LONG_DOUBLE_BIAS): Delete.
17084         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
17085         version of math_ldbl.h.
17086
17087 2013-10-04  Alan Modra  <amodra@gmail.com>
17088
17089         [BZ #15734], [BZ #15735]
17090         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
17091         all uses of ieee875 long double macros and unions.  Simplify test
17092         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
17093         ldbl_extract_mantissa value for ix,iy exponents.  Properly
17094         normalize after ldbl_extract_mantissa, and don't add hidden bit
17095         already handled.  Don't treat low word of ieee854 mantissa like
17096         low word of IBM long double and mask off bit when testing for
17097         zero.
17098         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
17099         all uses of ieee875 long double macros and unions.  Simplify tests
17100         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
17101         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
17102         two1022, instead use their values.  Recognise that tests for large
17103         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
17104         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
17105         Rewrite all uses of ieee875 long double macros and unions.  Simplify
17106         test for 0.0L and nan.  Correct negation.
17107         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
17108         ieee875 long double macros and unions.  Correct output for large
17109         magnitude x.  Correct absolute value calculation.
17110         (__erfcl): Likewise.
17111         * math/libm-test.inc: Add tests for errors discovered in IBM long
17112         double versions of fmodl, remainderl, erfl and erfcl.
17113
17114 2013-10-04  Alan Modra  <amodra@gmail.com>
17115
17116         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
17117         all uses of ieee854 long double macros and unions.  Simplify tests
17118         for long doubles that are fully specified by the high double.
17119         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
17120         Likewise.
17121         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
17122         Remove dead code too.
17123         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17124         (__ieee754_ynl): Likewise.
17125         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
17126         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
17127         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
17128         Remove dead code too.
17129         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
17130         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
17131         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
17132         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
17133         Simplify.
17134         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
17135         Simplify.
17136         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
17137         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
17138         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
17139         Comment on variable precision.
17140         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
17141         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17142         Likewise.
17143         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17144         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17145         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17146         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
17147         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
17148
17149 2013-10-04  Alan Modra  <amodra@gmail.com>
17150
17151         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
17152         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
17153         all uses of ieee854 long double macros and unions.
17154         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
17155         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17156         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
17157         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
17158         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
17159         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
17160         Likewise.
17161         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
17162         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17163         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
17164         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17165         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
17166         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
17167         Simplify sign and nan test too.
17168         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
17169         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
17170         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
17171         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
17172         Likewise.
17173         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
17174         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
17175         Likewise.
17176         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17177         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
17178         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
17179         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
17180         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
17181         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
17182
17183 2013-10-04  Alan Modra  <amodra@gmail.com>
17184
17185         * stdio-common/printf_size.c (__printf_size): Don't use
17186         union ieee854_long_double in fpnum union.
17187         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
17188         signbit macro to retrieve sign from long double.
17189         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
17190         retrieve sign from long double.
17191         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
17192         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
17193         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
17194         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17195         * math/test-misc.c (main): Don't use union ieee854_long_double.
17196
17197 2013-10-04  Alan Modra  <amodra@gmail.com>
17198
17199         [BZ #15680]
17200         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
17201         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
17202         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
17203         calculation.  Remove unnecessary test for denormal exponent.
17204         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
17205         Correct handling of denormals.  Avoid undefined shift behaviour.
17206         Correct normalisation of low mantissa when low double is denormal.
17207         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
17208         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
17209         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
17210         Correct normalisation of low mantissa.  Test for overflow of high
17211         mantissa and normalise.
17212         (ldbl_nearbyint): Use more readable constant for two52.
17213         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
17214         (__mpn_construct_long_double): Fix test for overflow of high
17215         mantissa and correct normalisation.  Avoid undefined shift.
17216
17217 2013-10-04  Alan Modra  <amodra@gmail.com>
17218
17219         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17220         (union ibm_extended_long_double): Define as an array of ieee754_double.
17221         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
17222         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
17223         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
17224         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17225         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17226         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
17227         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17228         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
17229         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17230         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
17231         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17232
17233 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
17234
17235         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
17236         page size instead of calling getpagesize.
17237
17238         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
17239         (LOCFILE_ALIGN_MASK): Likewise.
17240         (LOCFILE_ALIGN_UP): Likewise.
17241         (LOCFILE_ALIGNED_P): Likewise.
17242         * locale/programs/ld-collate.c (collate_output): Use the new
17243         macros instead of __alignof__ (int32_t).
17244         * locale/weight.h (findidx): Likewise.
17245
17246 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
17247
17248         [BZ #431]
17249         * manual/string.texi: Fix strncat and wcsncat.
17250
17251 2013-10-03  Brooks Moses  <bmoses@google.com>
17252
17253         [BZ #15915]
17254         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
17255         * Makerules: ...here, and adjust associated comments.
17256
17257 2013-10-02  Will Newton  <will.newton@linaro.org>
17258
17259         * malloc/Makefile: Add tst-pvalloc.
17260         * malloc/tst-pvalloc.c: New file.
17261
17262 2013-10-02  Will Newton  <will.newton@linaro.org>
17263
17264         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
17265         improve test coverage.
17266
17267 2013-10-02  Will Newton  <will.newton@linaro.org>
17268
17269         * malloc/Makefile: Add tst-posix_memalign.
17270         * malloc/tst-posix_memalign.c: New file.
17271
17272 2013-10-01  Eric Blake  <eblake@redhat.com>
17273
17274         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
17275         Use __THROWNL rather than __THROW on static functions.
17276
17277 2013-09-30  Petr Machata  <pmachata@redhat.com>
17278
17279         * elf/elf.h (R_AARCH64_ABS16): New macro.
17280         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
17281         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
17282         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
17283         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
17284         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
17285         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
17286         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
17287         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
17288         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
17289         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
17290         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
17291         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
17292         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
17293         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
17294         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
17295         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
17296         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
17297         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
17298         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
17299         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
17300         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
17301         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
17302         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
17303         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
17304         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
17305         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
17306         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
17307         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
17308         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
17309         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
17310         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
17311         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
17312         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
17313         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
17314         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
17315         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
17316         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
17317         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
17318         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
17319         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
17320         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
17321         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
17322         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
17323         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
17324         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
17325         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
17326         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
17327         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
17328         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
17329         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
17330         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
17331         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
17332         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
17333         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
17334         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
17335         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
17336         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
17337         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
17338         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
17339         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
17340         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
17341         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
17342         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
17343         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
17344         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
17345         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
17346         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
17347         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
17348         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
17349         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
17350         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
17351         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
17352         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
17353         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
17354         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
17355         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
17356         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
17357         (R_AARCH64_TLSDESC_LDR): Likewise.
17358         (R_AARCH64_TLSDESC_ADD): Likewise.
17359         (R_AARCH64_TLSDESC_CALL): Likewise.
17360
17361 2013-09-30  Andreas Schwab  <schwab@suse.de>
17362
17363         [BZ #15048]
17364         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
17365         the nss database lookup.
17366         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17367         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17368
17369 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
17370
17371         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
17372
17373 2013-09-28  P. J. McDermott  <pj@pehjota.net>
17374
17375         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
17376         ${Bash-specific parameter/pattern/string} parameter expansion.
17377         * sysdeps/unix/make-syscalls.sh: Likewise.
17378
17379 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17380
17381         * sysdeps/sh/stackguard-macros.h: New file.
17382
17383 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
17384
17385         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17386         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
17387         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
17388         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
17389         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17390         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
17391
17392 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17393
17394         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
17395         Fix thread ID register.
17396
17397 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
17398
17399         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
17400         [POSIX || UNIX98]: Require rather than permitting all symbols from
17401         <time.h>.
17402         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
17403         element of struct sched_param.
17404         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
17405         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
17406         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
17407         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
17408         constant.
17409
17410 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
17411
17412         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
17413         argument calculation.
17414
17415 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
17416
17417         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
17418         Expect macro.
17419         [POSIX] (pthread_attr_t): Do not require type.
17420         [POSIX] (pthread_cond_t): Likewise.
17421         [POSIX] (pthread_condattr_t): Likewise.
17422         [POSIX] (pthread_key_t): Likewise.
17423         [POSIX] (pthread_mutex_t): Likewise.
17424         [POSIX] (pthread_mutexattr_t): Likewise.
17425         [POSIX] (pthread_once_t): Likewise.
17426         [POSIX] (pthread_t): Likewise.
17427         [POSIX-based standards] (pthread_atfork): Expect function.
17428
17429 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
17430             Richard Sandiford  <richard@codesourcery.com>
17431
17432         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
17433         (swap_endianness_p): New extern variable.
17434         (set_big_endian): New inline function.
17435         (maybe_swap_uint32): Likewise.
17436         (maybe_swap_uint32_array): Likewise.
17437         (maybe_swap_uint32_obstack): Likewise.
17438         * locale/programs/locfile.c: Include <stdbool.h>.
17439         (swap_endianness_p): New variable.
17440         (add_locale_uint32): Call maybe_swap_uint32.
17441         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
17442         (write_locale_data): Call maybe_swap_uint32_array.
17443         * locale/programs/ld-collate.c (obstack_int32_grow): Call
17444         maybe_swap_uint32.
17445         (obstack_int32_grow_fast): Likewise.
17446         (output_weightwc): Call maybe_swap_uint32_obstack.
17447         (collate_output): Likewise.
17448         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
17449         (OPT_LITTLE_ENDIAN): Likewise.
17450         (options): Add --little-endian and --big-endian options.
17451         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
17452         * locale/programs/locarchive.c: Include "locfile.h".
17453         (GET): New macro.
17454         (SET): Likewise.
17455         (INC): Likewise.
17456         (create_archive): Use the new macros to access fields of
17457         structures directly mapped from or written to locale archives.
17458         (oldlocrecentcmp): Likewise.
17459         (enlarge_archive): Likewise.
17460         (insert_name): Likewise.
17461         (add_alias): Likewise.
17462         (add_locale): Likewise.
17463         (delete_locales_from_archive): Likewise.
17464         (show_archive_content): Likewise.
17465         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
17466         locale data.
17467
17468 2013-09-24  Roland McGrath  <roland@hack.frob.com>
17469
17470         * manual/freemanuals.texi: Updated from (newly) canonical copy at
17471         http://www.gnu.org/doc/freemanuals.texi.
17472         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
17473
17474 2013-09-24  Will Newton  <will.newton@linaro.org>
17475
17476         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
17477         macro.
17478
17479 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
17480
17481         * locale/hashval.h (compute_hashval): Interpret bytes of key as
17482         unsigned char.
17483
17484 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
17485
17486         * manual/threads.texi (POSIX Threads): Fix a typo.
17487
17488 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17489
17490         [BZ #14547]
17491         * string/tst-strcoll-overflow.c: New test case.
17492         * string/Makefile (xtests): Add tst-strcoll-overflow.
17493         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
17494         cache if string sizes may cause integer overflow.
17495
17496         [BZ #14547]
17497         * string/strcoll_l.c (coll_seq): New members rule, idx,
17498         save_idx and back_us.
17499         (get_next_seq_nocache): New function.
17500         (do_compare_nocache): New function.
17501         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
17502         when malloc fails.
17503
17504 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
17505
17506         [BZ #15754]
17507         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
17508         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
17509         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
17510
17511         [BZ #15754]
17512         * elf/Makefile (tests): Add tst-ptrguard1.
17513         (tests-static): Add tst-ptrguard1-static.
17514         (tst-ptrguard1-ARGS): Define.
17515         (tst-ptrguard1-static-ARGS): Define.
17516         * elf/tst-ptrguard1.c: New file.
17517         * elf/tst-ptrguard1-static.c: New file.
17518         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
17519         * sysdeps/i386/stackguard-macros.h: Likewise.
17520         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17521         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17522         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17523         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17524         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17525         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17526
17527 2013-09-23  Hector Marco  <hecmargi@upv.es>
17528             Ismael Ripoll  <iripoll@disca.upv.es>
17529             Carlos O'Donell  <carlos@redhat.com>
17530
17531         [BZ #15754]
17532         * sysdeps/generic/stackguard-macros.h: Define
17533         __pointer_chk_guard_local and POINTER_CHK_GUARD.
17534         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
17535         Define __pointer_chk_guard_local.
17536         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
17537         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
17538
17539 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
17540
17541         [BZ #15859]
17542         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
17543
17544 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
17545
17546         * include/string.h (__ffs): Declare as hidden.
17547         * string/ffs.c (__ffs): Define as hidden.
17548         * sysdeps/i386/ffs.c (__ffs): Likewise.
17549         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17550         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
17551         * sysdeps/s390/ffs.c (__ffs): Likewise.
17552         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
17553
17554 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
17555
17556         * NEWS: Mention malloc probes.
17557
17558         * malloc/arena.c (new_heap): New memory_heap_new probe.
17559         (grow_heap): New memory_heap_more probe.
17560         (shrink_heap): New memory_heap_less probe.
17561         (heap_trim): New memory_heap_free probe.
17562         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
17563         (systrim): New memory_sbrk_less probe.
17564         * manual/probes.texi: Document them.
17565
17566         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
17567         * manual/probes.texi: Document it.
17568
17569         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
17570         (__libc_realloc): Add memory_realloc_retry probe.
17571         (__libc_memalign): Add memory_memalign_retry probe.
17572         (__libc_valloc): Add memory_valloc_retry probe.
17573         (__libc_pvalloc): Add memory_pvalloc_retry probe.
17574         (__libc_calloc): Add memory_calloc_retry probe.
17575         * manual/probes.texi: Document them.
17576
17577         * malloc/arena.c (get_free_list): Add probe
17578         memory_arena_reuse_free_list.
17579         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
17580         and memory_arena_reuse.
17581         (arena_get2) [!PER_THREAD]: Likewise.
17582         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
17583         memory_arena_reuse_realloc.
17584         * manual/probes.texi: Document them.
17585
17586         * malloc/malloc.c (__libc_free): Add
17587         memory_mallopt_free_dyn_thresholds probe.
17588         (__libc_mallopt): Add multiple memory_mallopt probes.
17589         * manual/probes.texi: Document them.
17590
17591         * malloc/malloc.c: Include stap-probe.h.
17592         (__libc_mallopt): Add memory_mallopt probe.
17593         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
17594         * manual/probes.texi: New.
17595         * manual/Makefile (chapters): Add probes.
17596         * manual/threads.texi: Set next node.
17597
17598 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
17599
17600         [BZ #15963, #13985]
17601         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
17602         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
17603         Add `Chinese' to `nan' entry name.
17604
17605 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17606
17607         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
17608         (POLYNOMIAL): Likewise.
17609         (TAYLOR_SINCOS): Likewise.
17610         (TAYLOR_SLOW): Likewise.
17611         (__sin): Use TAYLOR_SINCOS.
17612         (__cos): Likewise.
17613         (slow): Use TAYLOR_SLOW.
17614         (sloww): Likewise.
17615         (bsloww): Likewise.
17616         (csloww): Likewise.
17617
17618 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17619
17620         * stdlib/strtod_l.c: Fix buffer overrun.
17621
17622 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17623
17624         * benchtests/Makefile (bench): Add sincos.
17625         * benchtests/bench-sincos.c: New file.
17626
17627         * math/libm-test.inc (cos_test_data): New test inputs.
17628         (sin_test_data): Likewise.
17629
17630         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
17631         macro.
17632         (__sin): Use it.
17633         (__cos): Likewise.
17634         (slow1): Likewise.
17635         (slow2): Likewise.
17636         (sloww1): Likewise.
17637         (sloww2): Likewise.
17638         (bsloww1): Likewise.
17639         (bsloww2): Likewise.
17640         (cslow2): Likewise.
17641         (csloww1): Likewise.
17642         (csloww2): Likewise.
17643
17644         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
17645         function.
17646         (__sin): Use it.
17647         (__cos): Likewise.
17648
17649         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
17650         gotos.
17651         (__cos): Likewise.
17652
17653 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
17654
17655         * config.h.in (HAVE_MIPS_NAN2008): New macro.
17656         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
17657         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
17658         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
17659         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
17660         * elf/cache.c (print_entry): Handle the new cache flags.
17661
17662 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
17663             Aldy Hernandez  <aldyh@redhat.com>
17664
17665         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
17666         Change condition to [_SOFT_FLOAT].
17667         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
17668         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
17669         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
17670         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
17671         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
17672         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
17673         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
17674         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
17675         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
17676         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
17677         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
17678         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
17679         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
17680         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
17681         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
17682         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
17683         declaration.
17684
17685 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
17686
17687         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
17688         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17689         (__longjmp): Use LOAD_GP to load saved GPRs.
17690         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
17691         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17692         (__sigsetjmp): Use SAVE_GP to save GPRs.
17693
17694         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
17695         Do not append -msoft-float.
17696         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
17697
17698 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17699
17700         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
17701
17702 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
17703
17704         [BZ #15966]
17705         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
17706         (_FPU_GETCW): Use initial "__" on variable and field names but not
17707         on macro parameter name.
17708         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
17709         parentheses around reference to macro parameter.
17710
17711 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
17712
17713         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
17714         prototype.
17715         (ctype_startup): Use uint32_t in cast and sizeof for
17716         ctype->charnames.
17717
17718 2013-09-11  Jia Liu  <proljc@gmail.com>
17719
17720         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
17721         __daddr_t_defined.
17722         [__FreeBSD__]: Likewise.
17723
17724 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
17725
17726         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17727         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
17728         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
17729         (strchr): Remove __strchr_sse42 ifunc selection.
17730         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
17731         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
17732
17733 2013-09-11  Will Newton  <will.newton@linaro.org>
17734
17735         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
17736         parameter to RES. Remove hardcoded 1000 value.
17737         * benchtests/bench-skeleton.c (main): Pass RES parameter
17738         to TIMING_INIT and multiply result by 1000.
17739
17740 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17741
17742         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17743
17744 2013-09-11  Andreas Schwab  <schwab@suse.de>
17745
17746         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17747         if not defined.
17748         (O_TMPFILE) [__USE_GNU]: Define.
17749         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
17750         Define.
17751
17752 2013-09-11  Will Newton  <will.newton@linaro.org>
17753
17754         [BZ #15857]
17755         * malloc/malloc.c (__libc_memalign): Check the value of bytes
17756         does not overflow.
17757
17758 2013-09-11  Will Newton  <will.newton@linaro.org>
17759
17760         [BZ #15856]
17761         * malloc/malloc.c (__libc_valloc): Check the value of bytes
17762         does not overflow.
17763
17764 2013-09-11  Will Newton  <will.newton@linaro.org>
17765
17766         [BZ #15855]
17767         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
17768         does not overflow.
17769
17770 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
17771
17772         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
17773         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17774         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17775         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17776         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17777
17778 2013-09-10  Allan McRae  <allan@archlinux.org>
17779
17780         [BZ #15748]
17781         * manual/arith.texi (Parsing of Floats): Clarify
17782         cross-reference.
17783
17784         [BZ #15849]
17785         * manual/install.texi (Running make install): Mention
17786         --enable-pt-chown.
17787         * INSTALL: Regenerated.
17788
17789 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
17790
17791         * csu/init-first.c (_init): Remove the !SHARED condition around
17792         FPU control word initialization.
17793         * elf/dl-support.c (_dl_fpu_control): New variable.
17794         (_dl_aux_init) <AT_FPUCW>: Initialize it.
17795         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
17796         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
17797         * math/test-fpucw-static.c: New file.
17798         * math/test-fpucw-ieee.c: New file.
17799         * math/test-fpucw-ieee-static.c: New file.
17800         * math/Makefile (tests): Add `test-fpucw-ieee' and
17801         `$(tests-static)'.
17802         (tests-static): New variable.
17803         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
17804         dependency to...
17805         [($(build-shared),yes)]
17806         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17807         ... this.
17808         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
17809         New dependency.
17810
17811 2013-09-09  Allan McRae  <allan@archlinux.org>
17812
17813         [BZ #15939]
17814         * manual/string.texi (Collation Functions): Fix typo in
17815         strcoll example.
17816         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17817
17818         [BZ #15893]
17819         * stdlib/isomac.c (get_null_defines): Fix memory leak.
17820
17821         [BZ #15892]
17822         * libio/memstream.c (open_memstream): Fix memory leak.
17823         * libio/wmemstream.c (open_wmemstream): Likewise.
17824
17825         [BZ #15895]
17826         * nscd/netgroupcache.c: Fix nesting of ifdefs.
17827
17828 2013-09-09  Will Newton  <will.newton@linaro.org>
17829
17830         * malloc/Makefile: Add tst-realloc to tests.
17831         * malloc/tst-realloc.c: New file.
17832
17833 2013-09-09  Allan McRae  <allan@archlinux.org>
17834
17835         [BZ #15844]
17836         * COPYING: Update from GNU website to fix FSF address.
17837         * COPYING.LIB: Likewise.
17838
17839 2013-09-06  David S. Miller  <davem@davemloft.net>
17840
17841         * po/zh_TW.po: Update Chinese (traditional) translation from
17842         translation project.
17843
17844 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
17845             Joseph Myers  <joseph@codesourcery.com>
17846
17847         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17848         "localeinfo.h".
17849         (obstack_chunk_alloc): New macro.
17850         (obstack_chunk_free): Likewise.
17851         (record_offset): New function.
17852         (init_locale_data): Likewise.
17853         (align_locale_data): Likewise.
17854         (add_locale_empty): Likewise.
17855         (add_locale_raw_data): Likewise.
17856         (add_locale_raw_obstack): Likewise.
17857         (add_locale_string): Likewise.
17858         (add_locale_wstring): Likewise.
17859         (add_locale_uint32): Likewise.
17860         (add_locale_uint32_array): Likewise.
17861         (add_locale_char): Likewise.
17862         (start_locale_structure): Likewise.
17863         (end_locale_structure): Likewise.
17864         (start_locale_prelude): Likewise.
17865         (end_locale_prelude): Likewise.
17866         (write_locale_data): Take locale_file structure rather than an
17867         iovec.
17868         * locale/programs/locfile.h: Include "obstack.h".
17869         (struct locale_file): Change to store locale file contents instead
17870         of header.
17871         (init_locale_data): New prototype.
17872         (align_locale_data): Likewise.
17873         (add_locale_empty): Likewise.
17874         (add_locale_raw_data): Likewise.
17875         (add_locale_raw_obstack): Likewise.
17876         (add_locale_string): Likewise.
17877         (add_locale_wstring): Likewise.
17878         (add_locale_uint32): Likewise.
17879         (add_locale_uint32_array): Likewise.
17880         (add_locale_char): Likewise.
17881         (start_locale_structure): Likewise.
17882         (end_locale_structure): Likewise.
17883         (start_locale_prelude): Likewise.
17884         (end_locale_prelude): Likewise.
17885         (write_locale_data): Update prototype.
17886         * locale/programs/3level.h (struct TABLE): Remove result field.
17887         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17888         Use new locale_file interface.
17889         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17890         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17891         * locale/programs/ld-address.c (address_output): Use new
17892         locale_file interface.
17893         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
17894         NO_ADD_LOCALE.
17895         (collate_finish): Don't call collseq_table_finalize.
17896         (collate_output): Use new locale_file interface.
17897         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17898         in file.
17899         (NO_FINALIZE): Change to NO_ADD_LOCALE.
17900         (TABLE): Move defines earlier in file.
17901         (ELEMENT): Likewise.
17902         (DEFAULT): Likewise.
17903         (wctrans_table_add): Move macro and inline function earlier in
17904         file.
17905         (struct wctype_table): Move type earlier in file.
17906         (add_locale_wctype_table): New static prototype.
17907         (struct locale_ctype_t): Use logical types instead of struct iovec
17908         pointers for members.
17909         (ctype_output): Use new locale_file interface.
17910         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
17911         new locale_file interface.
17912         (allocate_arrays): Update for use of new locale_file interface.
17913         * locale/programs/ld-identification.c (identification_output): Use
17914         new locale_file interface.
17915         * locale/programs/ld-measurement.c (measurement_output): Likewise.
17916         * locale/programs/ld-messages.c (messages_output): Likewise.
17917         * locale/programs/ld-monetary.c (monetary_output): Likewise.
17918         * locale/programs/ld-name.c (name_output): Likewise.
17919         * locale/programs/ld-numeric.c (numeric_output): Likewise.
17920         * locale/programs/ld-paper.c (paper_output): Likewise.
17921         * locale/programs/ld-telephone.c (telephone_output): Likewise.
17922         * locale/programs/ld-time.c (time_output): Likewise.
17923
17924 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17925
17926         * benchtests/Makefile: Add memrchr benchmark.
17927         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17928         benchmark as memrchr.
17929         * benchtests/bench-memrchr-ifunc.c: New file.
17930         * benchtests/bench-memrchr.c: New file.
17931
17932 2013-09-06   Will Newton  <will.newton@linaro.org>
17933
17934         * benchtests/Makefile (string-bench): Add memcpy.
17935
17936 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
17937             Cong Wang  <amwang@redhat.com>
17938
17939         [BZ #15850]
17940         * sysdeps/unix/sysv/linux/bits/in.h
17941         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17942         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17943         before __USE_KERNEL_IPV6_DEFS uses.
17944         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17945         IPPROTO_BEETPH.
17946         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17947         sockaddr_in6, or ipv6_mreq.
17948
17949 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17950
17951         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17952         memory access for final bytes in some large inputs.
17953         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17954
17955 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17956
17957         * string/test-memrchr.c: New file.
17958         * string/test-memrchr-ifunc.c: New file.
17959         * string/Makefile: Add new memrchr testcase.
17960
17961 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
17962
17963         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17964         fanotify_init returns EPERM.
17965
17966 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
17967
17968         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17969         errors.
17970         (top level): Treat second token from macro or constant entries for
17971         allowed headers as allowed.
17972         * include/complex.h: Condition internal declarations on
17973         [!_ISOMAC].
17974         * include/fenv.h: Condition include of <stdbool.h> and internal
17975         declarations on [!_ISOMAC].
17976
17977 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
17978
17979         [BZ #15923]
17980         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17981
17982 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
17983
17984         * configure.in (--enable-versioning): Remove configure option.
17985         (libc_cv_asm_symver_directive): Remove configure test.
17986         (libc_cv_ld_version_script_option): Likewise.
17987         (VERSIONING): Remove variable and AC_SUBST.
17988         (DO_VERSIONING): Remove AC_DEFINE.
17989         * configure: Regenerated.
17990         * config.h.in (DO_VERSIONING): Remove macro.
17991         * Makerules [$(versioning) = yes]: Change conditionals to
17992         [$(build-shared) = yes].
17993         * config.make.in (versioning): Remove variable.
17994         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17995         [$(build-shared) = yes].
17996         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17997         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17998         * elf/Makefile [$(versioning) = yes]: Change conditionals to
17999         [$(build-shared) = yes].
18000         * extra-lib.mk [$(versioning) = yes]: Likewise.
18001         * hurd/Makefile [$(versioning) = yes]: Likewise.
18002         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
18003         [SHARED].
18004         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
18005         [SHARED].
18006         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
18007         [SHARED && !NO_HIDDEN].
18008         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
18009         [SHARED].
18010         [SHARED && DO_VERSIONING]: Likewise..
18011         * libio/Makefile [$(versioning) = yes]: Change conditionals to
18012         [$(build-shared) = yes].
18013         * manual/install.texi (--disable-versioning): Remove
18014         documentation.
18015         * INSTALL: Regenerated.
18016         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
18017         to [SHARED].
18018         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
18019         [$(build-shared) = yes].
18020         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
18021         * sysdeps/i386/i686/multiarch/strstr-c.c
18022         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
18023         [SHARED && !NO_HIDDEN].
18024         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
18025         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
18026         * sysdeps/powerpc/powerpc32/dl-machine.c
18027         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
18028         * sysdeps/powerpc/powerpc32/sysdep.h
18029         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
18030         to [SHARED && PIC && !NO_HIDDEN].
18031         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
18032         conditional to [SHARED].
18033
18034 2013-09-04   Will Newton  <will.newton@linaro.org>
18035
18036         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
18037         * benchtests/bench-string.h: Include bench-timing.h instead
18038         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
18039         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
18040         call to HP_TIMING_DIFF_INIT.
18041         * benchtests/bench-memccpy.c: Use bench-timing.h macros
18042         instead of hp-timing.h macros.
18043         * benchtests/bench-memchr.c: Likewise.
18044         * benchtests/bench-memcmp.c: Likewise.
18045         * benchtests/bench-memcpy.c: Likewise.
18046         * benchtests/bench-memmem.c: Likewise.
18047         * benchtests/bench-memmove.c: Likewise.
18048         * benchtests/bench-memset.c: Likewise.
18049         * benchtests/bench-rawmemchr.c: Likewise.
18050         * benchtests/bench-strcasecmp.c: Likewise.
18051         * benchtests/bench-strcasestr.c: Likewise.
18052         * benchtests/bench-strcat.c: Likewise.
18053         * benchtests/bench-strchr.c: Likewise.
18054         * benchtests/bench-strcmp.c: Likewise.
18055         * benchtests/bench-strcpy.c: Likewise.
18056         * benchtests/bench-strcpy_chk.c: Likewise.
18057         * benchtests/bench-strlen.c: Likewise.
18058         * benchtests/bench-strncasecmp.c: Likewise.
18059         * benchtests/bench-strncat.c: Likewise.
18060         * benchtests/bench-strncmp.c: Likewise.
18061         * benchtests/bench-strncpy.c: Likewise.
18062         * benchtests/bench-strnlen.c: Likewise.
18063         * benchtests/bench-strpbrk.c: Likewise.
18064         * benchtests/bench-strrchr.c: Likewise.
18065         * benchtests/bench-strspn.c: Likewise.
18066         * benchtests/bench-strstr.c: Likewise.
18067
18068 2013-09-04  Will Newton  <will.newton@linaro.org>
18069
18070         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
18071
18072 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
18073
18074         [BZ #15427]
18075         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
18076         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
18077         * math/libm-test.inc (lgamma_test_data): Add more tests.
18078         * sysdeps/i386/fpu/libm-test-ulps: Update.
18079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18080
18081 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
18082
18083         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
18084         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18085         Add ifunc.
18086         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18087         Add strcmp-sse2-unaligned
18088         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
18089
18090 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
18091
18092         * Versions.def (libc): Add GLIBC_2.19.
18093
18094 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
18095
18096         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
18097         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
18098
18099 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
18100
18101         [BZ #14155]
18102         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
18103         intermediate calculations in recurrence.
18104         (__ieee754_ynf): Likewise.
18105         * math/libm-test.inc (jn_test_data): Do not allow spurious
18106         underflow exception.  Add more tests.
18107         (yn_test_data): Add more tests.
18108         * sysdeps/i386/fpu/libm-test-ulps: Update.
18109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18110
18111 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
18112
18113         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
18114
18115 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
18116
18117         * csu/init-first.c: Fix then/than typos.
18118         * locale/programs/ld-collate.c: Likewise.
18119         * locale/programs/linereader.h: Likewise.
18120         * manual/charset.texi: Likewise.
18121         * manual/filesys.texi: Likewise.
18122         * manual/stdio.texi: Likewise.
18123         * manual/string.texi: Likewise.
18124         * stdlib/fmtmsg.c: Likewise.
18125         * sysdeps/i386/stpncpy.S: Likewise.
18126         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18127         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18128         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18129         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18130
18131 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
18132
18133         * elf/dl-open.c: Fix typos.
18134         * iconvdata/gbbig5.c: Likewise.
18135         * iconvdata/iso-2022-jp.c: Likewise.
18136         * iconv/gconv_int.h: Likewise.
18137         * iconv/loop.c: Likewise.
18138         * nis/rpcsvc/nis.h: Likewise.
18139         * resolv/ns_name.c: Likewise.
18140         * stdio-common/vfscanf.c: Likewise.
18141         * streams/stropts.h: Likewise.
18142         * sunrpc/rpc_thread.c: Likewise.
18143         * sysdeps/i386/strpbrk.S: Likewise.
18144         * sysdeps/ieee754/k_standard.c: Likewise.
18145         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18146         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18147         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
18148         * sysdeps/mach/hurd/profil.c: Likewise.
18149         * sysdeps/s390/dl-procinfo.h: Likewise.
18150         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
18151         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
18152         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
18153         * sysdeps/x86_64/dl-trampoline.S: Likewise.
18154         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18155
18156 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
18157
18158         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
18159         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
18160
18161 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
18162
18163         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
18164         aix specific files.
18165         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
18166         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
18167         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
18168         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
18169         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
18170         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
18171         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
18172         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
18173
18174 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
18175             Roland McGrath  <roland@hack.frob.com>
18176
18177         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
18178         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
18179
18180 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18181
18182         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
18183         __executable_start symbol instead of _start.
18184
18185 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
18186
18187         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
18188         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
18189         Move macros to...
18190         * sysdeps/gnu/ldsodefs.h: ... this new file.
18191
18192         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
18193         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
18194         instead of ELFOSABI_LINUX.
18195
18196         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
18197         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
18198         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
18199         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
18200         Likewise.
18201         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
18202         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
18203         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
18204         Likewise.
18205         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18206         (ibm_extended_long_double): Add ieee_nan member.
18207         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
18208         (do_test): New function.
18209
18210         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
18211         TEST_TRUNC.
18212         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
18213         functions, renamed from truncdfsf_test, trunctfsf_test,
18214         trunctfdf_test.
18215         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
18216         functions.
18217         (do_test): Run all these.
18218
18219 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
18220
18221         * argp/argp-help.c: Fix typos.
18222         * argp/argp-parse.c: Likewise.
18223         * debug/backtracesyms.c: Likewise.
18224         * elf/elf.h: Likewise.
18225         * malloc/malloc.c: Likewise.
18226         * nis/nis_print.c: Likewise.
18227         * resolv/res_comp.c: Likewise.
18228         * stdlib/stdlib.h: Likewise.
18229         * sunrpc/clnt_tcp.c: Likewise.
18230         * sunrpc/clnt_udp.c: Likewise.
18231         * sunrpc/clnt_unix.c: Likewise.
18232         * sysdeps/unix/bsd/ptsname.c: Likewise.
18233         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
18234         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
18235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
18236         Likewise.
18237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
18238         Likewise.
18239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
18240         Likewise.
18241         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18242
18243 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18244
18245         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
18246         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18247
18248 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
18249
18250         [BZ #15897]
18251         * dlfcn/Makefile (tests): Add bug-dl-leaf.
18252         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
18253         ($(objpfx)bug-dl-leaf): New rule.
18254         ($(objpfx)bug-dl-leaf.so): Likewise.
18255         ($(objpfx)bug-dl-leaf.out): Likewise.
18256         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
18257         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
18258         * dlfcn/bug-dl-leaf.c: New test.
18259         * dlfcn/bug-dl-leaf-lib.c: Likewise.
18260         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
18261         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
18262         (dlclose): Likewise.
18263         (dlmopen): Likewise.
18264
18265 2013-08-27  Roland McGrath  <roland@hack.frob.com>
18266
18267         * include/netdb.h [!_ISOMAC]:
18268         Don't include <tls.h>.
18269         (h_errno, __libc_h_errno): Move declaration and macros out of
18270         [_LIBC_REENTRANT].
18271
18272         * include/resolv.h [_RESOLV_H_]:
18273         Don't include <tls.h>.
18274         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
18275         * resolv/res_libc.c: Don't include <tls.h>.
18276         (_res): Use __attribute__ ((nocommon)) in place of
18277         __attribute__ ((section (".bss"))).
18278
18279         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
18280         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
18281
18282         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
18283
18284         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
18285         only under [SIOCGIFCONF && SIOCGIFNETMASK].
18286
18287         * resolv/res_mkquery.c: Include <sys/time.h>.
18288
18289         * inet/ifreq.c: Moved to ...
18290         * sysdeps/unix/ifreq.c: ... here.
18291         * inet/ifreq.c: New file, true stub version.
18292
18293         * socket/sa_len.c: New file.
18294         * socket/Makefile (aux): Add it.
18295         * sysdeps/unix/sysv/linux/Makefile
18296         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
18297         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
18298         and #include <socket/sa_len.c>.
18299         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
18300         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
18301
18302         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
18303         * bits/socket.h: ... here.
18304
18305         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
18306         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
18307         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
18308
18309 2013-08-27  Andreas Schwab  <schwab@suse.de>
18310
18311         [BZ #15736]
18312         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
18313         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
18314         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
18315         * string/test-strcasecmp.c (test_main): Run tests in several
18316         locales.
18317         * string/test-strncasecmp.c (test_main): Likewise.
18318
18319         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
18320         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
18321         to __strcasecmp_nonascii and __strncasecmp_nonascii.
18322         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
18323         (__strncasecmp_ssse3) [PIC]: Likewise.
18324
18325 2013-08-26  Roland McGrath  <roland@hack.frob.com>
18326
18327         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
18328
18329         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
18330         instead of explicitly declaring xdecrypt.
18331         * nis/nss_nis/nis-publickey.c: Likewise.
18332
18333 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18334
18335         [BZ #15890]
18336         * nscd/aicache.c: Include res_hconf.h.
18337         (addhstaiX): Initialize res_hconf.
18338
18339 2013-08-26  Andreas Schwab  <schwab@suse.de>
18340
18341         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
18342         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
18343
18344 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18345
18346         * nscd/aicache.c (addhstaiX): Fix indentation.
18347
18348 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
18349
18350         * configure.ac: Quote $build_pt_chown test.
18351         * configure: Regenerated.
18352
18353 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
18354
18355         [BZ #15532]
18356         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
18357         * math/s_cexpf.c (__cexpf): Likewise.
18358         * math/s_cexpl.c (__cexpl): Likewise.
18359         * math/libm-test.inc (cexp_test_data): Correct expected return
18360         value for NaN + i0.  Add another test.
18361
18362 2013-08-22  David S. Miller  <davem@davemloft.net>
18363
18364         * po/ca.po: Update Catalan translation from translation project.
18365         * po/uk.po: Add Ukrainian translations from translation project.
18366
18367 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
18368
18369         [BZ #15797]
18370         * math/s_fdim.c (__fdim): Check for infinite arguments if result
18371         is infinite, not alongside NaN test.
18372         * math/s_fdimf.c (__fdimf): Likewise.
18373         * math/s_fdiml.c (__fdiml): Likewise.
18374         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
18375         errno is unchanged.
18376
18377 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
18378
18379         * argp/argp-help.c: Fix typos.
18380         * crypt/speeds.c: Likewise.
18381         * csu/check_fds.c: Likewise.
18382         * elf/dl-load.c: Likewise.
18383         * elf/dl-open.c: Likewise.
18384         * elf/reldep3.c: Likewise.
18385         * elf/reldep.c: Likewise.
18386         * elf/sprof.c: Likewise.
18387         * iconv/iconv_charmap.c: Likewise.
18388         * iconv/skeleton.c: Likewise.
18389         * iconv/strtab.c: Likewise.
18390         * io/lockf64.c: Likewise.
18391         * libio/libioP.h: Likewise.
18392         * resolv/gai_notify.c: Likewise.
18393         * resolv/ns_name.c: Likewise.
18394         * resolv/ns_samedomain.c: Likewise.
18395         * resolv/res_send.c: Likewise.
18396         * stdlib/random.c: Likewise.
18397         * sunrpc/rpc/xdr.h: Likewise.
18398         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
18399         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18400         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18401         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18402         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18403         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18404         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18405         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18406         * sysdeps/mach/hurd/check_fds.c: Likewise.
18407         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18408         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18409         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18410         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18411         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18412         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18413         * sysdeps/pthread/aio_notify.c: Likewise.
18414         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
18415         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
18416         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
18417         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18418         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18419
18420 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18421
18422         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
18423         version if bit_Slow_SSE4_2 is set.
18424         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18425         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18426
18427 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18428
18429         [BZ #15867]
18430         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
18431         trampoline stack frame information.
18432         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
18433         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
18434         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
18435         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
18436         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
18437         * sysdeps/unix/sysv/linux/powerpc/init-first.c
18438         (_libc_vdso_platform_setup): Initialize the signal trampolines.
18439         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
18440         sa_flags value.
18441         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
18442         interrupting a syscall and set with option SA_SIGINFO.
18443
18444 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
18445
18446         [BZ #15531]
18447         * math/s_cproj.c (__cproj): Only return an infinity if one part of
18448         argument is infinite.
18449         * math/s_cprojf.c (__cprojf): Likewise.
18450         * math/s_cprojl.c (__cprojl): Likewise.
18451         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
18452         * math/libm-test.inc (cproj_test_data): Add more tests.
18453
18454         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
18455
18456         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
18457         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
18458         size.  Use __ffs to determine corresponding shift.
18459
18460 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
18461             Roland McGrath  <roland@hack.frob.com>
18462
18463         * Makefile (INSTALL): Remove trailing blank lines from output of
18464         makeinfo.
18465
18466 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18467
18468         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
18469         Align 32 bit compat elf_greg to 8 bytes.
18470
18471 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
18472
18473         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
18474
18475 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18476
18477         * string/strcoll_l.c (coll_seq): New structure.
18478         (get_next_seq_cached): New function.
18479         (get_next_seq): New function.
18480         (do_compare): New function.
18481         (STRCOLL): Use GNU style definition.  Simplify implementation
18482         by using get_next_seq, get_next_seq_cached and do_compare.
18483
18484 2013-08-16  Florian Weimer  <fweimer@redhat.com>
18485
18486         [BZ #14699]
18487         CVE-2013-4237
18488         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
18489         member.
18490         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
18491         member.
18492         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
18493         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
18494         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
18495         conditional.
18496         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
18497         GETDENTS_64BIT_ALIGNED.
18498         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18499         * manual/filesys.texi (Reading/Closing Directory): Document
18500         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
18501         strongly.
18502         * manual/conf.texi (Limits for Files): Add portability note to
18503         NAME_MAX, PATH_MAX.
18504         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
18505
18506 2013-08-13  Andreas Schwab  <schwab@suse.de>
18507
18508         [BZ #15749]
18509         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
18510         of fabs.
18511         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
18512         LDBL_MAX_EXP >= 16384]: Add tests for it.
18513
18514 2013-08-12  David S. Miller  <davem@davemloft.net>
18515
18516         * version.h (RELEASE): Set to "development".
18517         (VERSION): Set to "2.18.90".
18518         * NEWS: Add 2.19 section.
18519
18520 2013-08-03  David S. Miller  <davem@davemloft.net>
18521
18522         * po/ko.po: Update Korean translation from translation project.
18523
18524 2013-08-01  David S. Miller  <davem@davemloft.net>
18525
18526         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
18527         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
18528         Bilka.
18529
18530 2013-07-30  David S. Miller  <davem@davemloft.net>
18531
18532         * po/fr.po: Update French translation from translation project.
18533
18534 2013-07-28  David S. Miller  <davem@davemloft.net>
18535
18536         * po/cs.po: Update Czech translation from translation project.
18537
18538         * po/sv.po: Update Swedish translation from translation project.
18539
18540 2013-07-27  David S. Miller  <davem@davemloft.net>
18541
18542         * po/eo.po: Update Esperanto translation from translation project.
18543
18544         * po/vi.po: Update Vietnamese translation from translation project.
18545
18546         * po/de.po: Update German translation from translation project.
18547
18548 2013-07-26  David S. Miller  <davem@davemloft.net>
18549
18550         * po/bg.po: Update Bulgarian translation from translation project.
18551
18552         * po/nl.po: Update Dutch translation from translation project.
18553         * po/pl.po: Update Polish translation from translation project.
18554         * po/ru.po: Update Russian translation from translation project.
18555
18556 2013-07-24  David S. Miller  <davem@davemloft.net>
18557
18558         * po/libc.pot: Update.
18559
18560 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18561
18562         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
18563         variable page size.
18564         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
18565         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
18566         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
18567
18568 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18569
18570         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
18571
18572 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18573             Andreas Schwab  <schwab@suse.de>
18574             Roland McGrath  <roland@hack.frob.com>
18575             Joseph Myers  <joseph@codesourcery.com>
18576             Carlos O'Donell  <carlos@redhat.com>
18577
18578         [BZ #15755]
18579         * config.h.in: Define HAVE_PT_CHOWN.
18580         * config.make.in (build-pt-chown): New variable.
18581         * configure.in (--enable-pt_chown): New configure option.
18582         * configure: Regenerate.
18583         * login/Makefile: Include Makeconfig.  Build pt_chown only if
18584         build-pt-chown is enabled.
18585         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
18586         pt_chown to fix pty ownership.
18587         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
18588         CLOSE_ALL_FDS.
18589         * manual/install.texi (Configuring and compiling): Mention
18590         --enable-pt_chown. Add @findex for grantpt.
18591         * INSTALL: Regenerate.
18592
18593 2013-07-20  David S. Miller  <davem@davemloft.net>
18594
18595         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
18596         difference between 32-bit and 64-bit.
18597
18598 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
18599
18600         [BZ #15711]
18601         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
18602         Avoid system header dependency with -ffreestanding.
18603         ($(objpfx)bits/syscall%d): Likewise.
18604
18605 2013-07-13  David S. Miller  <davem@davemloft.net>
18606
18607         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
18608         underflows from atanl/atan2l due to bug 15319.
18609         (casinh_test_data): Likewise.
18610
18611 2013-07-07  David S. Miller  <davem@davemloft.net>
18612
18613         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18614
18615 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
18616
18617         * sysdeps/i386/fpu/libm-test-ulps: Update.
18618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18619
18620 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18621
18622         * configure.in (--enable-lock-elision): Fix message text.
18623         * INSTALL: Regenerate.
18624         * configure: Regenerate.
18625
18626 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18627
18628         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18629
18630 2013-07-03  Andreas Jaeger  <aj@suse.de>
18631
18632         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
18633         define.
18634         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
18635         (ptrace_peeksiginfo_args): Add.
18636         (__ptrace_peeksiginfo_flags): Add.
18637         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18638         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18639         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18640
18641 2013-07-03  Allan McRae  <allan@archlinux.org>
18642
18643         * sysdeps/i386/fpu/libm-test-ulps: Update.
18644
18645 2013-07-02  David S. Miller  <davem@davemloft.net>
18646
18647         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18648
18649 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
18650
18651         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18652
18653 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
18654
18655         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18657
18658 2013-07-02  Andi Kleen <ak@linux.intel.com>
18659
18660         * config.h.in (ENABLE_LOCK_ELISION): Add.
18661         * configure.in (--enable-lock-elision): Add option.
18662         * manual/install.texi: Document --enable lock elision.
18663         * configure: Regenerate
18664         * INSTALL: Regenerate.
18665
18666 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
18667
18668         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
18669         SSE4.2 strcasecmp for libc.a.
18670         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
18671
18672 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
18673
18674         [BZ #13304]
18675         * soft-fp/op-common.h (_FP_FMA): New macro.
18676         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
18677         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
18678         (_FP_MUL_MEAT_1_imm): ... here.
18679         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
18680         (_FP_MUL_MEAT_1_wide): ... here.
18681         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
18682         (_FP_MUL_MEAT_1_hard): ... here.
18683         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
18684         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
18685         (_FP_MUL_MEAT_2_wide): ... here.
18686         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
18687         (_FP_MUL_MEAT_2_wide_3mul): ... here.
18688         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
18689         (_FP_MUL_MEAT_2_gmp): ... here.
18690         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
18691         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
18692         (_FP_MUL_MEAT_4_wide): ... here.
18693         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
18694         (_FP_MUL_MEAT_4_gmp): ... here.
18695         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
18696         (_FP_WFRACBITS_DW_S): Likewise.
18697         (_FP_WFRACXBITS_DW_S): Likewise.
18698         (_FP_HIGHBIT_DW_S): Likewise.
18699         (FP_FMA_S): Likewise.
18700         (_FP_FRAC_HIGH_DW_S): Likewise.
18701         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
18702         (_FP_WFRACBITS_DW_D): Likewise.
18703         (_FP_WFRACXBITS_DW_D): Likewise.
18704         (_FP_HIGHBIT_DW_D): Likewise.
18705         (FP_FMA_D): Likewise.
18706         (_FP_FRAC_HIGH_DW_D): Likewise.
18707         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
18708         (_FP_WFRACBITS_DW_E): Likewise.
18709         (_FP_WFRACXBITS_DW_E): Likewise.
18710         (_FP_HIGHBIT_DW_E): Likewise.
18711         (FP_FMA_E): Likewise.
18712         (_FP_FRAC_HIGH_DW_E): Likewise.
18713         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
18714         (_FP_WFRACBITS_DW_Q): Likewise.
18715         (_FP_WFRACXBITS_DW_Q): Likewise.
18716         (_FP_HIGHBIT_DW_Q): Likewise.
18717         (FP_FMA_Q): Likewise.
18718         (_FP_FRAC_HIGH_DW_Q): Likewise.
18719         * soft-fp/fmasf4.c: New file.
18720         * soft-fp/fmadf4.c: Likewise.
18721         * soft-fp/fmatf4.c: Likewise.
18722
18723 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18724
18725         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18726         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
18727         Silvermont.
18728         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
18729         macro.
18730         (index_Slow_SSE4_2): Likewise.
18731         (index_Prefer_PMINUB_for_stringop): Likewise.
18732         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
18733         bit_Slow_SSE4_2 is set.
18734         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18735         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18736
18737 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18738
18739         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
18740         rtld_global._dl_hwcap2.
18741         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
18742         POWER8.
18743         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
18744         POWER8 feature descriptions defined in _dl_hwcap2.
18745         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
18746         string handling for POWER8 feature bits.
18747         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
18748         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
18749         _dl_powerpc_cap_flags.
18750         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
18751         * sysdeps/powerpc/rtld-global-offsets.sym
18752         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
18753         _dl_hwcap2 in the rtld_global_ro structure.
18754
18755 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18756
18757         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
18758         hardware capabilities in support of AT_HWCAP2.
18759         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
18760         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
18761         GLRO(dl_hwcap2).
18762         (_dl_show_auxv): Add support for calling _dl_procinfo to display
18763         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
18764         explicitly the unknown a_type display mechanism is used.
18765         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
18766         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
18767         struct member.
18768         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
18769         to macro prototype for AT_HWCAP2 support.
18770         * sysdeps/i386/dl-procinfo.h: Likewise.
18771         * sysdeps/s390/dl-procinfo.h: Likewise.
18772         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
18773         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
18774         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
18775         return -1 for unknown a_type display fallback.
18776         * sysdeps/sparc/dl-procinfo.h: Likewise.
18777         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
18778         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
18779
18780 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
18781
18782         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
18783         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
18784
18785 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
18786
18787         [BZ #12492]
18788         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
18789         mprotect making __stack_prot writable.
18790
18791 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
18792             Joseph Myers  <joseph@codesourcery.com>
18793
18794         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
18795         as being properly aligned.
18796
18797 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
18798
18799         * dlfcn/modstatic5.c: New file.
18800         * dlfcn/tststatic5.c: New file.
18801         * dlfcn/Makefile (tests): Add tststatic5.
18802         (tests-static): Likewise.
18803         (modules-names): Add modstatic5.
18804         (tststatic5-ENV): New variable.
18805         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
18806
18807         [BZ #15022]
18808         * elf/dl-support.c (_dl_main_map): New variable.
18809         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
18810         (_dl_nns, _dl_load_adds): Set to 1.
18811         (_dl_initial_searchlist): Refer to _dl_main_map.
18812         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
18813         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18814         call to _dl_get_origin.
18815         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18816         around call_map.
18817         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18818         * dlfcn/modstatic3.c: New file.
18819         * dlfcn/tststatic3.c: New file.
18820         * dlfcn/tststatic4.c: New file.
18821         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18822         (tests-static): Likewise.
18823         (modules-names): Add modstatic3.
18824         (tststatic3-ENV, tststatic4-ENV): New variables.
18825         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18826         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18827
18828 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
18829
18830         * configure.in (CC): Require GCC version 4.4 or later.
18831         * configure: Regenerated.
18832         * manual/install.texi (Tools for Compilation): Update GCC version
18833         requirement.
18834         * INSTALL: Regenerated.
18835
18836 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18837
18838         [BZ #15674]
18839         * string/test-memcmp.c (check2): New.
18840         (main): Call check2.
18841
18842         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18843
18844 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
18845
18846         [BZ #15022]
18847         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18848         over to...
18849         (dl_open_worker) [!SHARED]: ... here.
18850
18851 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18852
18853         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18854
18855 2013-06-25  Richard Henderson  <rth@redhat.com>
18856
18857         * locale/programs/locarchive.c: Include <libc-internal.h>
18858
18859 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
18860
18861         * manual/texinfo.tex: Update to version 2013-06-21.17, with
18862         trailing whitespace removed.
18863
18864 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18865
18866         [BZ #10283]
18867         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18868         * locale/programs/locarchive.c: Include libc-mmap.h.
18869         (prepare_address_space): Take two new outputs (the mmap base and len).
18870         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
18871         values.
18872         (create_archive): Declare new mmap base and len values for
18873         prepare_address_space, and store the result in ah.
18874         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18875         (enlarge_archive): If ah->mmap_base is not NULL, use that and
18876         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18877         Declare new mmap base and len values for
18878         prepare_address_space, and store the result in new_ah.
18879         (open_archive): Declare new mmap base and len values for
18880         prepare_address_space, and store the result in ah.
18881         (close_archive): If ah->mmap_base is not NULL, use that and
18882         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18883         * sysdeps/generic/libc-mmap.h: New file.
18884
18885 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18886
18887         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18888         (ALIGN_UP): Likewise.
18889         (PTR_ALIGN_DOWN): Likewise.
18890         (PTR_ALIGN_UP): Likewise.
18891
18892 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18893
18894         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
18895         entry mapped to PPC_PLATFORM_POWER8.
18896         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
18897         POWER8.
18898         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18899         (_dl_string_platform): Add case for exporting platform position for
18900         POWER8.
18901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18902         search path to sysdeps/powerpc/powerpc32/power8 directory.
18903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18904         search path to sysdeps/powerpc/powerpc64/power8 directory.
18905         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18906         power7 directories.
18907         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18908         power7 directories.
18909
18910 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18911
18912         * INSTALL: Regenerate.
18913
18914         * nscd/connections.c (nscd_init): Fix comment.
18915
18916 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
18917
18918         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18919
18920         [BZ #15667]
18921         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18922         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18923
18924 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
18925
18926         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18927         DL_DST_REQ_STATIC.
18928         (DL_DST_REQ_STATIC): Remove macro.
18929
18930 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
18931
18932         [BZ #7006]
18933         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18934         with a shift of 0 bits.
18935
18936 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
18937
18938         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18939         $(tststatic-ENV).
18940
18941 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18942
18943         [BZ #15655]
18944         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18945
18946 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18947
18948         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18949         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18950         accepts -fno-tree-loop-distribute-patterns.
18951         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18952         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18953         recursive call.
18954         * string/memset.c (memset): Likewise.
18955         * string/test-memmove.c (simple_memmove): Disable loop transformation
18956         to library calls.
18957         * string/test-memset.c (simple_memset): Likewise.
18958         * benchtests/bench-memmove.c (simple_memmove): Likewise.
18959         * benchtests/bench-memset.c (simple_memset): Likewise.
18960         * configure: Regenerated.
18961
18962 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
18963
18964         * math/test-misc.c (main): Ignore fesetround failure when failures
18965         of subsequent rounding tests would be ignored.
18966
18967         [BZ #15654]
18968         * math/fedisblxcpt.c (fedisableexcept): Return 0.
18969         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18970         * math/fegetenv.c (__fegetenv): Return 0.
18971         * math/fegetexcept.c (fegetexcept): Return 0.
18972         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18973         FE_TONEAREST.
18974         * math/feholdexcpt.c (feholdexcept): Return 0.
18975         * math/fesetenv.c (__fesetenv): Return 0.
18976         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18977         argument FE_TONEAREST.
18978         * math/feupdateenv.c (__feupdateenv): Return 0.
18979         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18980
18981 2013-06-18  Roland McGrath  <roland@hack.frob.com>
18982
18983         * elf/rtld-Rules (rtld-compile-command.S): New variable.
18984         (rtld-compile-command.s, rtld-compile-command.c): New variables.
18985         ($(objpfx)rtld-%.os rules): Use them.
18986
18987 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18988
18989         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18990         fields.
18991
18992 2013-06-17  Roland McGrath  <roland@hack.frob.com>
18993
18994         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18995         length of target pattern, then descending length of dependency pattern.
18996         * configure.in (AWK): Require gawk 3.1.2 or newer.
18997         * manual/install.texi (Tools for Compilation): Say that we do.
18998         * configure: Regenerated.
18999
19000         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
19001         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
19002         * scripts/sysd-rules.awk: ... this new script.
19003         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
19004         than a glob-style pattern.
19005
19006 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
19007
19008         * math/test-misc.c (main): Do not treat incorrectly rounded
19009         conversions as failure unless ROUNDING_TESTS passes.
19010
19011 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
19012
19013         [BZ #15631]
19014         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
19015         restore exception state around main square root computation, then
19016         check for inexactness explicitly.
19017
19018         * math/libm-test.inc (fma_test_data): Add another test.
19019
19020 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19021
19022         * manual/threads.texi (Non-POSIX Extensions): New document
19023         node.  Document pthread_getattr_default_np and
19024         pthread_setattr_default_np.
19025
19026         * Versions.def (libpthread): Add GLIBC_2.18.
19027         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
19028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19029         Likewise.
19030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19031         Likewise.
19032         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19033         Likewise.
19034         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19035         Likewise.
19036         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
19037         Likewise.
19038         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19039         Likewise.
19040         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19041         Likewise.
19042         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19043         Likewise.
19044         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19045         Likewise.
19046
19047 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19048
19049         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19050         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
19051
19052 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19053             H.J. Lu  <hjl.tools@gmail.com>
19054
19055         [BZ #15627]
19056         * sysdeps/x86_64/rtld-memset.c: Remove file.
19057         * sysdeps/x86_64/rtld-memset.S: New file.
19058
19059 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
19060
19061         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
19062         (test_in_one_mode): Take arguments for whether the rounding mode
19063         is supported for each floating-point type.
19064         (do_test): Pass new arguments to test_in_one_mode using
19065         ROUNDING_TESTS.
19066
19067 2013-06-13  Roland McGrath  <roland@hack.frob.com>
19068
19069         * posix/tst-waitid.c (do_test): Distinguish different instances of
19070         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
19071         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
19072         before entering the kernel for waitpid.
19073
19074 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19075
19076         * NEWS: Fix note on clock function precision.  Text by Roland
19077         McGrath.
19078
19079 2013-06-13  Roland McGrath  <roland@hack.frob.com>
19080
19081         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
19082         it into place only when and if the sanity check passes.
19083
19084 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
19085
19086         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
19087         output for whether conversion result is exact.  Take argument
19088         indicating whether type is IBM long double.
19089         (round_for_all): Change need_exact field to ibm_ld.
19090         * stdlib/tst-strtod-round.c (struct exactness): New type.
19091         (struct test): Change bool ld_ok field to struct exactness exact.
19092         (TEST): Update all definitions for change to field.
19093         (tests): Regenerate array contents.
19094         (test_in_one_mode): Take pointer to new field instead of old ld_ok
19095         field value.  Check for IBM long double here.
19096         (do_test): Update calls to test_in_one_mode.
19097
19098 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19099
19100         [BZ #12515]
19101         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
19102         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
19103
19104 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19105
19106         [BZ #15605]
19107         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
19108         generated by the compiler on loop optimizations.
19109         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
19110         general definitions.
19111
19112 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
19113
19114         * math/bug-nextafter.c: Include <math-tests.h>.
19115         (main): Only test for exceptions if EXCEPTION_TESTS is true for
19116         the relevant type.
19117         * math/bug-nexttoward.c: Include <math-tests.h>.
19118         (main): Only test for exceptions if EXCEPTION_TESTS is true for
19119         the relevant type.
19120         * math/test-misc.c: Include <math-tests.h>.
19121         (main): Only test for exceptions if EXCEPTION_TESTS is true for
19122         the relevant type.
19123
19124 2013-06-12  Andreas Jaeger  <aj@suse.de>
19125
19126         * po/ia.po: Update Interlingua translation from translation
19127         project.
19128
19129 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19130
19131         * include/fenv.h: Include stdbool.h.
19132         (struct rm_ctx): New structure.
19133         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
19134         Define macro.
19135         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
19136         (SET_RESTORE_ROUNDF): Likewise.
19137         (SET_RESTORE_ROUNDL): Likewise.
19138         (SET_RESTORE_ROUND_NOEX): Likewise.
19139         (SET_RESTORE_ROUND_NOEXF): Likewise.
19140         (SET_RESTORE_ROUND_NOEXL): Likewise.
19141         (SET_RESTORE_ROUND_53BIT): Likewise.
19142         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
19143         (libc_feresetround_noexf_ctx): Likewise.
19144         (libc_feresetround_noexl_ctx): Likewise.
19145         (libc_feholdsetround_53bit_ctx): Likewise.
19146         (libc_feresetround_53bit_ctx): Likewise.
19147         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
19148         (libc_feholdexcept_setround_sse_ctx): New function.
19149         (libc_fesetenv_sse_ctx): Likewise.
19150         (libc_feupdateenv_sse_ctx): Likewise.
19151         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
19152         (libc_feholdexcept_setround_387_ctx): Likewise.
19153         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
19154         (libc_feholdsetround_387_prec_ctx): Likewise.
19155         (libc_feholdsetround_387_ctx): Likewise.
19156         (libc_feholdsetround_387_53bit_ctx): Likewise.
19157         (libc_feholdsetround_sse_ctx): Likewise.
19158         (libc_feresetround_sse_ctx): Likewise.
19159         (libc_feresetround_387_ctx): Likewise.
19160         (libc_feupdateenv_387_ctx): Likewise.
19161         (libc_feholdexcept_setroundf_ctx): Define macro.
19162         (libc_fesetenvf_ctx): Likewise.
19163         (libc_feupdateenvf_ctx): Likewise.
19164         (libc_feholdsetroundf_ctx): Likewise.
19165         (libc_feresetroundf_ctx): Likewise.
19166         (libc_feholdexcept_setround_ctx): Likewise.
19167         (libc_fesetenv_ctx): Likewise.
19168         (libc_feupdateenv_ctx): Likewise.
19169         (libc_feholdsetround_ctx): Likewise.
19170         (libc_feresetround_ctx): Likewise.
19171         (libc_feholdexcept_setroundl_ctx): Likewise.
19172         (libc_feupdateenvl_ctx): Likewise.
19173         (libc_feholdsetroundl_ctx): Likewise.
19174         (libc_feresetroundl_ctx): Likewise.
19175         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
19176         (libc_feresetround_53bit_ctx): Likewise.
19177
19178 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19179
19180         * locale/iso-639.def: Convert to UTF-8.
19181
19182 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
19183
19184         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
19185         (EXCEPTION_TESTS_double): Likewise.
19186         (EXCEPTION_TESTS_long_double): Likewise.
19187         (EXCEPTION_TESTS): Likewise.
19188         * math/libm-test.inc (test_exceptions): Only test exceptions if
19189         EXCEPTION_TESTS (FLOAT).
19190
19191 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19192
19193         * benchtests/Makefile (string-bench): Add strcpy_chk and
19194         stpcpy_chk.
19195         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
19196         * benchtests/bench-stpcpy_chk.c: New file.
19197         * benchtests/bench-strcpy_chk-ifunc.c: New file.
19198         * benchtests/bench-strcpy_chk.c: New file.
19199         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
19200         code.
19201         (do_test): Likewise.
19202
19203 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19204
19205         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
19206         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
19207         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
19208         with tabs where appropriate.
19209         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
19210         dl-procinfo.h.
19211         [PPC_PLATFORM_PPC440]: Likewise.
19212         [PPC_PLATFORM_PPC464]: Likewise.
19213         [PPC_PLATFORM_PPC476]: Likewise.
19214         (_dl_string_platform): Add support for detecting ppc405, ppc440,
19215         ppc464, and ppc476 platform strings merging from ports/
19216         dl-procinfo.h.
19217
19218 2013-06-11  Andreas Schwab  <schwab@suse.de>
19219
19220         [BZ #14991]
19221         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
19222         (from_ucs4_idx): Regenerate.
19223         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
19224         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
19225         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
19226         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
19227         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
19228         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
19229         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
19230         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
19231         from FROM_LOOP and TO_LOOP specific macros.
19232         (BODY): Handle combining characters.
19233         * iconvdata/BIG5HKSCS.irreversible: Update.
19234         * iconvdata/BIG5HKSCS.precomposed: New file.
19235         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
19236         characters.
19237         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
19238
19239 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19240
19241         * include/sys/time.h: Fix indentation and add copyright header.
19242
19243         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
19244         (do_test): Likewise.
19245         * string/test-memchr.c (do_one_test): Likewise.
19246         (do_test): Likewise.
19247         * string/test-memcmp.c (do_one_test): Likewise.
19248         (do_test): Likewise.
19249         * string/test-memcpy.c (do_one_test): Likewise.
19250         (do_test): Likewise.
19251         * string/test-memmem.c (do_one_test): Likewise.
19252         (do_test): Likewise.
19253         (do_random_tests): Likewise.
19254         * string/test-memmove.c (do_one_test): Likewise.
19255         (do_test): Likewise.
19256         * string/test-memset.c (do_one_test): Likewise.
19257         (do_test): Likewise.
19258         * string/test-rawmemchr.c (do_one_test): Likewise.
19259         (do_test): Likewise.
19260         * string/test-strcasecmp.c (do_one_test): Likewise.
19261         (do_test): Likewise.
19262         * string/test-strcasestr.c (do_one_test): Likewise.
19263         (do_test): Likewise.
19264         * string/test-strcat.c (do_one_test): Likewise.
19265         (do_test): Likewise.
19266         * string/test-strchr.c (do_one_test): Likewise.
19267         (do_test): Likewise.
19268         * string/test-strcmp.c (do_one_test): Likewise.
19269         (do_test): Likewise.
19270         * string/test-strcpy.c (do_one_test): Likewise.
19271         (do_test): Likewise.
19272         * string/test-string.h: Likewise.
19273         (test_init): Likewise.
19274         * string/test-strlen.c (do_one_test): Likewise.
19275         (do_test): Likewise.
19276         * string/test-strncasecmp.c (do_one_test): Likewise.
19277         (do_test): Likewise.
19278         * string/test-strncat.c (do_one_test): Likewise.
19279         (do_test): Likewise.
19280         * string/test-strncmp.c (do_one_test): Likewise.
19281         (do_test_limit): Likewise.
19282         (do_test): Likewise.
19283         * string/test-strncpy.c (do_one_test): Likewise.
19284         (do_test): Likewise.
19285         * string/test-strnlen.c (do_one_test): Likewise.
19286         (do_test): Likewise.
19287         * string/test-strpbrk.c (do_one_test): Likewise.
19288         (do_test): Likewise.
19289         * string/test-strrchr.c (do_one_test): Likewise.
19290         (do_test): Likewise.
19291         * string/test-strspn.c (do_one_test): Likewise.
19292         (do_test): Likewise.
19293         * string/test-strstr.c (do_one_test): Likewise.
19294         (do_test): Likewise.
19295
19296         * benchtests/Makefile (string-bench): Add string benchmarks.
19297         * benchtests/bench-bcopy-ifunc.c: New file.
19298         * benchtests/bench-bcopy.c: New file.
19299         * benchtests/bench-bzero-ifunc.c: New file.
19300         * benchtests/bench-bzero.c: New file.
19301         * benchtests/bench-memccpy-ifunc.c: New file.
19302         * benchtests/bench-memccpy.c: New file.
19303         * benchtests/bench-memchr-ifunc.c: New file.
19304         * benchtests/bench-memchr.c: New file.
19305         * benchtests/bench-memcmp-ifunc.c: New file.
19306         * benchtests/bench-memcmp.c: New file.
19307         * benchtests/bench-memmem-ifunc.c: New file.
19308         * benchtests/bench-memmem.c: New file.
19309         * benchtests/bench-memmove-ifunc.c: New file.
19310         * benchtests/bench-memmove.c: New file.
19311         * benchtests/bench-mempcpy-ifunc.c: New file.
19312         * benchtests/bench-mempcpy.c: New file.
19313         * benchtests/bench-memset-ifunc.c: New file.
19314         * benchtests/bench-memset.c: New file.
19315         * benchtests/bench-rawmemchr-ifunc.c: New file.
19316         * benchtests/bench-rawmemchr.c: New file.
19317         * benchtests/bench-stpcpy-ifunc.c: New file.
19318         * benchtests/bench-stpcpy.c: New file.
19319         * benchtests/bench-stpncpy-ifunc.c: New file.
19320         * benchtests/bench-stpncpy.c: New file.
19321         * benchtests/bench-strcasecmp-ifunc.c: New file.
19322         * benchtests/bench-strcasecmp.c: New file.
19323         * benchtests/bench-strcasestr-ifunc.c: New file.
19324         * benchtests/bench-strcasestr.c: New file.
19325         * benchtests/bench-strcat-ifunc.c: New file.
19326         * benchtests/bench-strcat.c: New file.
19327         * benchtests/bench-strchr-ifunc.c: New file.
19328         * benchtests/bench-strchr.c: New file.
19329         * benchtests/bench-strchrnul-ifunc.c: New file.
19330         * benchtests/bench-strchrnul.c: New file.
19331         * benchtests/bench-strcmp-ifunc.c: New file.
19332         * benchtests/bench-strcmp.c: New file.
19333         * benchtests/bench-strcpy-ifunc.c: New file.
19334         * benchtests/bench-strcpy.c: New file.
19335         * benchtests/bench-strcspn-ifunc.c: New file.
19336         * benchtests/bench-strcspn.c: New file.
19337         * benchtests/bench-strlen-ifunc.c: New file.
19338         * benchtests/bench-strlen.c: New file.
19339         * benchtests/bench-strncasecmp-ifunc.c: New file.
19340         * benchtests/bench-strncasecmp.c: New file.
19341         * benchtests/bench-strncat-ifunc.c: New file.
19342         * benchtests/bench-strncat.c: New file.
19343         * benchtests/bench-strncmp-ifunc.c: New file.
19344         * benchtests/bench-strncmp.c: New file.
19345         * benchtests/bench-strncpy-ifunc.c: New file.
19346         * benchtests/bench-strncpy.c: New file.
19347         * benchtests/bench-strnlen-ifunc.c: New file.
19348         * benchtests/bench-strnlen.c: New file.
19349         * benchtests/bench-strpbrk-ifunc.c: New file.
19350         * benchtests/bench-strpbrk.c: New file.
19351         * benchtests/bench-strrchr-ifunc.c: New file.
19352         * benchtests/bench-strrchr.c: New file.
19353         * benchtests/bench-strspn-ifunc.c: New file.
19354         * benchtests/bench-strspn.c: New file.
19355         * benchtests/bench-strstr-ifunc.c: New file.
19356         * benchtests/bench-strstr.c: New file.
19357
19358         * benchtests/Makefile: Disable parallel execution of targets.
19359         (string-bench): Add memcpy.
19360         (benchset): New variable to store a list of benchmark sets.
19361         (bench-func): Renamed from bench.
19362         (bench-set): New target.
19363         (bench): Depend on bench-func and bench-set.
19364         * benchtests/README: Add section on benchmark sets.
19365         * benchtests/bench-memcpy-ifunc.c: New file.
19366         * benchtests/bench-memcpy.c: New file.
19367         * benchtests/bench-string.h: New file.
19368
19369 2013-06-11  Andreas Schwab  <schwab@suse.de>
19370
19371         [BZ #15577]
19372         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
19373         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
19374         values in the triple.
19375         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
19376         terminator in the group key.
19377
19378 2013-06-11  Andreas Jaeger  <aj@suse.de>
19379
19380         * po/zh_TW.po: Update Chinese (traditional) translation from
19381         translation project.
19382
19383 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19384
19385         * include/time.h (__clock_gettime): Add libc_hidden_proto.
19386         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
19387         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
19388         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19389         (clock_getcpuclockid): Likewise.
19390         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
19391         Add weak_alias and libc_hidden_def.
19392         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
19393         * rt/clock_gettime.c (clock_gettime): Rename to
19394         __clock_gettime.  Add weak_alias and libc_hidden_def.
19395         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
19396         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
19397         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
19398         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
19399         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
19400         Likewise.
19401         * rt/clock_settime.c (clock_settime): Rename to
19402         __clock_settime.  Add weak_alias and libc_hidden_def.
19403         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
19404
19405 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
19406
19407         * mach/err_boot.sub: Remove trailing whitespace.
19408         * mach/err_ipc.sub: Likewise.
19409         * mach/err_mach.sub: Likewise.
19410
19411         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
19412         (ROUNDING_TESTS_double): Likewise.
19413         (ROUNDING_TESTS_long_double): Likewise.
19414         (ROUNDING_TESTS): Likewise.
19415         * math/libm-test.inc: Include <math-tests.h>.
19416         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
19417         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19418         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19419         (IF_ROUND_INIT_FE_UPWARD): Likewise.
19420
19421 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19422
19423         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
19424         of assigning.
19425
19426 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
19427
19428         * sysdeps/gnu/errlist.awk: Do not generate space at end of
19429         otherwise empty TRANS lines.
19430         * sysdeps/gnu/errlist.c: Regenerated.
19431
19432         * catgets/gencat.c (error_print): Use (void) in function
19433         definition.
19434         * crypt/crypt_util.c (__init_des): Likewise.
19435         * crypt/speeds.c (Stop): Likewise.
19436         (main): Likewise.
19437         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
19438         * inet/ruserpass.c (token): Likewise.
19439         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
19440         * intl/localealias.c (extend_alias_table): Likewise.
19441         * intl/plural-exp.c (init_germanic_plural): Likewise.
19442         * libio/fcloseall.c (__fcloseall): Likewise.
19443         * libio/genops.c (_IO_flush_all): Likewise.
19444         (_IO_flush_all_linebuffered): Likewise.
19445         (_IO_cleanup): Likewise.
19446         (_IO_iter_begin): Likewise.
19447         (_IO_iter_end): Likewise.
19448         (_IO_list_lock): Likewise.
19449         (_IO_list_unlock): Likewise.
19450         (_IO_list_resetlock): Likewise.
19451         * libio/getchar.c (getchar): Likewise.
19452         * libio/getchar_u.c (getchar_unlocked): Likewise.
19453         * libio/getwchar.c (getwchar): Likewise.
19454         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
19455         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
19456         * login/getpt.c (__getpt): Likewise.
19457         * login/tst-utmp.c (main): Likewise.
19458         * malloc/hooks.c (__malloc_check_init): Likewise.
19459         * malloc/malloc.c (__malloc_stats): Likewise.
19460         * malloc/mtrace.c (tr_break): Likewise.
19461         (mtrace): Likewise.
19462         (muntrace): Likewise.
19463         * misc/fstab.c (endfsent): Likewise.
19464         * misc/getclktck.c (__getclktck): Likewise.
19465         * misc/getdtsz.c (__getdtablesize): Likewise.
19466         * misc/gethostid.c (gethostid): Likewise.
19467         * misc/getpagesize.c (__getpagesize): Likewise.
19468         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
19469         (__get_nprocs): Likewise.
19470         (__get_phys_pages): Likewise.
19471         (__get_avphys_pages): Likewise.
19472         * misc/getttyent.c (getttyent): Likewise.
19473         (setttyent): Likewise.
19474         (endttyent): Likewise.
19475         * misc/getusershell.c (getusershell): Likewise.
19476         (endusershell): Likewise.
19477         (setusershell): Likewise.
19478         (initshells): Likewise.
19479         * misc/hsearch.c (__hdestroy): Likewise.
19480         * misc/sync.c (sync): Likewise.
19481         * misc/syslog.c (closelog_internal): Likewise.
19482         (closelog): Likewise.
19483         * misc/ttyslot.c (ttyslot): Likewise.
19484         * misc/vhangup.c (vhangup): Likewise.
19485         * posix/fork.c (__fork): Likewise.
19486         * posix/getegid.c (__getegid): Likewise.
19487         * posix/geteuid.c (__geteuid): Likewise.
19488         * posix/getgid.c (__getgid): Likewise.
19489         * posix/getpid.c (__getpid): Likewise.
19490         * posix/getppid.c (__getppid): Likewise.
19491         * posix/getuid.c (__getuid): Likewise.
19492         * posix/pause.c (pause): Likewise.
19493         * posix/setpgrp.c (setpgrp): Likewise.
19494         * posix/setsid.c (__setsid): Likewise.
19495         * posix/test-vfork.c (noop): Likewise.
19496         * resolv/gethnamaddr.c (_endhtent): Likewise.
19497         (_gethtent): Likewise.
19498         (ht_endhostent): Likewise.
19499         (gethostent): Likewise.
19500         (dns_service): Likewise.
19501         * stdlib/drand48.c (drand48): Likewise.
19502         * stdlib/lrand48.c (lrand48): Likewise.
19503         * stdlib/mrand48.c (mrand48): Likewise.
19504         * stdlib/rand.c (rand): Likewise.
19505         * stdlib/random.c (__random): Likewise.
19506         * stdlib/setenv.c (clearenv): Likewise.
19507         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
19508         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
19509         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
19510         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
19511         (__get_nprocs): Likewise.
19512         (__get_phys_pages): Likewise.
19513         (__get_avphys_pages): Likewise.
19514         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
19515         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
19516         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
19517         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
19518         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
19519         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
19520         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
19521         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
19522         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
19523         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
19524         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
19525         * sysdeps/mach/hurd/sync.c (sync): Likewise.
19526         * sysdeps/posix/clock.c (clock): Likewise.
19527         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
19528         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
19529         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
19530         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
19531         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
19532         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
19533         (__get_nprocs_conf): Likewise.
19534         (__get_phys_pages): Likewise.
19535         (__get_avphys_pages): Likewise.
19536         * time/clock.c (clock): Likewise.
19537         * time/tzset.c (__tzname_max): Likewise.
19538
19539 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
19540
19541         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
19542         (__bswap_32): Do not use "register".
19543         * crypt/crypt.c (_ufc_doit_r): Likewise.
19544         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19545         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19546         * gmon/gmon.c (__monstartup): Likewise.
19547         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
19548         * hurd/hurdmalloc.c (more_memory): Likewise.
19549         (malloc): Likewise.
19550         (free): Likewise.
19551         (realloc): Likewise.
19552         (malloc_fork_prepare): Likewise.
19553         (malloc_fork_parent): Likewise.
19554         (malloc_fork_child): Likewise.
19555         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
19556         (_svcauth_des): Likewise.
19557         * inet/inet_lnaof.c (inet_lnaof): Likewise.
19558         * inet/inet_net.c (inet_network): Likewise.
19559         * inet/inet_netof.c (inet_netof): Likewise.
19560         * inet/rcmd.c (__validuser2_sa): Likewise.
19561         * io/fts.c (fts_open): Likewise.
19562         (fts_load): Likewise.
19563         (fts_close): Likewise.
19564         (fts_read): Likewise.
19565         (fts_children): Likewise.
19566         (fts_build): Likewise.
19567         (fts_stat): Likewise.
19568         (fts_sort): Likewise.
19569         (fts_alloc): Likewise.
19570         (fts_lfree): Likewise.
19571         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
19572         (_IO_file_xsgetn): Likewise.
19573         (_IO_file_xsgetn_mmap): Likewise.
19574         * libio/iofopncook.c (_IO_cookie_read): Likewise.
19575         (_IO_cookie_write): Likewise.
19576         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
19577         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
19578         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
19579         * malloc/obstack.c (_obstack_begin): Likewise.
19580         (_obstack_begin_1): Likewise.
19581         (_obstack_newchunk): Likewise.
19582         (_obstack_allocated_p): Likewise.
19583         (obstack_free): Likewise.
19584         (_obstack_memory_used): Likewise.
19585         * misc/getttyent.c (getttynam): Likewise.
19586         (getttyent): Likewise.
19587         (skip): Likewise.
19588         (value): Likewise.
19589         * misc/getusershell.c (initshells): Likewise.
19590         * misc/syslog.c (__vsyslog_chk): Likewise.
19591         * misc/ttyslot.c (ttyslot): Likewise.
19592         * nis/nis_hash.c (__nis_hash): Likewise.
19593         * posix/fnmatch_loop.c (FCT): Likewise.
19594         * posix/getconf.c (print_all): Likewise.
19595         (main): Likewise.
19596         * posix/getopt.c (exchange): Likewise.
19597         * posix/glob.c (globfree): Likewise.
19598         (prefix_array): Likewise.
19599         (__glob_pattern_type): Likewise.
19600         * resolv/arpa/nameser.h (NS_GET16): Likewise.
19601         (NS_GET32): Likewise.
19602         (NS_PUT16): Likewise.
19603         (NS_PUT32): Likewise.
19604         * resolv/gethnamaddr.c (getanswer): Likewise.
19605         (gethostbyname2): Likewise.
19606         (gethostbyaddr): Likewise.
19607         (_gethtent): Likewise.
19608         (_gethtbyname2): Likewise.
19609         (_gethtbyaddr): Likewise.
19610         * resolv/ns_print.c (dst_s_get_int16): Likewise.
19611         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19612         * resolv/res_init.c (__res_vinit): Likewise.
19613         (net_mask): Likewise.
19614         * resolv/res_mkquery.c (outchar): Likewise.
19615         (PRINT): Likewise.
19616         * stdio-common/printf_fp.c (outchar): Likewise.
19617         (PRINT): Likewise.
19618         * stdio-common/printf_fphex.c (outchar): Likewise.
19619         (PRINT): Likewise.
19620         * stdio-common/printf_size.c (outchar): Likewise.
19621         (PRINT): Likewise.
19622         * stdio-common/test_rdwr.c (main): Likewise.
19623         * stdio-common/tfformat.c (matches): Likewise.
19624         * stdio-common/vfprintf.c (outchar): Likewise.
19625         (printf_unknown): Likewise.
19626         (buffered_vfprintf): Likewise.
19627         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19628         * stdio-common/xbug.c (AppendToBuffer): Likewise.
19629         (ReadFile): Likewise.
19630         * stdlib/qsort.c (SWAP): Likewise.
19631         (_quicksort): Likewise.
19632         * stdlib/setenv.c (__add_to_environ): Likewise.
19633         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19634         * stdlib/strtol_l.c (__strtol_l): Likewise.
19635         * stdlib/tst-strtod.c (main): Likewise.
19636         * stdlib/tst-strtol.c (main): Likewise.
19637         * stdlib/tst-strtoll.c (main): Likewise.
19638         * string/bits/string2.h (__strcmp_cc): Likewise.
19639         (__strcmp_cg): Likewise.
19640         (__strcspn_c1): Likewise.
19641         (__strcspn_c2): Likewise.
19642         (__strcspn_c3): Likewise.
19643         (__strspn_c1): Likewise.
19644         (__strspn_c2): Likewise.
19645         (__strspn_c3): Likewise.
19646         (__strsep_1c): Likewise.
19647         (__strsep_2c): Likewise.
19648         (__strsep_3c): Likewise.
19649         * string/memccpy.c (__memccpy): Likewise.
19650         * string/stpcpy.c (__stpcpy): Likewise.
19651         * string/strcmp.c (strcmp): Likewise.
19652         * string/strrchr.c (strrchr): Likewise.
19653         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
19654         Likewise.
19655         * sysdeps/mach/hurd/getcwd.c
19656         (_hurd_canonicalize_directory_name_internal): Likewise.
19657         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
19658         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
19659         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
19660         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
19661         Likewise, in both definitions.
19662         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
19663         definitions.
19664         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
19665         64] (__bswap_64): Likewise.
19666         * time/test_time.c (main): Likewise.
19667         * time/tzfile.c (__tzfile_read): Likewise.
19668         (__tzfile_compute): Likewise.
19669         * time/tzset.c (__tzset_parse_tz): Likewise.
19670         (tzset_internal): Likewise.
19671         (compute_change): Likewise.
19672         * wcsmbs/wcscat.c (__wcscat): Likewise.
19673         * wcsmbs/wcschr.c (wcschr): Likewise.
19674         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
19675         * wcsmbs/wcscspn.c (wcscspn): Likewise.
19676         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
19677         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
19678         * wcsmbs/wcsspn.c (wcsspn): Likewise.
19679         * wcsmbs/wcsstr.c (wcsstr): Likewise.
19680         * wcsmbs/wmemchr.c (wmemchr): Likewise.
19681         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19682         * wcsmbs/wmemset.c (wmemset): Likewise.
19683
19684 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
19685
19686         * scripts/config.guess: Update to version 2013-05-16.
19687         * scripts/config.sub: Update to version 2013-04-24.
19688         * scripts/install-sh: Update to version 2011-11-20.07.
19689         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
19690         * scripts/move-if-change: Update to version 2012-01-06 07:23.
19691
19692 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
19693
19694         * debug/fgetws_u_chk.c: Fix leading whitespaces.
19695         * elf/sln.c: Likewise.
19696         * hurd/hurd/ioctl.h: Likewise.
19697         * hurd/hurdmalloc.c: Likewise.
19698         * hurd/xattr.c: Likewise.
19699         * include/shlib-compat.h: Likewise.
19700         * inet/ruserpass.c: Likewise.
19701         * libio/iofgets_u.c: Likewise.
19702         * libio/iofgetws_u.c: Likewise.
19703         * locale/programs/ld-identification.c: Likewise.
19704         * locale/programs/ld-time.c: Likewise.
19705         * mach/msg-destroy.c: Likewise.
19706         * nss/nss_files/files-netgrp.c: Likewise.
19707         * resolv/res_data.c: Likewise.
19708         * soft-fp/op-1.h: Likewise.
19709         * soft-fp/op-2.h: Likewise.
19710         * soft-fp/op-4.h: Likewise.
19711         * soft-fp/op-common.h: Likewise.
19712         * stdio-common/printf_fphex.c: Likewise.
19713         * stdlib/strtod_l.c: Likewise.
19714         * sunrpc/rpc/clnt.h: Likewise.
19715         * sysdeps/generic/framestate.c: Likewise.
19716         * sysdeps/i386/bsd-_setjmp.S: Likewise.
19717         * sysdeps/i386/bsd-setjmp.S: Likewise.
19718         * sysdeps/i386/__longjmp.S: Likewise.
19719         * sysdeps/i386/setjmp.S: Likewise.
19720         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19721         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19722         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19723         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19724         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19725         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19726         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19727         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19728         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19729         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19730         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19731         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19732         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19733         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19734         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19735         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19736         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19737         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
19738         * sysdeps/ieee754/support.c: Likewise.
19739         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19740         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
19741         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
19742         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
19743         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
19744         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
19745         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
19746         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
19747         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
19748         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
19749         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
19750         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
19751         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
19752         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
19753         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
19754         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
19755         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19757
19758 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
19759
19760         * posix/transbug.c: Remove executable mode.
19761
19762 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
19763
19764         * crypt/speeds.c: Remove trailing whitespace.
19765         * dlfcn/default.c: Likewise.
19766         * elf/ifuncdep2.c: Likewise.
19767         * elf/ifuncmain1.c: Likewise.
19768         * elf/ifuncmain1vis.c: Likewise.
19769         * elf/testobj.h: Likewise.
19770         * elf/tst-stackguard1.c: Likewise.
19771         * gmon/sys/gmon.h: Likewise.
19772         * hurd/hurdmsg.c: Likewise.
19773         * hurd/new-fd.c: Likewise.
19774         * hurd/ports-get.c: Likewise.
19775         * iconvdata/ibm1008_420.c: Likewise.
19776         * inet/tst-getni1.c: Likewise.
19777         * inet/tst-getni2.c: Likewise.
19778         * libio/ioungetc.c: Likewise.
19779         * libio/wfiledoalloc.c: Likewise.
19780         * manual/libm-err-tab.pl: Likewise.
19781         * math/w_dremf.c: Likewise.
19782         * misc/ftruncate.c: Likewise.
19783         * posix/bug-glob2.c: Likewise.
19784         * posix/tst-pcre.c: Likewise.
19785         * posix/wait4.c: Likewise.
19786         * resolv/README: Likewise.
19787         * resolv/res_debug.h: Likewise.
19788         * resolv/tst-inet_ntop.c: Likewise.
19789         * setjmp/bug269-setjmp.c: Likewise.
19790         * soft-fp/extended.h: Likewise.
19791         * soft-fp/op-1.h: Likewise.
19792         * soft-fp/op-2.h: Likewise.
19793         * soft-fp/op-4.h: Likewise.
19794         * soft-fp/op-8.h: Likewise.
19795         * soft-fp/testit.c: Likewise.
19796         * stdio-common/bug16.c: Likewise.
19797         * stdlib/random.c: Likewise.
19798         * sunrpc/rpcsvc/rquota.x: Likewise.
19799         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
19800         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19801         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19802         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19803         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19804         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19805         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19806         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19807         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19808         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19809         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19810         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19811         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19812         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19813         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19814         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19815         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19816         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19817         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19818         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19819         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19820         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19821         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19822         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19823         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19824         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19825         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19826         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19827         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19828         * sysdeps/ieee754/s_lib_version.c: Likewise.
19829         * sysdeps/mach/hurd/check_fds.c: Likewise.
19830         * sysdeps/mach/hurd/getsockname.c: Likewise.
19831         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19832         * sysdeps/mach/hurd/recvfrom.c: Likewise.
19833         * sysdeps/powerpc/bits/link.h: Likewise.
19834         * sysdeps/powerpc/dl-procinfo.c: Likewise.
19835         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19836         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19837         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19838         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19839         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19840         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19841         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19842         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19843         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19844         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19845         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19846         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19847         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19848         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19849         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19850         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19851         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19852         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19853         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19854         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19855         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19856         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19857         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19858         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19859         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19860         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19861         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19862         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19863         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19864         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19865         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19866         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19867         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19868         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19869         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19870         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19871         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19872         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19873         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19874         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19875         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19876         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19877         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19878         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19879         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19880         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19881         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19882         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19883         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19884         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19885         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19886         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19887         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19888         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19889         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19890         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19891         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19892         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19893         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19894         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
19895         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
19896         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
19897         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19898         * sysdeps/powerpc/sysdep.h: Likewise.
19899         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19900         * sysdeps/s390/s390-64/sub_n.S: Likewise.
19901         * sysdeps/sh/dl-trampoline.S: Likewise.
19902         * sysdeps/sh/memset.S: Likewise.
19903         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19904         * sysdeps/sh/strlen.S: Likewise.
19905         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19906         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19907         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19908         * sysdeps/sparc/sparc32/rem.S: Likewise.
19909         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19910         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19911         * sysdeps/sparc/sparc32/strchr.S: Likewise.
19912         * sysdeps/sparc/sparc32/udiv.S: Likewise.
19913         * sysdeps/sparc/sparc32/urem.S: Likewise.
19914         * sysdeps/sparc/sparc64/add_n.S: Likewise.
19915         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19916         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19917         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19918         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19919         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19920         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19921         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19922         * sysdeps/unix/bsd/times.c: Likewise.
19923         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19924         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19928         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19929         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19930         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19931         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19932         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19933         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19934         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19935         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19936         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19937         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19938         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19939         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19940         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19941         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19942         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19943         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19944         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19945         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19946         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19947         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19948         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19949         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19950         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19951         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19952         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19953         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19954         * sysdeps/x86_64/strcspn.S: Likewise.
19955
19956 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19957
19958         * locale/C-translit.h: Revert #include <stdint.h> because this is a
19959         generated file.  Regenerate properly from gen-translit.pl.
19960         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
19961         locale/C-translit.h.
19962
19963 2013-06-05  Andreas Schwab  <schwab@suse.de>
19964
19965         [BZ #15100]
19966         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19967         week as 6 instead of -1.
19968         * time/tst-strptime.c (day_tests): Add test case.
19969
19970 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19971
19972         * sysdeps/generic/math_private.h
19973         (libc_feholdexcept_setround_53bit): Replace with
19974         libc_feholdsetround_53bit.
19975         (libc_feupdateenv_53bit): Replace with
19976         libc_feresetround_53bit.
19977         (SET_RESTORE_ROUND_53BIT): Adjust.
19978
19979 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19980
19981         * string/test-strchrnul.c: Add copyright header.
19982
19983         * posix/tst-getaddrinfo4.c: Increase test timeout.
19984
19985 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
19986
19987         [BZ #15536]
19988         * math/libm-test.inc (MAX_EXP): Remove
19989         (MIN_EXP): Define.
19990         (ulp): Use MIN_EXP - MANT_DIG.
19991         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19992
19993 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
19994
19995         * po/be.po: Revert last change.
19996         * po/zh_CN.po: Likewise.
19997         * po/header.pot: Likewise.
19998
19999 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
20000
20001         * Makefile ($(common-objpfx)linkobj/libc.so): Define
20002         link-libc-deps to empty as target-specific variable.
20003         * Makerules (link-libc-args): New variable.
20004         (libc-for-link): Likewise.
20005         (link-libc-deps): Likewise.
20006         (lib%.so): Depend on $(link-libc-deps).  Link with
20007         $(link-libc-args).
20008         (build-module): Link with $(link-libc-args).
20009         (build-module-asneeded): Likewise.
20010         (build-module-helper-objlist): Filter out $(link-libc-deps) from
20011         list of objects.
20012         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
20013         target-specific variable.
20014         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
20015         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
20016         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
20017         libc.
20018         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
20019         libc and ld.so.
20020         ($(objpfx)libpcprofile.so): Likewise.
20021         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
20022         libc_nonshared.a.
20023         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
20024         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
20025         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
20026         $(link-libc-deps).
20027         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
20028         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
20029         * login/Makefile ($(objpfx)libutil.so): Likewise.
20030         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
20031         * math/Makefile ($(objpfx)libm.so): Likewise.
20032         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
20033         $(objpfx)libnsl.so): Define libc-for-link as target-specific
20034         variable instead of depending directly on libc.
20035         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
20036         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
20037         $(link-libc-deps).
20038         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
20039         libc.
20040         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
20041         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
20042         ($(objpfx)libanl.so): Likewise.
20043         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
20044         ld.so.
20045         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
20046         $(link-libc-deps).
20047         * sysdeps/i386/fpu/Makefile: Remove file.
20048         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
20049         ($(objpfx)libm.so): Remove dependency on ld.so.
20050
20051 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
20052
20053         [BZ # 15553]
20054         * nis/yp_xdr.c (XDRMAXNAME): Define.
20055         (XDRMAXRECORD): Define.
20056         (xdr_domainname): Use XDRMAXNAME.
20057         (xdr_mapname): Likewise.
20058         (xdr_peername): Likewise.
20059         (xdr_keydat): Use XDRMAXRECORD.
20060         (xdr_valdat): Likewise.
20061
20062 2013-05-30  Jeff Law  <law@redhat.com>
20063
20064         [BZ #14256]
20065         * manual/errno.texi (ESTALE): Update to account for more than
20066         just NFS file systems.
20067         * sysdeps/gnu/errlist.c: Regenerated.
20068
20069 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20070
20071         [BZ #15465]
20072         * elf/Makefile (tests): Add tst-null-argv.
20073         (modules-names):  Add tst-null-argv-lib.
20074         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
20075         (tst-null-argv-ENV): Set environment for tst-null-argv.
20076         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
20077         (RTLD_PROGNAME): New macro.
20078         * elf/tst-null-argv.c: New test case.
20079         * elf/tst-null-argv-lib.c: Library for test case.
20080         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
20081         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
20082         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
20083         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
20084         * elf/dl-init.c (call_init): Likewise.
20085         (_dl_init): Likewise.
20086         * elf/dl-load.c (print_search_path): Likewise.
20087         (_dl_map_object): Likewise.
20088         * elf/dl-lookup.c (do_lookup_x): Likewise.
20089         (add_dependency): Likewise.
20090         (_dl_lookup_symbol_x): Likewise.
20091         (_dl_debug_bindings): Likewise.
20092         * elf/dl-open.c (_dl_show_scope): Likewise.
20093         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
20094         * elf/dl-version.c (match_symbol): Likewise.
20095         (_dl_check_map_versions): Likewise.
20096         * elf/rtld.c (dl_main): Likewise.
20097         (print_unresolved): Use RTLD_PROGNAME.
20098         (print_missing_version): Likewise.
20099         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
20100         (elf_machine_rela): Likewise.
20101         * sysdeps/powerpc/powerpc32/dl-machine.c
20102         (__process_machine_rela): Likewise.
20103         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20104         Likewise.
20105         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20106         Likewise.
20107         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
20108         Likewise.
20109         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20110         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
20111         Likewise.
20112         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
20113         Likewise.
20114         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20115
20116 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
20117
20118         * po/be.po: Add descriptive title.
20119         * po/zh_CN.po: Likewise.
20120         * po/header.pot: Likewise.
20121
20122 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
20123
20124         * locale/programs/locarchive.c (create_archive): Inlucde fname in
20125         error message.
20126         (enlarge_archive): Likewise.
20127
20128 2013-05-28  Ben North  <ben@redfrontdoor.org>
20129
20130         * manual/arith.texi (frexp): It is the magnitude of the return
20131         value which lies in [0.5, 1), not the return value itself.
20132
20133 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20134
20135         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20136
20137 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
20138
20139         * stdio-common/bug26.c (main): Correct fscanf template.
20140
20141         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
20142         declare _dl_skip_args.
20143
20144         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
20145         Don't declare.
20146
20147         * manual/platform.texi: Add missing @end deftypefun.
20148
20149 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
20150
20151         [BZ #15529]
20152         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
20153         bit of mantissa of 2^16382.
20154         * math/libm-test.inc (hypot_test_data): Add more tests.
20155
20156         * math/libm-test.inc: Add drem and pow10 to list of tested
20157         functions.
20158         (pow10_test): New function.
20159         (drem_test): Likewise.
20160         (drem_test_tonearest): Likewise.
20161         (drem_test_towardzero): Likewise.
20162         (drem_test_downward): Likewise.
20163         (drem_test_upward): Likewise.
20164         (main): Call the new functions.
20165
20166         * math/libm-test.inc (finite_test_data): Remove.
20167         (finite_test): Run tests from isfinite_test_data.
20168         (gamma_test_data): Remove.
20169         (gamma_test): Run tests from lgamma_test_data.
20170         * sysdeps/i386/fpu/libm-test-ulps: Update.
20171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20172
20173 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20174
20175         * manual/platform.texi: Add PowerPC PPR function set documentation.
20176         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
20177         implementation.
20178
20179 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
20180
20181         * math/libm-test.inc (MAX_EXP): Define.
20182         (ULPDIFF): Define.
20183         (ulp): New function.
20184         (check_float_internal): Use ULPDIFF.
20185         (cpow_test): Disable failing test.
20186         (check_ulp): Test ulp() implemetnation.
20187         (main): Call check_ulp before starting tests.
20188
20189 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
20190
20191         * math/gen-libm-test.pl (generate_testfile): Do not handle
20192         START_DATA and END_DATA.
20193         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
20194         END_DATA.
20195         (acos_tonearest_test_data): Likewise.
20196         (acos_towardzero_test_data): Likewise.
20197         (acos_downward_test_data): Likewise.
20198         (acos_upward_test_data): Likewise.
20199         (acosh_test_data): Likewise.
20200         (asin_test_data): Likewise.
20201         (asin_tonearest_test_data): Likewise.
20202         (asin_towardzero_test_data): Likewise.
20203         (asin_downward_test_data): Likewise.
20204         (asin_upward_test_data): Likewise.
20205         (asinh_test_data): Likewise.
20206         (atan_test_data): Likewise.
20207         (atanh_test_data): Likewise.
20208         (atan2_test_data): Likewise.
20209         (cabs_test_data): Likewise.
20210         (cacos_test_data): Likewise.
20211         (cacosh_test_data): Likewise.
20212         (carg_test_data): Likewise.
20213         (casin_test_data): Likewise.
20214         (casinh_test_data): Likewise.
20215         (catan_test_data): Likewise.
20216         (catanh_test_data): Likewise.
20217         (cbrt_test_data): Likewise.
20218         (ccos_test_data): Likewise.
20219         (ccosh_test_data): Likewise.
20220         (ceil_test_data): Likewise.
20221         (cexp_test_data): Likewise.
20222         (cimag_test_data): Likewise.
20223         (clog_test_data): Likewise.
20224         (clog10_test_data): Likewise.
20225         (conj_test_data): Likewise.
20226         (copysign_test_data): Likewise.
20227         (cos_test_data): Likewise.
20228         (cos_tonearest_test_data): Likewise.
20229         (cos_towardzero_test_data): Likewise.
20230         (cos_downward_test_data): Likewise.
20231         (cos_upward_test_data): Likewise.
20232         (cosh_test_data): Likewise.
20233         (cosh_tonearest_test_data): Likewise.
20234         (cosh_towardzero_test_data): Likewise.
20235         (cosh_downward_test_data): Likewise.
20236         (cosh_upward_test_data): Likewise.
20237         (cpow_test_data): Likewise.
20238         (cproj_test_data): Likewise.
20239         (creal_test_data): Likewise.
20240         (csin_test_data): Likewise.
20241         (csinh_test_data): Likewise.
20242         (csqrt_test_data): Likewise.
20243         (ctan_test_data): Likewise.
20244         (ctan_tonearest_test_data): Likewise.
20245         (ctan_towardzero_test_data): Likewise.
20246         (ctan_downward_test_data): Likewise.
20247         (ctan_upward_test_data): Likewise.
20248         (ctanh_test_data): Likewise.
20249         (ctanh_tonearest_test_data): Likewise.
20250         (ctanh_towardzero_test_data): Likewise.
20251         (ctanh_downward_test_data): Likewise.
20252         (ctanh_upward_test_data): Likewise.
20253         (erf_test_data): Likewise.
20254         (erfc_test_data): Likewise.
20255         (exp_test_data): Likewise.
20256         (exp_tonearest_test_data): Likewise.
20257         (exp_towardzero_test_data): Likewise.
20258         (exp_downward_test_data): Likewise.
20259         (exp_upward_test_data): Likewise.
20260         (exp10_test_data): Likewise.
20261         (exp2_test_data): Likewise.
20262         (expm1_test_data): Likewise.
20263         (fabs_test_data): Likewise.
20264         (fdim_test_data): Likewise.
20265         (finite_test_data): Likewise.
20266         (floor_test_data): Likewise.
20267         (fma_test_data): Likewise.
20268         (fma_towardzero_test_data): Likewise.
20269         (fma_downward_test_data): Likewise.
20270         (fma_upward_test_data): Likewise.
20271         (fmax_test_data): Likewise.
20272         (fmin_test_data): Likewise.
20273         (fmod_test_data): Likewise.
20274         (fpclassify_test_data): Likewise.
20275         (frexp_test_data): Likewise.
20276         (gamma_test_data): Likewise.
20277         (hypot_test_data): Likewise.
20278         (ilogb_test_data): Likewise.
20279         (isfinite_test_data): Likewise.
20280         (isgreater_test_data): Likewise.
20281         (isgreaterequal_test_data): Likewise.
20282         (isinf_test_data): Likewise.
20283         (isless_test_data): Likewise.
20284         (islessequal_test_data): Likewise.
20285         (islessgreater_test_data): Likewise.
20286         (isnan_test_data): Likewise.
20287         (isnormal_test_data): Likewise.
20288         (issignaling_test_data): Likewise.
20289         (isunordered_test_data): Likewise.
20290         (j0_test_data): Likewise.
20291         (j1_test_data): Likewise.
20292         (jn_test_data): Likewise.
20293         (ldexp_test_data): Likewise.
20294         (lgamma_test_data): Likewise.
20295         (lrint_test_data): Likewise.
20296         (lrint_tonearest_test_data): Likewise.
20297         (lrint_towardzero_test_data): Likewise.
20298         (lrint_downward_test_data): Likewise.
20299         (lrint_upward_test_data): Likewise.
20300         (llrint_test_data): Likewise.
20301         (llrint_tonearest_test_data): Likewise.
20302         (llrint_towardzero_test_data): Likewise.
20303         (llrint_downward_test_data): Likewise.
20304         (llrint_upward_test_data): Likewise.
20305         (log_test_data): Likewise.
20306         (log10_test_data): Likewise.
20307         (log1p_test_data): Likewise.
20308         (log2_test_data): Likewise.
20309         (logb_test_data): Likewise.
20310         (logb_downward_test_data): Likewise.
20311         (lround_test_data): Likewise.
20312         (llround_test_data): Likewise.
20313         (modf_test_data): Likewise.
20314         (nearbyint_test_data): Likewise.
20315         (nextafter_test_data): Likewise.
20316         (nexttoward_test_data): Likewise.
20317         (pow_test_data): Likewise.
20318         (pow_tonearest_test_data): Likewise.
20319         (pow_towardzero_test_data): Likewise.
20320         (pow_downward_test_data): Likewise.
20321         (pow_upward_test_data): Likewise.
20322         (remainder_test_data): Likewise.
20323         (remainder_tonearest_test_data): Likewise.
20324         (remainder_towardzero_test_data): Likewise.
20325         (remainder_downward_test_data): Likewise.
20326         (remainder_upward_test_data): Likewise.
20327         (remquo_test_data): Likewise.
20328         (rint_test_data): Likewise.
20329         (rint_tonearest_test_data): Likewise.
20330         (rint_towardzero_test_data): Likewise.
20331         (rint_downward_test_data): Likewise.
20332         (rint_upward_test_data): Likewise.
20333         (round_test_data): Likewise.
20334         (scalb_test_data): Likewise.
20335         (scalbn_test_data): Likewise.
20336         (scalbln_test_data): Likewise.
20337         (signbit_test_data): Likewise.
20338         (sin_test_data): Likewise.
20339         (sin_tonearest_test_data): Likewise.
20340         (sin_towardzero_test_data): Likewise.
20341         (sin_downward_test_data): Likewise.
20342         (sin_upward_test_data): Likewise.
20343         (sincos_test_data): Likewise.
20344         (sinh_test_data): Likewise.
20345         (sinh_tonearest_test_data): Likewise.
20346         (sinh_towardzero_test_data): Likewise.
20347         (sinh_downward_test_data): Likewise.
20348         (sinh_upward_test_data): Likewise.
20349         (sqrt_test_data): Likewise.
20350         (tan_test_data): Likewise.
20351         (tan_tonearest_test_data): Likewise.
20352         (tan_towardzero_test_data): Likewise.
20353         (tan_downward_test_data): Likewise.
20354         (tan_upward_test_data): Likewise.
20355         (tanh_test_data): Likewise.
20356         (tgamma_test_data): Likewise.
20357         (trunc_test_data): Likewise.
20358         (y0_test_data): Likewise.
20359         (y1_test_data): Likewise.
20360         (yn_test_data): Likewise.
20361         (significand_test_data): Likewise.
20362
20363         * math/gen-libm-test.pl (@functions): Remove variable.
20364         (generate_testfile): Don't handle START and END lines.
20365         * math/libm-test.inc (START): New macro.
20366         (END): Likewise.
20367         (END_COMPLEX): Likewise.
20368         (acos_test): Use END macro without arguments.
20369         (acos_test_tonearest): Likewise.
20370         (acos_test_towardzero): Likewise.
20371         (acos_test_downward): Likewise.
20372         (acos_test_upward): Likewise.
20373         (acosh_test): Likewise.
20374         (asin_test): Likewise.
20375         (asin_test_tonearest): Likewise.
20376         (asin_test_towardzero): Likewise.
20377         (asin_test_downward): Likewise.
20378         (asin_test_upward): Likewise.
20379         (asinh_test): Likewise.
20380         (atan_test): Likewise.
20381         (atanh_test): Likewise.
20382         (atan2_test): Likewise.
20383         (cabs_test): Likewise.
20384         (cacos_test): Use END_COMPLEX macro without arguments.
20385         (cacosh_test): Likewise.
20386         (carg_test): Use END macro without arguments.
20387         (casin_test): Use END_COMPLEX macro without arguments.
20388         (casinh_test): Likewise.
20389         (catan_test): Likewise.
20390         (catanh_test): Likewise.
20391         (cbrt_test): Use END macro without arguments.
20392         (ccos_test): Use END_COMPLEX macro without arguments.
20393         (ccosh_test): Likewise.
20394         (ceil_test): Use END macro without arguments.
20395         (cexp_test): Use END_COMPLEX macro without arguments.
20396         (cimag_test): Use END macro without arguments.
20397         (clog_test): Use END_COMPLEX macro without arguments.
20398         (clog10_test): Likewise.
20399         (conj_test): Likewise.
20400         (copysign_test): Use END macro without arguments.
20401         (cos_test): Likewise.
20402         (cos_test_tonearest): Likewise.
20403         (cos_test_towardzero): Likewise.
20404         (cos_test_downward): Likewise.
20405         (cos_test_upward): Likewise.
20406         (cosh_test): Likewise.
20407         (cosh_test_tonearest): Likewise.
20408         (cosh_test_towardzero): Likewise.
20409         (cosh_test_downward): Likewise.
20410         (cosh_test_upward): Likewise.
20411         (cpow_test): Use END_COMPLEX macro without arguments.
20412         (cproj_test): Likewise.
20413         (creal_test): Use END macro without arguments.
20414         (csin_test): Use END_COMPLEX macro without arguments.
20415         (csinh_test): Likewise.
20416         (csqrt_test): Likewise.
20417         (ctan_test): Likewise.
20418         (ctan_test_tonearest): Likewise.
20419         (ctan_test_towardzero): Likewise.
20420         (ctan_test_downward): Likewise.
20421         (ctan_test_upward): Likewise.
20422         (ctanh_test): Likewise.
20423         (ctanh_test_tonearest): Likewise.
20424         (ctanh_test_towardzero): Likewise.
20425         (ctanh_test_downward): Likewise.
20426         (ctanh_test_upward): Likewise.
20427         (erf_test): Use END macro without arguments.
20428         (erfc_test): Likewise.
20429         (exp_test): Likewise.
20430         (exp_test_tonearest): Likewise.
20431         (exp_test_towardzero): Likewise.
20432         (exp_test_downward): Likewise.
20433         (exp_test_upward): Likewise.
20434         (exp10_test): Likewise.
20435         (exp2_test): Likewise.
20436         (expm1_test): Likewise.
20437         (fabs_test): Likewise.
20438         (fdim_test): Likewise.
20439         (finite_test): Likewise.
20440         (floor_test): Likewise.
20441         (fma_test): Likewise.
20442         (fma_test_towardzero): Likewise.
20443         (fma_test_downward): Likewise.
20444         (fma_test_upward): Likewise.
20445         (fmax_test): Likewise.
20446         (fmin_test): Likewise.
20447         (fmod_test): Likewise.
20448         (fpclassify_test): Likewise.
20449         (frexp_test): Likewise.
20450         (gamma_test): Likewise.
20451         (hypot_test): Likewise.
20452         (ilogb_test): Likewise.
20453         (isfinite_test): Likewise.
20454         (isgreater_test): Likewise.
20455         (isgreaterequal_test): Likewise.
20456         (isinf_test): Likewise.
20457         (isless_test): Likewise.
20458         (islessequal_test): Likewise.
20459         (islessgreater_test): Likewise.
20460         (isnan_test): Likewise.
20461         (isnormal_test): Likewise.
20462         (issignaling_test): Likewise.
20463         (isunordered_test): Likewise.
20464         (j0_test): Likewise.
20465         (j1_test): Likewise.
20466         (jn_test): Likewise.
20467         (ldexp_test): Likewise.
20468         (lgamma_test): Likewise.
20469         (lrint_test): Likewise.
20470         (lrint_test_tonearest): Likewise.
20471         (lrint_test_towardzero): Likewise.
20472         (lrint_test_downward): Likewise.
20473         (lrint_test_upward): Likewise.
20474         (llrint_test): Likewise.
20475         (llrint_test_tonearest): Likewise.
20476         (llrint_test_towardzero): Likewise.
20477         (llrint_test_downward): Likewise.
20478         (llrint_test_upward): Likewise.
20479         (log_test): Likewise.
20480         (log10_test): Likewise.
20481         (log1p_test): Likewise.
20482         (log2_test): Likewise.
20483         (logb_test): Likewise.
20484         (logb_test_downward): Likewise.
20485         (lround_test): Likewise.
20486         (llround_test): Likewise.
20487         (modf_test): Likewise.
20488         (nearbyint_test): Likewise.
20489         (nextafter_test): Likewise.
20490         (nexttoward_test): Likewise.
20491         (pow_test): Likewise.
20492         (pow_test_tonearest): Likewise.
20493         (pow_test_towardzero): Likewise.
20494         (pow_test_downward): Likewise.
20495         (pow_test_upward): Likewise.
20496         (remainder_test): Likewise.
20497         (remainder_test_tonearest): Likewise.
20498         (remainder_test_towardzero): Likewise.
20499         (remainder_test_downward): Likewise.
20500         (remainder_test_upward): Likewise.
20501         (remquo_test): Likewise.
20502         (rint_test): Likewise.
20503         (rint_test_tonearest): Likewise.
20504         (rint_test_towardzero): Likewise.
20505         (rint_test_downward): Likewise.
20506         (rint_test_upward): Likewise.
20507         (round_test): Likewise.
20508         (scalb_test): Likewise.
20509         (scalbn_test): Likewise.
20510         (scalbln_test): Likewise.
20511         (signbit_test): Likewise.
20512         (sin_test): Likewise.
20513         (sin_test_tonearest): Likewise.
20514         (sin_test_towardzero): Likewise.
20515         (sin_test_downward): Likewise.
20516         (sin_test_upward): Likewise.
20517         (sincos_test): Likewise.
20518         (sinh_test): Likewise.
20519         (sinh_test_tonearest): Likewise.
20520         (sinh_test_towardzero): Likewise.
20521         (sinh_test_downward): Likewise.
20522         (sinh_test_upward): Likewise.
20523         (sqrt_test): Likewise.
20524         (tan_test): Likewise.
20525         (tan_test_tonearest): Likewise.
20526         (tan_test_towardzero): Likewise.
20527         (tan_test_downward): Likewise.
20528         (tan_test_upward): Likewise.
20529         (tanh_test): Likewise.
20530         (tgamma_test): Likewise.
20531         (trunc_test): Likewise.
20532         (y0_test): Likewise.
20533         (y1_test): Likewise.
20534         (yn_test): Likewise.
20535         (significand_test): Likewise.
20536
20537 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
20538
20539         [BZ #15381]
20540         * libio/genops.c (_IO_no_init): Initialize wide struct info.
20541
20542 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
20543
20544         [BZ #14894]
20545         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
20546         __ppc_mdoio and __ppc_mdoom.
20547         * manual/platform.texi: Document new functions __ppc_yield,
20548         __ppc_mdoio and __ppc_mdoom.
20549
20550 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
20551
20552         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
20553         (main): Mention "tls" pseudo-hwcap is legacy.
20554         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
20555
20556 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
20557
20558         * math/gen-libm-test.pl (parse_args): Output only string of
20559         arguments as text for test name, not full call or descriptions of
20560         tests for extra outputs.
20561         (generate_testfile): Do not pass function name to parse_args.
20562         Generate this_func variable from START.
20563         * math/libm-test.inc (struct test_f_f_data): Rename test_name
20564         field to arg_str.
20565         (struct test_ff_f_data): Likewise.
20566         (test_ff_f_data_nexttoward): Likewise.
20567         (struct test_fi_f_data): Likewise.
20568         (struct test_fl_f_data): Likewise.
20569         (struct test_if_f_data): Likewise.
20570         (struct test_fff_f_data): Likewise.
20571         (struct test_c_f_data): Likewise.
20572         (struct test_f_f1_data): Likewise.  Remove field extra_name.
20573         (struct test_fF_f1_data): Likewise.
20574         (struct test_ffI_f1_data): Likewise.
20575         (struct test_c_c_data): Rename test_name field to arg_str.
20576         (struct test_cc_c_data): Likewise.
20577         (struct test_f_i_data): Likewise.
20578         (struct test_ff_i_data): Likewise.
20579         (struct test_f_l_data): Likewise.
20580         (struct test_f_L_data): Likewise.
20581         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
20582         and extra2_name.
20583         (COMMON_TEST_SETUP): New macro.
20584         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
20585         (COMMON_TEST_CLEANUP): Likewise.
20586         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
20587         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
20588         macros.
20589         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
20590         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
20591         macros.
20592         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
20593         (RUN_TEST_fff_f): Take argument string.  Call new setup and
20594         cleanup macros.
20595         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
20596         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
20597         macros.
20598         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
20599         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
20600         macros.
20601         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20602         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
20603         cleanup macros.
20604         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20605         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
20606         cleanup macros.
20607         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20608         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
20609         cleanup macros.
20610         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20611         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
20612         macros.
20613         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
20614         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
20615         macros.
20616         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
20617         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
20618         macros.
20619         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
20620         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
20621         cleanup macros.
20622         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
20623         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
20624         cleanup macros.
20625         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
20626         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
20627         macros.
20628         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
20629         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
20630         cleanup macros.
20631         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
20632         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
20633         macros.
20634         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
20635         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
20636         macros.
20637         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
20638         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
20639         cleanup macros.
20640         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
20641
20642 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
20643
20644         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
20645         to _sifields.sigfault.
20646         (si_addr_lsb): Define new macro.
20647         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20648         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20649         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
20650
20651 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
20652
20653         [BZ #15441]
20654         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
20655         returns -1.
20656         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
20657         null return -1.
20658         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
20659         loading the domain.
20660
20661 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
20662
20663         * math/gen-libm-test.pl (parse_args): Do not include expected
20664         result in test name.
20665         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
20666         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20667         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20668         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20669         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20671
20672 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20673
20674         * benchtests/Makefile: Sort function entries.
20675
20676         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
20677         tanh, asinh, acosh, atanh.
20678         * benchtests/acos-inputs: New file.
20679         * benchtests/acosh-inputs: New file.
20680         * benchtests/asin-inputs: New file.
20681         * benchtests/asinh-inputs: New file.
20682         * benchtests/atanh-inputs: New file.
20683         * benchtests/cosh-inputs: New file.
20684         * benchtests/log-inputs: New file.
20685         * benchtests/sinh-inputs: New file.
20686         * benchtests/tanh-inputs: New file.
20687
20688 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
20689
20690         [BZ #15339]
20691         * posix/tst-getaddrinfo4.c: New test.
20692         * posix/Makefile (tests): Add it.
20693
20694 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20695
20696         [BZ #15339]
20697         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
20698         when no services were used.
20699         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
20700         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
20701
20702 2013-05-21  Andreas Schwab  <schwab@suse.de>
20703
20704         [BZ #15014]
20705         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
20706         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
20707         successful.
20708         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
20709         redundant variable declarations and reallocation of buffer when
20710         parsing as IPv6 address.  Always set NSS status when called from
20711         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
20712         buffer too small.  Correct computation of needed size.
20713         * nss/Makefile (tests): Add test-digits-dots.
20714         * nss/test-digits-dots.c: New test.
20715
20716 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20717
20718         * benchtests/Makefile: Remove instructions for adding
20719         benchmark tests.
20720         * benchtests/README: New file to explain how to execute and
20721         enhance the benchmark tests.
20722
20723 2013-05-21  Andreas Schwab  <schwab@suse.de>
20724
20725         [BZ #15493]
20726         * setjmp/Makefile (tests): Add tst-sigsetjmp.
20727         * setjmp/tst-sigsetjmp.c: New test.
20728
20729 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
20730
20731         * sysdeps/x86_64/memset.S (memset): New implementation.
20732         (__bzero): Likewise.
20733         (__memset_tail): New function.
20734
20735 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
20736
20737         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
20738         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
20739         __memcpy_sse2_unaligned ifunc selection.
20740         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20741         Add memcpy-sse2-unaligned.S.
20742         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20743         Add: __memcpy_sse2_unaligned.
20744
20745 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
20746
20747         [BZ #15490]
20748         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20749         math_force_eval before restoring floating-point envrionment.
20750         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
20751         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
20752         Likewise.
20753         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
20754         <math_private.h>.
20755         (__nearbyintl): Use math_force_eval before restoring
20756         floating-point environment.
20757         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
20758
20759         * math/gen-libm-test.pl (special_functions): Remove.
20760         (parse_args): Don't handle TEST_extra.  Handle functions with no
20761         return value.
20762         * math/libm-test.inc (struct test_sincos_data): Replace with
20763         struct test_fFF_11_data.
20764         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
20765         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
20766         (sincos_test_data): Change element type to struct
20767         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
20768         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
20769         RUN_TEST_LOOP_sincos.
20770         * math/README.libm-test: Don't mention special handling of
20771         individual functions.
20772         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
20773         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20774         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20775         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20776         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20778
20779         * math/gen-libm-test.pl (get_variable): Remove function.
20780         (parse_args): Don't show pointer parameters to call in test
20781         names.  Use "extra output N" in test names for extra outputs
20782         rather than naming variables.
20783
20784 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
20785
20786         [BZ #15488]
20787         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
20788         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
20789         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
20790         double tests.
20791         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
20792         disable.
20793         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
20794         check_long_double.
20795
20796         * math/gen-libm-test.pl (@tests): Remove variable.
20797         ($count): Likewise.
20798         (new_test): Remove function.
20799         (show_exceptions): New function.
20800         (special_functions): Use show_exceptions instead of new_test.
20801         (parse_args): Likewise.
20802         (generate_testfile): Pass only function name in generated call to
20803         print_max_error or print_complex_max_error.
20804         (get_ulps): Do not handle complex tests specially.
20805         (output_test): Rename to ...
20806         (get_all_ulps_for_test): ... this.  Return a string rather than
20807         printing to a file.  Require ulps to be present.
20808         (output_ulps): Generate arrays rather than #defines.
20809         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
20810         (struct ulp_data): New type.
20811         (BUILD_COMPLEX_ULP): Remove macro.
20812         (compare_ulp_data): New function.
20813         (find_ulps): Likewise.
20814         (find_test_ulps): Likewise.
20815         (find_function_ulps): Likewise.
20816         (find_complex_function_ulps): Likewise.
20817         (print_max_error): Determine allowed ulps using
20818         find_function_ulps.
20819         (print_complex_max_error): Determine allowed ulps using
20820         find_complex_function_ulps.
20821         (check_float_internal): Determine max ulps using find_test_ulps.
20822         (check_float): Do not take max_ulp parameter.  Update call to
20823         check_float_internal.
20824         (check_complex): Likewise.
20825         (check_int): Do not take max_ulp parameter.
20826         (check_long): Likewise.
20827         (check_bool): Likewise.
20828         (check_longlong): Likewise.
20829         (struct test_f_f_data): Remove max_ulp field.
20830         (struct test_ff_f_data): Likewise.
20831         (struct test_ff_f_data_nexttoward): Likewise.
20832         (struct test_fi_f_data): Likewise.
20833         (struct test_fl_f_data): Likewise.
20834         (struct test_if_f_data): Likewise.
20835         (struct test_fff_f_data): Likewise.
20836         (struct test_c_f_data): Likewise.
20837         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20838         (struct test_fF_f1_data): Likewise.
20839         (struct test_ffI_f1_data): Likewise.
20840         (struct test_c_c_data): Remove max_ulp field.
20841         (struct test_cc_c_data): Likewise.
20842         (struct test_f_i_data): Likewise.
20843         (struct test_ff_i_data): Likewise.
20844         (struct test_f_l_data): Likewise.
20845         (struct test_f_L_data): Likewise.
20846         (struct test_sincos_data): Likewise.
20847         (RUN_TEST_f_f): Do not handle ulps.
20848         (RUN_TEST_LOOP_f_f): Likewise.
20849         (RUN_TEST_2_f): Likewise.
20850         (RUN_TEST_LOOP_2_f): Likewise.
20851         (RUN_TEST_fff_f): Likewise.
20852         (RUN_TEST_LOOP_fff_f): Likewise.
20853         (RUN_TEST_c_f): Likewise.
20854         (RUN_TEST_LOOP_c_f): Likewise.
20855         (RUN_TEST_f_f1): Likewise.
20856         (RUN_TEST_LOOP_f_f1): Likewise.
20857         (RUN_TEST_fF_f1): Likewise.
20858         (RUN_TEST_LOOP_fF_f1): Likewise.
20859         (RUN_TEST_fI_f1): Likewise.
20860         (RUN_TEST_LOOP_fI_f1): Likewise.
20861         (RUN_TEST_ffI_f1): Likewise.
20862         (RUN_TEST_LOOP_ffI_f1): Likewise.
20863         (RUN_TEST_c_c): Likewise.
20864         (RUN_TEST_LOOP_c_c): Likewise.
20865         (RUN_TEST_cc_c): Likewise.
20866         (RUN_TEST_LOOP_cc_c): Likewise.
20867         (RUN_TEST_f_i): Likewise.
20868         (RUN_TEST_LOOP_f_i): Likewise.
20869         (RUN_TEST_f_i_tg): Likewise.
20870         (RUN_TEST_LOOP_f_i_tg): Likewise.
20871         (RUN_TEST_ff_i_tg): Likewise.
20872         (RUN_TEST_LOOP_ff_i_tg): Likewise.
20873         (RUN_TEST_f_b): Likewise.
20874         (RUN_TEST_LOOP_f_b): Likewise.
20875         (RUN_TEST_f_b_tg): Likewise.
20876         (RUN_TEST_LOOP_f_b_tg): Likewise.
20877         (RUN_TEST_f_l): Likewise.
20878         (RUN_TEST_LOOP_f_l): Likewise.
20879         (RUN_TEST_f_L): Likewise.
20880         (RUN_TEST_LOOP_f_L): Likewise.
20881         (RUN_TEST_sincos): Likewise.
20882         (RUN_TEST_LOOP_sincos): Likewise.
20883
20884 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
20885
20886         [BZ #15480]
20887         [BZ #15485]
20888         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20889         main case of finite arguments, set rounding mode to FE_TONEAREST
20890         and discard exceptions.
20891         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20892         exceptions.
20893         (remainder_tonearest_test_data): New variable.
20894         (remainder_test_tonearest): New function.
20895         (remainder_towardzero_test_data): New variable.
20896         (remainder_test_towardzero): New function.
20897         (remainder_downward_test_data): New variable.
20898         (remainder_test_downward): New function.
20899         (remainder_upward_test_data): New variable.
20900         (remainder_test_upward): New function.
20901         (main): Call the new test functions.
20902
20903         * math/libm-test.inc (struct test_f_f1_data): Remove field
20904         extra_init.
20905         (struct test_fF_f1_data): Likewise.
20906         (struct test_ffI_f1_data): Likewise.
20907         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
20908         based on value of EXTRA_EXPECTED.
20909         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20910         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
20911         EXTRA_VAR based on value of EXTRA_EXPECTED.
20912         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20913         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
20914         EXTRA_VAR based on value of EXTRA_EXPECTED.
20915         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20916         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
20917         EXTRA_VAR based on value of EXTRA_EXPECTED.
20918         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20919         * math/gen-libm-test.pl (parse_args): Don't output initializers
20920         for extra output values.
20921
20922         * math/libm-test.inc (check_int): Expect result to be exactly
20923         equal to expected value and do not handle ulps.
20924         (check_long): Likewise.
20925         (check_longlong): Likewise.
20926
20927         * math/libm-test.inc (ceil_test_data): Test for "inexact"
20928         exceptions.
20929         (cimag_test_data): Likewise.
20930         (conj_test_data): Likewise.
20931         (copysign_test_data): Likewise.
20932         (cproj_test_data): Likewise.
20933         (creal_test_data): Likewise.
20934         (fabs_test_data): Likewise.
20935         (fdim_test_data): Likewise.
20936         (finite_test_data): Likewise.
20937         (floor_test_data): Likewise.
20938         (fmax_test_data): Likewise.
20939         (fmin_test_data): Likewise.
20940         (fmod_test_data): Likewise.
20941         (fpclassify_test_data): Likewise.
20942         (frexp_test_data): Likewise.
20943         (ilogb_test_data): Likewise.
20944         (isfinite_test_data): Likewise.
20945         (isgreater_test_data): Likewise.
20946         (isgreaterequal_test_data): Likewise.
20947         (isinf_test_data): Likewise.
20948         (isless_test_data): Likewise.
20949         (islessequal_test_data): Likewise.
20950         (islessgreater_test_data): Likewise.
20951         (isnan_test_data): Likewise.
20952         (isnormal_test_data): Likewise.
20953         (issignaling_test_data): Likewise.
20954         (isunordered_test_data): Likewise.
20955         (ldexp_test_data): Likewise.
20956         (lrint_test_data): Likewise.
20957         (lrint_test_data) [TEST_FLOAT]: Disable one test.
20958         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20959         (lrint_tonearest_test_data): Test for "inexact" exceptions.
20960         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20961         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20962         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20963         test input.
20964         (lrint_towardzero_test_data): Test for "inexact" exceptions.
20965         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20966         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20967         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20968         that test input.
20969         (lrint_downward_test_data): Test for "inexact" exceptions.
20970         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20971         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20972         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20973         test input.
20974         (lrint_upward_test_data): Test for "inexact" exceptions.
20975         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20976         test input.
20977         (llrint_test_data): Test for "inexact" exceptions.
20978         (llrint_test_data) [TEST_FLOAT]: Disable one test.
20979         (llrint_tonearest_test_data): Test for "inexact" exceptions.
20980         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20981         (llrint_towardzero_test_data): Test for "inexact" exceptions.
20982         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20983         (llrint_downward_test_data): Test for "inexact" exceptions.
20984         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20985         (llrint_upward_test_data): Test for "inexact" exceptions.
20986         (logb_test_data): Likewise.
20987         (logb_downward_test_data): Likewise.
20988         (nextafter_test_data): Likewise.
20989         (nexttoward_test_data): Likewise.
20990         (remainder_test_data): Likewise.
20991         (remquo_test_data): Likewise.
20992         (scalbn_test_data): Likewise.
20993         (scalbln_test_data): Likewise.
20994         (signbit_test_data): Likewise.
20995         (sqrt_test_data): Likewise.
20996         (significand_test_data): Likewise.
20997
20998 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20999
21000         [BZ #15424]
21001         * benchtests/bench-modf.c (struct args): Mark arg0 as
21002         volatile.
21003         * scripts/bench.pl: Mark members of struct args as volatile.
21004
21005 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21006
21007         [BZ # 15497]
21008         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
21009         negative infinity on POWER6 or lower.
21010         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
21011
21012 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
21013
21014         [BZ #15442]
21015         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
21016         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
21017         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
21018         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
21019         (_FP_SETQNAN): New macro.
21020         (_FP_SETQNAN_SEMIRAW): Likewise.
21021         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
21022         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
21023         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
21024         (FP_EXTEND): Use _FP_FRAC_SNANP.
21025         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
21026         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
21027         into account.
21028         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
21029         New macro.
21030         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
21031         Likewise.
21032
21033 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
21034
21035         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
21036         with DIVIDE_BY_ZERO_EXCEPTION.
21037         (gamma_test_data): Likewise.
21038         (lgamma_test_data): Likewise.
21039         (log_test_data): Likewise.
21040         (log10_test_data): Likewise.
21041         (log2_test_data): Likewise.
21042         (tgamma_test_data): Likewise.
21043
21044         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
21045         (acos_test_tonearest): Likewise.
21046         (acos_test_towardzero): Likewise.
21047         (acos_test_downward): Likewise.
21048         (acos_test_upward): Likewise.
21049         (acosh_test): Likewise.
21050         (asin_test): Likewise.
21051         (asin_test_tonearest): Likewise.
21052         (asin_test_towardzero): Likewise.
21053         (asin_test_downward): Likewise.
21054         (asin_test_upward): Likewise.
21055         (asinh_test): Likewise.
21056         (atan_test): Likewise.
21057         (atanh_test): Likewise.
21058         (atan2_test): Likewise.
21059         (cabs_test): Likewise.
21060         (cacos_test): Likewise.
21061         (cacosh_test): Likewise.
21062         (casin_test): Likewise.
21063         (casinh_test): Likewise.
21064         (catan_test): Likewise.
21065         (catanh_test): Likewise.
21066         (cbrt_test): Likewise.
21067         (ccos_test): Likewise.
21068         (ccosh_test): Likewise.
21069         (cexp_test): Likewise.
21070         (clog_test): Likewise.
21071         (clog10_test): Likewise.
21072         (cos_test): Likewise.
21073         (cos_test_tonearest): Likewise.
21074         (cos_test_towardzero): Likewise.
21075         (cos_test_downward): Likewise.
21076         (cos_test_upward): Likewise.
21077         (cosh_test): Likewise.
21078         (cosh_test_tonearest): Likewise.
21079         (cosh_test_towardzero): Likewise.
21080         (cosh_test_downward): Likewise.
21081         (cosh_test_upward): Likewise.
21082         (cpow_test): Likewise.
21083         (csin_test): Likewise.
21084         (csinh_test): Likewise.
21085         (csqrt_test): Likewise.
21086         (ctan_test): Likewise.
21087         (ctan_test_tonearest): Likewise.
21088         (ctan_test_towardzero): Likewise.
21089         (ctan_test_downward): Likewise.
21090         (ctan_test_upward): Likewise.
21091         (ctanh_test): Likewise.
21092         (ctanh_test_tonearest): Likewise.
21093         (ctanh_test_towardzero): Likewise.
21094         (ctanh_test_downward): Likewise.
21095         (ctanh_test_upward): Likewise.
21096         (erf_test): Likewise.
21097         (erfc_test): Likewise.
21098         (exp_test): Likewise.
21099         (exp_test_tonearest): Likewise.
21100         (exp_test_towardzero): Likewise.
21101         (exp_test_downward): Likewise.
21102         (exp_test_upward): Likewise.
21103         (exp10_test): Likewise.
21104         (exp2_test): Likewise.
21105         (expm1_test): Likewise.
21106         (fmod_test): Likewise.
21107         (gamma_test): Likewise.
21108         (hypot_test): Likewise.
21109         (j0_test): Likewise.
21110         (j1_test): Likewise.
21111         (jn_test): Likewise.
21112         (lgamma_test): Likewise.
21113         (log_test): Likewise.
21114         (log10_test): Likewise.
21115         (log1p_test): Likewise.
21116         (log2_test): Likewise.
21117         (logb_test_downward): Likewise.
21118         (pow_test): Likewise.
21119         (pow_test_tonearest): Likewise.
21120         (pow_test_towardzero): Likewise.
21121         (pow_test_downward): Likewise.
21122         (pow_test_upward): Likewise.
21123         (remainder_test): Likewise.
21124         (remquo_test): Likewise.
21125         (sin_test): Likewise.
21126         (sin_test_tonearest): Likewise.
21127         (sin_test_towardzero): Likewise.
21128         (sin_test_downward): Likewise.
21129         (sin_test_upward): Likewise.
21130         (sincos_test): Likewise.
21131         (sinh_test): Likewise.
21132         (sinh_test_tonearest): Likewise.
21133         (sinh_test_towardzero): Likewise.
21134         (sinh_test_downward): Likewise.
21135         (sinh_test_upward): Likewise.
21136         (sqrt_test): Likewise.
21137         (tan_test): Likewise.
21138         (tan_test_tonearest): Likewise.
21139         (tan_test_towardzero): Likewise.
21140         (tan_test_downward): Likewise.
21141         (tan_test_upward): Likewise.
21142         (tanh_test): Likewise.
21143         (tgamma_test): Likewise.
21144         (y0_test): Likewise.
21145         (y1_test): Likewise.
21146         (yn_test): Likewise.
21147
21148         * math/gen-libm-test.pl (adjust_arg): Remove function.
21149         (special_function): Remove argument $in_func.  Only handle
21150         generating output for tables of tests, not inside functions.
21151         (parse_args): Likewise.
21152         (generate_testfile): Remove variable $in_func.  Update call to
21153         parse_args.
21154         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
21155         (MINUS_ZERO_INIT): Rename macro to minus_zero.
21156         (PLUS_INFTY_INIT): Rename macro to plus_infty.
21157         (MINUS_INFTY_INIT): Rename macro to minus_infty.
21158         (QNAN_VALUE_INIT): Rename macro to qnan_value.
21159         (MAX_VALUE_INIT): Rename macro to max_value.
21160         (MIN_VALUE_INIT): Rename macro to min_value.
21161         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
21162         (plus_zero): Remove variable.
21163         (minus_zero): Likewise.
21164         (plus_infty): Likewise.
21165         (minus_infty): Likewise.
21166         (qnan_value): Likewise.
21167         (max_value): Likewise.
21168         (min_value): Likewise.
21169         (min_subnorm_value): Likewise.
21170
21171 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21172
21173         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
21174         uint64_t or uint32_t usage.
21175         * crypt/sha256-block.c: Likewise.
21176         * crypt/sha256-crypt.c: Likewise.
21177         * crypt/sha256.c: Likewise.
21178         * crypt/sha512-block.c: Likewise.
21179         * crypt/sha512-crypt.c: Likewise.
21180         * crypt/sha512.c: Likewise.
21181         * debug/backtrace-tst.c: Likewise.
21182         * debug/pcprofiledump.c: Likewise.
21183         * elf/cache.c: Likewise.
21184         * elf/dl-cache.c: Likewise.
21185         * elf/dl-misc.c: Likewise.
21186         * elf/dl-profile.c: Likewise.
21187         * elf/dl-support.c: Likewise.
21188         * elf/ldconfig.c: Likewise.
21189         * elf/sprof.c: Likewise.
21190         * iconv/dummy-repertoire.c: Likewise.
21191         * iconv/iconv_charmap.c: Likewise.
21192         * iconv/skeleton.c: Likewise.
21193         * iconvdata/8bit-generic.c: Likewise.
21194         * iconvdata/cp737.h: Likewise.
21195         * iconvdata/cp775.h: Likewise.
21196         * iconvdata/ibm1008.h: Likewise.
21197         * iconvdata/ibm1025.h: Likewise.
21198         * iconvdata/ibm1046.h: Likewise.
21199         * iconvdata/ibm1097.h: Likewise.
21200         * iconvdata/ibm1112.h: Likewise.
21201         * iconvdata/ibm1122.h: Likewise.
21202         * iconvdata/ibm1123.h: Likewise.
21203         * iconvdata/ibm1124.h: Likewise.
21204         * iconvdata/ibm1129.h: Likewise.
21205         * iconvdata/ibm1130.h: Likewise.
21206         * iconvdata/ibm1132.h: Likewise.
21207         * iconvdata/ibm1133.h: Likewise.
21208         * iconvdata/ibm1137.h: Likewise.
21209         * iconvdata/ibm1140.h: Likewise.
21210         * iconvdata/ibm1141.h: Likewise.
21211         * iconvdata/ibm1142.h: Likewise.
21212         * iconvdata/ibm1143.h: Likewise.
21213         * iconvdata/ibm1144.h: Likewise.
21214         * iconvdata/ibm1145.h: Likewise.
21215         * iconvdata/ibm1146.h: Likewise.
21216         * iconvdata/ibm1147.h: Likewise.
21217         * iconvdata/ibm1148.h: Likewise.
21218         * iconvdata/ibm1149.h: Likewise.
21219         * iconvdata/ibm1153.h: Likewise.
21220         * iconvdata/ibm1154.h: Likewise.
21221         * iconvdata/ibm1155.h: Likewise.
21222         * iconvdata/ibm1156.h: Likewise.
21223         * iconvdata/ibm1157.h: Likewise.
21224         * iconvdata/ibm1158.h: Likewise.
21225         * iconvdata/ibm1160.h: Likewise.
21226         * iconvdata/ibm1161.h: Likewise.
21227         * iconvdata/ibm1162.h: Likewise.
21228         * iconvdata/ibm1163.h: Likewise.
21229         * iconvdata/ibm1164.h: Likewise.
21230         * iconvdata/ibm1166.h: Likewise.
21231         * iconvdata/ibm1167.h: Likewise.
21232         * iconvdata/ibm12712.h: Likewise.
21233         * iconvdata/ibm1390.h: Likewise.
21234         * iconvdata/ibm1399.h: Likewise.
21235         * iconvdata/ibm16804.h: Likewise.
21236         * iconvdata/ibm4517.h: Likewise.
21237         * iconvdata/ibm4899.h: Likewise.
21238         * iconvdata/ibm4909.h: Likewise.
21239         * iconvdata/ibm4971.h: Likewise.
21240         * iconvdata/ibm5347.h: Likewise.
21241         * iconvdata/ibm803.h: Likewise.
21242         * iconvdata/ibm856.h: Likewise.
21243         * iconvdata/ibm901.h: Likewise.
21244         * iconvdata/ibm902.h: Likewise.
21245         * iconvdata/ibm9030.h: Likewise.
21246         * iconvdata/ibm9066.h: Likewise.
21247         * iconvdata/ibm921.h: Likewise.
21248         * iconvdata/ibm922.h: Likewise.
21249         * iconvdata/ibm9448.h: Likewise.
21250         * iconvdata/isiri-3342.h: Likewise.
21251         * iconvdata/jis0201.h: Likewise.
21252         * include/link.h: Likewise.
21253         * include/netdb.h: Likewise.
21254         * inet/check_native.c: Likewise.
21255         * inet/check_pf.c: Likewise.
21256         * inet/getipv4sourcefilter.c: Likewise.
21257         * inet/getnameinfo.c: Likewise.
21258         * inet/getsourcefilter.c: Likewise.
21259         * inet/htonl.c: Likewise.
21260         * inet/setipv4sourcefilter.c: Likewise.
21261         * inet/setsourcefilter.c: Likewise.
21262         * inet/test-inet6_opt.c: Likewise.
21263         * inet/tst-network.c: Likewise.
21264         * locale/C-collate.c: Likewise.
21265         * locale/C-ctype.c: Likewise.
21266         * locale/C-time.c: Likewise.
21267         * locale/C-translit.h: Likewise.
21268         * locale/loadarchive.c: Likewise.
21269         * locale/programs/3level.h: Likewise.
21270         * locale/programs/charmap.c: Likewise.
21271         * locale/programs/charmap.h: Likewise.
21272         * locale/programs/ld-address.c: Likewise.
21273         * locale/programs/ld-collate.c: Likewise.
21274         * locale/programs/ld-ctype.c: Likewise.
21275         * locale/programs/ld-identification.c: Likewise.
21276         * locale/programs/ld-measurement.c: Likewise.
21277         * locale/programs/ld-messages.c: Likewise.
21278         * locale/programs/ld-monetary.c: Likewise.
21279         * locale/programs/ld-name.c: Likewise.
21280         * locale/programs/ld-numeric.c: Likewise.
21281         * locale/programs/ld-paper.c: Likewise.
21282         * locale/programs/ld-telephone.c: Likewise.
21283         * locale/programs/ld-time.c: Likewise.
21284         * locale/programs/linereader.c: Likewise.
21285         * locale/programs/locale.c: Likewise.
21286         * locale/programs/locarchive.c: Likewise.
21287         * locale/programs/locfile.h: Likewise.
21288         * locale/programs/repertoire.c: Likewise.
21289         * locale/programs/simple-hash.c: Likewise.
21290         * locale/programs/simple-hash.h: Likewise.
21291         * malloc/memusage.c: Likewise.
21292         * malloc/memusagestat.c: Likewise.
21293         * nis/nis_defaults.c: Likewise.
21294         * nis/nis_hash.c: Likewise.
21295         * nis/nis_print.c: Likewise.
21296         * nis/nis_xdr.c: Likewise.
21297         * nscd/connections.c: Likewise.
21298         * nscd/hstcache.c: Likewise.
21299         * nscd/nscd_gethst_r.c: Likewise.
21300         * nscd/nscd_getserv_r.c: Likewise.
21301         * nscd/nscd_helper.c: Likewise.
21302         * nscd/servicescache.c: Likewise.
21303         * nss/makedb.c: Likewise.
21304         * nss/nss_db/db-XXX.c: Likewise.
21305         * nss/nss_db/db-initgroups.c: Likewise.
21306         * nss/nss_db/db-netgrp.c: Likewise.
21307         * nss/nss_files/files-network.c: Likewise.
21308         * nss/nss_files/files-parse.c: Likewise.
21309         * posix/bug-regex5.c: Likewise.
21310         * posix/fnmatch_loop.c: Likewise.
21311         * posix/regcomp.c: Likewise.
21312         * posix/regexec.c: Likewise.
21313         * posix/tst-rfc3484-2.c: Likewise.
21314         * posix/tst-rfc3484-3.c: Likewise.
21315         * posix/tst-rfc3484.c: Likewise.
21316         * resolv/nss_dns/dns-canon.c: Likewise.
21317         * resolv/nss_dns/dns-network.c: Likewise.
21318         * resolv/res_init.c: Likewise.
21319         * resolv/res_mkquery.c: Likewise.
21320         * resolv/tst-aton.c: Likewise.
21321         * stdlib/cxa_atexit.c: Likewise.
21322         * stdlib/cxa_finalize.c: Likewise.
21323         * stdlib/gen-fpioconst.c: Likewise.
21324         * stdlib/strtol_l.c: Likewise.
21325         * string/tst-endian.c: Likewise.
21326         * sunrpc/auth_des.c: Likewise.
21327         * sunrpc/clnt_udp.c: Likewise.
21328         * sunrpc/rtime.c: Likewise.
21329         * sunrpc/svcauth_des.c: Likewise.
21330         * sunrpc/xdr.c: Likewise.
21331         * sunrpc/xdr_intXX_t.c: Likewise.
21332         * sunrpc/xdr_rec.c: Likewise.
21333         * sysdeps/generic/ldconfig.h: Likewise.
21334         * sysdeps/generic/ldsodefs.h: Likewise.
21335         * sysdeps/generic/memusage.h: Likewise.
21336         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21337         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
21338         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
21339         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21340         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21341         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21342         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21343         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21344         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21345         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21346         * sysdeps/posix/getaddrinfo.c: Likewise.
21347         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21348         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21349         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21350         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21351         * sysdeps/powerpc/test-gettimebase.c: Likewise.
21352         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21353         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
21354         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
21355         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
21356         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
21357         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21358         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21359         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
21360         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
21361         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
21362         * sysdeps/x86_64/dl-tls.h: Likewise.
21363         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
21364         * time/alt_digit.c: Likewise.
21365         * time/era.c: Likewise.
21366         * wcsmbs/tst-c16c32-1.c: Likewise.
21367
21368 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
21369
21370         * math/libm-test.inc (struct test_sincos_data): New type.
21371         (RUN_TEST_LOOP_sincos): New macro.
21372         (sincos_test_data): New variable.
21373         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
21374
21375 2013-05-16  Richard Henderson  <rth@redhat.com>
21376
21377         * math/atest-exp2.c (LIMB64): New macro.
21378         (CONSTSZ): New macro.
21379         (mp_exp1, mp_exp_m1, mp_log2): New variables.
21380         (hexdig): Move ...
21381         (print_mpn_fp): ... to function scope.
21382         (read_mpn_hex): Remove.
21383         (get_log2): Remove.
21384         (exp2_mpn): Use mp_log2.
21385         (main): Use mp_exp1.
21386
21387 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
21388
21389         * math/libm-test.inc: Remove comment about not testing "inexact"
21390         exceptions.
21391         (INEXACT_EXCEPTION): New macro.
21392         (NO_INEXACT_EXCEPTION): Likewise.
21393         (INVALID_EXCEPTION_OK): Update value.
21394         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21395         (OVERFLOW_EXCEPTION_OK): Likewise.
21396         (UNDERFLOW_EXCEPTION_OK): Likewise.
21397         (IGNORE_ZERO_INF_SIGN): Likewise.
21398         (ERRNO_UNCHANGED): Likewise.
21399         (ERRNO_EDOM): Likewise.
21400         (ERRNO_ERANGE): Likewise.
21401         (test_exceptions): Handle testing "inexact" exceptions.
21402         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
21403         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
21404         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
21405         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
21406         INEXACT_EXCEPTION.
21407         (rint_towardzero_test_data): Likewise.
21408         (rint_downward_test_data): Likewise.
21409         (rint_upward_test_data): Likewise.
21410
21411         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
21412         with OVERFLOW_EXCEPTION.
21413         (exp10_test_data): Likewise.
21414         (exp2_test_data): Likewise.
21415         (expm1_test_data): Likewise.
21416         (lgamma_test_data): Likewise.
21417         (pow_test_data): Likewise.
21418         (tgamma_test_data): Likewise.
21419         (yn_test_data): Remove duplicate test of overflow.
21420
21421         * math/libm-test.inc (struct test_cc_c_data): New type.
21422         (RUN_TEST_LOOP_cc_c): New macro.
21423         (cpow_test_data): New variable.
21424         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
21425
21426         * math/libm-test.inc (struct test_f_L_data): New type.
21427         (RUN_TEST_LOOP_f_L): New macro.
21428         (llrint_test_data): New variable.
21429         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
21430         (llrint_tonearest_test_data): New variable.
21431         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
21432         (llrint_towardzero_test_data): New variable.
21433         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
21434         (llrint_downward_test_data): New variable.
21435         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
21436         (llrint_upward_test_data): New variable.
21437         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
21438         (llround_test_data): New variable.
21439         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
21440
21441 2013-05-13  Peter Collingbourne  <pcc@google.com>
21442
21443         * math/atest-exp2.c (get_log2): Remove const attribute.
21444
21445 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
21446
21447         * math/libm-test.inc (struct test_f_l_data): New type.
21448         (RUN_TEST_LOOP_f_l): New macro.
21449         (lrint_test_data): New variable.
21450         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
21451         (lrint_tonearest_test_data): New variable.
21452         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
21453         (lrint_towardzero_test_data): New variable.
21454         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
21455         (lrint_downward_test_data): New variable.
21456         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
21457         (lrint_upward_test_data): New variable.
21458         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
21459         (lround_test_data): New variable.
21460         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
21461
21462 2013-05-15  Peter Collingbourne  <pcc@google.com>
21463
21464         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
21465         (EXTRACT_WORDS64) Use where appropriate.
21466         (INSERT_WORDS64) Likewise.
21467
21468         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
21469         constraints with x constraints.
21470         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
21471
21472         * malloc/obstack.c (_obstack_compat): Add initializer.
21473
21474 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
21475
21476         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
21477         si_trapno and add si_addr_lsb to _sifields.sigfault.
21478         (si_trapno): Remove macro.
21479         (si_addr_lsb): Define new macro.
21480         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21481
21482 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
21483
21484         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
21485         instead of TEST_f_l.
21486         (llrint_test_tonearest): Likewise.
21487         (llrint_test_towardzero): Likewise.
21488         (llrint_test_downward): Likewise.
21489         (llrint_test_upward): Likewise.
21490         (llround_test): Likewise.
21491
21492         * math/libm-test.inc (struct test_f_i_data): Add comment.
21493         (RUN_TEST_LOOP_f_b): New macro.
21494         (RUN_TEST_LOOP_f_b_tg): Likewise.
21495         (finite_test_data): New variable.
21496         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
21497         (isfinite_test_data): New variable.
21498         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21499         (isinf_test_data): New variable.
21500         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21501         (isnan_test_data): New variable.
21502         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21503         (isnormal_test_data): New variable.
21504         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21505         (issignaling_test_data): New variable.
21506         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21507         (signbit_test_data): New variable.
21508         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21509
21510         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
21511         with INVALID_EXCEPTION.
21512         (acosh_test_data): Likewise.
21513         (asin_test_data): Likewise.
21514         (atanh_test_data): Likewise.
21515         (fmod_test_data): Likewise.
21516         (log_test_data): Likewise.
21517         (log10_test_data): Likewise.
21518         (log2_test_data): Likewise.
21519         (pow_test_data): Likewise.
21520         (sqrt_test_data): Likewise.
21521         (y0_test_data): Likewise.
21522         (y1_test_data): Likewise.
21523         (yn_test_data): Likewise.
21524
21525         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
21526         function contents.
21527
21528         * math/libm-test.inc (struct test_ff_i_data): New type.
21529         (RUN_TEST_LOOP_ff_i_tg): New macro.
21530         (isgreater_test_data): New variable.
21531         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21532         (isgreaterequal_test_data): New variable.
21533         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21534         (isless_test_data): New variable.
21535         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21536         (islessequal_test_data): New variable.
21537         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21538         (islessgreater_test_data): New variable.
21539         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21540         (isunordered_test_data): New variable.
21541         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21542
21543 2013-05-14  David S. Miller  <davem@davemloft.net>
21544
21545         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21546
21547 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
21548
21549         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
21550
21551         * math/libm-test.inc (struct test_fF_f1_data): Change type of
21552         extra_test to int.
21553         (struct test_f_i_data): Change type of max_ulp to int.
21554
21555         * math/libm-test.inc (test_ffI_f1_data): New type.
21556         (RUN_TEST_LOOP_ffI_f1): New macro.
21557         (remquo_test_data): New variable.
21558         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
21559
21560         * setjmp/tst-setjmp-fp.c: New file.
21561         * setjmp/Makefile (tests): Add tst-setjmp-fp.
21562         (link-libm): New variable.
21563         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
21564
21565         * math/libm-test.inc (struct test_f_i_data): New type.
21566         (RUN_TEST_LOOP_f_i): New macro.
21567         (RUN_TEST_LOOP_f_i_tg): Likewise.
21568         (fpclassify_test_data): New variable.
21569         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
21570         (ilogb_test_data): New variable.
21571         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
21572
21573         * math/libm-test.inc (scalbln_test): Correct function name in END
21574         call.
21575
21576         * math/libm-test.inc (struct test_f_f1_data): Add comment.
21577         (RUN_TEST_LOOP_fI_f1): New macro.
21578         (frexp_test_data): New variable.
21579         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
21580
21581         * math/libm-test.inc (struct test_fF_f1_data): New type.
21582         (RUN_TEST_LOOP_fF_f1): New macro.
21583         (modf_test_data): New variable.
21584         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
21585
21586         * math/libm-test.inc (struct test_f_f1_data): New type.
21587         (RUN_TEST_LOOP_f_f1): New macro.
21588         (gamma_test_data): New variable.
21589         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21590         (lgamma_test_data): New variable.
21591         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21592
21593 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
21594
21595         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
21596         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
21597         (main): Comment "tls" pseudo-hwcap.
21598
21599 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
21600
21601         * math/libm-test.inc (struct test_fl_f_data): New type.
21602         (RUN_TEST_LOOP_fl_f): New variable.
21603         (scalbln_test_data): New variable.
21604         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
21605
21606         * math/libm-test.inc (struct test_fi_f_data): New type.
21607         (RUN_TEST_LOOP_fi_f): New macro.
21608         (ldexp_test_data): New variable.
21609         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
21610         (scalbn_test_data): New variable.
21611         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
21612
21613         * math/libm-test.inc (struct test_c_f_data): New type.
21614         (RUN_TEST_LOOP_c_f): New macro.
21615         (cabs_test_data): New variable.
21616         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
21617         (carg_test_data): New variable.
21618         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
21619         (cimag_test_data): New variable.
21620         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
21621         (creal_test_data): New variable.
21622         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
21623
21624         * math/libm-test.inc (struct test_if_f_data): New type.
21625         (RUN_TEST_LOOP_if_f): New macro.
21626         (jn_test_data): New variable.
21627         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
21628         (yn_test_data): New variable.
21629         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
21630
21631         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
21632
21633 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21634
21635         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
21636         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
21637
21638 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21639
21640         * benchtests/Makefile (CPPFLAGS-nonlib): Add
21641         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
21642         (bench-deps): Add bench-timing.h.
21643         * benchtests-bench-skeleton.c: Include bench-timing.h.
21644         (main): Use TIMING_* macros instead of clock_gettime.
21645         * benchtests/bench-timing.h: New file.
21646
21647         [BZ #14582]
21648         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
21649         Renamed from _LIB_VERSION.
21650         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
21651
21652 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
21653
21654         * math/libm-test.inc (struct test_fff_f_data): New type.
21655         (RUN_TEST_LOOP_fff_f): New macro.
21656         (fma_test_data): New variable.
21657         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
21658         (fma_towardzero_test_data): New variable.
21659         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
21660         (fma_downward_test_data): New variable.
21661         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
21662         (fma_upward_test_data): New variable.
21663         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
21664
21665         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
21666         (struct test_c_c_data): New type.
21667         (RUN_TEST_LOOP_c_c): New macro.
21668         (cacos_test_data): New variable.
21669         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
21670         (cacosh_test_data): New variable.
21671         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
21672         (casin_test_data): New variable.
21673         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
21674         (casinh_test_data): New variable.
21675         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
21676         (catan_test_data): New variable.
21677         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
21678         (catanh_test_data): New variable.
21679         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
21680         (ccos_test_data): New variable.
21681         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
21682         (ccosh_test_data): New variable.
21683         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
21684         (cexp_test_data): New variable.
21685         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
21686         (clog_test_data): New variable.
21687         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
21688         (clog10_test_data): New variable.
21689         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
21690         (conj_test_data): New variable.
21691         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
21692         (cproj_test_data): New variable.
21693         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
21694         (csin_test_data): New variable.
21695         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
21696         (csinh_test_data): New variable.
21697         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
21698         (csqrt_test_data): New variable.
21699         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
21700         (ctan_test_data): New variable.
21701         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
21702         (ctan_tonearest_test_data): New variable.
21703         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21704         (ctan_towardzero_test_data): New variable.
21705         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21706         (ctan_downward_test_data): New variable.
21707         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21708         (ctan_upward_test_data): New variable.
21709         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21710         (ctanh_test_data): New variable.
21711         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
21712         (ctanh_tonearest_test_data): New variable.
21713         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21714         (ctanh_towardzero_test_data): New variable.
21715         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21716         (ctanh_downward_test_data): New variable.
21717         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21718         (ctanh_upward_test_data): New variable.
21719         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21720         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
21721         of BUILD_COMPLEX.
21722
21723         * math/libm-test.inc (struct test_ff_f_data): New type.
21724         (struct test_ff_f_data_nexttoward): Likewise.
21725         (RUN_TEST_LOOP_2_f): New macro.
21726         (RUN_TEST_LOOP_ff_f): Likewise.
21727         (atan2_test_data): New variable.
21728         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
21729         (copysign_test_data): New variable.
21730         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
21731         (fdim_test_data): New variable.
21732         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
21733         (fmax_test_data): New variable.
21734         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
21735         (fmin_test_data): New variable.
21736         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
21737         (fmod_test_data): New variable.
21738         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
21739         (hypot_test_data): New variable.
21740         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
21741         (nextafter_test_data): New variable.
21742         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
21743         (nexttoward_test_data): New variable.
21744         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
21745         (pow_test_data): New variable.
21746         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
21747         (pow_tonearest_test_data): New variable.
21748         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
21749         (pow_towardzero_test_data): New variable.
21750         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
21751         (pow_downward_test_data): New variable.
21752         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
21753         (pow_upward_test_data): New variable.
21754         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
21755         (remainder_test_data): New variable.
21756         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
21757         (scalb_test_data): New variable.
21758         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
21759         * sysdeps/i386/fpu/libm-test-ulps: Update.
21760
21761 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
21762
21763         * math/libm-test.inc (fma_test): Use max_value instead of local
21764         variable fltmax.
21765         (nextafter_test): Likewise.
21766
21767         * math/libm-test.inc (acos_towardzero_test_data): New variable.
21768         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21769         (acos_downward_test_data): New variable.
21770         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21771         (acos_upward_test_data): New variable.
21772         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21773         (acosh_test_data): New variable.
21774         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
21775         (asin_test_data): New variable.
21776         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
21777         (asin_tonearest_test_data): New variable.
21778         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21779         (asin_towardzero_test_data): New variable.
21780         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21781         (asin_downward_test_data): New variable.
21782         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21783         (asin_upward_test_data): New variable.
21784         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21785         (asinh_test_data): New variable.
21786         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
21787         (atan_test_data): New variable.
21788         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
21789         (atanh_test_data): New variable.
21790         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
21791         (cbrt_test_data): New variable.
21792         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
21793         (ceil_test_data): New variable.
21794         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
21795         (cos_test_data): New variable.
21796         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
21797         (cos_tonearest_test_data): New variable.
21798         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21799         (cos_towardzero_test_data): New variable.
21800         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21801         (cos_downward_test_data): New variable.
21802         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21803         (cos_upward_test_data): New variable.
21804         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21805         (cosh_test_data): New variable.
21806         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
21807         (cosh_tonearest_test_data): New variable.
21808         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21809         (cosh_towardzero_test_data): New variable.
21810         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21811         (cosh_downward_test_data): New variable.
21812         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21813         (cosh_upward_test_data): New variable.
21814         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21815         (erf_test_data): New variable.
21816         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21817         (erfc_test_data): New variable.
21818         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21819         (exp_test_data): New variable.
21820         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21821         (exp_tonearest_test_data): New variable.
21822         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21823         (exp_towardzero_test_data): New variable.
21824         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21825         (exp_downward_test_data): New variable.
21826         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21827         (exp_upward_test_data): New variable.
21828         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21829         (exp10_test_data): New variable.
21830         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21831         (exp2_test_data): New variable.
21832         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21833         (expm1_test_data): New variable.
21834         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21835         (fabs_test_data): New variable.
21836         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21837         (floor_test_data): New variable.
21838         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21839         (j0_test_data): New variable.
21840         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21841         (j1_test_data): New variable.
21842         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21843         (log_test_data): New variable.
21844         (log_test): Run tests with RUN_TEST_LOOP_f_f.
21845         (log10_test_data): New variable.
21846         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21847         (log1p_test_data): New variable.
21848         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21849         (log2_test_data): New variable.
21850         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21851         (logb_test_data): New variable.
21852         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21853         (logb_downward_test_data): New variable.
21854         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21855         (nearbyint_test_data): New variable.
21856         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21857         (rint_test_data): New variable.
21858         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21859         (rint_tonearest_test_data): New variable.
21860         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21861         (rint_towardzero_test_data): New variable.
21862         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21863         (rint_downward_test_data): New variable.
21864         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21865         (rint_upward_test_data): New variable.
21866         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21867         (round_test_data): New variable.
21868         (round_test): Run tests with RUN_TEST_LOOP_f_f.
21869         (sin_test_data): New variable.
21870         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21871         (sin_tonearest_test_data): New variable.
21872         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21873         (sin_towardzero_test_data): New variable.
21874         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21875         (sin_downward_test_data): New variable.
21876         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21877         (sin_upward_test_data): New variable.
21878         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21879         (sinh_test_data): New variable.
21880         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21881         (sinh_tonearest_test_data): New variable.
21882         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21883         (sinh_towardzero_test_data): New variable.
21884         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21885         (sinh_downward_test_data): New variable.
21886         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21887         (sinh_upward_test_data): New variable.
21888         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21889         (sqrt_test_data): New variable.
21890         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21891         (tan_test_data): New variable.
21892         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21893         (tan_tonearest_test_data): New variable.
21894         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21895         (tan_towardzero_test_data): New variable.
21896         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21897         (tan_downward_test_data): New variable.
21898         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21899         (tan_upward_test_data): New variable.
21900         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21901         (tanh_test_data): New variable.
21902         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21903         (tgamma_test_data): New variable.
21904         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21905         (trunc_test_data): New variable.
21906         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21907         (y0_test_data): New variable.
21908         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21909         (y1_test_data): New variable.
21910         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21911         (significand_test_data): New variable.
21912         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21913
21914 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
21915
21916         [BZ #12387]
21917         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21918
21919 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21920
21921         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21922
21923 2013-05-10  Andreas Jaeger  <aj@suse.de>
21924
21925         [BZ #15448]
21926         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21927         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21928
21929 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
21930
21931         * math/gen-libm-test.pl (adjust_arg): New function.
21932         (special_functions): Handle generating output in both functions
21933         and arrays.
21934         (parse_args): Likewise.
21935         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
21936         $in_func argument to parse_args.
21937         * math/libm-test.inc (struct test_f_f_data): New type.
21938         (IF_ROUND_INIT_): New macro.
21939         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21940         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21941         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21942         (IF_ROUND_INIT_FE_UPWARD): Likewise.
21943         (ROUND_RESTORE_): Likewise.
21944         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21945         (ROUND_RESTORE_FE_TONEAREST): Likewise.
21946         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21947         (ROUND_RESTORE_FE_UPWARD): Likewise.
21948         (RUN_TEST_LOOP_f_f): New macro.
21949         (acos_test_data): New variable.
21950         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21951         (acos_tonearest_test_data): New variable.
21952         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21953
21954 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21955
21956         * benchtests/bench-skeleton.c (startup): Fix coding style.
21957
21958 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
21959
21960         [BZ #6809]
21961         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21962         negative infinity argument.
21963         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21964         negative infinity argument.
21965         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21966         negative infinity argument.
21967         * math/libm-test.inc (tgamma_test): Expect errno to be set for
21968         domain errors.
21969
21970 2013-05-10  Florian Weimer  <fweimer@redhat.com>
21971
21972         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21973         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21974         * iconv/iconv_prog.c (main): Likewise.
21975         * locale/programs/charmap-dir.c (charmap_readdir)
21976         (fopen_uncompressed): Likewise.
21977         * locale/programs/locfile.c (siblings_uncached)
21978         (write_locale_data): Use lstat64 instead of lstat.
21979         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21980         stat.
21981
21982 2013-05-10  Andreas Jaeger  <aj@suse.de>
21983
21984         [BZ #15395]
21985         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21986         localization.
21987         Include <locale.h>.
21988
21989 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
21990
21991         * elf/dl-close.c (_dl_close_worker): Add comments.
21992
21993 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
21994
21995         [BZ #15359]
21996         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21997         high part of pi/2.
21998         (__ieee754_rem_pio2l): Update comments.
21999
22000         [BZ #15429]
22001         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
22002         high part of pi/2.
22003         (__ieee754_rem_pio2l): Update comments.
22004
22005         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
22006         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
22007
22008         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
22009         M_PI_4l.
22010
22011         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
22012         (M_PI_34_LOG10El): Likewise.
22013         (M_PI2_LOG10El): Likewise.
22014         (M_PI4_LOG10El): Likewise.
22015         (M_PI_LOG10El): Likewise.
22016
22017 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22018
22019         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22020
22021 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
22022
22023         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
22024         (MINUS_ZERO_INIT): Likewise.
22025         (PLUS_INFTY_INIT): Likewise.
22026         (MINUS_INFTY_INIT): Likewise.
22027         (QNAN_VALUE_INIT): Likewise.
22028         (MAX_VALUE_INIT): Likewise.
22029         (MIN_VALUE_INIT): Likewise.
22030         (MIN_SUBNORM_VALUE_INIT): Likewise.
22031         (plus_zero): Initialize with PLUS_ZERO_INIT.
22032         (minus_zero): Initialize with MINUS_ZERO_INIT.
22033         (plus_infty): Initialize with PLUS_INFTY_INIT.
22034         (minus_infty): Initialize with MINUS_INFTY_INIT.
22035         (qnan_value): Initialize with QNAN_VALUE_INIT.
22036         (max_value): Initialize with MAX_VALUE_INIT.
22037         (min_value): Initialize with MIN_VALUE_INIT.
22038         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
22039
22040         * math/libm-test.inc (RUN_TEST_if_f): New macro.
22041         (jn_test): Use TEST_if_f instead of TEST_ff_f.
22042         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
22043         (yn_test): Use TEST_if_f instead of TEST_ff_f.
22044
22045         * math/libm-test.inc (RUN_TEST_f_f): New macro.
22046         (RUN_TEST_2_f): Likewise.
22047         (RUN_TEST_ff_f): Likewise.
22048         (RUN_TEST_fi_f): Likewise.
22049         (RUN_TEST_fl_f): Likewise.
22050         (RUN_TEST_fff_f): Likewise.
22051         (RUN_TEST_c_f): Likewise.
22052         (RUN_TEST_f_f1): Likewise.
22053         (RUN_TEST_fF_f1): Likewise.
22054         (RUN_TEST_fI_f1): Likewise.
22055         (RUN_TEST_ffI_f1): Likewise.
22056         (RUN_TEST_c_c): Likewise.
22057         (RUN_TEST_cc_c): Likewise.
22058         (RUN_TEST_f_i): Likewise.
22059         (RUN_TEST_f_i_tg): Likewise.
22060         (RUN_TEST_ff_i_tg): Likewise.
22061         (RUN_TEST_f_b): Likewise.
22062         (RUN_TEST_f_b_tg): Likewise.
22063         (RUN_TEST_f_l): Likewise.
22064         (RUN_TEST_f_L): Likewise.
22065         (RUN_TEST_sincos): Likewise.
22066         * math/gen-libm-test.pl (new_test): Take new argument to indicate
22067         whether to show exceptions.  Do not include ");\n" in return
22068         value.
22069         (special_functions): Output call to RUN_TEST_sincos instead of
22070         check_float calls.  Update calls to new_test.
22071         (parse_args): Output call to single RUN_TEST_* macro instead of
22072         check_* calls and other assignments.  Update calls to new_test.
22073
22074         [BZ #2546]
22075         [BZ #2560]
22076         [BZ #5159]
22077         [BZ #15426]
22078         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
22079         input to result for tgamma overflow.
22080         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
22081         (gamma_coeff): New variable.
22082         (NCOEFF): New macro.
22083         (gamma_positive): New function.
22084         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
22085         underflow here.  Use gamma_positive instead of exp (lgamma) for
22086         other arguments.
22087         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
22088         (gamma_coeff): New variable.
22089         (NCOEFF): New macro.
22090         (gammaf_positive): New function.
22091         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
22092         underflow here.  Use gamma_positive instead of exp (lgamma) for
22093         other arguments.
22094         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
22095         (gamma_coeff): New variable.
22096         (NCOEFF): New macro.
22097         (gammal_positive): New function.
22098         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
22099         underflow here.  Use gamma_positive instead of exp (lgamma) for
22100         other arguments.
22101         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
22102         (gamma_coeff): New variable.
22103         (NCOEFF): New macro.
22104         (gammal_positive): New function.
22105         (__ieee754_gammal_r): Handle positive infinity, overflow and
22106         underflow here.  Handle NaN the same as positive infinity.  Remove
22107         check x < 0xffffffff for negative integers.  Use gamma_positive
22108         instead of exp (lgamma) for other arguments.
22109         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
22110         (gamma_coeff): New variable.
22111         (NCOEFF): New macro.
22112         (gammal_positive): New function.
22113         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
22114         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
22115         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
22116         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
22117         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
22118         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
22119         * sysdeps/generic/math_private.h (__gamma_productf): New
22120         prototype.
22121         (__gamma_product): Likewise.
22122         (__gamma_productl): Likewise.
22123         * math/Makefile (libm-calls): Add gamma_product.
22124         * math/libm-test.inc (tgamma_test): Add more tests.
22125         * sysdeps/i386/fpu/libm-test-ulps: Update.
22126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22127
22128 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
22129
22130         * benchtests/bench-skeleton.c (main): Preheat CPU.
22131
22132 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
22133
22134         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
22135
22136 2013-05-07  Roland McGrath  <roland@hack.frob.com>
22137
22138         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
22139         and _dl_skip_args_internal.
22140
22141 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
22142
22143         * manual/message.texi (Message Translation): Talk about users.
22144         Message to key mapping impacts design.
22145
22146 2013-05-06  Roland McGrath  <roland@hack.frob.com>
22147
22148         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
22149
22150         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
22151
22152         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
22153         * sysdeps/wordsize-64/glob64.c: ... here.
22154
22155         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
22156         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
22157         New macros.
22158
22159         * debug/getlogin_r_chk.c: Moved to ...
22160         * login/getlogin_r_chk.c: ... here.
22161         * debug/Makefile (routines): Move getlogin_r_chk to ...
22162         * login/Makefile (routines): ... here.
22163         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
22164         * login/Versions (libc: GLIBC_2.4): ... here.
22165
22166         * io/poll.c (__poll): Renamed from poll.
22167         Add libc_hidden_def.
22168         (poll): Define as weak alias.
22169
22170         * debug/ptsname_r_chk.c: Moved to ...
22171         * login/ptsname_r_chk.c: ... here.
22172         * debug/Makefile (routines): Move ptsname_r_chk to ...
22173         * login/Makefile (routines): ... here.
22174         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
22175         * login/Versions (libc: GLIBC_2.4): ... here.
22176
22177         * posix/getlogin.c: Moved to ...
22178         * login/getlogin.c: ... here.
22179         * posix/getlogin_r.c: Moved to ...
22180         * login/getlogin_r.c: ... here.
22181         * posix/getlogin_r.c: Moved to ...
22182         * login/getlogin_r.c: ... here.
22183         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
22184         * login/Makefile (routines): ... here.
22185         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
22186         * login/Versions (libc: GLIBC_2.0): ... here.
22187
22188         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
22189         (setrlimit): Define as weak alias.
22190
22191         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
22192         Call __ names for open, ftruncate, and close.
22193         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
22194         (truncate): Define as weak alias.
22195
22196 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
22197
22198         * math/gen-libm-test.pl (parse_args): Initialize x before each
22199         test of frexp, modf and remquo.
22200
22201         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
22202         test signgam value.
22203
22204 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22205
22206         [BZ #15418]
22207         [BZ #15419]
22208         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
22209         internal tests.
22210         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22211
22212 2013-05-06  Roland McGrath  <roland@hack.frob.com>
22213
22214         * elf/dl-writev.h: New file.
22215         * elf/dl-misc.c: Include it.
22216         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
22217         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
22218
22219 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
22220
22221         * math/libm-test.inc (noXFails): Remove variable.
22222         (noXPasses): Likewise.
22223         (BUILD_COMPLEX_INT): Remove macro.
22224         (print_screen): Remove xfail argument.
22225         (print_screen_max_error): Likewise.
22226         (update_stats): Likewise.
22227         (print_max_error): Likewise.  Update calls to other affected
22228         functions.
22229         (print_complex_max_error): Likewise.
22230         (test_single_exception): Update calls to print_screen.
22231         (test_single_errno): Likewise.
22232         (check_float_internal): Remove xfail argument.  Update calls to
22233         other affected functions.
22234         (check_float): Likewise.
22235         (check_complex): Likewise.
22236         (check_int): Likewise.
22237         (check_long): Likewise.
22238         (check_bool): Likewise.
22239         (check_longlong): Likewise.
22240         (main): Don't print noXFails and noXPasses.
22241         * math/gen-libm-test.pl (top level): Don't mention expected
22242         failure handling in comment.
22243         (new_test): Don't handle expected failures.
22244         (parse_args): Don't mention expected failure handling in comment.
22245         (generate_testfile): Don't handle expected failures.
22246         (parse_ulps): Likewise.
22247         (print_ulps_file): Likewise.
22248         (get_failure): Remove function.
22249         (output_test): Don't handle expected failures.
22250         * make/README.libm-test: Don't mention expected failure handling.
22251
22252         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
22253         (minus_zero): Likewise.
22254         (plus_infty): Likewise.
22255         (minus_infty): Likewise.
22256         (qnan_value): Likewise.
22257         (max_value): Likewise.
22258         (min_value): Likewise.
22259         (min_subnorm_value): Likewise.
22260         (initialize): Do not initialize those variables dynamically.
22261
22262 2013-05-03  Roland McGrath  <roland@hack.frob.com>
22263
22264         * io/open.c (__open_2): Moved to ...
22265         * io/open_2.c: ... this new file.
22266         * io/open64.c (__open64_2): Moved to ...
22267         * io/open64_2.c: ... this new file.
22268         * io/openat.c (__openat_2): Moved to ...
22269         * io/openat_2.c: ... this new file.
22270         * io/openat64.c (__openat64_2): Moved to ...
22271         * io/openat64_2.c: ... this new file.
22272         * io/Makefile (routines): Add them.
22273         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
22274         * sysdeps/unix/sysv/linux/open_2.c: File removed.
22275         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
22276         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
22277         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
22278         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
22279         (__openat64): Add hidden_ver.
22280         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
22281         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
22282
22283         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
22284         Separately conditionalize setting of GLRO(dl_sysinfo) so
22285         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
22286         as well, but the actual setting is only under [NEED_DL_SYSINFO].
22287
22288 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22289
22290         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
22291         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
22292         definition.
22293         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
22294         * sysdeps/unix/sysv/linux/powerpc/init-first.c
22295         (_libc_vdso_platform_setup): Add __vdso_time initialization.
22296         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
22297         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
22298
22299 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
22300
22301         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
22302         test signgam value.
22303
22304         * math/libm-test.inc (hypot_test): Do not use
22305         IGNORE_ZERO_INF_SIGN.
22306
22307 2013-05-03  Andreas Jaeger  <aj@suse.de>
22308
22309         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
22310         Linux 3.9.
22311         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
22312         (PF_MAX): Adjust for VSOCK change.
22313
22314 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22315
22316         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22317
22318 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
22319
22320         [BZ #15264]
22321         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
22322         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
22323         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
22324
22325 2013-05-02  David S. Miller  <davem@davemloft.net>
22326
22327         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22328
22329 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
22330
22331         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
22332
22333 2013-05-01  Roland McGrath  <roland@hack.frob.com>
22334
22335         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
22336
22337 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
22338
22339         [BZ #14952]
22340         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
22341         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22342         Use __attribute__ ((__gnu_inline__)).
22343         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22344         Don't use __attribute__ ((__gnu_inline__)).
22345
22346 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
22347
22348         [BZ #15423]
22349         * math/s_catan.c (__catan): Handle small real or imaginary part of
22350         input specially to avoid spurious underflow.
22351         * math/s_catanf.c (__catanf): Likewise.
22352         * math/s_catanh.c (__catanh): Likewise.
22353         * math/s_catanhf.c (__catanhf): Likewise.
22354         * math/s_catanhl.c (__catanhl): Likewise.
22355         * math/s_catanl.c (__catanl): Likewise.
22356         * math/libm-test.inc (catan_test): Add more tests.
22357         (catanh_test): Likewise.
22358         * sysdeps/i386/fpu/libm-test-ulps: Update.
22359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22360
22361 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22362
22363         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22364
22365 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
22366
22367         [BZ #15416]
22368         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
22369         accurately for denominator in atan2.
22370         * math/s_catanf.c (__catanf): Likewise.
22371         * math/s_catanh.c (__catanh): Likewise.
22372         * math/s_catanhf.c (__catanhf): Likewise.
22373         * math/s_catanhl.c (__catanhl): Likewise.
22374         * math/s_catanl.c (__catanl): Likewise.
22375         * math/libm-test.inc (catan_test): Add more tests.
22376         (catanh_test): Likewise.
22377         * sysdeps/i386/fpu/libm-test-ulps: Update.
22378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22379
22380 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
22381
22382         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
22383
22384         * benchtests/Makefile (bench): Remove slow benchmarks.
22385         * benchtests/atan-inputs: Add slow benchmark inputs.
22386         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
22387         (BENCH_FUNC): Accept variant offset.
22388         (VARIANT): Define.
22389         * benchtests/bench-skeleton.c (main): Run benchmark for each
22390         variant.
22391         * benchtests/cos-inputs: Add slow benchmark inputs.
22392         * benchtests/exp-inputs: Likewise.
22393         * benchtests/pow-inputs: Likewise.
22394         * benchtests/sin-inputs: Likewise.
22395         * benchtests/slowatan-inputs: Remove.
22396         * benchtests/slowatan.c: Remove.
22397         * benchtests/slowcos-inputs: Remove.
22398         * benchtests/slowcos.c: Remove.
22399         * benchtests/slowexp-inputs: Remove.
22400         * benchtests/slowexp.c: Remove.
22401         * benchtests/slowpow-inputs: Remove.
22402         * benchtests/slowpow.c: Remove.
22403         * benchtests/slowsin-inputs: Remove.
22404         * benchtests/slowsin.c: Remove.
22405         * benchtests/slowtan-inputs: Remove.
22406         * benchtests/slowtan.c: Remove.
22407         * benchtests/tan-inputs: Add slow benchmark inputs.
22408         * scripts/bench.pl: Parse comments and directives.
22409
22410         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
22411         in CPPFLAGS.
22412         ($(objpfx)bench-%.c): Remove *-ITER.
22413         * benchtests/bench-modf.c: Remove definition of ITER.
22414         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
22415         (main): Loop for DURATION seconds instead of fixed number of
22416         iterations.
22417         * scripts/bench.pl: Don't expect iterations in parameters.
22418
22419 2013-04-29  Roland McGrath  <roland@hack.frob.com>
22420
22421         * io/fchdir.c (__fchdir): Renamed from fchdir.
22422         (fchdir): Define as weak alias.
22423
22424 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
22425
22426         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
22427         (ERRNO_EDOM): Likewise.
22428         (ERRNO_ERANGE): Likewise.
22429         (noErrnoTests): New variable.
22430         (init_max_error): Set errno to 0.
22431         (test_single_errno): New function.
22432         (test_errno): Likewise.
22433         (check_float_internal): Call test_errno.  Set errno to 0.
22434         (check_complex): Refer to errno tests in comment.
22435         (check_int): Call test_errno.  Set errno to 0.
22436         (check_long): Likewise.
22437         (check_bool): Likewise.
22438         (check_longlong): Likewise.
22439         (cos_test): Use ERRNO_* flags for errno tests instead of
22440         check_int.
22441         (expm1_test): Likewise.
22442         (fmod_test): Likewise.
22443         (ilogb_test): Likewise.
22444         (lgamma_test): Likewise.
22445         (pow_test): Likewise.
22446         (remainder_test): Likewise.
22447         (sin_test): Likewise.
22448         (tan_test): Likewise.
22449         (yn_test): Likewise.
22450         (initialize): Set errno to 0.
22451         (main): Print number of errno tests.
22452         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
22453
22454 2013-04-29  Andreas Jaeger  <aj@suse.de>
22455
22456         [BZ #15084]
22457         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
22458         and RES_USEVC.
22459
22460         [BZ #15085]
22461         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
22462         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
22463         unimplemented.
22464
22465         [BZ #15380]
22466         * stdlib/random.c (__initstate): Return NULL if
22467         __initstate fails.
22468
22469         [BZ #15086]
22470         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
22471         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
22472         RES_SNGLKUPREOP.
22473
22474 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22475
22476         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22477
22478 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
22479
22480         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
22481         of individual tests.
22482         (casin_test): Likewise.
22483         (casinh_test): Likewise.
22484
22485 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
22486
22487         [BZ #15409]
22488         * math/s_catan.c (__catan): Handle arguments with large real or
22489         imaginary part separately without squaring.
22490         * math/s_catanf.c (__catanf): Likewise.
22491         * math/s_catanh.c (__catanh): Likewise.
22492         * math/s_catanhf.c (__catanhf): Likewise.
22493         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22494         and redefine.
22495         (__catanhl): Handle arguments with large real or imaginary part
22496         separately without squaring.
22497         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22498         and redefine.
22499         (__catanl): Handle arguments with large real or imaginary part
22500         separately without squaring.
22501         * math/libm-test.inc (catan_test): Add more tests.
22502         (catanh_test): Likewise.
22503         * sysdeps/i386/fpu/libm-test-ulps: Update.
22504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22505
22506 2013-04-27  Andreas Jaeger  <aj@suse.de>
22507
22508         [BZ #15007]
22509         * stdlib/stdlib.h: Update guards for qecvt.
22510         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
22511         <stdlib.h>.
22512
22513 2013-04-27  Allan McRae  <allan@archlinux.org>
22514
22515         * sysdeps/i386/fpu/libm-test-ulps: Update.
22516
22517 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
22518
22519         [BZ #15406]
22520         * math/s_catan.c: Include <float.h>.
22521         (__catan): Ensure underflow exception occurs for underflowed
22522         result.
22523         * math/s_catanf.c: Include <float.h>.
22524         (__catanf): Ensure underflow exception occurs for underflowed
22525         result.
22526         * math/s_catanh.c: Include <float.h>.
22527         (__catanh): Ensure underflow exception occurs for underflowed
22528         result.
22529         * math/s_catanhf.c: Include <float.h>.
22530         (__catanhf): Ensure underflow exception occurs for underflowed
22531         result.
22532         * math/s_catanhl.c: Include <float.h>.
22533         (__catanhl): Ensure underflow exception occurs for underflowed
22534         result.
22535         * math/s_catanl.c: Include <float.h>.
22536         (__catanl): Ensure underflow exception occurs for underflowed
22537         result.
22538         * math/libm-test.inc (catan_test): Add more tests.
22539         (catanh_test): Likewise.
22540
22541         [BZ #15405]
22542         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
22543         underflowed result.
22544         * math/s_ccoshf.c (__ccoshf): Likewise.
22545         * math/s_ccoshl.c (__ccoshl): Likewise.
22546         * math/s_csin.c (__csin): Likewise.
22547         * math/s_csinf.c (__csinf): Likewise.
22548         * math/s_csinh.c (__csinh): Likewise.
22549         * math/s_csinhf.c (__csinhf): Likewise.
22550         * math/s_csinhl.c (__csinhl): Likewise.
22551         * math/s_csinl.c (__csinl): Likewise.
22552         * math/libm-test.inc (ccos_test): Add more tests.
22553         (ccosh_test): Likewise.
22554         (csin_test): Likewise.
22555         (csinh_test): Likewise.
22556
22557 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22558
22559         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
22560         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
22561         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
22562         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
22563         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
22564         powerpc/power5+/fpu folders.
22565         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
22566
22567
22568 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
22569
22570         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22571
22572 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
22573
22574         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
22575         additions to variable.
22576         [$(config-machine) = x86_64] (modules-names): Likewise.
22577         ($(objpfx)tst-audit3): Remove dependency.
22578         ($(objpfx)tst-audit3.out): Likewise.
22579         ($(objpfx)tst-audit4): Likewise.
22580         ($(objpfx)tst-audit4.out): Likewise.
22581         ($(objpfx)tst-audit5): Likewise.
22582         ($(objpfx)tst-audit5.out): Likewise.
22583         ($(objpfx)tst-audit6): Likewise.
22584         ($(objpfx)tst-audit6.out): Likewise.
22585         ($(objpfx)tst-audit7): Likewise.
22586         ($(objpfx)tst-audit7.out): Likewise.
22587         (tst-audit3-ENV): Remove variable.
22588         (tst-audit4-ENV): Likewise.
22589         (tst-audit5-ENV): Likewise.
22590         (tst-audit6-ENV): Likewise.
22591         (tst-audit7-ENV): Likewise.
22592         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
22593         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
22594         addition to variable.
22595         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
22596         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
22597         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
22598         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
22599         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
22600         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
22601         tst-audit3, tst-audit4 and tst-audit5.
22602         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
22603         tst-audit6 and tst-audit7.
22604         [$(subdir) = elf] (modules-names): Add audit modules for those
22605         tests.
22606         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
22607         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
22608         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
22609         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
22610         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
22611         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
22612         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
22613         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
22614         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
22615         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
22616         [$(subdir) = elf] (tst-audit3-ENV): New variable.
22617         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
22618         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
22619         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
22620         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
22621         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
22622         Likewise.
22623         [$(subdir) = elf && $(config-cflags-avx) = yes]
22624         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
22625         [$(subdir) = elf && $(config-cflags-avx) = yes]
22626         (CFLAGS-tst-auditmod4a.c): Likewise.
22627         [$(subdir) = elf && $(config-cflags-avx) = yes]
22628         (CFLAGS-tst-auditmod4b.c): Likewise.
22629         [$(subdir) = elf && $(config-cflags-avx) = yes]
22630         (CFLAGS-tst-auditmod6b.c): Likewise.
22631         [$(subdir) = elf && $(config-cflags-avx) = yes]
22632         (CFLAGS-tst-auditmod6c.c): Likewise.
22633         [$(subdir) = elf && $(config-cflags-avx) = yes]
22634         (CFLAGS-tst-auditmod7b.c): Likewise.
22635         * elf/tst-audit3.c: Move to ...
22636         * sysdeps/x86_64/tst-audit3.c: ... here.
22637         * elf/tst-audit4.c: Move to ...
22638         * sysdeps/x86_64/tst-audit4.c: ... here.
22639         * elf/tst-audit5.c: Move to ...
22640         * sysdeps/x86_64/tst-audit5.c: ... here.
22641         * elf/tst-audit6.c: Move to ...
22642         * sysdeps/x86_64/tst-audit6.c: ... here.
22643         * elf/tst-audit7.c: Move to ...
22644         * sysdeps/x86_64/tst-audit7.c: ... here.
22645         * elf/tst-auditmod3a.c: Move to ...
22646         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
22647         * elf/tst-auditmod3b.c: Move to ...
22648         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
22649         * elf/tst-auditmod4a.c: Move to ...
22650         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
22651         * elf/tst-auditmod4b.c: Move to ...
22652         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
22653         * elf/tst-auditmod5a.c: Move to ...
22654         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
22655         * elf/tst-auditmod5b.c: Move to ...
22656         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
22657         * elf/tst-auditmod6a.c: Move to ...
22658         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
22659         * elf/tst-auditmod6b.c: Move to ...
22660         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
22661         * elf/tst-auditmod6c.c: Move to ...
22662         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
22663         * elf/tst-auditmod7a.c: Move to ...
22664         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
22665         * elf/tst-auditmod7b.c: Move to ...
22666         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
22667
22668 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
22669
22670         [BZ #15366]
22671         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
22672         define unconditionally.
22673         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
22674         define unconditionally.
22675         (INT8_C, INT16_C, etc.): Likewise.
22676
22677 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
22678
22679         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
22680         __ehdr_start with hidden visibility.
22681
22682         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
22683
22684 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
22685
22686         * math/libm-test.inc (cos_test): Use accurate hex constants.
22687         (sincost_test): Likewise.
22688
22689 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
22690
22691         * math/libm-test.inc (catan_test): Add more tests.
22692         (catanh_test): Likewise.
22693
22694         * math/s_catanf.c (__catanf): Use suffixed floating-point
22695         constants.
22696         * math/s_catanhf.c (__catanhf): Likewise.
22697         * math/s_catanhl.c (__catanhl): Likewise.
22698         * math/s_catanl.c (__catanl): Likewise.
22699
22700         [BZ #15394]
22701         * math/s_catan.c (__catan): Calculate imaginary part of result
22702         with log1p not log unless computing log of number close to 0.
22703         * math/s_catanf.c (__catanf): Likewise.
22704         * math/s_catanl.c (__catanl): Likewise.
22705         * math/s_catanh.c (__catanh): Calculate real part of result with
22706         log1p not log unless computing log of number close to 0.
22707         * math/s_catanhf.c (__catanhf): Likewise.
22708         * math/s_catanhl.c (__catanhl): Likewise.
22709         * math/libm-test.inc (catan_test): Add more tests.
22710         (catanh_test): Likewise.
22711         * sysdeps/i386/fpu/libm-test-ulps: Update.
22712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22713
22714 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22715
22716         * benchtests/Makefile: Mention files in which fast and slow
22717         paths of math functions are implemented.
22718
22719 2013-04-23  Roland McGrath  <roland@hack.frob.com>
22720
22721         * sysdeps/posix/timespec_get.c: New file.
22722
22723 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22724
22725         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
22726         POWER.
22727         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
22728         for POWER.
22729         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
22730         powerpc/power5/fpu folders.
22731         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
22732         * benchtests/Makefile: Add modf testcase.
22733         * benchtests/bench-modf.c: New file: Benchmark test for mo
22734
22735 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
22736
22737         [BZ #14888]
22738         * time/Makefile (tests): Add tst-strptime-whitespace.
22739         * time/strptime_l.c (get_number): Use ISSPACE.
22740         (__strptime_internal): Likewise.
22741         * time/tst-strptime-whitespace.c: New test case.
22742
22743 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
22744
22745         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
22746         member.
22747         (_nss_files_init): Set it here.
22748
22749 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
22750
22751         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
22752         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
22753         unsigned.
22754
22755 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
22756
22757         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
22758
22759 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
22760
22761         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
22762         size just once.
22763
22764 2013-04-21  David S. Miller  <davem@davemloft.net>
22765
22766         * po/ru.po: Update Russion translation from translation project.
22767
22768 2013-04-17  Adam Conrad  <adconrad@0c3.net>
22769
22770         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
22771         and setfsgid.
22772
22773 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
22774
22775         * configure.in: Remove i386 configure warning. Remove i386 case.
22776         * configure: Regenerate.
22777         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
22778         Add example to error message.
22779         * sysdeps/i386/configure: Regenerate.
22780
22781 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22782
22783         * benchtests/Makefile (bench): Add cos, tan, slowcos and
22784         slowtan.
22785         * benchtests/cos-inputs: New file.
22786         * benchtests/slowcos-inputs: New file.
22787         * benchtests/slowcos.c: New file.
22788         * benchtests/slowtan-inputs: New file.
22789         * benchtests/slowtan.c: New file.
22790         * benchtests/tan-inputs: New file.
22791
22792 2013-04-16  Roland McGrath  <roland@hack.frob.com>
22793
22794         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
22795         considered kosher.
22796
22797 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22798
22799         * benchtests/Makefile: Include cppflags-iterator.mk to add
22800         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
22801
22802         * Makefile.in (bench-clean): New target.
22803         * benchtests/Makefile (bench-clean): Likewise.
22804
22805 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
22806
22807         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
22808
22809 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
22810
22811         * stdio-common/tstdiomisc.c: Fix coding-style violation.
22812
22813 2013-04-15  Andreas Schwab  <schwab@suse.de>
22814
22815         * nscd/grpcache.c (cache_addgr): Properly check for short write.
22816         * nscd/initgrcache.c (addinitgroupsX): Likewise.
22817         * nscd/pwdcache.c (cache_addpw): Likewise.
22818         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
22819         more than recsize.
22820
22821 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22822
22823         * benchtests/Makefile (bench): Write all output to
22824         bench-out.tmp together.
22825
22826 2013-04-15  Andreas Schwab  <schwab@suse.de>
22827
22828         * nscd/nscd.c (main): Don't fork again after closing files.
22829
22830 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22831
22832         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22833
22834         * benchtests/Rules (bench-deps): Collect dependencies into a
22835         single variable.  Add Makefile to dependencies.
22836         ($(objpfx)bench-%.c): Depend on bench-deps.
22837
22838 2013-04-12  Roland McGrath  <roland@hack.frob.com>
22839             Xavier Roche  <roche+kml2@exalead.com>
22840
22841         [BZ #15361]
22842         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22843         just that it's a file descriptor.
22844         * manual/llio.texi (Synchronizing AIO Operations): Update description
22845         for EBADF error from aio_fsync.
22846
22847 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22848
22849         * Rules (bench): Move target definition...
22850         * benchtests/Makefile: ... here.
22851
22852 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
22853
22854         * math/libm-test.inc (cos_test): Fix PI/2 test.
22855         (sincos_test): Likewise.
22856         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22857         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22858
22859 2013-04-11  Andreas Schwab  <schwab@suse.de>
22860
22861         [BZ #13988]
22862         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22863         accept exponent character only when digits were seen.
22864         * stdio-common/Makefile (tests): Add bug26.
22865         * stdio-common/bug26.c: New file.
22866
22867         [BZ #14293]
22868         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22869         non-freeable.
22870
22871 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22872
22873         * Makeconfig (rtld-prefix): Define built linker prefix.
22874         * Rules (run-bench): Use it.
22875         * math/Makefile (run-regen-ulps): Likewise.
22876
22877         * Rules (bench): Remove eval.
22878
22879 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22880             Roland McGrath  <roland@hack.frob.com>
22881             Ondrej Bilka  <neleai@seznam.cz>
22882
22883         [BZ #15346]
22884         * time/getdate.c: Include ctype.h and alloca.h.
22885         (__getdate_r): Trim leading and trailing spaces of input.
22886         * time/tst-getdate.c (tests): Add tests with leading and
22887         trailing spaces.
22888
22889 2013-04-08  Roland McGrath  <roland@hack.frob.com>
22890
22891         [BZ #14280]
22892         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22893         when computing value.
22894
22895 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22896
22897         * math/README.libm-test (How can I generate "libm-test-ulps"?):
22898         Use testrun.sh to run libm tests.
22899
22900         [BZ #15309]
22901         * elf/dl-open.c (dl_open_worker): memset all of seen array.
22902
22903 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
22904
22905         [BZ #15264]
22906         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22907
22908 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22909
22910         * Makefile.in (regen-ulps): New target.
22911         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22912         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22913         [ifneq (no,$(PERL)] (regen-ulps): New target.
22914         [ifeq (no,$(PERL)] (regen-ulps): New target.
22915         * math/libm-test.inc (ulps_file_name): Define.
22916         (output_dir): New variable.
22917         (options): Add "output-dir" option.
22918         (parse_opt): Handle 'o' case.
22919         (main): If output_dir is non-NULL use it as a prefix
22920         otherwise use "".
22921         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22922
22923 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22924
22925         [BZ #10060, #10062]
22926         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22927         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22928         fail configure if __sync_val_compare_and_swap is not inlined.
22929         * sysdeps/i386/configure: Regenerate.
22930         * configure.in: Build for i686 when configured for i386.
22931         * configure: Regenerate.
22932         * README: Remove i386 reference.
22933
22934 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22935
22936         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22937         * sysdeps/s390/s390-64/sysdep.h: Likewise.
22938
22939 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
22940
22941         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22942         (lmsnanval): New variables.
22943         (F): Add conversion tests.
22944         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22945         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22946
22947         * stdio-common/tstdiomisc.c (F): Properly collect individual
22948         tests' results.
22949
22950         [BZ #14686, #15336]
22951         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22952         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22953         Instead, use input NaN values or generate a qNaN by arithmetic
22954         operation.  Also fix bugs to comply with the standard.
22955         * math/libm-test.inc (remainder_test): Add more tests.
22956
22957         [BZ #15335, #15342]
22958         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22959         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22960         input NaN values or generate a qNaN by arithmetic operation.
22961
22962         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22963         unreachable code.
22964
22965         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22966         definitions.
22967
22968 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
22969
22970         [BZ #14478]
22971         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22972         underflowed result.
22973         * math/s_cexpf.c (__cexpf): Likewise.
22974         * math/s_cexpl.c (__cexpl): Likewise.
22975         * math/libm-test.inc (cexp_test): Add more tests.
22976
22977 2013-04-03  Andreas Schwab  <schwab@suse.de>
22978
22979         [BZ #15330]
22980         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22981         order arrays from heap if bigger than alloca cutoff.
22982
22983 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
22984
22985         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22986         (SNAN_TESTS_double): Refer to GCC PR56831.
22987         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22988         GCC PR56828.
22989
22990 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22991
22992         * Rules (bench): Move bench.out after the run is complete.
22993
22994         * Rules (bench): Echo currently running benchmark.
22995
22996         * benchtests/Makefile (bench): Add atan and slowatan.
22997         * benchtests/atan-inputs: New file.
22998         * benchtests/slowatan-inputs: New file.
22999         * benchtests/slowatan.c: New file.
23000
23001         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
23002         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
23003         its value.
23004
23005         [BZ #15305]
23006         * sysdeps/unix/sysv/linux/kernel-features.h
23007         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
23008         __ASSUME_XFS_RESTRICTED_CHOWN.
23009         * sysdeps/unix/sysv/linux/pathconf.c
23010         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
23011         Save and restore errno.
23012
23013 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
23014
23015         [BZ #15327]
23016         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
23017         arguments using __kernel_casinh.
23018         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
23019         arguments using __kernel_casinhf.
23020         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
23021         arguments using __kernel_casinhl.
23022         * math/libm-test.inc (cacosh_test): Add more tests.
23023         * sysdeps/i386/fpu/libm-test-ulps: Update.
23024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23025
23026 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23027
23028         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
23029         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
23030
23031         * bench/Makefile (bench): Add sin and slowsin.
23032         * benchtests/sin-inputs: New file.
23033         * benchtests/slowsin-inputs: New file.
23034         * benchtests/slowsin.c: New file.
23035
23036         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
23037         (bench): Add slowexp and slowpow.
23038         (exp-ITER): Increase iterations.
23039         (pow-ITER): Likewise.
23040         * benchtests/exp-inputs: Change input.
23041         * benchtests/pow-inputs: Likewise.
23042         * benchtests/slowexp-inputs: New file.
23043         * benchtests/slowexp.c: New file.
23044         * benchtests/slowpow-inputs: New file.
23045         * benchtests/slowpow.c: New file.
23046
23047 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23048
23049         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
23050         instructions.
23051         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
23052         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
23053         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23054         * benchtests/Makefile: Add rint benchtest.
23055         * benchtests/rint-inputs: Input for rint benchtest.
23056
23057 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
23058
23059         * Versions.def (libm): Add GLIBC_2.18.
23060         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
23061         hidden libm prototypes.
23062         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
23063         * math/Makefile (libm-calls): Add s_issignaling.
23064         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
23065         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
23066         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
23067         declaration.
23068         * math/math.h [__USE_GNU] (issignaling): New macro.
23069         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
23070         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
23071         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
23072         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
23073         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
23074         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
23075         * manual/arith.texi (issignaling): New section.
23076         * manual/libm-err-tab.pl (@all_functions): Update comment.
23077         * math/gen-libm-test.pl (parse_args): Apply special handling for
23078         issignaling.
23079         * math/libm-test.inc (print_float, issignaling_test): New
23080         functions.
23081         (check_float_internal): Add issignaling checks.
23082         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
23083         default definition.
23084         * sysdeps/powerpc/math-tests.h: New file.
23085         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
23086         tests.
23087         * math/test-snan.c (TEST_FUNC): Likewise.
23088
23089 2013-03-30  David S. Miller  <davem@davemloft.net>
23090
23091         * po/de.po: Update from translation team.
23092
23093 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
23094
23095         [BZ #10357]
23096         * math/k_casinh.c (__kernel_casinh): Handle arguments with
23097         imaginary part less than 1.0 and real part less than 0.5
23098         specially.
23099         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23100         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23101         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
23102         (cacos_test): Add more tests.
23103         (casin_test): Likewise.
23104         (casinh_test): Likewise.
23105         * sysdeps/i386/fpu/libm-test-ulps: Update.
23106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23107
23108 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23109
23110         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
23111         ONE with its value.
23112
23113         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
23114         (__pow_mp): Replace ONE and MONE with their values.
23115         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23116         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
23117         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23118         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
23119         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23120         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23121
23122         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
23123
23124         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
23125         (__pow_mp): Replace ZERO and MZERO with their values.
23126         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23127         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23128         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23129         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23130         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23131         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
23132         (__sqr): Likewise.
23133
23134         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
23135
23136         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
23137
23138 2013-03-28  Roland McGrath  <roland@hack.frob.com>
23139
23140         * include/stdlib.h [!SHARED] (__call_tls_dtors):
23141         Declare with __attribute__ ((weak)).
23142         * stdlib/exit.c (__libc_atexit) [!SHARED]:
23143         Call __call_tls_dtors only if it's not NULL.
23144
23145 2013-03-28  Roland McGrath  <roland@hack.frob.com>
23146
23147         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
23148         didn't do it already, then set _dl_phdr and _dl_phnum based on the
23149         magic __ehdr_start linker symbol if it's defined.
23150         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
23151         them up here if it was already done.
23152
23153         * elf/dl-support.c (_dl_phdr): Make pointer to const.
23154         (_dl_aux_init): Use const in cast when setting it.
23155         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
23156         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
23157         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
23158
23159         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
23160         Declare them here.
23161         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
23162         * csu/libc-tls.c: Nor here.
23163         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
23164
23165         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
23166         (__libc_message): Never call vsyslog.
23167
23168 2013-03-28  Alan Modra  <amodra@gmail.com>
23169
23170         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
23171         Define as empty.
23172         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
23173         Likewise.
23174
23175 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23176
23177         [BZ #15214]
23178         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
23179         underflow.
23180         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23181
23182 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23183
23184         [BZ #15304]
23185         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23186         Don't add gid passed as argument.
23187
23188         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
23189
23190 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
23191
23192         [BZ #15307]
23193         * math/k_casinh.c (__kernel_casinh): Handle arguments with
23194         imaginary part between 1.0 and 1.5 and real part less than 0.5
23195         specially.
23196         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23197         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23198         * math/libm-test.inc (cacos_test): Add more tests.
23199         (casin_test): Likewise.
23200         (casinh_test): Likewise.
23201         * sysdeps/i386/fpu/libm-test-ulps: Update.
23202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23203
23204 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23205
23206         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
23207         constants.
23208         (norm): Likewise.
23209         (denorm): Likewise.
23210         (__dbl_mp): Likewise.
23211         (add_magnitudes): Likewise.
23212         (sub_magnitudes): Likewise.
23213         (__add): Likewise.
23214         (__sub): Likewise.
23215         (__mul): Likewise.
23216         (__sqr): Likewise.
23217         (__inv): Likewise.
23218         (__dvd): Likewise.
23219
23220         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
23221         commented code.
23222         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
23223         (__dubcos): Likewise.
23224         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
23225         (__ieee754_acos): Likewise.
23226         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23227         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
23228         (__exp1): Likewise.
23229         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23230         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23231         (log1): Likewise.
23232         (my_log2): Likewise.
23233         (checkint): Likewise.
23234         * sysdeps/ieee754/dbl-64/e_remainder.c
23235         (__ieee754_remainder): Likewise.
23236         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23237         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
23238         (bsloww): Likewise.
23239         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23240
23241         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23242         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
23243         MANTISSA_STORE_T to store computations on mantissa.  Use
23244         macros for rounding and division.
23245         (denorm): Likewise.
23246         (__dbl_mp): Likewise.
23247         (add_magnitudes): Likewise.
23248         (sub_magnitudes): Likewise.
23249         (__mul): Likewise.
23250         (__sqr): Likewise.
23251         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
23252         powers of two in terms of TWOPOW macro.
23253         (mp_no): Make type of mantissa as MANTISSA_T.
23254         [!RADIXI]: Define RADIXI.
23255         [!TWO52]: Define TWO52.
23256         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23257
23258 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23259
23260         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
23261         llroundl symbol when building for PPC32.
23262
23263 2013-03-24  Mark H Weaver  <mhw@netris.org>
23264
23265         * manual/arith.texi (Normalization Functions): Fix prototypes for
23266         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
23267
23268 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23269
23270         [BZ #13889]
23271         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
23272         high value to check if expl overflow.
23273         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
23274         to check for underflow and overflow.
23275         * math/libm-test.inc: Add exp test.
23276
23277 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
23278
23279         [BZ #11120]
23280         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
23281         with NOT_IN_libc.
23282
23283 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23284
23285         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
23286         symbol.
23287
23288 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
23289
23290         * math/gen-libm-test.pl (parse_args, special_functions): Properly
23291         wrap blocks consisting of several statements.
23292
23293         * sysdeps/generic/math-tests.h: New file.
23294         * sysdeps/i386/fpu/math-tests.h: Likewise.
23295         * math/test-snan.c: Include it.
23296         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
23297
23298 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
23299
23300         [BZ #15285]
23301         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
23302         (__ieee754_j0l): Do not improve calculations using cos of twice
23303         input for inputs above LDBL_MAX / 2.0L.
23304         (__ieee754_y0l): Likewise.
23305         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
23306         (__ieee754_j1l): Do not improve calculations using cos of twice
23307         input for inputs above LDBL_MAX / 2.0L.
23308         (__ieee754_y1l): Likewise.
23309         * math/libm-test.inc (j0_test): Add another test.
23310         (j1_test): Likewise.
23311         (y0_test): Likewise.
23312         (y1_test): Likewise.
23313         * sysdeps/i386/fpu/libm-test-ulps: Update.
23314
23315 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23316
23317         * Rules ($(objpfx)bench-%.c): Include code from a C source
23318         file.
23319
23320 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
23321
23322         [BZ #15287]
23323         * math/k_casinh.c (__kernel_casinh): Handle arguments with
23324         imaginary part 1.0 and real part less than 0.5 specially.
23325         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23326         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23327         * math/libm-test.inc (cacos_test): Add more tests.
23328         (casin_test): Likewise.
23329         (casinh_test): Likewise.
23330         * sysdeps/i386/fpu/libm-test-ulps: Update.
23331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23332
23333 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23334
23335         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
23336         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
23337
23338 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
23339
23340         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
23341         * config.make.in (config-cflags-sse4): Remove variable.
23342         (config-cflags-avx): Likewise.
23343         (config-cflags-sse2avx): Likewise.
23344         (config-cflags-novzeroupper): Likewise.
23345         (config-asflags-i686): Likewise.
23346         (have-mfma4): Likewise.
23347         (have-as-vis3): Likewise.
23348         (MIG): Likewise.
23349         * configure.in (MIG): Do not AC_SUBST.
23350         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
23351         (libc_cv_cc_sse4): Do not AC_SUBST.
23352         (libc_cv_cc_avx): Likewise.
23353         (libc_cv_cc_sse2avx): Likewise.
23354         (libc_cv_cc_novzeroupper): Likewise.
23355         (libc_cv_cc_fma4): Likewise.
23356         (libc_cv_as_i686): Likewise.
23357         (libc_cv_sparc_as_vis3): Likewise.
23358         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
23359         LIBC_CONFIG_VAR.
23360         (config-asflags-i686): Likewise.
23361         (config-cflags-avx): Likewise.
23362         (config-cflags-sse2avx): Likewise.
23363         (have-mfma4): Likewise.
23364         (config-cflags-novzeroupper): Likewise.
23365         * sysdeps/mach/configure.in (MIG): Likewise.
23366         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
23367         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
23368         LIBC_CONFIG_VAR.
23369         (config-cflags-avx): Likewise.
23370         (config-cflags-sse2avx): Likewise.
23371         (have-mfma4): Likewise.
23372         (config-cflags-novzeroupper): Likewise.
23373         * configure: Regenerated.
23374         * sysdeps/i386/configure: Likewise.
23375         * sysdeps/mach/configure: Likewise.
23376         * sysdeps/sparc/configure: Likewise.
23377         * sysdeps/x86_64/configure: Likewise.
23378
23379 2013-03-20  Roland McGrath  <roland@hack.frob.com>
23380
23381         [BZ #14812]
23382         * locale/programs/localedef.c (options): Put N_ translation marker
23383         on argument names, not just descriptions.
23384
23385 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23386
23387         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
23388
23389 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
23390
23391         [BZ #14176]
23392         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
23393
23394 2013-03-19  Roland McGrath  <roland@hack.frob.com>
23395
23396         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
23397         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
23398         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
23399         [!BEFORE_ABORT] (before_abort): New function.
23400         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
23401         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
23402         (writev_for_fatal): New function.
23403         (WRITEV_FOR_FATAL): New macro; call that.
23404         (backtrace_and_maps): New function.
23405         (BEFORE_ABORT): New macro; call that.
23406         (struct str_list): Type removed.
23407         (__libc_message, __libc_fatal): Functions removed.
23408         Include <sysdeps/posix/libc_fatal.c> instead.
23409
23410 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
23411
23412         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
23413         constants.
23414         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
23415         double constants.
23416
23417 2013-03-19  Andreas Schwab  <schwab@suse.de>
23418
23419         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
23420         * sysdeps/gnu/configure: Regenerate.
23421
23422         * configure.in: Substitute libc_cv_rtlddir.
23423         * configure: Regenerate.
23424         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
23425         * Makeconfig (rtlddir, inst_rtlddir): New variables.
23426         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
23427         * elf/Makefile (install-others, CFLAGS-interp.c)
23428         (ldso_install, common-ldd-rewrite): Likewise.
23429         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
23430         $(inst_slibdir)/$(rtld-installed-name).
23431         * scripts/rellns-sh: Add -p option.
23432         * Makerules (make-shlib-link): Use rellns-sh to get relative name
23433         for source.
23434
23435 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23436
23437         * manual/nptl.texi: Renamed to ...
23438         * manual/threads.texi: ... this.
23439         * manual/Makefile (chapters): Update.
23440
23441 2013-03-18  Roland McGrath  <roland@hack.frob.com>
23442
23443         [BZ #14812]
23444         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
23445         on argument names, not just descriptions.
23446         * malloc/memusagestat.c (options): Likewise.
23447         * nss/getent.c (options): Likewise.
23448
23449 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
23450
23451         [BZ #14812]
23452         * iconv/iconv_prog.c (options): Put N_ translation marker
23453         on argument names, not just descriptions.
23454         * iconv/iconvconfig.c (options): Likewise.
23455
23456 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
23457
23458         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
23459         implementation which is faster on all x86_64 architectures.
23460         Tested on AMD, Intel Nehalem, SNB, IVB.
23461         * sysdeps/x86_64/strnlen.S: Likewise.
23462
23463         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23464         Remove all multiarch strlen and strnlen versions.
23465         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23466         Remove strlen and strnlen related parts.
23467
23468         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
23469         Inline strlen part.
23470         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
23471
23472         * sysdeps/x86_64/multiarch/strlen.S: Remove.
23473         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
23474         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
23475         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
23476         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23477         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
23478
23479 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
23480
23481         * manual/memory.texi (Malloc Tunable Parameters):
23482         Sort parameters alphabetically. Add comments for missing entries.
23483
23484 2013-03-17  David S. Miller  <davem@davemloft.net>
23485
23486         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23487
23488 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
23489
23490         [BZ #15283]
23491         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
23492         for arguments at most half maximum finite value.
23493         * math/libm-test.inc (j0_test): Add more tests.
23494         (j1_test): Likewise.
23495         (y0_test): Likewise.
23496         (y1_test): Likewise.
23497         * sysdeps/i386/fpu/libm-test-ulps: Update.
23498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23499
23500         [BZ #14155]
23501         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
23502         1 / x and functions P and Q for arguments above 0x1p256L.
23503         (__ieee754_y0l): Likewise.
23504         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
23505         (__ieee754_y1l): Likewise.
23506         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
23507         (j1_test): Likewise.
23508         (y0_test): Likewise.
23509         (y1_test): Likewise.
23510
23511 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
23512
23513         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
23514         variable.
23515
23516 2013-03-15  Roland McGrath  <roland@hack.frob.com>
23517
23518         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
23519         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
23520         zero since it's initialized to EXEC_PAGESIZE.
23521
23522         * sysdeps/unix/sysv/linux/ldsodefs.h
23523         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
23524         * sysdeps/generic/ldsodefs.h: ... here.
23525
23526 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
23527
23528         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
23529
23530         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
23531         math/test-snan.c.
23532         * math/test-snan.c: Renamed from
23533         sysdeps/powerpc/fpu/test-powerpc-snan.c.
23534         * math/Makefile (tests): Add test-snan.
23535         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
23536         test-powerpc-snan.
23537
23538         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
23539         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
23540         functions.
23541         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
23542         __builtin_nan family of functions.
23543         * math/libm-test.inc (initialize): Initialize qnan_value with
23544         __builtin_nan family of functions.
23545         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
23546         Remove variables.
23547         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
23548         Remove functions.
23549         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
23550         storage class.  Initialize qNaN_var and sNaN_var with
23551         __builtin_nan and __builtin_nans families of functions,
23552         respectively.
23553
23554         * math/libm-test.inc (acosh_test): Also test with qNaN input.
23555         (sqrt_test): Remove duplicate test with qNaN input.
23556         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
23557         (round_test, signbit_test, significand_test): Note missing +/-Inf
23558         as well as qNaN tests.
23559
23560         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
23561         qNaN_var.  Fix a few strings, too.
23562         * math/libm-test.inc (nan_value): Rename to qnan_value.
23563         * math/gen-libm-test.pl (%beautify): Adjust to that.
23564         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
23565         * math/test-misc.c (main): Likewise.
23566         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
23567         to __qnan_bytes, and __qnan_union, respectively.
23568         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
23569         Likewise.
23570         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
23571         and lqnanval, respectively.
23572         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
23573         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
23574         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
23575         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
23576
23577         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
23578         * math/test-misc.c (main) [__x86_64__]: Enable test for long
23579         doubles.
23580
23581         * math/test-misc.c (main): Fix copy'n'pastos.
23582         * misc/tst-efgcvt.c (special): Likewise.
23583
23584         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
23585         Remove declarations.
23586
23587 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23588
23589         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
23590         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
23591         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
23592         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
23593
23594 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23595
23596         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
23597         macro to return vdso values correctly in IFUNC implementations.
23598         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23599         Optimization by using IFUNC.
23600
23601 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23602             Richard Henderson  <rth@redhat.com>
23603             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23604
23605         * Makefile.in (bench): New target.
23606         * NEWS: Mention the benchmark framework.
23607         * Rules (bench): Likewise.
23608         (binaries-bench): Generate binaries for functions to
23609         benchmark.
23610         * benchtests/Makefile: New makefile for benchmark tests.
23611         * benchtests/bench-skeleton.c: New skeleton file for benchmark
23612         programs.
23613         * benchtests/exp-inputs: New input file for EXP function.
23614         * benchtests/pow-inputs: New input file for POW function.
23615         * scripts/bench.pl: New script to generate source files for
23616         benchmark programs.
23617
23618 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23619
23620         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23621         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
23622         computations on mantissa.  Use macros for rounding and
23623         division.
23624         (denorm): Likewise.
23625         (__dbl_mp): Likewise.
23626         (add_magnitudes): Likewise.
23627         (sub_magnitudes): Likewise.
23628         (__mul): Likewise.
23629         (__sqr): Likewise.
23630         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
23631         powers of two in terms of TWOPOW macro.
23632         (mp_no): Make type of mantissa as MANTISSA_T.
23633         [!RADIXI]: Define RADIXI.
23634         [!TWO52]: Define TWO52.
23635         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23636
23637         * manual/nptl.texi (cindex): Modify threads to pthreads.
23638
23639 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
23640
23641         * sysdeps/x86_64/preconfigure: Regenerated.
23642
23643 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
23644
23645         [BZ #14155]
23646         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
23647         0x1p28 and above.
23648         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
23649         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
23650         0x1p28 and above.
23651         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
23652         * math/libm-test.inc (j0_test): Do not allow one spurious
23653         underflow exception.
23654         (y1_test): Likewise.
23655
23656 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23657
23658         * manual/Makefile (chapters): Add nptl.
23659         * manual/debug.texi (Debugging Support): Add link to Threads
23660         chapter.
23661         * manual/nptl.texi: New file.
23662
23663         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
23664
23665 2013-03-14  Petr Baudis  <pasky@ucw.cz>
23666
23667         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
23668         for non-NULL pointer before the memory validity test. Pointed
23669         out by Holger Brunck <holger.brunck@keymile.com>.
23670
23671 2013-03-13  Andreas Schwab  <schwab@suse.de>
23672
23673         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
23674         instead of .os.
23675
23676 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
23677
23678         * timezone/zic.c: Update from tzcode 2013b.
23679
23680 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
23681
23682         * manual/install.texi (Configuring and compiling):
23683         Mention i686 and i586.
23684         * INSTALL: Regenerate.
23685
23686 2013-03-12  Roland McGrath  <roland@hack.frob.com>
23687
23688         * sysdeps/init_array/elf-init.c: New file.
23689         * csu/elf-init.c
23690         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
23691         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
23692
23693         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
23694         __gmon_start__ as global, but as static with a .preinit_array pointer.
23695         * sysdeps/init_array/gmon-start.c: New file.  Use that.
23696         * sysdeps/init_array/crti.S: New file, empty except for comments.
23697         * sysdeps/init_array/crtn.S: Likewise.
23698
23699 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
23700
23701         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
23702         definining bcopy.
23703         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23704         Remove Prefer_SSE_for_memop.
23705         * sysdeps/x86_64/multiarch/init-arch.h: Remove
23706         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
23707         HAS_PREFER_SSE_FOR_MEMOP.
23708         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23709         memset-x86-64.
23710         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23711         Remove bzero, memset ifunc support.
23712         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
23713         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
23714         * sysdeps/x86_64/multiarch/memset.S: Likewise.
23715         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23716
23717 2013-03-11  Andreas Schwab  <schwab@suse.de>
23718
23719         [BZ #15234]
23720         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
23721         by SHLIB_COMPAT.
23722         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
23723         (GLIBC_2.16): Remove pthread_atfork.
23724
23725 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
23726
23727         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
23728         (ptestcases.h): Likewise.
23729
23730 2013-03-08  Roland McGrath  <roland@hack.frob.com>
23731
23732         * Makeconfig ($(common-objpfx)config.status): Depend on
23733         sysdeps/*/preconfigure{,.in} too.
23734
23735 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
23736
23737         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
23738         (__free_hook): Use void * instead of __malloc_ptr_t.
23739         (__malloc_hook): Likewise.
23740         (__realloc_hook): Likewise.
23741         (__memalign_hook): Likewise.
23742         (__after_morecore_hook): Likewise.
23743         * malloc/arena.c (save_malloc_hook): Likewise.
23744         (save_free_hook): Likewise.
23745         * malloc/hooks.c (malloc_hook_ini): Likewise.
23746         (realloc_hook_ini): Likewise.
23747         (memalign_hook_ini): Likewise.
23748         * malloc/malloc.c (malloc_hook_ini): Likewise.
23749         (realloc_hook_ini): Likewise.
23750         (memalign_hook_ini): Likewise.
23751         (__free_hook): Likewise.
23752         (__malloc_hook): Likewise.
23753         (__realloc_hook): Likewise.
23754         (__memalign_hook): Likewise.
23755         (__libc_malloc): Likewise.
23756         (__libc_free): Likewise.
23757         (__libc_realloc): Likewise.
23758         (__libc_memalign): Likewise.
23759         (__libc_valloc): Likewise.
23760         (__libc_pvalloc): Likewise.
23761         (__libc_calloc): Likewise.
23762         (__posix_memalign): Likewise.
23763         * malloc/morecore.c (__sbrk): Likewise.
23764         (__default_morecore): Likewise.
23765
23766         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
23767
23768         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
23769         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
23770         __malloc_ptrdiff_t.
23771
23772         * malloc/malloc.h (__malloc_size_t): Remove macro.
23773         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
23774         __malloc_size_t.
23775         (old_memalign_hook): Likewise.
23776         (old_realloc_hook): Likewise.
23777         (struct hdr): Likewise.
23778         (flood): Likewise.
23779         (mallochook): Likewise.
23780         (memalignhook): Likewise.
23781         (reallochook): Likewise.
23782         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
23783         (tr_old_realloc_hook): Likewise.
23784         (tr_old_memalign_hook): Likewise.
23785         (tr_mallochook): Likewise.
23786         (tr_reallochook): Likewise.
23787         (tr_memalignhook): Likewise.
23788
23789 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23790
23791         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
23792         default_ldbl_pack and using as default implementation.
23793         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
23794         implementation.
23795         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
23796         redundant definition.
23797         (ldbl_insert_mantissa): Likewise.
23798         (ldbl_canonicalize): Likewise.
23799         (ldbl_nearbyint): Likewise.
23800         (ldbl_pack): Rename to ldbl_pack_ppc.
23801         (ldbl_unpack): Rename to ldbl_unpack_ppc.
23802         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
23803         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
23804
23805 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23806
23807         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
23808         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
23809         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
23810         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
23811         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
23812         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
23813         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
23814         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
23815
23816 2013-03-07  Andreas Jaeger  <aj@suse.de>
23817
23818         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23819         bits/mman-linux.h.
23820
23821 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
23822
23823         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23824         Include mpa.h and declare __MPEXP.
23825         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23826         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23827         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23828         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23829         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23830         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23831         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23832
23833         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23834         (__slowpow): Use long double EXPL and LOGL functions to
23835         compute POW.
23836         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23837         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23838         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23839         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23840         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23841         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23842
23843         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23844         intermediate variable to calculate exponent.
23845         (__sqr): Likewise.
23846         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23847         Likewise.
23848         (__sqr): Likewise.
23849
23850         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23851         [!NO__SQR]: Define __sqr.
23852         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23853         and NO__SQR.  Remove all code except __mul and __sqr.  Include
23854         sysdeps/ieee754/dbl-64/mpa.c.
23855         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23856
23857         [BZ #12723]
23858         * posix/Makefile (tests): Add tst-pathconf.
23859         * posix/tst-pathconf.c: New test case.
23860         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23861         _PC_PIPE_BUF.
23862         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23863
23864 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
23865
23866         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23867
23868 2013-03-06  Andreas Jaeger  <aj@suse.de>
23869
23870         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23871         definition via __MAP_ANONYMOUS.
23872
23873         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23874         it's not part of Linux headers.
23875
23876         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23877         (MAP_HUGE_MASK): Define.
23878
23879         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23880         Define.
23881         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23882         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23883         Define.
23884         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23885         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23886         Define.
23887         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23888         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23889         Define.
23890         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23891
23892         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23893         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
23894         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
23895         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23896         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
23897         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23898
23899         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23900         Handle f2fs.
23901
23902         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23903         Handle f2fs and efivarfs.
23904
23905         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23906         f2fs.
23907
23908         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23909         (EFIVARFS_MAGIC): Add.
23910         (F2FS_LINK_MAX): Add.
23911
23912 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23913
23914         * stdio-common/vfprintf.c: Replace __builtin_expect with
23915         __glibc_unlikely.
23916
23917 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
23918
23919         [BZ #13550]
23920         * sysdeps/generic/bp-sym.h: Remove file.
23921         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23922         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23923         <bp-sym.h> and <bp-asm.h>.
23924         (__longjmp): Don't use BP_SYM.
23925         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23926         and <bp-asm.h>.
23927         (memcpy): Don't use BP_SYM.
23928         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23929         <bp-sym.h> and <bp-asm.h>.
23930         (memcpy): Don't use BP_SYM.
23931         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23932         <bp-asm.h>.
23933         (memcpy): Don't use BP_SYM.
23934         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23935         <bp-asm.h>.
23936         (memset): Don't use BP_SYM.
23937         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23938         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23939         (__bzero): Don't use BP_SYM.
23940         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23941         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23942         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23943         <bp-sym.h> and <bp-asm.h>.
23944         (memcmp): Don't use BP_SYM.  Remove comment about bounded
23945         pointers.
23946         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23947         <bp-sym.h> and <bp-asm.h>.
23948         (memcpy): Don't use BP_SYM.
23949         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23950         <bp-sym.h> and <bp-asm.h>.
23951         (memset): Don't use BP_SYM.
23952         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23953         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23954         (__bzero): Don't use BP_SYM.
23955         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23956         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23957         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23958         <bp-sym.h> and <bp-asm.h>.
23959         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23960         pointers.
23961         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23962         <bp-sym.h> and <bp-asm.h>.
23963         (memcpy): Don't use BP_SYM.
23964         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23965         <bp-sym.h> and <bp-asm.h>.
23966         (memset): Don't use BP_SYM.
23967         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23968         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23969         (__bzero): Don't use BP_SYM.
23970         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23971         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23972         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23973         <bp-sym.h> and <bp-asm.h>.
23974         (__memchr): Don't use BP_SYM.
23975         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23976         <bp-sym.h> and <bp-asm.h>.
23977         (memcmp): Don't use BP_SYM.  Remove comment about bounded
23978         pointers.
23979         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23980         <bp-sym.h> and <bp-asm.h>.
23981         (memcpy): Don't use BP_SYM.
23982         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23983         <bp-sym.h> and <bp-asm.h>.
23984         (__mempcpy): Don't use BP_SYM.
23985         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23986         <bp-sym.h> and <bp-asm.h>.
23987         (__memrchr): Don't use BP_SYM.
23988         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23989         <bp-sym.h> and <bp-asm.h>.
23990         (memset): Don't use BP_SYM.
23991         (__bzero): Likewise.
23992         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23993         <bp-sym.h> and <bp-asm.h>.
23994         (__rawmemchr): Don't use BP_SYM.
23995         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23996         <bp-sym.h> and <bp-asm.h>.
23997         (__STRCMP): Don't use BP_SYM.
23998         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23999         <bp-sym.h> and <bp-asm.h>.
24000         (strchr): Don't use BP_SYM.
24001         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
24002         <bp-sym.h> and <bp-asm.h>.
24003         (__strchrnul): Don't use BP_SYM.
24004         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
24005         <bp-sym.h> and <bp-asm.h>.
24006         (strlen): Don't use BP_SYM.
24007         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
24008         <bp-sym.h> and <bp-asm.h>.
24009         (strncmp): Don't use BP_SYM.  Remove comment about bounded
24010         pointers.
24011         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
24012         <bp-sym.h> and <bp-asm.h>.
24013         (__strnlen): Don't use BP_SYM.
24014         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
24015         <bp-sym.h> and <bp-asm.h>.
24016         (__GI__setjmp): Don't use BP_SYM.
24017         (_setjmp): Likewise.
24018         (__sigsetjmp): Likewise.
24019         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
24020         (L(start_addresses)): Don't use BP_SYM.
24021         (_start): Likewise.
24022         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
24023         <bp-asm.h>.
24024         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
24025         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
24026         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24027         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24028         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
24029         <bp-asm.h>.
24030         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
24031         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
24032         about bounded pointers.
24033         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24034         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24035         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
24036         <bp-asm.h>.
24037         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
24038         about bounded pointers.  Remove GKM FIXME comments.
24039         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24040         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
24041         <bp-asm.h>.
24042         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
24043         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
24044         Remove GKM FIXME comments.
24045         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24046         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24047         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
24048         <bp-asm.h>.
24049         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
24050         about bounded pointers.  Remove GKM FIXME comment.
24051         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
24052         and <bp-asm.h>.
24053         (strncmp): Don't use BP_SYM.  Remove comment about bounded
24054         pointers.
24055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
24056         <bp-sym.h> and <bp-asm.h>.
24057         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
24059         <bp-sym.h> and <bp-asm.h>.
24060         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
24061         comment.
24062
24063 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24064
24065         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
24066         call free(NULL).
24067
24068 2013-03-05  David S. Miller  <davem@davemloft.net>
24069
24070         * po/es.po: Update from translation team.
24071
24072 2013-03-05  Andreas Jaeger  <aj@suse.de>
24073
24074         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
24075         <bits/mman-linux.h>.
24076         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24077         is fine.
24078         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
24079         <bits/mman-linux.h> to end of file.
24080         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24081         is fine.
24082         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
24083         <bits/mman-linux.h> to end of file.
24084         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24085         is fine.
24086         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
24087         <bits/mman-linux.h> to end of file.
24088
24089         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
24090         (MCL_CURRENT, MCL_FUTURE): Define here.
24091
24092 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24093
24094         [BZ #15232]
24095         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
24096         attribute_hidden.
24097         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24098
24099 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24100
24101         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
24102         fourth parameter needed for rt_sigprocmask syscall.
24103         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
24104         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24105         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
24106         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24107         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24108         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
24109
24110 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
24111
24112         [BZ #13550]
24113         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
24114         comment about bounded pointers.
24115         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
24116         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
24117
24118 2013-03-04  Andreas Jaeger  <aj@suse.de>
24119
24120         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
24121         common definitions.
24122
24123         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
24124         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
24125         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
24126         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24127         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
24128         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24129
24130 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24131
24132         [BZ #15055]
24133         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
24134         __ieee754_sqrl instead of __sqrl.
24135
24136 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
24137
24138         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
24139         * sysdeps/powerpc/fpu_control.h: ... here.
24140         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
24141         * sysdeps/powerpc/bits/fenvinline.h: ... here.
24142         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
24143         * sysdeps/powerpc/bits/mathinline.h: ... here.
24144
24145 2013-03-01  Roland McGrath  <roland@hack.frob.com>
24146
24147         * elf/dl-hwcaps.c (_dl_important_hwcaps):
24148         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
24149         to just [NEED_DL_SYSINFO_DSO].
24150         * elf/dl-support.c: Likewise.
24151         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
24152         * elf/rtld.c (dl_main): Likewise.
24153         * elf/setup-vdso.h (setup_vdso): Likewise.
24154         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
24155         * sysdeps/unix/sysv/linux/dl-sysdep.c
24156         (_dl_discover_osversion): Likewise.
24157
24158 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
24159
24160         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
24161         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24162
24163 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
24164
24165         * NEWS: Mention libm performance improvements and non-x86 PI
24166         futex support.
24167
24168         * csu/libc-start.c (__pthread_initialize_minimal): Change
24169         function arguments.
24170         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24171
24172 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
24173
24174         [BZ #13550]
24175         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
24176         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
24177         <bp-sym.h> and <bp-asm.h>.
24178         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24179         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
24180         and <bp-asm.h>.
24181         (memcpy): Don't use BP_SYM.
24182         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
24183         <bp-asm.h>.
24184         (__mpn_add_n): Don't use BP_SYM.
24185         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
24186         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
24187         and <bp-asm.h>.
24188         (__mpn_addmul_1): Don't use BP_SYM.
24189         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24190         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
24191         <bp-sym.h>.
24192         (_setjmp): Don't use BP_SYM.
24193         (__novmx_setjmp): Likewise.
24194         (__GI__setjmp): Likewise.
24195         (__vmx_setjmp): Likewise.
24196         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
24197         <bp-sym.h>.
24198         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
24199         (__bzero): Don't use BP_SYM.
24200         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24201         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24202         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
24203         <bp-sym.h> and <bp-asm.h>.
24204         (memcpy): Don't use BP_SYM.
24205         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
24206         <bp-sym.h> and <bp-asm.h>.
24207         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24208         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
24209         <bp-sym.h> and <bp-asm.h>.
24210         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24211         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
24212         <bp-asm.h>.
24213         (__mpn_lshift): Don't use BP_SYM.
24214         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24215         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
24216         <bp-asm.h>.
24217         (memset): Don't use BP_SYM.
24218         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24219         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24220         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
24221         <bp-asm.h>.
24222         (__mpn_mul_1): Don't use BP_SYM.
24223         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24224         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
24225         <bp-sym.h> and <bp-asm.h>.
24226         (memcmp): Don't use BP_SYM.
24227         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
24228         <bp-sym.h> and <bp-asm.h>.
24229         (memcpy): Don't use BP_SYM.
24230         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
24231         <bp-sym.h> and <bp-asm.h>.
24232         (memset): Don't use BP_SYM.
24233         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
24234         <bp-sym.h> and <bp-asm.h>.
24235         (strncmp): Don't use BP_SYM.
24236         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
24237         <bp-sym.h> and <bp-asm.h>.
24238         (memcpy): Don't use BP_SYM.
24239         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
24240         <bp-sym.h> and <bp-asm.h>.
24241         (memset): Don't use BP_SYM.
24242         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
24243         <bp-sym.h> and <bp-asm.h>.
24244         (__memchr): Don't use BP_SYM.
24245         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
24246         <bp-sym.h> and <bp-asm.h>.
24247         (memcmp): Don't use BP_SYM.
24248         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
24249         <bp-sym.h> and <bp-asm.h>.
24250         (memcpy): Don't use BP_SYM.
24251         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
24252         <bp-sym.h> and <bp-asm.h>.
24253         (__mempcpy): Don't use BP_SYM.
24254         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
24255         <bp-sym.h> and <bp-asm.h>.
24256         (__memrchr): Don't use BP_SYM.
24257         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
24258         <bp-sym.h> and <bp-asm.h>.
24259         (memset): Don't use BP_SYM.
24260         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
24261         <bp-sym.h> and <bp-asm.h>.
24262         (__rawmemchr): Don't use BP_SYM.
24263         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
24264         <bp-sym.h> and <bp-asm.h>.
24265         (__STRCMP): Don't use BP_SYM.
24266         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
24267         <bp-sym.h> and <bp-asm.h>.
24268         (strchr): Don't use BP_SYM.
24269         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
24270         <bp-sym.h> and <bp-asm.h>.
24271         (__strchrnul): Don't use BP_SYM.
24272         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
24273         <bp-sym.h> and <bp-asm.h>.
24274         (strlen): Don't use BP_SYM.
24275         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
24276         <bp-sym.h> and <bp-asm.h>.
24277         (strncmp): Don't use BP_SYM.
24278         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
24279         <bp-sym.h> and <bp-asm.h>.
24280         (__strnlen): Don't use BP_SYM.
24281         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
24282         <bp-asm.h>.
24283         (__mpn_rshift): Don't use BP_SYM.
24284         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24285         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
24286         <bp-sym.h> and <bp-asm.h>.
24287         (__sigsetjmp): Don't use BP_SYM.
24288         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
24289         (L(start_addresses)): Don't use BP_SYM.
24290         (_start): Likewise.
24291         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
24292         <bp-asm.h>.
24293         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
24294         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24295         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24296         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
24297         <bp-asm.h>.
24298         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
24299         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24300         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24301         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
24302         <bp-asm.h>.
24303         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
24304         comments.
24305         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24306         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
24307         <bp-asm.h>.
24308         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
24309         FIXME comments.
24310         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24311         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24312         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
24313         <bp-asm.h>.
24314         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
24315         comment.
24316         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
24317         and <bp-asm.h>.
24318         (strncmp): Don't use BP_SYM,
24319         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
24320         <bp-asm.h>.
24321         (__mpn_sub_n): Don't use BP_SYM.
24322         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24323         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
24324         and <bp-asm.h>.
24325         (__mpn_submul_1): Don't use BP_SYM.
24326         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
24328         <bp-sym.h> and <bp-asm.h>.
24329         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
24331         <bp-sym.h> and <bp-asm.h>.
24332         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
24333         comment.
24334
24335 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24336
24337         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
24338         Use ZK to minimize writes to Z.
24339         (sub_magnitudes): Simplify code a bit.
24340         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
24341         Use ZK to minimize writes to Z.
24342         (sub_magnitudes): Simplify code a bit.
24343
24344 2013-02-27  Roland McGrath  <roland@hack.frob.com>
24345
24346         * csu/gmon-start.c: Add special exception to license text.
24347
24348 2013-02-27  Richard Henderson  <rth@redhat.com>
24349
24350         * scripts/config.guess: Update from config.git.
24351         * scripts/config.sub: Likewise.
24352
24353 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24354
24355         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
24356
24357         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
24358
24359         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
24360
24361         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
24362
24363         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
24364
24365 2013-02-26  Roland McGrath  <roland@hack.frob.com>
24366
24367         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
24368         [$(build-shared = yes].
24369
24370 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24371
24372         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
24373         (__mul): Reduce iterations for calculating mantissa.
24374
24375         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
24376         MPTWO.
24377         (__mpranred): Likewise.
24378
24379         [BZ #15160]
24380         * malloc/memusagestat.c (main): Draw graphs for heap and stack
24381         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
24382
24383 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
24384
24385         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
24386         Define __attribute__.
24387
24388 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24389
24390         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
24391         unused.
24392         * posix/regex_internal.h (__attribute): Remove.
24393         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
24394         (re_string_context_at): Likewise.
24395         (bitset_not): Use __attribute__ and mark function as possibly
24396         unused.
24397         (bitset_merge): Likewise.
24398         (bitset_mask): Likewise.
24399         (re_string_char_size_at): Likewise.
24400         (re_string_wchar_at): Likewise.
24401         (re_string_elem_size_at): Likewise.
24402
24403 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
24404
24405         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
24406         code.
24407         (cc32): Likewise.
24408
24409         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
24410         (__acr): Likewise.
24411         (__cpy): Likewise.
24412         (norm): Likewise.
24413         (denorm): Likewise.
24414         (__dbl_mp): Likewise.
24415         (add_magnitudes): Likewise.
24416         (sub_magnitudes): Likewise.
24417         (__mul): Likewise.
24418         (__inv): Likewise.
24419
24420         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
24421         style.
24422
24423         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
24424         style.
24425
24426         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
24427         code.
24428
24429         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
24430         up changes with default code.
24431         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
24432         Likewise.
24433
24434 2013-02-24  Allan McRae  <allan@archlinux.org>
24435
24436         * manual/socket.texi (The Internet Namespace): Order menu items
24437         to match that in the file.
24438
24439         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
24440         node listing of the info page menu.
24441
24442 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
24443
24444         [BZ #13550]
24445         * sysdeps/i386/bp-asm.h: Remove file.
24446         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24447         (PARMS): Do not use macros from bp-asm.h.
24448         (S1): Likewise.
24449         (S2): Likewise.
24450         (SIZE): Likewise.
24451         (__mpn_add_n): Do not use BP_SYM
24452         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
24453         "bp-asm.h".
24454         (PARMS): Do not use macros from bp-asm.h.
24455         (S1): Likewise.
24456         (SIZE): Likewise.
24457         (__mpn_addmul_1): Do not use BP_SYM
24458         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
24459         "bp-asm.h".
24460         (PARMS): Do not use macros from bp-asm.h.
24461         (SIGMSK): Likewise.
24462         (_setjmp): Likewise.  Do not use BP_SYM.
24463         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
24464         "bp-asm.h".
24465         (PARMS): Do not use macros from bp-asm.h.
24466         (SIGMSK): Likewise.
24467         (setjmp): Likewise.  Do not use BP_SYM.
24468         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
24469         "bp-asm.h".
24470         (PARMS): Do not use macros from bp-asm.h.
24471         (__frexp): Do not use BP_SYM.
24472         (frexp): Likewise.
24473         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
24474         "bp-asm.h".
24475         (PARMS): Do not use macros from bp-asm.h.
24476         (__frexpf): Do not use BP_SYM.
24477         (frexpf): Likewise.
24478         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
24479         "bp-asm.h".
24480         (PARMS): Do not use macros from bp-asm.h.
24481         (__frexpl): Do not use BP_SYM.
24482         (frexpl): Likewise.
24483         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
24484         "bp-asm.h".
24485         (PARMS): Do not use macros from bp-asm.h.
24486         (__remquo): Do not use BP_SYM.
24487         (remquo): Likewise.
24488         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
24489         "bp-asm.h".
24490         (PARMS): Do not use macros from bp-asm.h.
24491         (__remquof): Do not use BP_SYM.
24492         (remquof): Likewise.
24493         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
24494         "bp-asm.h".
24495         (PARMS): Do not use macros from bp-asm.h.
24496         (__remquol): Do not use BP_SYM.
24497         (remquol): Likewise.
24498         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
24499         "bp-asm.h".
24500         (PARMS): Do not use macros from bp-asm.h.
24501         (DEST): Likewise.
24502         (SRC): Likewise.
24503         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
24504         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
24505         "bp-asm.h".
24506         (PARMS): Do not use macros from bp-asm.h.
24507         (strlen): Do not use BP_SYM.
24508         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
24509         "bp-asm.h".
24510         (PARMS): Do not use macros from bp-asm.h.
24511         (S1): Likewise.
24512         (S2): Likewise.
24513         (SIZE): Likewise.
24514         (__mpn_add_n): Do not use BP_SYM.
24515         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
24516         "bp-asm.h".
24517         (PARMS): Do not use macros from bp-asm.h.
24518         (S1): Likewise.
24519         (SIZE): Likewise.
24520         (__mpn_addmul_1): Do not use BP_SYM.
24521         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
24522         weak_alias.
24523         (bzero): Likewise.
24524         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
24525         "bp-asm.h".
24526         (PARMS): Do not use macros from bp-asm.h.
24527         (S): Likewise.
24528         (SIZE): Likewise.
24529         (__mpn_lshift): Do not use BP_SYM.
24530         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
24531         "bp-asm.h".
24532         (PARMS): Do not use macros from bp-asm.h.
24533         (DEST): Likewise.
24534         (SRC): Likewise.
24535         (LEN): Likewise.
24536         (memcpy): Likewise.  Do not use BP_SYM.
24537         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
24538         libc_hidden_def and weak_alias.
24539         (mempcpy): Do not use BP_SYM in weak_alias.
24540         * sysdeps/i386/i586/memset.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         (LEN): Likewise.
24545         [!BZERO_P] (CHR): Likewise.
24546         (memset): Likewise.  Do not use BP_SYM.
24547         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
24548         "bp-asm.h".
24549         (PARMS): Do not use macros from bp-asm.h.
24550         (S1): Likewise.
24551         (SIZE): Likewise.
24552         (__mpn_mul_1): Do not use BP_SYM.
24553         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
24554         "bp-asm.h".
24555         (PARMS): Do not use macros from bp-asm.h.
24556         (S): Likewise.
24557         (SIZE): Likewise.
24558         (__mpn_rshift): Do not use BP_SYM.
24559         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
24560         "bp-asm.h".
24561         (PARMS): Do not use macros from bp-asm.h.
24562         (STR): Likewise.
24563         (CHR): Likewise.
24564         (strchr): Likewise.  Do not use BP_SYM.
24565         (index): Do not use BP_SYM in weak_alias.
24566         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
24567         "bp-asm.h".
24568         (PARMS): Do not use macros from bp-asm.h.
24569         (DEST): Likewise.
24570         (SRC): Likewise.
24571         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
24572         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
24573         "bp-asm.h".
24574         (PARMS): Do not use macros from bp-asm.h.
24575         (strlen): Do not use BP_SYM.
24576         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
24577         "bp-asm.h".
24578         (PARMS): Do not use macros from bp-asm.h.
24579         (S1): Likewise.
24580         (S2): Likewise.
24581         (SIZE): Likewise.
24582         (__mpn_sub_n): Do not use BP_SYM.
24583         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
24584         "bp-asm.h".
24585         (PARMS): Do not use macros from bp-asm.h.
24586         (S1): Likewise.
24587         (SIZE): Likewise.
24588         (__mpn_submul_1): Do not use BP_SYM.
24589         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
24590         "bp-asm.h".
24591         (PARMS): Do not use macros from bp-asm.h.
24592         (S1): Likewise.
24593         (S2): Likewise.
24594         (SIZE): Likewise.
24595         (__mpn_add_n): Do not use BP_SYM.
24596         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
24597         weak_alias.
24598         (bzero): Likewise.
24599         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
24600         "bp-asm.h".
24601         (PARMS): Do not use macros from bp-asm.h.
24602         (BLK2): Likewise.
24603         (LEN): Likewise.
24604         (memcmp): Do not use BP_SYM.
24605         (bcmp): Do not use BP_SYM in weak_alias.
24606         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
24607         "bp-asm.h".
24608         (PARMS): Do not use macros from bp-asm.h.
24609         (DEST): Likewise.
24610         (SRC): Likewise.
24611         (LEN): Likewise.
24612         (memcpy): Likewise.  Do not use BP_SYM.
24613         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
24614         "bp-asm.h".
24615         (PARMS): Do not use macros from bp-asm.h.
24616         (DEST): Likewise.
24617         (SRC): Likewise.
24618         (LEN): Likewise.
24619         (memmove): Likewise.  Do not use BP_SYM.
24620         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
24621         "bp-asm.h".
24622         (PARMS): Do not use macros from bp-asm.h.
24623         (DEST): Likewise.
24624         (SRC): Likewise.
24625         (LEN): Likewise.
24626         (__mempcpy): Likewise.  Do not use BP_SYM.
24627         (mempcpy): Do not use BP_SYM in weak_alias.
24628         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
24629         "bp-asm.h".
24630         (PARMS): Do not use macros from bp-asm.h.
24631         (DEST): Likewise.
24632         (LEN): Likewise.
24633         [!BZERO_P] (CHR): Likewise.
24634         (memset): Likewise.  Do not use BP_SYM.
24635         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
24636         "bp-asm.h".
24637         (PARMS): Do not use macros from bp-asm.h.
24638         (STR2): Likewise.
24639         (strcmp): Do not use BP_SYM.
24640         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
24641         "bp-asm.h".
24642         (PARMS): Do not use macros from bp-asm.h.
24643         (STR): Likewise.
24644         (DELIM): Likewise.
24645         [USE_AS_STRTOK_R] (SAVE): Likewise.
24646         (FUNCTION): Likewise.  Do not use BP_SYM.
24647         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
24648         aliases.
24649         (strtok_r): Likewise.
24650         (__GI___strtok_r): Likewise.
24651         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24652         (PARMS): Do not use macros from bp-asm.h.
24653         (S): Likewise.
24654         (SIZE): Likewise.
24655         (__mpn_lshift): Do not use BP_SYM.
24656         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24657         (PARMS): Do not use macros from bp-asm.h.
24658         (STR): Likewise.
24659         (CHR): Likewise.
24660         (__memchr): Do not use BP_SYM.
24661         (memchr): Do not use BP_SYM in weak_alias.
24662         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24663         (PARMS): Do not use macros from bp-asm.h.
24664         (BLK2): Likewise.
24665         (LEN): Likewise.
24666         (memcmp): Do not use BP_SYM.
24667         (bcmp): Do not use BP_SYM in weak_alias.
24668         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
24669         (PARMS): Do not use macros from bp-asm.h.
24670         (S1): Likewise.
24671         (SIZE): Likewise.
24672         (__mpn_mul_1): Do not use BP_SYM.
24673         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
24674         "bp-asm.h".
24675         (PARMS): Do not use macros from bp-asm.h.
24676         (STR): Likewise.
24677         (CHR): Likewise.
24678         (__rawmemchr): Do not use BP_SYM.
24679         (rawmemchr): Do not use BP_SYM in weak_alias.
24680         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24681         (PARMS): Do not use macros from bp-asm.h.
24682         (S): Likewise.
24683         (SIZE): Likewise.
24684         (__mpn_rshift): Do not use BP_SYM.
24685         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24686         (PARMS): Do not use macros from bp-asm.h.
24687         (SIGMSK): Likewise.
24688         (__sigsetjmp): Likewise.  Do not use BP_SYM.
24689         * sysdeps/i386/start.S: Do not include "bp-sym.h".
24690         (_start): Do not use BP_SYM.
24691         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
24692         (PARMS): Do not use macros from bp-asm.h.
24693         (DEST): Likewise.
24694         (SRC): Likewise.
24695         (__stpcpy): Likewise.  Do not use BP_SYM.
24696         (stpcpy): Do not use BP_SYM in weak_alias.
24697         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
24698         "bp-asm.h".
24699         (PARMS): Do not use macros from bp-asm.h.
24700         (DEST): Likewise.
24701         (SRC): Likewise.
24702         (LEN): Likewise.
24703         (__stpncpy): Likewise.  Do not use BP_SYM.
24704         (stpncpy): Do not use BP_SYM in weak_alias.
24705         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24706         (PARMS): Do not use macros from bp-asm.h.
24707         (STR): Likewise.
24708         (CHR): Likewise.
24709         (strchr): Likewise.  Do not use BP_SYM.
24710         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
24711         "bp-asm.h".
24712         (PARMS): Do not use macros from bp-asm.h.
24713         (STR): Likewise.
24714         (CHR): Likewise.
24715         (__strchrnul): Likewise.  Do not use BP_SYM.
24716         (strchrnul): Do not use BP_SYM in weak_alias.
24717         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
24718         "bp-asm.h".
24719         (PARMS): Do not use macros from bp-asm.h.
24720         (STOP): Likewise.
24721         (strcspn): Do not use BP_SYM.
24722         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
24723         "bp-asm.h".
24724         (PARMS): Do not use macros from bp-asm.h.
24725         (STR): Likewise.
24726         (STOP): Likewise.
24727         (strpbrk): Likewise.  Do not use BP_SYM.
24728         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
24729         "bp-asm.h".
24730         (PARMS): Do not use macros from bp-asm.h.
24731         (STR): Likewise.
24732         (CHR): Likewise.
24733         (strrchr): Likewise.  Do not use BP_SYM.
24734         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
24735         (PARMS): Do not use macros from bp-asm.h.
24736         (SKIP): Likewise.
24737         (strspn): Do not use BP_SYM.
24738         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
24739         (PARMS): Do not use macros from bp-asm.h.
24740         (STR): Likewise.
24741         (DELIM): Likewise.
24742         (SAVE): Likewise.
24743         (FUNCTION): Likewise.  Do not use BP_SYM.
24744         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
24745         aliases.
24746         (strtok_r): Likewise.
24747         (__GI___strtok_r): Likewise.
24748         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24749         (PARMS): Do not use macros from bp-asm.h.
24750         (S1): Likewise.
24751         (S2): Likewise.
24752         (SIZE): Likewise.
24753         (__mpn_sub_n): Do not use BP_SYM.
24754         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
24755         "bp-asm.h".
24756         (PARMS): Do not use macros from bp-asm.h.
24757         (S1): Likewise.
24758         (SIZE): Likewise.
24759         (__mpn_submul_1): Do not use BP_SYM.
24760         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
24761         <bp-sym.h>.
24762         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
24763         and <bp-asm.h>.
24764         (PARMS): Do not use macros from bp-asm.h.
24765         (FLAGS): Likewise.
24766         (PTID): Likewise.
24767         (TLS): Likewise.
24768         (CTID): Likewise.
24769         (__clone): Do not use BP_SYM.
24770         (clone): Do not use BP_SYM in weak_alias.
24771         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
24772         and <bp-asm.h>.
24773         (PARMS): Do not use macros from bp-asm.h.
24774         (LEN): Likewise.
24775         (__mmap64): Do not use BP_SYM.
24776         (mmap64): Do not use BP_SYM in weak_alias.
24777         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24778         <bp-sym.h> and <bp-asm.h>.
24779         (PARMS): Do not use macros from bp-asm.h.
24780         (__posix_fadvise64_l64): Do not use BP_SYM.
24781         * sysdeps/unix/sysv/linux/i386/semtimedop.S
24782         (PARMS): Do not use macros from bp-asm.h.
24783         (NSOPS): Likewise.
24784         (semtimedop): Do not use BP_SYM.
24785         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
24786         and <bp-asm.h>.
24787
24788 2013-02-21  Allan McRae  <allan@archlinux.org>
24789
24790         * manual/message.texi (Charset conversion in gettext):
24791         Move @end statement to beginning of line.
24792
24793 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24794
24795         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
24796         static.
24797         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24798         Likewise.
24799
24800         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
24801         (denorm): Likewise.
24802         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
24803         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
24804
24805 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24806
24807         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
24808         tail-call to the resolved function if pltexit isn't needed.
24809
24810 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24811
24812         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
24813         or Y being zero as being unlikely.
24814         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24815         Likewise.
24816
24817 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
24818
24819         * manual/nss.texi (System Databases and Name Service Switch):
24820         Remove frobnicate @pxref.
24821
24822 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
24823
24824         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24825         __attribute__ ((unused)) to __attribute__ ((__unused__)).
24826
24827 2013-02-20  Petr Machata  <pmachata@redhat.com>
24828
24829         * elf/elf.h (R_ARM_TARGET1): New macro.
24830         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24831         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24832         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24833         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24834         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24835         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24836         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24837         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24838         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24839         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24840         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24841         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24842         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24843         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24844         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24845         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24846         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24847         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24848         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24849         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24850         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24851         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24852         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24853         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24854         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24855         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24856         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24857         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24858         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24859         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24860         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24861         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24862         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24863         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24864         (R_ARM_THM_GOT_BREL12): Likewise.
24865         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24866         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24867         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24868         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24869         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24870         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24871         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24872         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24873         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24874
24875 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
24876
24877         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24878         __attribute_used__ to __attribute__ ((unused)).
24879
24880 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24881
24882         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24883         powerpc mpa.c.
24884         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24885         comment formatting.
24886         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24887
24888 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
24889
24890         [BZ #13550]
24891         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24892         Remove macro.
24893         (ENTER): Remove both macro definitions.
24894         (LEAVE): Likewise.
24895         (CHECK_BOUNDS_LOW): Likewise.
24896         (CHECK_BOUNDS_HIGH): Likewise.
24897         (CHECK_BOUNDS_BOTH): Likewise.
24898         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24899         (RETURN_BOUNDED_POINTER): Likewise.
24900         (RETURN_NULL_BOUNDED_POINTER): Likewise.
24901         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24902         (POP_ERRNO_LOCATION_RETURN): Likewise.
24903         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24904         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24905         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24906         macros.
24907         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24908         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24909         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24910         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24911         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24912         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24913         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24914         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24915         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24916         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24917         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24918         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24919         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24920         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24921         removed macros.
24922         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24923         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24924         macros.
24925         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24926         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24927         * sysdeps/i386/i586/memset.S (memset): Likewise.
24928         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24929         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24930         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24931         macros.
24932         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24933         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24934         Change uses of L(2) to L(out).
24935         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24936         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24937         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24938         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24939         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24940         removed macros.
24941         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24942         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24943         macros.
24944         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24945         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24946         (RETURN): Do not use macro LEAVE.
24947         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24948         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24949         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24950         * sysdeps/i386/i686/memset.S (memset): Likewise.
24951         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24952         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24953         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24954         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24955         Likewise.
24956         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24957         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
24958         L(1_2) and L(1_3) into L(1).
24959         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24960         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24961         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24962         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24963         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24964         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24965         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24966         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24967         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24968         macros.
24969         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24970         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24971         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24972         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24973         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24974         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24975         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24976         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24977         * sysdeps/i386/strcspn.S (strcspn): Likewise.
24978         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24979         * sysdeps/i386/strrchr.S (strrchr): Likewise.
24980         * sysdeps/i386/strspn.S (strspn): Likewise.
24981         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24982         conditional code.
24983         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24984         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24985         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24986         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
24987         L(1_3) into L(1_1).
24988         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24989         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24990         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24991         macros.
24992         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24993
24994 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
24995
24996         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24997         macro.
24998
24999 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25000
25001         * math/atest-exp.c (exp_mpn): Remove ROUND.
25002         * math/atest-exp2.c (exp_mpn): Likewise.
25003         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
25004
25005         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
25006         * stdlib/tst-tls-atexit-lib.c: Likewise.
25007         * stdlib/tst-tls-atexit.c: Likewise.
25008
25009 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
25010
25011         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
25012         and __attribute_alloc_size__.
25013
25014 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
25015
25016         * include/programs/xmalloc.h: Change __attribute_alloc_size to
25017         __attribute_alloc_size__.
25018         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
25019         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
25020
25021 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
25022
25023         * include/programs/xmalloc.h: New file.
25024         * catgets/gencat.c: Include it.
25025         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
25026         * elf/pldd.c: Likewise.
25027         * iconv/iconv_charmap.c: Likewise.
25028         * iconv/iconvconfig.c: Likewise.
25029         * iconv/strtab.c: Likewise.
25030         * locale/programs/locale.c: Likewise.
25031         * locale/programs/localedef.h: Likewise.
25032         * locale/programs/simple-hash.c: Likewise.
25033         * nscd/nscd.h: Likewise.
25034         * nss/makedb.c: Likewise.
25035         * sysdeps/generic/ldconfig.h: Likewise.
25036
25037 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25038
25039         * Versions.def: Add GLIBC_2.18.
25040         * include/link.h (struct link_map): New member l_tls_dtor_count.
25041         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
25042         (__call_tls_dtors): Likewise.
25043         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
25044         __cxa_thread_atexit_impl.
25045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25046         Likewise.
25047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25048         Likewise.
25049         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25050         Likewise.
25051         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25052         Likewise.
25053         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25054         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
25055         Likewise.
25056         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
25057         Likewise.
25058         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25059         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
25060         Likewise.
25061         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
25062         (tests): Add test case tst-tls-atexit.
25063         (modules-names): Add shared library for tst-tls-atexit.
25064         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
25065         (GLIBC_PRIVATE): Add __call_tls_dtors.
25066         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
25067         for libstdc++.
25068         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
25069         * stdlib/tst-tls-atexit.c: New test case.
25070         * stdlib/tst-tls-atexit-lib.c: New test case.
25071
25072         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
25073
25074         * elf/Versions (ld): Add _dl_find_dso_for_object.
25075         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
25076         * elf/dl-open.c (_dl_find_dso_for_object): New function.
25077         (dl_open_worker): Use _dl_find_dso_for_object.
25078         * elf/dl-sym.c (do_sym): Likewise.
25079         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
25080
25081 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25082
25083         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
25084         Syntactic changes only.
25085         (_dl_runtime_profile): Do a tail-call to the resolved function.
25086
25087 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
25088
25089         [BZ #13550]
25090         * sysdeps/x86_64/bp-asm.h: Remove file.
25091         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
25092         <bp-sym.h> and <bp-asm.h>.
25093         (__clone): Do not use BP_SYM.
25094         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
25095         <bp-sym.h> and <bp-asm.h>.
25096         * sysdeps/unix/x86_64/sysdep.S: Likewise.
25097         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
25098         "bp-asm.h".
25099         (_setjmp): Do not use BP_SYM.
25100         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
25101         "bp-asm.h".
25102         (setjmp): Do not use BP_SYM.
25103         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
25104         libc_hidden_def.
25105         (mempcpy): Do not use BP_SYM in weak_alias.
25106         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
25107         "bp-asm.h".
25108         (strchr): Do not use BP_SYM.
25109         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
25110         "bp-asm.h".
25111         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
25112         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
25113         (_start): Do not use BP_SYM.
25114         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
25115         "bp-asm.h".
25116         (strcat): Do not use BP_SYM.
25117         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
25118         "bp-asm.h".
25119         (STRCMP): Do not use BP_SYM.
25120         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
25121         "bp-asm.h".
25122         (STRCPY): Do not use BP_SYM.
25123         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
25124         "bp-asm.h".
25125         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
25126         "bp-asm.h".
25127         (FUNCTION): Do not use BP_SYM.
25128         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
25129         weak_alias.
25130         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
25131
25132 2013-02-17  Andreas Jaeger  <aj@suse.de>
25133
25134         * time/Versions: Sort entries.
25135         * string/Versions: Likewise.
25136         * resolv/Versions: Likewise.
25137         * posix/Versions: Likewise.
25138         * iconv/Versions: Likewise.
25139         * elf/Versions: Likewise.
25140         * wcsmbs/Versions: Likewise.
25141
25142 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25143
25144         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
25145         loop termination condition.
25146
25147         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
25148         variable to calculate EZ.
25149         (__sqr): Likewise.
25150
25151         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
25152         the lower precision input.
25153
25154 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
25155
25156         [BZ #13550]
25157         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
25158         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
25159         (run-via-rtld-prefix): Do not handle %-bp tests.
25160         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
25161         (all-object-suffixes): Remove .ob.
25162         (bppfx): Remove variable.
25163         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
25164         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
25165         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
25166         [$(build-bounded) = yes] (libtype.ob): Likewise.
25167         * Makerules (elide-routines.ob): Remove variable.
25168         (do-tests-clean): Do not handle *-bp.out.
25169         (common-mostlyclean): Do not handle *-bp and *-bp.out.
25170         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
25171         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
25172         (tests): Do not include $(tests-bp.out).
25173         (xtests): Do not include $(xtests-bp.out).
25174         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
25175         [$(build-bounded) = yes] ($(addprefix
25176         $(objpfx),$(binaries-bounded))): Remove rule.
25177         ($(objpfx)%-bp.out): Remove rule.
25178         * config.make.in (build-bounded): Remove variable.
25179         * crypt/Makefile [$(build-bounded) = yes]
25180         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
25181         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
25182         append to variable.
25183         [$(build-bounded) = yes] (install-lib): Likewise.
25184         [$(build-bounded) = yes] (generated): Likewise.
25185         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
25186         Remove rule.
25187         * intl/Makefile [$(build-bounded) = yes]
25188         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
25189         * math/Makefile [$(build-bounded) = yes]
25190         ($(tests:%=$(objpfx)%-bp): Likewise.
25191         * misc/Makefile [$(build-bounded) = yes]
25192         ($(objpfx)tst-tsearch-bp): Likewise.
25193         * nptl/Makeconfig (bounded-thread-library): Remove variable.
25194         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
25195         Remove dependency.
25196         * string/Makefile (o-objects.ob): Remove variable.
25197         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
25198         (CFLAGS-.ob): Remove variable.
25199         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
25200         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
25201         both definitions of variable.
25202         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
25203         (ASFLAGS-.ob): Remove variable.
25204
25205 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
25206
25207         [BZ #13550]
25208         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
25209         Remove __BOUNDED_POINTERS__ from condition.
25210         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
25211         * string/bits/string2.h [!__NO_STRING_INLINES &&
25212         !__BOUNDED_POINTERS__]: Likewise.
25213         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
25214         Likewise.
25215         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
25216         Remove conditional code.
25217         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
25218         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
25219         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
25220         condition.
25221
25222         [BZ #13550]
25223         * csu/libc-start.c: Do not include <bp-sym.h>.
25224         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
25225         * elf/dl-open.c: Do not include <bp-sym.h>.
25226         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
25227         * math/fegetenv.c: Do not include <bp-sym.h>.
25228         (fegetenv): Do not use BP_SYM in versioned symbols.
25229         * nptl/sysdeps/pthread/bits/libc-lockP.h
25230         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
25231         <bp-sym.h>.
25232         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25233         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
25234         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25235         (__pthread_mutex_destroy): Likewise.
25236         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25237         (__pthread_mutex_lock): Likewise.
25238         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25239         (__pthread_mutex_trylock): Likewise.
25240         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25241         (__pthread_mutex_unlock): Likewise.
25242         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25243         (__pthread_mutexattr_init): Likewise.
25244         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25245         (__pthread_mutexattr_destroy): Likewise.
25246         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25247         (__pthread_mutexattr_settype): Likewise.
25248         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25249         (__pthread_rwlock_init): Likewise.
25250         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25251         (__pthread_rwlock_destroy): Likewise.
25252         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25253         (__pthread_rwlock_rdlock): Likewise.
25254         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25255         (__pthread_rwlock_tryrdlock): Likewise.
25256         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25257         (__pthread_rwlock_wrlock): Likewise.
25258         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25259         (__pthread_rwlock_trywrlock): Likewise.
25260         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25261         (__pthread_rwlock_unlock): Likewise.
25262         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25263         (__pthread_key_create): Likewise.
25264         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25265         (__pthread_setspecific): Likewise.
25266         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25267         (__pthread_getspecific): Likewise.
25268         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
25269         Likewise.
25270         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25271         (_pthread_cleanup_push_defer): Likewise.
25272         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25273         (_pthread_cleanup_pop_restore): Likewise.
25274         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25275         (pthread_setcancelstate): Likewise.
25276         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
25277         <bp-sym.h>.
25278         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
25279         (memchr): Do not use BP_SYM in weak_alias.
25280         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
25281         (fegetenv): Do not use BP_SYM in versioned symbols.
25282         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
25283         (fesetenv): Do not use BP_SYM in versioned symbols.
25284         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25285         (feupdateenv): Do not use BP_SYM in versioned symbols.
25286         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25287         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25288         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
25289         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
25290         (open64): Do not use BP_SYM in weak_alias.
25291         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
25292         (fegetenv): Do not use BP_SYM in versioned symbols.
25293         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
25294         (fesetenv): Do not use BP_SYM in versioned symbols.
25295         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25296         (feupdateenv): Do not use BP_SYM in versioned symbols.
25297         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
25298         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
25299         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
25300         (feraiseexcept): Do not use BP_SYM in versioned symbols.
25301         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25302         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25303         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
25304         <bp-sym.h>.
25305         (__libc_start_main): Do not use BP_SYM.
25306
25307 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25308
25309         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
25310         redundant return line.
25311         (norm): Likewise.
25312         (denorm): Likewise.
25313         (dbl_mp): Likewise.
25314         (sub_magnitudes): Likewise.
25315         (__add): Likewise.
25316         (__sub): Likewise.
25317         (__mul): Likewise.
25318         (__inv): Likewise.
25319         (__dvd): Likewise.
25320         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
25321         (norm): Likewise.
25322         (denorm): Likewise.
25323         (dbl_mp): Likewise.
25324         (sub_magnitudes): Likewise.
25325         (__add): Likewise.
25326         (__sub): Likewise.
25327         (__mul): Likewise.
25328         (__inv): Likewise.
25329         (__dvd): Likewise.
25330
25331         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
25332         instead of __mul.
25333         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25334         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
25335         (cc32): Likewise.
25336
25337         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
25338         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
25339         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
25340         of __mul for squares.
25341         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
25342         function
25343         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
25344         Likewise.
25345         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
25346         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25347
25348 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
25349
25350         [BZ #13550]
25351         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
25352         code.
25353         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
25354         prototype or function definition.  Rename ubp_* variables and
25355         parameters.  Remove argv definitions conditional on
25356         [__BOUNDED_POINTERS__].
25357         * debug/backtrace.c (__backtrace): Do not use __unbounded.
25358         * elf/dl-runtime.c (_dl_fixup): Likewise.
25359         * include/set-hooks.h (RUN_HOOK): Likewise.
25360         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
25361         definition.
25362         * string/strcpy.c (strcpy): Do not use __unbounded.
25363         * sysdeps/generic/frame.h (struct layout): Likewise.
25364         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
25365         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
25366         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
25367         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
25368         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
25369         (__backtrace): Likewise.
25370         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
25371         use __ptrvalue.
25372         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
25373         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25374         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
25375         Likewise.
25376         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
25377         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
25378         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25379         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25380         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
25381         Do not use __unbounded.
25382         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
25383         Rename __unboundedrlimits parameter to rlimits in prototype.
25384         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
25385         Do not use __unbounded.
25386         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
25387         not use __ptrvalue.
25388         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25389         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
25390         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25391         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
25392         __ptrvalue or __unbounded.
25393         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
25394         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
25395         use __unbounded.
25396         (__new_msgctl): Do not use __ptrvalue.
25397         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
25398         __unbounded.
25399         (__libc_msgrcv): Do not use __ptrvalue.
25400         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
25401         startup_info): Do not use __unbounded.
25402         (__libc_start_main): Likewise.  Rename ubp_* variables and
25403         parameters.  Remove argv definitions conditional on
25404         [__BOUNDED_POINTERS__].
25405         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
25406         __ptrvalue.
25407         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
25408         use __unbounded.
25409         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
25410         or __ptrvalue.
25411         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
25412         use __unbounded.
25413         (__new_shmctl): Do not use __ptrvalue.
25414         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
25415         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
25416         Likewise.
25417         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
25418         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
25419         (__libc_sigaction): Likewise.
25420         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
25421         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
25422         Likewise.
25423         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25424
25425 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
25426
25427         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
25428
25429         * string/mempcpy.c: Implement by calling memcpy.
25430
25431 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25432
25433         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
25434
25435         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
25436         evaluation.
25437
25438         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
25439         values in the mantissa.
25440
25441         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
25442         minimize writes to Z.
25443         (sub_magnitudes): Simplify code a bit.
25444
25445 2013-02-12  Roland McGrath  <roland@hack.frob.com>
25446
25447         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
25448         from the message.  The linker prefixes all warnings with that already.
25449
25450 2013-02-12  Andreas Schwab  <schwab@suse.de>
25451
25452         [BZ #15078]
25453         * posix/regexec.c (extend_buffers): Add parameter min_len.
25454         (check_matching): Pass minimum needed length.
25455         (clean_state_log_if_needed): Likewise.
25456         (get_subexp): Likewise.
25457         * posix/Makefile (tests): Add bug-regex34.
25458         (bug-regex34-ENV): Define.
25459         * posix/bug-regex34.c: New file.
25460
25461         [BZ #11561]
25462         * posix/regcomp.c (parse_bracket_exp): When looking up collating
25463         elements compare against the byte sequence of it, not its name.
25464         * posix/Makefile (tests): Add bug-regex35.
25465         (bug-regex35-ENV): Define.
25466         * posix/bug-regex35.c: New file.
25467
25468 2013-02-11  Tom de Vries  <tom@codesourcery.com>
25469
25470         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
25471         comment.
25472         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
25473         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
25474         (CHECK_EOL): Add undef.
25475
25476 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
25477
25478         * bits/stdlib-bsearch.h: New file.
25479         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
25480         * stdlib/stdlib.h: Likewise.
25481
25482 2013-02-11  Roland McGrath  <roland@hack.frob.com>
25483
25484         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
25485         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
25486         declaration.
25487         * manual/search.texi (Array Search Function): Add missing const in
25488         lfind prototype.
25489         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
25490         declaration to use rlim_t.
25491         (Basic Scheduling Functions): Remove erroneous const from
25492         sched_getparam prototype.  Remove erroneous * from
25493         sched_get_priority_max and sched_get_priority_min prototypes.
25494         (Resource Usage): Fix summary @comment on vtimes to refer to
25495         sys/vtimes.h rather than vtimes.h.
25496         Add missing *s in vtimes prototype.
25497         (Limits on Resources): Fix ulimit prototype to return long int.
25498         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
25499         prototypes to use long int rather than double.
25500         (BSD Random): Fix initstate and setstate to use char *, not void *.
25501         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
25502         prototype to make second argument 'struct aiocb64 *const[]'.
25503         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
25504         (Status of AIO Operations): Remove erroneous const in aio_return and
25505         aio_return64 prototypes.
25506         (Synchronizing I/O): Fix sync prototype to return void.
25507         * manual/startup.texi (Suboptions): Remove an erroneous const in
25508         getsubopt prototype.
25509         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
25510         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
25511         use size_t rather than int.
25512         (Scanning All Users): Likewise for getpwent_r.
25513         (Setting Groups): Add missing const to setgroups prototype.
25514         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
25515         * manual/socket.texi (Host Names): Fix gethostbyaddr and
25516         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
25517         'const void *' rather than 'const char *'.
25518         (Host Address Functions): Likewise for inet_ntop.
25519         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
25520         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
25521         ssize_t for return value.
25522         (Sending Data): Likewise for send, sendto, sendmsg.
25523         (Socket Option Functions): Add a missing const in setsockopt prototype.
25524         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
25525         use wchar_t for the argument.
25526         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
25527         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
25528         take no arguments.
25529         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
25530         double/float/long double for second argument.
25531         Fix return types of significand, significandf, significandl.
25532         * manual/filesys.texi (Setting Permissions): Use mode_t for second
25533         argument in fchmod prototype.
25534         (File Owner): Use uid_t and gid_t in fchown prototype.
25535         (File Times): Add const to utimes, futimes, and lutimes prototypes.
25536         (Making Special Files): Use mode_t and dev_t in mknod prototype.
25537         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
25538         use 'const struct dirent **' as argument types to CMP function pointer
25539         argument.
25540         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
25541         (File Times): Fix summary magic @comment for struct utimbuf and utime
25542         to refer to utime.h, not time.h.
25543         * manual/string.texi (Argz Functions): Add missing const in
25544         argz_extract and argz_next prototypes.
25545         (Finding Tokens in a String): Likewise for basename.
25546         (String/Array Comparison): Fix typo in wcscasecmp prototype.
25547         (Copying and Concatenation): Fix typo in wmemmove prototype.
25548         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
25549         (Signal Stack): Remove erroneous const in sigstack prototype.
25550         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
25551         prototype.
25552         (Simple Calendar Time): Likewise for stime.
25553         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
25554         prototype.
25555         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
25556         say sys/sysctl.h instead.
25557         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
25558         and vsyslog prototypes.
25559
25560 2013-02-11  Tom de Vries  <tom@codesourcery.com>
25561
25562         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
25563         Remove.
25564
25565 2013-02-11  Roland McGrath  <roland@hack.frob.com>
25566
25567         * misc/sys/mman.h: Fix typo in mremap comment.
25568
25569 2013-02-08  Roland McGrath  <roland@hack.frob.com>
25570
25571         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
25572         the '\0' terminator.
25573
25574 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
25575
25576         [BZ #13550]
25577         * debug/segfault.c: Don't include <bp-checks.h>.
25578         * sysdeps/generic/bp-checks.h: Remove file.
25579         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
25580         (__GETDENTS): Don't use CHECK_N.
25581         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
25582         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25583         (__getgroups): Don't use CHECK_N.
25584         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
25585         (setgroups): Don't use CHECK_N.
25586         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
25587         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
25588         (__libc_msgrcv): Don't use CHECK_N.
25589         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
25590         (__libc_msgsnd): Don't use CHECK_N.
25591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
25592         <bp-checks.h>.
25593         (__libc_pread): Don't use CHECK_N.
25594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
25595         include <bp-checks.h>.
25596         (__libc_pread64): Don't use CHECK_N.
25597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
25598         include <bp-checks.h>.
25599         (__libc_pwrite): Don't use CHECK_N.
25600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
25601         include <bp-checks.h>.
25602         (__libc_pwrite64): Don't use CHECK_N.
25603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
25604         <bp-checks.h>.
25605         (__libc_pread): Don't use CHECK_N.
25606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
25607         include <bp-checks.h>.
25608         (__libc_pread64): Don't use CHECK_N.
25609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
25610         include <bp-checks.h>.
25611         (__libc_pwrite): Don't use CHECK_N.
25612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
25613         include <bp-checks.h>.
25614         (__libc_pwrite64): Don't use CHECK_N.
25615         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
25616         (do_pread): Don't use CHECK_N.
25617         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
25618         (do_pread64): Don't use CHECK_N.
25619         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
25620         (do_pwrite): Don't use CHECK_N.
25621         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
25622         (do_pwrite64): Don't use CHECK_N.
25623         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
25624         (__libc_readv): Don't use CHECK_N.
25625         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
25626         (semop): Don't use CHECK_N.
25627         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
25628         <bp-checks.h>.
25629         (semtimedop): Don't use CHECK_N.
25630         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
25631         (__libc_pread): Don't use CHECK_N.
25632         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
25633         <bp-checks.h>.
25634         (__libc_pread64): Don't use CHECK_N.
25635         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
25636         <bp-checks.h>.
25637         (__libc_pwrite): Don't use CHECK_N.
25638         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
25639         <bp-checks.h>.
25640         (__libc_pwrite64): Don't use CHECK_N.
25641         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
25642         <bp-checks.h>.
25643         (__libc_msgrcv): Don't use CHECK_N.
25644         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
25645         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
25646         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
25647         (__libc_writev): Don't use CHECK_N.
25648
25649 2013-02-08  Roland McGrath  <roland@hack.frob.com>
25650
25651         * string/strcpy.c: Removed unused variable.
25652
25653         * Makeconfig (+sysdep-includes): Define with := rather than =.
25654         Use an existing include/ subdir of each sysdeps dir before it.
25655
25656 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25657
25658         * nscd/connection.c (register_traced_file): Comment function.
25659         [HAVE_INOTIFY] (union __inev): Define.
25660         [HAVE_INOTIFY] (inotify_check_files): New function.
25661         [HAVE_INOTIFY] (clear_db_cache): Likewise.
25662         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
25663         clear_db_cache.
25664         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
25665
25666 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25667
25668         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
25669         loaded if not already and that a failure is permanent.
25670
25671 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25672
25673         [BZ #15006]
25674         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
25675         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
25676
25677 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
25678
25679         [BZ #13550]
25680         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
25681         (CHECK_1_NULL_OK): Likewise.
25682         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
25683         (__fxstat): Do not use CHECK_1.
25684         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
25685         <bp-checks.h>.
25686         (___fxstat64): Do not use CHECK_1.
25687         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25688         <bp-checks.h>.
25689         (__fxstatat): Do not use CHECK_1.
25690         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25691         <bp-checks.h>.
25692         (__fxstatat64): Do not use CHECK_1.
25693         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
25694         <bp-checks.h>.
25695         (__fxstat): Do not use CHECK_1.
25696         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25697         <bp-checks.h>.
25698         (__fxstatat): Do not use CHECK_1.
25699         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
25700         <bp-checks.h>.
25701         (__getresgid): Do not use CHECK_1.
25702         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
25703         <bp-checks.h>.
25704         (__getresuid): Do not use CHECK_1.
25705         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
25706         <bp-checks.h>.
25707         (__lxstat): Do not use CHECK_1.
25708         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
25709         <bp-checks.h>.
25710         (__old_msgctl): Do not use CHECK_1.
25711         (__new_msgctl): Likewise.
25712         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
25713         <bp-checks.h>.
25714         (__new_setrlimit): Do not use CHECK_1.
25715         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
25716         <bp-checks.h>.
25717         (__old_shmctl): Do not use CHECK_1.
25718         (__new_shmctl): Likewise.
25719         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
25720         <bp-checks.h>.
25721         (__xstat): Do not use CHECK_1.
25722         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
25723         (__lxstat): Do not use CHECK_1.
25724         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
25725         <bp-checks.h>.
25726         (___lxstat64): Do not use CHECK_1.
25727         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
25728         (__old_msgctl): Do not use CHECK_1.
25729         (__new_msgctl): Likewise.
25730         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
25731         <bp-checks.h>.
25732         (__gettimeofday): Do not use CHECK_1.
25733         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
25734         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
25735         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
25736         <bp-checks.h>.
25737         (__gettimeofday): Do not use CHECK_1.
25738         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
25739         (__old_shmctl): Do not use CHECK_1_NULL_OK.
25740         (__new_shmctl): Do not use CHECK_1.
25741         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
25742         <bp-checks.h>.
25743         (do_sigtimedwait): Do not use CHECK_1.
25744         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
25745         <bp-checks.h>.
25746         (do_sigwaitinfo): Do not use CHECK_1.
25747         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
25748         <bp-checks.h>.
25749         (msgctl): Do not use CHECK_1.
25750         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
25751         <bp-checks.h>.
25752         (shmctl): Do not use CHECK_1.
25753         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
25754         (ustat): Do not use CHECK_1.
25755         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
25756         <bp-checks.h>.
25757         (__fxstat): Do not use CHECK_1.
25758         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25759         <bp-checks.h>.
25760         (__fxstatat): Do not use CHECK_1.
25761         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
25762         <bp-checks.h>.
25763         (__lxstat): Do not use CHECK_1.
25764         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
25765         <bp-checks.h>.
25766         (__xstat): Do not use CHECK_1.
25767         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
25768         (__xstat): Do not use CHECK_1.
25769         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
25770         (___xstat64): Do not use CHECK_1.
25771
25772         [BZ #13550]
25773         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
25774         definitions.
25775         (CHECK_BOUNDS_HIGH): Likewise.
25776         * string/strcpy.c: Do not include <bp-checks.h>.
25777         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
25778
25779 2013-02-07  Roland McGrath  <roland@hack.frob.com>
25780
25781         * nscd/nscd-client.h (__nscd_drop_map_ref):
25782         Add __attribute__ ((unused)).
25783         * nis/nss-nisplus.h (niserr2nss): Likewise.
25784
25785         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
25786         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
25787
25788         * csu/libc-tls.c (init_static_tls, init_slotinfo):
25789         Remove inline keyword.
25790         * include/rounding-mode.h (round_away): Likewise.
25791         * libio/wfileops.c (adjust_wide_data): Likewise.
25792         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
25793         (__m128i_strloadu_tolower): Likewise.
25794         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
25795         (__m128i_strloadu_tolower): Likewise.
25796         * time/mktime.c (ydhms_diff): Likewise.
25797         * locale/elem-hash.h (elem_hash): Likewise.
25798         * locale/setlocale.c (setdata): Likewise.
25799         * posix/regex_internal.h (re_string_char_size_at): Likewise.
25800         (re_string_wchar_at): Likewise.
25801         (bitset_not, bitset_merge, bitset_mask): Likewise.
25802         [!(__GNUC__ > 3)] (inline): Remove macro.
25803         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
25804         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
25805         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25806         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25807         * string/memcmp.c (memcmp_bytes): Likewise.
25808         * locale/programs/locarchive.c (compute_hashval): Likewise.
25809         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
25810         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
25811         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
25812         * nss/getent.c (print_rpc, print_protocols): Likewise.
25813         (print_passwd, print_group, print_aliases): Likewise.
25814         * nis/nss-nisplus.h (niserr2nss): Likewise.
25815         * nscd/connections.c (restart_p): Likewise.
25816         Change return type to bool.
25817
25818 2013-02-05  Roland McGrath  <roland@hack.frob.com>
25819
25820         * Makeconfig (all-Depend-files): Add existing
25821         $(sorted-subdirs:=/Depend) files.
25822         (all-subdirs): Remove nss.
25823         * sysdeps/unix/inet/Subdirs: Add it here instead.
25824         * hesiod/Depend: New file.
25825
25826         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25827         instead of calling alloca.
25828
25829         * io/lseek.c (__lseek): Rename to __libc_lseek.
25830         Define __lseek as an alias.
25831
25832         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25833
25834 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
25835
25836         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25837         else clause and remove check for non-standard endianness.
25838
25839 2013-02-04  David S. Miller  <davem@davemloft.net>
25840
25841         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25842
25843 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
25844
25845         [BZ #13550]
25846         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25847         (__ubp_memchr): Remove prototype.
25848         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25849         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25850         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25851         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25852         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25853         Remove alias.
25854         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25855         (__ubp_memchr): Likewise.
25856         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25857         (__ubp_memchr): Likewise.
25858         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25859         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25860         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25861         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25862         CHECK_STRING.
25863         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25864         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25865         (__getcwd): Do not use CHECK_STRING.
25866         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25867         <bp-checks.h>.
25868         (__real_chown): Do not use CHECK_STRING.
25869         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25870         <bp-checks.h>.
25871         (fchownat): Do not use CHECK_STRING.
25872         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25873         CHECK_STRING.
25874         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25875         <bp-checks.h>.
25876         (__lchown): Do not use CHECK_STRING.
25877         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25878         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25879         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25880         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25882         include <bp-checks.h>.
25883         (truncate64): Do not use CHECK_STRING.
25884         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25885         <bp-checks.h>.
25886         (__real_chown): Do not use CHECK_STRING.
25887         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25888         <bp-checks.h>.
25889         (__lchown): Do not use CHECK_STRING.
25890         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25891         <bp-checks.h>.
25892         (__chown): Do not use CHECK_STRING.
25893         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
25894         <bp-checks.h>.
25895         (truncate64): Do not use CHECK_STRING.
25896         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
25897         Likewise.
25898         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25899         (__xmknod): Do not use CHECK_STRING.
25900         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25901         <bp-checks.h>.
25902         (__xmknodat): Do not use CHECK_STRING.
25903         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25904         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25905
25906 2013-02-04  Andreas Schwab  <schwab@suse.de>
25907
25908         [BZ #14142]
25909         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25910         * include/netdb.h: Likewise for h_errno.
25911         * elf/tst-stackguard1.c: Include <tls.h>.
25912
25913 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
25914
25915         * elf/link.h (struct link_map): Extend the l_addr comment.
25916         * include/link.h (struct link_map): Likewise.
25917
25918 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
25919
25920         [BZ #13550]
25921         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25922         (BOUNDED_1): Remove macro.
25923         * debug/backtrace.c: Don't include <bp-checks.h>.
25924         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25925         (__backtrace): Likewise.
25926         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25927         <bp-checks.h>.
25928         (__backtrace): Don't use BOUNDED_1.
25929         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25930         <bp-checks.h>.
25931         (__backtrace): Don't use BOUNDED_1.
25932         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25933         (__backtrace): Don't use BOUNDED_1.
25934         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25935         (shmat): Don't use BOUNDED_N.
25936
25937 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
25938
25939         [BZ #13550]
25940         * sysdeps/generic/bp-start.h: Remove file.
25941         * csu/libc-start.c: Don't include <bp-start.h>.
25942         (LIBC_START_MAIN): Set up __environ directly instead of using
25943         INIT_ARGV_and_ENVIRON.
25944         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25945         <bp-start.h>.
25946
25947         [BZ #13550]
25948         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25949         definitions.
25950         (CHECK_FCNTL): Likewise.
25951         (CHECK_N_PAGES): Likewise.
25952
25953         [BZ #13550]
25954         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25955         definitions.
25956         (CHECK_SIGSET_NULL_OK): Likewise.
25957         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25958         <bp-checks.h>.
25959         (sigpending): Don't use CHECK_SIGSET.
25960         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25961         <bp-checks.h>.
25962         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25963         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25964         <bp-checks.h>.
25965         (do_sigsuspend): Don't use CHECK_SIGSET.
25966         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25967         use CHECK_SIGSET.
25968         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25969         (do_sigwait): Don't use CHECK_SIGSET.
25970         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25971         use CHECK_SIGSET.
25972         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25973         include <bp-checks.h>.
25974         (sigpending): Don't use CHECK_SIGSET.
25975         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25976         include <bp-checks.h>.
25977         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25978         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25979         <bp-checks.h>.
25980         (sigpending): Don't use CHECK_SIGSET.
25981         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25982         <bp-checks.h>.
25983         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25984
25985         [BZ #13550]
25986         * sysdeps/generic/bp-semctl.h: Remove file.
25987         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25988         <bp-checks.h> and <bp-semctl.h>.
25989         (__old_semctl): Don't use CHECK_SEMCTL.
25990         (__new_semctl): Likewise.
25991         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25992         and <bp-semctl.h>.
25993         (__old_semctl): Don't use CHECK_SEMCTL.
25994         (__new_semctl): Likewise.
25995         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25996         <bp-checks.h> and <bp-semctl.h>.
25997         (__old_semctl): Don't use CHECK_SEMCTL.
25998         (__new_semctl): Likewise.
25999         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
26000         <bp-checks.h> and <bp-semctl.h>.
26001         (semctl): Don't use CHECK_SEMCTL.
26002
26003         [BZ #13550]
26004         * Makerules (elide-bp-thunks): Remove variable.
26005         (elide-routines.oS): Don't use $(elide-bp-thunks).
26006         (elide-routines.os): Likewise.
26007         (elide-routines.o): Likewise.
26008         (elide-routines.op): Likewise.
26009         (elide-routines.og): Likewise.
26010         (objects): Don't use $(bp-thunks).
26011         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
26012         include.
26013         (common-generated): Do not add s-proto-bp.d.
26014         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
26015         (int): Likewise.
26016         (typ): Likewise.
26017         Do not generate makefile rules for bounded-pointer thunks.
26018         * sysdeps/generic/bp-thunks.h: Remove file.
26019         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
26020         * sysdeps/unix/s-proto-bp.S: Likewise.
26021
26022         [BZ #15062]
26023         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
26024         parts of result separately when argument is not close to line from
26025         -i to i and one part of argument is small.
26026         * math/k_casinhf.c (__kernel_casinhf): Likewise.
26027         * math/k_casinhl.c (__kernel_casinhl): Likewise.
26028         * math/libm-test.inc (cacos_test): Add more tests.
26029         (casin_test): Likewise.
26030         (casinh_test): Likewise.
26031         * sysdeps/i386/fpu/libm-test-ulps: Update.
26032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26033
26034 2013-01-31  David S. Miller  <davem@davemloft.net>
26035
26036         * po/de.po: Update from translation team.
26037
26038 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
26039
26040         * time/tzfile.c: Include stdint.h for SIZE_MAX.
26041
26042 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
26043
26044         * configure.in (_AC_PROG_CC_C89): New definition.
26045         * configure: Regenerate.
26046
26047         * configure.in (AC_PROG_CPP): New definition.
26048         * configure: Regenerate.
26049
26050 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
26051
26052         * debug/tst-backtrace.h: New file.
26053         * debug/tst-backtrace2.c: Include tst-backtrace.h.
26054         (ret): Remove variable.
26055         (x): Likewise.
26056         (FAIL): Remove macro.
26057         (NO_INLINE): Likewise.
26058         (fn1): Use match function instead of strstr.
26059         * debug/tst-backtrace3.c: Include tst-backtrace.h.
26060         (ret): Remove variable.
26061         (x): Likewise.
26062         (FAIL): Remove macro.
26063         (NO_INLINE): Likewise.
26064         (fn): Use match function instead of strstr.
26065         * debug/tst-backtrace4.c: Include tst-backtrace.h.
26066         (ret): Remove variable.
26067         (x): Likewise.
26068         (FAIL): Remove macro.
26069         (NO_INLINE): Likewise.
26070         (handle_signal): Use match function instead of strstr.
26071         * debug/tst-backtrace5.c: Include tst-backtrace.h.
26072         (ret): Remove variable.
26073         (x): Likewise.
26074         (FAIL): Remove macro.
26075         (NO_INLINE): Likewise.
26076         (handle_signal): Use match function instead of strstr.
26077
26078 2013-01-23  Roland McGrath  <roland@hack.frob.com>
26079
26080         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
26081
26082 2013-01-23  David S. Miller  <davem@davemloft.net>
26083
26084         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
26085         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
26086         argument of CAS if possible.
26087         * sysdeps/sparc/sparc64/bits/atomic.h
26088         (__arch_compare_and_exchange_val_32_acq): Likewise.
26089         (__arch_compare_and_exchange_val_64_acq): Likewise.
26090
26091 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
26092
26093         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
26094         * sysdeps/posix/ulimit.c: ... this.
26095         Include <limits.h>.
26096         * sysdeps/unix/bsd/ulimit.c: Remove file.
26097
26098 2013-01-23  Adam Conrad  <adconrad@0c3.net>
26099
26100         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
26101         (LDFLAGS-tst-array5): Likewise.
26102
26103 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
26104
26105         [BZ #15036]
26106         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
26107         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
26108         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
26109         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
26110
26111 2013-01-21  David S. Miller  <davem@davemloft.net>
26112
26113         * sysdeps/sparc/backtrace.c: New file.
26114         * sysdeps/sparc/sparc32/backtrace.h: New file.
26115         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
26116         * sysdeps/sparc/sparc64/backtrace.h: New file.
26117         * sysdeps/sparc/sparc64/backtrace.c: Delete.
26118         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
26119         -funwind-tables.
26120
26121 2013-01-21  Andreas Schwab  <schwab@suse.de>
26122
26123         [BZ #15020]
26124         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
26125         closed its stdout.
26126
26127 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
26128
26129         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
26130         "mpa2.h".
26131         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26132
26133 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
26134             Mark Mitchell  <mark@codesourcery.com>
26135             Tom de Vries  <tom@codesourcery.com>
26136             Paul Pluzhnikov  <ppluzhnikov@google.com>
26137
26138         * debug/tst-backtrace2.c: New file.
26139         * debug/tst-backtrace3.c: Likewise.
26140         * debug/tst-backtrace4.c: Likewise.
26141         * debug/tst-backtrace5.c: Likewise.
26142         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
26143         (CFLAGS-tst-backtrace3.c): Likewise.
26144         (CFLAGS-tst-backtrace4.c): Likewise.
26145         (CFLAGS-tst-backtrace5.c): Likewise.
26146         (LDFLAGS-tst-backtrace2): Likewise.
26147         (LDFLAGS-tst-backtrace3): Likewise.
26148         (LDFLAGS-tst-backtrace4): Likewise.
26149         (LDFLAGS-tst-backtrace5): Likewise.
26150         (tests): Add new tests tst-backtrace2, tst-backtrace3,
26151         tst-backtrace4 and tst-backtrace5.
26152
26153 2013-01-18  Anton Blanchard  <anton@samba.org>
26154             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26155
26156         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
26157         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
26158         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
26159         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
26160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26161         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
26162         "+r" and remove output regs list as redundant.  Add explicit inline
26163         asm to specify register of return val to work around compiler codegen
26164         bug.  Remove (int) cast on return value.  Add return type parameter to
26165         use in macro so that this macro does not truncate return value for
26166         64-bit values.
26167         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
26168         pass to INTERNAL_VSYSCALL_NCS.
26169         (INLINE_VSYSCALL): Add 'long int' as return type to
26170         INTERNAL_VSYSCALL_NCS macro invocation.
26171         (INTERNAL_VSYSCALL): Add 'long int' as return type to
26172         INTERNAL_VSYSCALL_NCS macro invocation.
26173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26174
26175 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26176
26177         [BZ #14496]
26178         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
26179         Fix application of SIMD FP exception mask.
26180
26181         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
26182         mp_no from a power of two.
26183         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
26184         __mpexp_twomm1.  Use __pow_mp.
26185
26186         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
26187         multiplication.
26188
26189 2013-01-17  David S. Miller  <davem@davemloft.net>
26190
26191         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26192
26193 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
26194
26195         [BZ #15023]
26196         * include/complex.h: Condition contents on [!_COMPLEX_H].
26197         (__kernel_casinhf): New prototype.
26198         (__kernel_casinh): Likewise.
26199         (__kernel_casinhl): Likewise.
26200         * math/Makefile (libm_calls): Add k_casinh.
26201         * math/k_casinh.c: New file.
26202         * math/k_casinhf.c: Likewise.
26203         * math/k_casinhl.c: Likewise.
26204         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
26205         finite nonzero arguments.
26206         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
26207         finite nonzero arguments.
26208         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
26209         finite nonzero arguments.
26210         * math/s_casinh.c: Do not include <float.h>.
26211         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
26212         * math/s_casinhf.c: Do not include <float.h>.
26213         (__casinhf): Move code for finite nonzero arguments to
26214         k_casinhf.c.
26215         * math/s_casinhl.c: Do not include <float.h>.
26216         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
26217         redefine.
26218         (__casinhl): Move code for finite nonzero arguments to
26219         k_casinhl.c.
26220         * math/libm-test.inc (cacos_test): Add more tests.
26221         * sysdeps/i386/fpu/libm-test-ulps: Update.
26222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26223
26224 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
26225
26226         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
26227         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
26228         [!HAVE_MREMAP]: Remove [defined linux] case.
26229         * malloc/arena.c: Do not include <malloc-sysdep.h>.
26230
26231 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26232
26233         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
26234
26235 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
26236
26237         * elf/elf.h (R_386_SIZE32): New relocation.
26238         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
26239         R_386_SIZE32.
26240         (elf_machine_rela): Likewise.
26241         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26242         R_X86_64_SIZE64 and R_X86_64_SIZE32.
26243
26244 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
26245
26246         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
26247         (FP_FAST_FMA): Do not define.
26248         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
26249         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
26250         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
26251         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
26252         !_SOFT_FLOAT]: Likewise.
26253         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
26254         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
26255         value.
26256         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
26257         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
26258         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
26259         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
26260         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
26261         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
26262         file.
26263
26264 2013-01-16  Andreas Schwab  <schwab@suse.de>
26265
26266         [BZ #14327]
26267         * include/stdlib.h (__mktemp): Add declaration.
26268         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
26269         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
26270
26271 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26272
26273         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
26274         definitions.
26275         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26276         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
26277         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
26278         definitions here.
26279         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
26280         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
26281         definitions.
26282         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
26283         and ONE.
26284         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
26285         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
26286         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
26287         definitions.
26288         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
26289         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
26290         definitions.
26291         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26292
26293         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
26294
26295 2013-01-15  David S. Miller  <davem@davemloft.net>
26296
26297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26298         trunc{,f} to libm-sysdep_routes.
26299         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
26301         file.
26302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
26303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
26304         file.
26305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
26306         file.
26307         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
26308         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
26309         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
26310         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
26311         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
26312         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
26313         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
26314         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
26315
26316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26317         nearbyint{,f} to libm-sysdep_routes.
26318         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
26320         New file.
26321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
26322         file.
26323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
26324         New file.
26325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
26326         file.
26327         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
26328         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
26329         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
26330         file.
26331         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
26332         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
26333         file.
26334         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
26335         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
26336         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
26337
26338         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26339         libc_feholdexcept and libc_fesetenv.
26340
26341 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
26342
26343         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
26344
26345 2013-01-14  David S. Miller  <davem@davemloft.net>
26346
26347         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
26348         (SPARC_ASM_VIS2_IFUNC): Likewise.
26349         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
26350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
26351         use of 'siam' instruction.
26352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
26353         Likewise.
26354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
26355         Likewise.
26356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
26357         Likewise.
26358         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
26359         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
26360         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
26361         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
26362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
26363         file.
26364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
26365         file.
26366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
26367         file.
26368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
26369         file.
26370         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
26371         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
26372         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
26373         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
26374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
26375         new VIS2 routines.
26376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
26377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26379         Likewise.
26380         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26381         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26382         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26383         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
26385         routines to libm-sysdep_routines.
26386         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26387
26388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26389         fdim/fdimf to libm-sysdep_routines.
26390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
26391         file.
26392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
26393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
26394         file.
26395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
26396         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
26397         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
26398         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
26399         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
26400         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
26401         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
26402
26403 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26404
26405         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
26406         to optimize copies.
26407
26408         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
26409         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26410         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26411
26412         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
26413         local variable MPTWO.
26414         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26415         Likewise.
26416
26417 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26418
26419         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
26420         GLOB_NOESCAPE.
26421
26422 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26423
26424         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
26425
26426 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26427
26428         * manual/pattern.texi (glob_t): Document gl_flags.
26429         (glob64_t): Likewise.
26430
26431 2013-01-11  David S. Miller  <davem@davemloft.net>
26432
26433         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
26434         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
26435         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
26436         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
26437         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
26438         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
26439         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
26440         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
26441         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
26442         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
26443         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
26444         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
26445         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
26446
26447         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26448         sparc V9 rather than using V8 code.
26449         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26450         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26451
26452         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26453         Move to...
26454         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
26455         Here.
26456
26457 2013-01-11  Roland McGrath  <roland@hack.frob.com>
26458
26459         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
26460         not in the main loop.
26461         * configure: Regenerated.
26462
26463 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
26464
26465         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
26466         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
26467         to just #else.
26468         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
26469         [!__GLIBC_HAVE_LONG_LONG] case.
26470         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
26471         condition to just #else.
26472         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
26473         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
26474         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
26475         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
26476         unconditional.
26477         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
26478         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26479         #elif condition to just #else.
26480         * sysdeps/unix/sysv/linux/sys/sysmacros.h
26481         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
26482         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26483         #elif condition to just #else.
26484
26485 2013-01-11  Steve Ellcey  <sellcey@mips.com>
26486
26487         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
26488         (EF_MIPS_ARCH_64): Fix value.
26489         (EF_MIPS_ARCH_32R2): New.
26490         (EF_MIPS_ARCH_64R2): New.
26491
26492 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
26493
26494         * Makeconfig (+link-pie-before-libc): New.
26495         (+link-pie-after-libc): Likewise.
26496         (+link-pie-tests): Likewise.
26497         (+link-pie): Rewritten.
26498         (link-before-libc): Remove $(config-LDFLAGS).
26499         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
26500         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
26501         (config-LDFLAGS): Renamed to ...
26502         (rtld-LDFLAGS): This.
26503         (rtld-tests-LDFLAGS): New macro.
26504         (link-libc-rpath-link): Likewise.
26505         (link-libc-tests-rpath-link): Likewise.
26506         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
26507         (link-libc): Prepand $(link-libc-rpath-link).
26508         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
26509         (test-program-prefix): New macro.
26510         (test-via-rtld-prefix): Likewise.
26511         (test-program-cmd): Likewise.
26512         (host-test-program-cmd): Likewise.
26513         * Makefile ($(common-objpfx)testrun.sh): Replace
26514         $(run-program-prefix) with $(test-program-prefix).
26515         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
26516         $(rtld-LDFLAGS).
26517         ($(common-objpfx)shlib.lds): Likewise.
26518         (build-module-helper): Likewise.
26519         ($(common-objpfx)format.lds): Likewise.
26520         * Rules (binaries-pie-tests): New.
26521         (binaries-pie-notests): Likewise.
26522         (binaries-pie): Rewritten.
26523         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
26524         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
26525         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
26526         (make-test-out): Replace $(host-built-program-cmd) with
26527         $(host-test-program-cmd).
26528         * config.make.in (build-hardcoded-path-in-tests): New variable.
26529         * configure.in (--enable-hardcoded-path-in-tests): New configure
26530         option.
26531         (hardcoded_path_in_tests): New AC_SUBST.
26532         * configure: Regenerated.
26533         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
26534         $(built-program-cmd) with $(test-program-cmd).
26535         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
26536         (test_program_cmd): This.
26537         * elf/Makefile ($(objpfx)order.out): Run test with
26538         $(test-program-prefix).
26539         ($(objpfx)order2.out): Likewise.
26540         ($(objpfx)tst-initorder.out): Likewise.
26541         ($(objpfx)tst-initorder2.out): Likewise.
26542         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
26543         $(test-program-cmd).
26544         ($(objpfx)tst-array1-static.out): Likewise.
26545         ($(objpfx)tst-array2.out): Likewise.
26546         ($(objpfx)tst-array3.out): Likewise.
26547         ($(objpfx)tst-array4.out): Likewise.
26548         ($(objpfx)tst-array5.out): Likewise.
26549         ($(objpfx)tst-array5-static.out): Likewise.
26550         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
26551         $(test-program-cmd).
26552         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
26553         $(run-program-prefix) with $(test-program-prefix).
26554         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
26555         (test_program_prefix): This.
26556         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
26557         $(run-program-prefix) with $(test-program-prefix).
26558         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
26559         (test_program_prefix): This.
26560         * iconvdata/tst-tables.sh: Likewise.
26561         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
26562         $(run-program-prefix) with $(test-program-prefix).
26563         ($(objpfx)tst-translit.out): Likewise.
26564         ($(objpfx)tst-gettext2.out): Likewise.
26565         ($(objpfx)tst-gettext4.out): Likewise.
26566         ($(objpfx)tst-gettext6.out): Likewise.
26567         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
26568         (test_program_prefix): This.
26569         * intl/tst-gettext2.sh: Likewise.
26570         * intl/tst-gettext4.sh  Likewise.
26571         * intl/tst-gettext6.sh: Likewise.
26572         * intl/tst-translit.sh: Likewise.
26573         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
26574         with $(test-program-cmd).
26575         * libio/Makefile ($(objpfx)test-freopen.out): Replace
26576         $(run-program-prefix) with $(test-program-prefix).
26577         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
26578         (test_program_prefix): This.
26579         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
26580         $(run-program-prefix) with $(test-program-prefix).
26581         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
26582         (test_program_prefix): This.
26583         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
26584         * posix/Makefile ($(objpfx)globtest.out): Replace
26585         $(run-via-rtld-prefix) and $(test-wrapper) with
26586         $(test-program-prefix) and $(test-via-rtld-prefix).
26587         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
26588         $(test-program-prefix).
26589         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
26590         $(host-test-program-cmd).
26591         (tst-spawn-ARGS): Likewise.
26592         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
26593         $(test-program-prefix).
26594         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
26595         (test_via_rtld_prefix): This.
26596         (test_wrapper): Renamed to ...
26597         (test_program_prefix): This.
26598         (run_program_prefix): Replaced by test_program_prefix.
26599         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
26600         (test_program_prefix): This.
26601         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
26602         with $(host-test-program-cmd).
26603         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
26604         $(run-program-prefix) with $(test-program-prefix).
26605         ($(objpfx)tst-printf.out): Likewise.
26606         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
26607         $(test-program-cmd).
26608         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
26609         (test_program_prefix): This.
26610         * stdio-common/tst-unbputc.sh: Likewise.
26611         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
26612         $(run-program-prefix) with $(test-program-prefix).
26613         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
26614         (test_program_prefix): This.
26615         * string/Makefile ($(objpfx)tst-svc.out):  Replace
26616         $(built-program-cmd) with $(test-program-cmd).
26617
26618 2013-01-11  Andreas Jaeger  <aj@suse.de>
26619
26620         [BZ #15003]
26621         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
26622         value. Sync with Linux 3.7.
26623
26624 2013-01-10  David S. Miller  <davem@davemloft.net>
26625
26626         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
26627         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26628         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26629
26630 2013-01-10  Roland McGrath  <roland@hack.frob.com>
26631
26632         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
26633         never set.
26634         * configure: Regenerated.
26635
26636 2013-01-10  David S. Miller  <davem@davemloft.net>
26637
26638         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26639         sparc V9 rather than using V8 code.
26640         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26641         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26642
26643 2013-01-10  Roland McGrath  <roland@hack.frob.com>
26644
26645         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
26646         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
26647         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
26648         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
26649         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
26650         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
26651         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
26652         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
26653         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
26654         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
26655         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
26656         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
26657         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
26658         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
26659         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
26660         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
26661         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
26662         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
26663         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
26664         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
26665         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
26666         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
26667         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
26668         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
26669         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
26670         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
26671         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
26672
26673 2013-01-10  David S. Miller  <davem@davemloft.net>
26674
26675         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26676
26677 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
26678
26679         * posix/Makefile (tests-static): New variable.
26680         (tests): Add $(tests-static).
26681         (tst-exec-static-ARGS): New variable.
26682         (tst-spawn-static-ARGS): Likewise.
26683         * posix/tst-exec-static.c: New file.
26684         * posix/tst-spawn-static.c: Likewise.
26685         * posix/tst-exec.c: Support run directly.
26686         * posix/tst-spawn.c: Likewise.
26687
26688 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
26689
26690         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
26691         long.
26692         * math/bits/mathcalls.h (llrint): Likewise.
26693         (llround): Likewise.
26694         * stdlib/stdlib.h (struct drand48_data): Likewise.
26695         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
26696         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
26697         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
26698         Likewise.
26699         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
26700         Likewise.
26701         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
26702         (elf_greg_t): Likewise.
26703         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
26704         (__jmp_buf): Likewise.
26705         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
26706         definitions.
26707         (llrint): Likewise, for all definitions.
26708         (llrintl): Likewise.
26709
26710         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
26711         Remove [__GNUC__] condition.
26712         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
26713         condition to just [__USE_ISOC99].
26714         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
26715
26716 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
26717
26718         [BZ #14200]
26719         * sysdeps/unix/sysv/linux/x86/bits/environments.h
26720         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
26721         defined.
26722         (_POSIX_V6_ILP32_OFF32): Likewise.
26723         (_XBS5_ILP32_OFF32): Likewise.
26724         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
26725         (__ILP32_OFFBIG_LDFLAGS): Likewise.
26726
26727 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26728
26729         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
26730
26731         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
26732         doubles __mpexp_twomm1.  Adjust usage.
26733         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
26734         Remove.
26735
26736 2013-01-10  Andreas Schwab  <schwab@suse.de>
26737
26738         [BZ #14964]
26739         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
26740         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
26741
26742 2013-01-09  David S. Miller  <davem@davemloft.net>
26743
26744         [BZ #15003]
26745         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
26746         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
26747         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
26748         (TCP_FASTOPEN): Define.
26749         (tcp_repair_opt): New structure.
26750         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
26751         enum values.
26752         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
26753         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
26754         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
26755         (tcp_cookie_transactions): New structure.
26756
26757 2013-01-09  Anton Blanchard  <anton@samba.org>
26758
26759         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
26760         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
26761         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
26762         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26763
26764 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
26765
26766         * include/features.h (__USE_ANSI): Remove.
26767
26768 2013-01-09  Roland McGrath  <roland@hack.frob.com>
26769
26770         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
26771
26772         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
26773
26774 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
26775
26776         * sysdeps/s390/fpu/libm-test-ulps: Update.
26777
26778         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26779
26780         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
26781         (__acr): Likewise.
26782         (__cpy): Likewise.
26783         (norm): Likewise.
26784         (denorm): Likewise.
26785         (__mp_dbl): Likewise.
26786         (__dbl_mp): Likewise.
26787         (add_magnitudes): Likewise.
26788         (sub_magnitudes): Likewise.
26789         (__add): Likewise.
26790         (__sub): Likewise.
26791         (__mul): Likewise.
26792         (__inv): Likewise.
26793         (__dvd): Likewise.
26794         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
26795         (__acr): Likewise.
26796         (__cpy): Likewise.
26797         (norm): Likewise.
26798         (denorm): Likewise.
26799         (__mp_dbl): Likewise.
26800         (__dbl_mp): Likewise.
26801         (add_magnitudes): Likewise.
26802         (sub_magnitudes): Likewise.
26803         (__add): Likewise.
26804         (__sub): Likewise.
26805         (__mul): Likewise.
26806         (__inv): Likewise.
26807         (__dvd): Likewise.
26808         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
26809         (__acr): Likewise.
26810         (__cpy): Likewise.
26811         (norm): Likewise.
26812         (denorm): Likewise.
26813         (__mp_dbl): Likewise.
26814         (__dbl_mp): Likewise.
26815         (add_magnitudes): Likewise.
26816         (sub_magnitudes): Likewise.
26817         (__add): Likewise.
26818         (__sub): Likewise.
26819         (__mul): Likewise.
26820         (__inv): Likewise.
26821         (__dvd): Likewise.
26822
26823 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
26824
26825         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26826         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26827         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26828         2 && __USE_EXTERN_INLINES]: Likewise.
26829
26830 2013-01-08  Andreas Jaeger  <aj@suse.de>
26831
26832         [BZ# 14985]
26833         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26834         Remove.
26835         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26836         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26837
26838 2013-01-07  Anton Blanchard  <anton@samba.org>
26839
26840         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26841         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26842         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26843         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26844         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26845         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26846         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26847         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26848         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26849         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26850         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26851         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26852         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26853         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26854         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26855         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26856         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26857         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26858         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26859         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26860         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26861         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26862         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26863         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26864         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26865         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26866         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26867         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26868         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26869         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26870         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26871         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26872         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26873         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26874         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26875         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26876         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26877         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26878         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26879         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26880         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26881         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26882         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26883
26884 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
26885
26886         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26887         (__MALLOC_PMT): Likewise.
26888         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26889         [__GNUC__], only on [_LIBC].
26890         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26891         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26892         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26893         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
26894         forward declaration.
26895         (realloc_hook_ini): Likewise.
26896         (memalign_hook_ini): Likewise.
26897         (__libc_memalign): Do not use __MALLOC_PMT in variable
26898         declaration.
26899         (__libc_valloc): Likewise.
26900         (__libc_pvalloc): Likewise.
26901         (__libc_calloc): Likewise.
26902         (__posix_memalign): Likewise.
26903
26904         [BZ #14996]
26905         * math/s_casinh.c: Include <float.h>.
26906         (__casinh): Do not do computation with squaring and square root
26907         for large arguments.
26908         * math/s_casinhf.c: Include <float.h>.
26909         (__casinhf): Do not do computation with squaring and square root
26910         for large arguments.
26911         * math/s_casinhl.c: Include <float.h>.
26912         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26913         (__casinhl): Do not do computation with squaring and square root
26914         for large arguments.
26915         * math/libm-test.inc (casin_test): Add more tests.
26916         (casinh_test): Likewise.
26917         * sysdeps/i386/fpu/libm-test-ulps: Update.
26918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26919
26920 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
26921
26922         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26923         (__x86_64_raw_data_cache_size): Likewise.
26924         (__x86_64_data_cache_size_half): Likewise.
26925         (__x86_64_raw_data_cache_size_half): Likewise.
26926         (__x86_64_shared_cache_size): Likewise.
26927         (__x86_64_raw_shared_cache_size): Likewise.
26928         (__x86_64_shared_cache_size_half): Likewise.
26929         (__x86_64_raw_shared_cache_size_half): Likewise.
26930         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26931         to ...
26932         (__x86_data_cache_size): This.
26933         (__x86_64_raw_data_cache_size): Renamed to ...
26934         (__x86_raw_data_cache_size): This.
26935         (__x86_64_data_cache_size_half): Renamed to ...
26936         (__x86_data_cache_size_half): This.
26937         (__x86_64_raw_data_cache_size_half): Renamed to ...
26938         (__x86_raw_data_cache_size_half): This.
26939         (__x86_64_shared_cache_size): Renamed to ...
26940         (__x86_shared_cache_size): This.
26941         (__x86_64_raw_shared_cache_size): Renamed to ...
26942         (__x86_raw_shared_cache_size): This.
26943         (__x86_64_shared_cache_size_half): Renamed to ...
26944         (__x86_shared_cache_size_half): This.
26945         (__x86_64_raw_shared_cache_size_half): Renamed to ...
26946         (__x86_raw_shared_cache_size_half): This.
26947         * sysdeps/x86_64/memcpy.S: Updated.
26948         * sysdeps/x86_64/memset.S: Likewise.
26949         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26950         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26951         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26952
26953 2013-01-04  David S. Miller  <davem@davemloft.net>
26954
26955         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26956
26957 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
26958
26959         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26960         1 to avoid redefinition warning.
26961         (__USE_GNU): Don't define.
26962         (init_signaling_nan): Protoize.
26963
26964         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26965
26966 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26967
26968         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26969         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26970         (__cpymn): Likewise.
26971         (norm): Remove commented code.
26972         (denorm): Likewise.
26973         (__mp_dbl): Likewise.
26974         (__inv): Likewise.
26975         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26976         (__cpymn): Likewise.
26977         (norm): Remove commented code.
26978         (denorm): Likewise.
26979         (__mp_dbl): Likewise.
26980         (__inv): Likewise.
26981
26982         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26983         mp_no value for 1.0 and 2.0.
26984         (norm): Use RADIXI instead of radixi.d.
26985         (denorm): Likewise.
26986         (__mul): Use 0.0 instead of zero.d.
26987         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26988         mp_no value for 1.0 and 2.0.
26989         (norm): Use RADIXI instead of radixi.d.
26990         (denorm): Likewise.
26991         (__mul): Use 0.0 instead of zero.d.
26992
26993 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
26994
26995         [BZ #14994]
26996         * math/s_casinh.c (__casinh): Reduce finite argument to first
26997         quadrant then set signs of results at the end.
26998         * math/s_casinhf.c (__casinhf): Likewise.
26999         * math/s_casinhl.c (__casinhl): Likewise.
27000         * math/libm-test.inc (casin_test): Add more tests.
27001         (casinh_test): Likewise.
27002         * sysdeps/i386/fpu/libm-test-ulps: Update.
27003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27004
27005 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27006
27007         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
27008
27009         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
27010
27011         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
27012         declarations.
27013         (denorm): Likewise.
27014         (__mp_dbl): Likewise.
27015         (__inv): Likewise.
27016
27017         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
27018         and adjust the header comment.
27019
27020         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
27021         variable name from declaration.
27022
27023 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
27024
27025         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27026         Initialize COMMON_CPUID_INDEX_7 element.
27027         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
27028         (CPUID_RTM): Likewise.
27029         (HAS_RTM): Likewise.
27030         (COMMON_CPUID_INDEX_7): New enum.
27031
27032 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
27033
27034         [BZ #14981]
27035         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
27036         size is zero, record memory as freed.
27037
27038 2013-01-03  Andreas Jaeger  <aj@suse.de>
27039
27040         * po/ia.po: Add new Interlingua translation.
27041
27042 2012-01-03  Allan McRae  <allan@archlinux.org>
27043
27044         * locale/programs/localedef.c: Fix description of '--posix' flag.
27045
27046 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
27047
27048         * NEWS: Update dates in second copyright notice.
27049         * README: Update copyright dates in example.
27050         * manual/libc.texinfo: Update copyright dates.
27051         * scripts/test-installation.pl: Update copyright date in --version
27052         output.
27053
27054         * hurd/ctty-input.c: Fix copyright notice formatting.
27055         * hurd/ctty-output.c: Likewise.
27056         * hurd/dtable.c: Likewise.
27057         * hurd/hurd-raise.c: Likewise.
27058         * hurd/hurdprio.c: Likewise.
27059         * hurd/msgportdemux.c: Likewise.
27060         * misc/sys/file.h: Likewise.
27061         * misc/sys/ioctl.h: Likewise.
27062         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
27063         * sysdeps/mach/hurd/chdir.c: Likewise.
27064         * sysdeps/mach/hurd/fchdir.c: Likewise.
27065         * sysdeps/mach/hurd/rename.c: Likewise.
27066         * sysdeps/mach/hurd/rmdir.c: Likewise.
27067         * sysdeps/mach/hurd/seekdir.c: Likewise.
27068         * sysdeps/mach/hurd/setsid.c: Likewise.
27069         * sysdeps/posix/wait3.c: Likewise.
27070
27071         * All files with FSF copyright notices: Update copyright dates
27072         using scripts/update-copyrights.
27073         * intl/plural.c: Regenerated.
27074         * locale/programs/charmap-kw.h: Likewise.
27075         * locale/programs/locfile-kw.h: Likewise.
27076
27077 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27078
27079         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
27080         four values.
27081
27082         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
27083         calculation loop and add branch prediction.
27084
27085         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
27086         check access beyond bounds of m1np.
27087
27088         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27089         MPTWO.
27090         (__inv): Remove local variable MPTWO to use the global
27091         constant.
27092         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
27093         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27094         variable MPTWO.
27095         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
27096         MP3HALFS static const.
27097
27098 2013-01-01  David S. Miller  <davem@davemloft.net>
27099
27100         * po/ca.po: Update from translation team.
27101
27102 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
27103
27104         * scripts/update-copyrights: New file.
27105         * Makeconfig: Reformat copyright notice.
27106         * ctype/ctype.h: Likewise.
27107         * debug/swprintf_chk.c: Likewise.
27108         * elf/dl-cache.c: Likewise.
27109         * elf/dl-debug.c: Likewise.
27110         * elf/dl-object.c: Likewise.
27111         * grp/initgroups.c: Likewise.
27112         * hurd/Makefile: Likewise.
27113         * hurd/hurd/signal.h: Likewise.
27114         * hurd/hurdfault.c: Likewise.
27115         * hurd/hurdioctl.c: Likewise.
27116         * hurd/hurdlookup.c: Likewise.
27117         * hurd/intr-msg.c: Likewise.
27118         * iconv/gconv_open.c: Likewise.
27119         * libio/swprintf.c: Likewise.
27120         * locale/lc-ctype.c: Likewise.
27121         * locale/nl_langinfo.c: Likewise.
27122         * mach/Machrules: Likewise.
27123         * mach/Makefile: Likewise.
27124         * malloc/obstack.h: Likewise.
27125         * manual/Makefile: Likewise.
27126         * manual/tsort.awk: Likewise.
27127         * misc/bits/stab.def: Likewise.
27128         * nis/nis_print_group_entry.c: Likewise.
27129         * nis/nis_table.c: Likewise.
27130         * nis/nss_compat/compat-pwd.c: Likewise.
27131         * nis/nss_compat/compat-spwd.c: Likewise.
27132         * po/Makefile: Likewise.
27133         * posix/fnmatch.c: Likewise.
27134         * posix/regex.h: Likewise.
27135         * resolv/Makefile: Likewise.
27136         * resolv/nss_dns/dns-network.c: Likewise.
27137         * resolv/res_hconf.c: Likewise.
27138         * scripts/gen-sorted.awk: Likewise.
27139         * soft-fp/soft-fp.h: Likewise.
27140         * stdio-common/printf.h: Likewise.
27141         * stdlib/monetary.h: Likewise.
27142         * stdlib/random.c: Likewise.
27143         * stdlib/random_r.c: Likewise.
27144         * sysdeps/generic/Makefile: Likewise.
27145         * sysdeps/gnu/Makefile: Likewise.
27146         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27147         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27148         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27149         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27150         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27151         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27152         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27153         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27154         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27155         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27156         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27157         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27158         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27159         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27160         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
27161         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27162         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27163         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27164         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27165         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27166         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27167         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27168         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27169         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27170         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
27171         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27172         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
27173         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
27174         * sysdeps/mach/hurd/errnos.awk: Likewise.
27175         * sysdeps/mach/hurd/fork.c: Likewise.
27176         * sysdeps/mach/hurd/getcwd.c: Likewise.
27177         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
27178         * sysdeps/mach/hurd/mmap.c: Likewise.
27179         * sysdeps/mach/hurd/utimes.c: Likewise.
27180         * sysdeps/mach/hurd/xmknod.c: Likewise.
27181         * sysdeps/posix/profil.c: Likewise.
27182         * sysdeps/posix/readdir_r.c: Likewise.
27183         * sysdeps/powerpc/bits/mathdef.h: Likewise.
27184         * sysdeps/powerpc/bits/setjmp.h: Likewise.
27185         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
27186         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
27187         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27188         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27189         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27190         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27191         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27192         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27193         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27194         * sysdeps/pthread/lio_listio.c: Likewise.
27195         * sysdeps/sparc/dl-procinfo.h: Likewise.
27196         * sysdeps/unix/i386/sysdep.S: Likewise.
27197         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
27198         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
27199         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
27200         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
27201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27202         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
27203         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
27204         * sysdeps/unix/sysv/linux/speed.c: Likewise.
27205         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
27206         * sysdeps/wordsize-32/divdi3.c: Likewise.
27207         * time/sys/time.h: Likewise.
27208         * wcsmbs/Makefile: Likewise.
27209
27210 2013-01-01  David S. Miller  <davem@davemloft.net>
27211
27212         * po/fr.po: Update from translation team.
27213
27214         * catgets/gencat.c: Update copyright year.
27215         * csu/version.c: Likewise.
27216         * debug/catchsegv.sh: Likewise.
27217         * debug/pcprofiledump.c: Likewise.
27218         * debug/xtrace.sh: Likewise.
27219         * elf/ldconfig.c: Likewise.
27220         * elf/ldd.bash.in: Likewise.
27221         * elf/pldd.c: Likewise.
27222         * elf/sotruss.ksh: Likewise.
27223         * elf/sprof.c: Likewise.
27224         * iconv/iconv_prog.c: Likewise.
27225         * iconv/iconvconfig.c: Likewise.
27226         * locale/programs/locale.c: Likewise.
27227         * locale/programs/localedef.c: Likewise.
27228         * login/programs/pt_chown.c: Likewise.
27229         * malloc/memusage.sh: Likewise.
27230         * malloc/memusagestat.c: Likewise.
27231         * malloc/mtrace.pl: Likewise.
27232         * nscd/nscd.c: Likewise.
27233         * nss/getent.c: Likewise.
27234         * nss/makedb.c: Likewise.
27235         * posix/getconf.c: Likewise.
27236
27237 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
27238
27239         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
27240         numbers.
27241
27242 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
27243
27244         * math/bits/mathcalls.h (modf): Use __nonnull.
27245
27246 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27247
27248         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
27249         (split): Use macro CN instead of the bare value.
27250         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
27251         could be used.
27252         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
27253         instead of the bare value.
27254         (power1): Likewise.
27255
27256 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27257
27258         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
27259         __ATAN_TWOM.
27260         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27261
27262         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
27263         their values.
27264         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27265         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27266         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
27267         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
27268
27269 2012-12-28  Andreas Jaeger  <aj@suse.de>
27270
27271         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
27272         values are from Linux 3.7.
27273
27274         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
27275         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
27276
27277 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27278
27279         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
27280         TRUE case.
27281
27282         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
27283         (norm): Likewise.
27284         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
27285         variables with preprocessor constants.
27286         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27287         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27288         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27289
27290 2012-12-27  Bruno Haible  <bruno@clisp.org>
27291
27292         [BZ #14317]
27293         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
27294         only if needed.
27295
27296 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27297
27298         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
27299         and use variable directly.
27300         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
27301
27302         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27303         MPONE.
27304         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
27305         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27306         variable MPONE.
27307         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27308         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27309         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
27310         include directive.  Remove local variable MPONE.
27311         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
27312         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
27313         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27314
27315 2012-12-25  David S. Miller  <davem@davemloft.net>
27316
27317         * version.h (RELEASE): Set to "development".
27318         (VERSION): Set to "2.17.90".
27319         * NEWS: Add 2.18 section.
27320
27321 2012-12-21  David S. Miller  <davem@davemloft.net>
27322
27323         * po/hr.po: Update from translation team.
27324
27325 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27326
27327         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
27328
27329 2012-12-19  Steve Ellcey  <sellcey@mips.com>
27330
27331         * NEWS:  Mention new memcpy for MIPS.
27332
27333 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27334
27335         * manual/contrib.texi (Contributors): Spelling correction.
27336
27337 2012-12-15  David S. Miller  <davem@davemloft.net>
27338
27339         * po/ru.po: Update from translation team.
27340
27341 2012-12-13  David S. Miller  <davem@davemloft.net>
27342
27343         * NEWS: Mention IFUNC testsuite enhancements.
27344
27345         * po/pl.po: Update from translation team.
27346         * po/bg.po: Likewise.
27347
27348         * manual/contrib.texi (Contributors): Update entries for Hongjiu
27349         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
27350
27351 2012-12-11  David S. Miller  <davem@davemloft.net>
27352
27353         * po/sv.po: Update from translation team.
27354
27355         * po/vi.po: Update from translation team.
27356
27357         * po/cs.po: Update from translation team.
27358
27359         * po/de.po: Update from translation team.
27360         * po/eo.po: Likewise.
27361         * po/nl.po: Likewise.
27362
27363 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27364
27365         [BZ #14246]
27366         * manual/argp.texi (Argp Helper Functions): Move node to follow
27367         Argp Parsing State.
27368
27369         [BZ #14872]
27370         * manual/conf.texi (Limits on File System Capacity): Mention if
27371         terminating null is included in the max size.
27372
27373 2012-12-10  Andreas Jaeger  <aj@suse.de>
27374
27375         * po/cs.po: Update from translation team.
27376
27377 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27378
27379         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
27380         void pointer and cast to uintptr_t.
27381         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
27382         path.
27383         * sysdeps/s390/s390-64/memcpy.S: Likewise.
27384         * sysdeps/s390/s390-64/memset.S: Likewise.
27385
27386 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
27387
27388         [BZ #14833]
27389         * menual/message.texi (Message Translation): Fix typos.
27390         (Helper programs for gettext): Likewise.
27391
27392 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
27393
27394         [BZ #14898]
27395         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
27396         Change to -1.
27397
27398 2012-12-07  David S. Miller  <davem@davemloft.net>
27399
27400         * po/libc.pot: Update.
27401
27402 2012-12-07  Richard Henderson  <rth@redhat.com>
27403
27404         [BZ #10114]
27405         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
27406         normal/normal case to before the switch.
27407         (_FP_DIV): Likewise.
27408
27409 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
27410             Mike Frysinger  <vapier@gentoo.org>
27411
27412         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
27413         check for __NR_fadvise64_64.
27414
27415 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
27416
27417         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
27418         0, not just to plain "0" as a statement.
27419         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
27420         with cw.
27421
27422 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
27423
27424         * NEWS: Use sourceware.org in Bugzilla URL.
27425
27426 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
27427
27428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27429         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27430
27431         * stdio-common/tst-put-error.c (do_test): Add newline to the
27432         padded test to ensure flush.
27433
27434 2012-12-05  Jeff Law  <law@redhat.com>
27435
27436         * sunrpc/etc.rpc (fedfs_admin): Add entry.
27437
27438 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
27439
27440         * README: Don't refer to ports add-on as distributed separately.
27441         Mention AArch64 in list of systems supported in the ports add-on.
27442
27443         * LICENSES: Add more non-FSF copyright and license notices.
27444
27445         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
27446         ((unused)).
27447
27448         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
27449
27450         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
27451         10000 as width of padded output.
27452
27453 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
27454
27455         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
27456
27457         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
27458         variable LX with __attribute__ ((unused)).
27459         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27460         Likewise.
27461         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27462         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27463         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
27464         with __attribute__ ((unused)).
27465
27466 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
27467
27468         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
27469
27470 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
27471
27472         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
27473         (CFLAGS-nldbl-acos.c): New variable.
27474         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
27475         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
27476         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
27477         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
27478         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
27479         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
27480         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
27481         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
27482         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
27483         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
27484         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
27485         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
27486         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
27487         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
27488         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
27489         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
27490         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
27491         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
27492         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
27493         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
27494         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
27495         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
27496         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
27497         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
27498         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
27499         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
27500         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
27501         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
27502         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
27503         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
27504         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
27505         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
27506         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
27507         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
27508         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
27509         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
27510         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
27511         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
27512         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
27513         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
27514         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
27515         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
27516         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
27517         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
27518         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
27519         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
27520         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
27521         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
27522         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
27523         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
27524         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
27525         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
27526         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
27527         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
27528         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
27529         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
27530         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
27531         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
27532         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
27533         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
27534         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
27535         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
27536         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
27537         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
27538         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
27539         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
27540         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
27541         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
27542         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
27543         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
27544         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
27545         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
27546         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
27547         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
27548         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
27549         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
27550         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
27551         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
27552         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
27553         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
27554         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
27555         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
27556         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
27557         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
27558         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
27559         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
27560         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
27561         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
27562         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
27563         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
27564         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
27565         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
27566         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
27567         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
27568         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
27569         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
27570         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
27571
27572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27573         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27574
27575         [BZ #14914]
27576         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
27577         whole low double instead of just low 47 bits when splitting values
27578         into two parts.
27579
27580 2012-12-03  Allan McRae  <allan@archlinux.org>
27581
27582         * manual/stdio.texi (Predefined Printf Handlers): Remove
27583         @hsep and @vsep usage.
27584
27585 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
27586
27587         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
27588         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
27589
27590 2012-12-03  Jeff Law  <law@redhat.com>
27591
27592         * time/sys/time.h (settimeofday): Do not mark TV argument
27593         as __nonnull.
27594
27595 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
27596
27597         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
27598         when currently writing and seek to current position when not.
27599         * libio/Makefile (tests): Remove bug-fclose1.
27600         * libio/bug-fclose1.c: Delete.
27601
27602 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
27603
27604         * manual/arith.texi (feenableexcept): Fix typo.
27605         (fedisableexcept): Likewise.
27606
27607 2012-11-30  Roland McGrath  <roland@hack.frob.com>
27608
27609         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
27610         second, differently-typed declaration, rather than a cast.
27611
27612 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27613
27614         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
27615         * include/rpc/svc.h: ... here.
27616
27617 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
27618
27619         [BZ #13013]
27620         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
27621         depending n and resplen2 to catch cases where answer
27622         equals answerp2.
27623
27624 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
27625
27626         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
27627         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
27628
27629 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
27630
27631         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
27632
27633 2012-11-29  Roland McGrath  <roland@hack.frob.com>
27634
27635         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
27636
27637 2012-11-28  Jeff Law  <law@redhat.com>
27638
27639         [BZ #13761]
27640         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
27641         dataset_temporary.  Track alloca usage into alloca_used.
27642         If dataset is large allocate and release it via malloc/free.
27643
27644 2012-06-04  Florian Weimer  <fweimer@redhat.com>
27645
27646         [BZ #14197]
27647         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
27648
27649 2012-11-28  David S. Miller  <davem@davemloft.net>
27650
27651         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27652
27653 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
27654
27655         [BZ #14803]
27656         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
27657         of pi/2 rounded to nearest to 64 bits.
27658         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
27659         nearest to 64 bits.
27660         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
27661         bits.
27662
27663 2012-11-28  Jeff Law <law@redhat.com>
27664             Martin Osvald <mosvald@redhat.com>
27665
27666         [BZ #14889]
27667         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
27668         * sunrpc/svc.c: Include time.h.
27669         (__svc_accept_failed): New function.
27670         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
27671         any reason other than EINTR, call __svc_accept_failed.
27672         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
27673         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
27674
27675 2012-11-28  Andreas Schwab  <schwab@suse.de>
27676
27677         * scripts/abilist.awk: Also handle indirect functions in .opd
27678         section.
27679
27680 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
27681
27682         [BZ #13881]
27683         * sysdeps/x86/fpu/powl_helper.c: New file.
27684         * sysdeps/x86/fpu/Makefile: Likewise.
27685         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
27686         (p3): New object.
27687         (__ieee754_powl): Use __powl_helper for finite arguments except
27688         integer exponents below 8.
27689         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
27690         (p3): New object.
27691         (__ieee754_powl): Use __powl_helper for finite arguments except
27692         integer exponents below 8.
27693         * math/libm-test.inc (pow_test): Add more tests and enable some
27694         previously disabled tests.
27695         * sysdeps/i386/fpu/libm-test-ulps: Update.
27696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27697
27698 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27699             Carlos O'Donell  <carlos_odonell@mentor.com>
27700
27701         * nss/makedb.c (is_prime): Assert that input is odd and greater
27702         than 4.  Note that fact in a comment too.
27703         (next_prime): Add 4 to input.
27704
27705 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27706
27707         [BZ #11741]
27708         * libio/Makefile (tests): Add test case tst-fwrite-error.
27709         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
27710         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27711         * libio/tst-fwrite-error.c: New test case.
27712
27713 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
27714
27715         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
27716         before casting to void *.
27717         * include/libc-internal.h (__pointer_type): New macro.
27718         (__integer_if_pointer_type_sub): Likewise.
27719         (__integer_if_pointer_type): Likewise.
27720         (cast_to_integer): Likewise.
27721         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
27722         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
27723         before casting to atomic64_t.
27724         (atomic_exchange_acq): Likewise.
27725         (__arch_exchange_and_add_body): Likewise.
27726         (__arch_add_body): Likewise.
27727         (atomic_add_negative): Likewise.
27728         (atomic_add_zero): Likewise.
27729
27730 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
27731
27732         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
27733         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
27734         (add_fdes): Likewise.
27735         (linear_search_fdes): Likewise.
27736         (binary_search_unencoded_fdes): Likewise.
27737
27738 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
27739
27740         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
27741
27742 2012-11-24  Adam Conrad  <adconrad@0c3.net>
27743
27744         * configure.in: Autodetect C++ header directories.
27745         * configure: Regenerated.
27746
27747 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
27748
27749         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
27750
27751 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
27752
27753         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27754
27755 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
27756
27757         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
27758         LDBL_MANT_DIG == 106]: Disable some tests.
27759         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27760         Likewise.
27761         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27762         Likewise.
27763
27764         [BZ #14871]
27765         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
27766         input for small inputs.  Return +/- pi/2 for large inputs.
27767         * math/libm-test.inc (atan_test): Add more tests.
27768
27769         * sysdeps/generic/unwind-dw2-fde-glibc.c
27770         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
27771         __attribute__ ((unused)).
27772
27773         [BZ #14645]
27774         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
27775         x * y if x and y are nonzero and z is zero.
27776
27777         [BZ #14811]
27778         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
27779         nonzero exponents with absolute value below 0x1p-117 to +/-
27780         0x1p-117.
27781
27782         [BZ #14869]
27783         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
27784         up arguments below 2**-450, not just those below 2**-500.
27785         * math/libm-test.inc (hypot_test): Add another test.
27786
27787         [BZ #14868]
27788         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27789         Return a+b for ratio over 2**120, not 2**60.
27790         * math/libm-test.inc (hypot_test): Add another test.
27791
27792         * math/libm-test.inc (clog_test): Use
27793         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
27794         (clog10_test): Likewise.
27795
27796         [BZ #6778]
27797         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
27798
27799 2012-11-22  Andreas Schwab  <schwab@suse.de>
27800
27801         * sysdeps/i386/fpu/libm-test-ulps: Update.
27802
27803 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
27804
27805         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
27806         printf output with newline.
27807
27808 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
27809
27810         [BZ #14865]
27811         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
27812         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
27813         -z nodlopen, -z initfirst and -z execstack support.
27814         * configure: Regenerated.
27815
27816         * elf/elf.h (DF_1_NODIRECT): New macro.
27817         (DF_1_IGNMULDEF): Likewise.
27818         (DF_1_NOKSYMS): Likewise.
27819         (DF_1_NOHDR): Likewise.
27820         (DF_1_EDITED): Likewise.
27821         (DF_1_NORELOC): Likewise.
27822         (DF_1_SYMINTPOSE): Likewise.
27823         (DF_1_GLOBAUDIT): Likewise.
27824         (DF_1_SINGLETON): Likewise.
27825         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27826         DT_1_SUPPORTED_MASK bits.
27827         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27828
27829 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
27830
27831         * sysdeps/unix/make-syscalls.sh: Document prefixes.
27832
27833 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
27834
27835         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27836         macro.
27837
27838         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27839         (sendmmsg): Move declarations...
27840         * socket/sys/socket.h: ... here.
27841         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27842         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27843         include it from...
27844         * socket/recvmmsg.c: ... this new file.
27845         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27846         (sendmmsg): Rename to __sendmmsg, create weak alias and make
27847         definition of __sendmmsg hidden.
27848         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27849         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27850         Move ENOSYS stub into and include it from...
27851         * socket/sendmmsg.c: ... this new file.
27852         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27853         (sysdep_routines): Move recvmmsg and sendmmsg...
27854         * socket/Makefile (routines): ... here.
27855         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27856         (GLIBC_PRIVATE): Add __sendmmsg.
27857         * include/sys/socket.h (__sendmmsg): Add declarations.
27858         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27859         sendmmsg.
27860
27861 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
27862
27863         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27864         variable I1 with __attribute__ ((unused)).
27865         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27866
27867 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
27868
27869         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27870         DUMMY variables with __attribute__ ((unused)).
27871
27872         * bits/byteswap.h: Include <bits/types.h>.
27873         (__bswap_64): Use __uint64_t instead of unsigned long long int.
27874
27875 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
27876
27877         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27878         string_t.  Do not manually set errno.
27879         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27880         length with __strnlen.  Make sure to both set errno and return it on
27881         failure.
27882
27883 2012-11-19  David S. Miller  <davem@davemloft.net>
27884
27885         With help from Joseph Myers.
27886         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27887         very large arguments properly.
27888         * math/libm-test.inc (atan_test): New tests.
27889         (atan2_test): New tests.
27890         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27891         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27892
27893 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
27894
27895         [BZ #14856]
27896         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
27897         Define to 3.
27898
27899         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27900         [POSIX] (EADDRNOTAVAIL): Likewise.
27901         [POSIX] (EAFNOSUPPORT): Likewise.
27902         [POSIX] (EALREADY): Likewise.
27903         [POSIX] (ECONNABORTED): Likewise.
27904         [POSIX] (ECONNREFUSED): Likewise.
27905         [POSIX] (ECONNRESET): Likewise.
27906         [POSIX] (EDESTADDRREQ): Likewise.
27907         [POSIX] (EDQUOT): Likewise.
27908         [POSIX] (EHOSTUNREACH): Likewise.
27909         [POSIX] (EIDRM): Likewise.
27910         [POSIX] (EISCONN): Likewise.
27911         [POSIX] (ELOOP): Likewise.
27912         [POSIX] (EMULTIHOP): Likewise.
27913         [POSIX] (ENETDOWN): Likewise.
27914         [POSIX] (ENETUNREACH): Likewise.
27915         [POSIX] (ENOBUFS): Likewise.
27916         [POSIX] (ENODATA): Likewise.
27917         [POSIX] (ENOLINK): Likewise.
27918         [POSIX] (ENOMSG): Likewise.
27919         [POSIX] (ENOPROTOOPT): Likewise.
27920         [POSIX] (ENOSR): Likewise.
27921         [POSIX] (ENOSTR): Likewise.
27922         [POSIX] (ENOTCONN): Likewise.
27923         [POSIX] (ENOTSOCK): Likewise.
27924         [POSIX] (EOPNOTSUPP): Likewise.
27925         [POSIX] (EOVERFLOW): Likewise.
27926         [POSIX] (EPROTO): Likewise.
27927         [POSIX] (EPROTONOSUPPORT): Likewise.
27928         [POSIX] (EPROTOTYPE): Likewise.
27929         [POSIX] (ESTALE): Likewise.
27930         [POSIX] (ETIME): Likewise.
27931         [POSIX] (ETXTBSY): Likewise.
27932         [POSIX] (EWOULDBLOCK): Likewise.
27933         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27934         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27935         [POSIX] (SEEK_CUR): Likewise.
27936         [POSIX] (SEEK_END): Likewise.
27937         [POSIX || UNIX98] (mode_t): Do not require.
27938         [POSIX] (off_t): Likewise.
27939         [POSIX] (pid_t): Likewise.
27940         [POSIX] (sys/stat.h): Do not allow header.
27941         [POSIX] (unistd.h): Likewise.
27942         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27943         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27944         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27945         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27946         require.
27947         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27948         sigevent): Specify elements.
27949         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27950         entry.
27951         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27952         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27953
27954         * conform/data/cpio.h-data [POSIX]: Disable whole file.
27955         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27956         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27957         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27958         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27959         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27960         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27961         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27962         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27963         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27964         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27965         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27966         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27967         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27968         Likewise.
27969         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27970         Likewise.
27971         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27972         Likewise.
27973         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27974         Likewise.
27975         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27976         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27977         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27978         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27979         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27980         Specify lower bound on value.
27981         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27982         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27983         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27984         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27985         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27986         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27987         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27988         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27989         value.
27990         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27991         as optional.
27992         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27993         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27994         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27995         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27996         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27997         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27998         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27999         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
28000         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
28001         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
28002         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
28003         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
28004         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
28005         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
28006         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
28007         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
28008         entry.
28009         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
28010         optional.
28011         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
28012         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
28013         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
28014         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
28015         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
28016         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
28017         Likewise.
28018         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
28019         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
28020         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
28021         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
28022         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
28023         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
28024         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
28025         as optional.
28026         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
28027         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
28028         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
28029         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
28030         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
28031         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
28032         specify as optional.
28033         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
28034         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
28035         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
28036         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
28037         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
28038         [XPG3] (NL_LANGMAX): Likewise.
28039         [POSIX || XPG3] (NL_MSGMAX): Likewise.
28040         [POSIX || XPG3] (NL_NMAX): Likewise.
28041         [POSIX || XPG3] (NL_SETMAX): Likewise.
28042         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
28043         [XPG3] (NZERO): Likewise.
28044         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
28045         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
28046         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
28047         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
28048         (REG_ERANGE): Expect.
28049         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
28050         optional-constant.
28051         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
28052         Use (void) in prototype.
28053         [POSIX] (*_t): Allow.
28054         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
28055         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
28056         (WRDE_BADVAL): Expect.
28057
28058         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
28059         expect.
28060         [XPG3 || XPG4] (O_RSYNC): Likewise.
28061         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
28062         Likewise.
28063         [XPG3 || XPG4] (pthread_sigmask): Likewise.
28064         [XPG3 || XPG4] (sigqueue): Likewise.
28065         [XPG3 || XPG4] (sigtimedwait): Likewise.
28066         [XPG3 || XPG4] (sigwaitinfo): Likewise.
28067         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
28068         [XPG3 || XPG4] (vsnprintf): Likewise.
28069         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
28070         Likewise.
28071         [XPG3 || XPG4] (blksize_t): Likewise.
28072         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
28073         Likewise.
28074         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
28075         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
28076         [XPG3 || XPG4] (struct itimerspec): Likewise.
28077         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
28078         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
28079         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
28080         [XPG3 || XPG4] (clockid_t): Likewise.
28081         [XPG3 || XPG4] (timer_t): Likewise.
28082         [XPG3 || XPG4] (clock_getres): Likewise.
28083         [XPG3 || XPG4] (clock_gettime): Likewise.
28084         [XPG3 || XPG4] (clock_settime): Likewise.
28085         [XPG3 || XPG4] (nanosleep): Likewise.
28086         [XPG3 || XPG4] (timer_create): Likewise.
28087         [XPG3 || XPG4] (timer_delete): Likewise.
28088         [XPG3 || XPG4] (timer_gettime): Likewise.
28089         [XPG3 || XPG4] (timer_getoverrun): Likewise.
28090         [XPG3 || XPG4] (timer_settime): Likewise.
28091         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
28092         [XPG3 || XPG4] (getlogin_r): Likewise.
28093         [XPG3 || XPG4] (pread): Likewise.
28094         [XPG3 || XPG4] (pthread_atfork): Likewise.
28095         [XPG3 || XPG4] (pwrite): Likewise.
28096
28097         [BZ #14835]
28098         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
28099         <bits/siginfo.h>.
28100
28101 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
28102
28103         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
28104         finalizing MALLSTREAM.
28105
28106         * sysdeps/mach/hurd/syncfs.c: New file.
28107
28108 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28109
28110         [BZ #14719]
28111         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
28112         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
28113         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
28114         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
28115         (_nss_dns_gethostbyname4_r): Likewise.
28116         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
28117         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
28118
28119 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
28120
28121         [BZ #13763]
28122         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
28123
28124 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
28125
28126         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
28127         * elf/cache.c (print_entry): Print ",AArch64" for
28128         FLAG_AARCH64_LIB64
28129
28130         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
28131         * elf/cache.c (print_entry): Print ",hard-float" for
28132         FLAG_ARM_LIBHF.
28133
28134 2012-11-18  David S. Miller  <davem@davemloft.net>
28135
28136         With help from Joseph Myers.
28137         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
28138         cutoff to 2**-13.
28139         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
28140         cutoff to 2**-25.
28141         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
28142         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
28143         small.
28144         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
28145         * math/libm-test.inc (y0_test): New tests.
28146         (y1_test): New tests.
28147         * sysdeps/i386/fpu/libm-test-ulps: Update.
28148         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28149         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28150
28151 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
28152
28153         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
28154         64-bit targets.
28155         * configure: Regenerated.
28156
28157 2012-11-17  David S. Miller  <davem@davemloft.net>
28158
28159         [BZ #14811]
28160         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
28161         nonzero exponents with absolute value below 0x1p-128 to +/-
28162         0x1p-128.
28163
28164 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
28165
28166         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
28167
28168         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
28169
28170         * posix/getconf-speclist.c: New file.
28171         * posix/posix-envs.def: Likewise.
28172         * posix/confstr.c (START_ENV_GROUP): New macro.
28173         (END_ENV_GROUP): Likewise.
28174         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28175         (KNOWN_PRESENT_ENV_STRING): Likewise.
28176         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28177         (UNKNOWN_ENVIRONMENT): Likewise.
28178         (confstr): Include posix-envs.def instead of handling
28179         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
28180         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
28181         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
28182         (END_ENV_GROUP): Likewise.
28183         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28184         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28185         (UNKNOWN_ENVIRONMENT): Likewise.
28186         (__sysconf): Include posix-envs.def instead of handling associated
28187         cases directly here.
28188         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
28189         preprocessing getconf-speclist.c rather than running getconf or
28190         generating empty file.
28191
28192 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
28193
28194         * scripts/check-local-headers.sh: Ignore 'mach' headers.
28195
28196 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
28197
28198         [BZ #14672]
28199         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
28200
28201 2012-11-16  David S. Miller  <davem@davemloft.net>
28202
28203         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
28204         smaller than LDBL_EPSILON/2.0L, just return xm1.
28205
28206 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
28207
28208         * elf/tst-array1.c (init): Set constructor priority to 1000.
28209         (fini): Set destructor priority to 1000.
28210         * elf/tst-array2dep.c: Likewise.
28211
28212 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28213
28214         [BZ #11741]
28215         * libio/fileops.c (_IO_new_file_write): Correctly return error.
28216         (_IO_new_file_xsputn): Also return EOF if none of the input
28217         data was written when overflow failed.
28218         * libio/iopadn.c (_IO_padn): Likewise.
28219         * libio/iowpadn.c (_IO_wpadn): Likewise.
28220         * stdio-common/tst-put-error.c: Add copyright notice.
28221         (do_test): Add case for printing padded string.
28222         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
28223         _IO_padn returned error.
28224         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
28225         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
28226         return EOF.
28227
28228 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28229
28230         * libio/libioP.h: Add comment note that the references to C++
28231         bits are now obsolete.
28232
28233 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28234
28235         * math/libm-test.inc (check_complex): Use asprintf.
28236
28237 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
28238
28239         * debug/pcprofiledump.c (print_version): Update copyright year.
28240         * malloc/memusagestat.c (print_version): Likewise.
28241
28242 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
28243
28244         [BZ #14831]
28245         * elf/Makefile (tests): Add tst-audit8.
28246         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
28247         ($(objpfx)tst-audit8.out): New target.
28248         (tst-audit8-ENV): New variable.
28249         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
28250         audit if l_reloc_result is NULL.
28251         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
28252         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
28253         * elf/tst-audit8.c: New file.
28254
28255 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28256
28257         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
28258         * misc/Makefile (CFLAGS-select.c): Define.
28259         * posix/Makefile (CFLAGS-pause.c): Define.
28260
28261 2012-11-13  David S. Miller  <davem@davemloft.net>
28262
28263         * crypt/Makefile: Move test targets after toplevel Rules
28264         inclusion.  Grab any necessary sysdep routines when linking.
28265         * crypt/md5.c (md5_process_block): Remove define, we will always
28266         name it __md5_process_block.
28267         (md5_finish_ctx): Update md5_process_block call.
28268         (md5_stream): Likewise.
28269         (md5_process_bytes): Likewise.
28270         (md5_process_block): Rename to __md5_process_block and move to ...
28271         * crypt/md5-block.c: ... here.
28272         * crypt/sha256.c (sha256_process_block): Move to ...
28273         * crypt/sha256-block.c: ... here.
28274         * crypt/sha512.c (sha512_process_block): Move to ...
28275         * crypt/sha512-block.c: ... here.
28276         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
28277         path.
28278         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
28279         * sysdeps/sparc/sparc64/multiarch/Makefile
28280         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
28281         crypt subdir.
28282         (localedef-aux): Add md5 crypto assembler when in locale subdir.
28283         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
28284         multiarch changes.
28285         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
28286         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
28287         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
28288         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
28289         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
28290         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
28291         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
28292         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
28293         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
28294         file.
28295         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
28296         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
28297         file.
28298         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
28299
28300 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
28301
28302         * timezone/tzselect.ksh: Update from tzcode git revision
28303         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
28304         * timezone/zdump.c: Likewise.
28305         * timezone/zic.c: Likewise.
28306         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
28307         in TZVERSION setting, not $(PKGVERSION).
28308         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
28309         REPORT_BUGS_TO settings.
28310
28311         [BZ #14838]
28312         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
28313         macro.
28314
28315 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28316
28317         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
28318         detection to immediately after _FP_ROUND().
28319         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
28320         bits are 0.
28321
28322 2012-11-11  David S. Miller  <davem@davemloft.net>
28323
28324         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
28325         inttypes.h
28326         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
28327         __close rather than their public counterparts.
28328
28329 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
28330
28331         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
28332         file.
28333         [UNIX98] (sem_timedwait): Do not expect.
28334         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
28335         [XPG4 || UNIX98] (sockatmark): Do not expect.
28336         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
28337         (clock_getcpuclockid): Do not expect.
28338         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
28339         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
28340         Do not expect.
28341         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
28342         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
28343         [UNIX98] (vwscanf): Likewise.
28344         [UNIX98] (vswscanf): Likewise.
28345
28346 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
28347
28348         * timezone/version.h: Remove file.
28349         * timezone/README: Do not refer to version.h.
28350         * timezone/Makefile ($(objpfx)zic.o): New dependency on
28351         $(objpfx)version.h.
28352         ($(objpfx)zdump.o): Likewise.
28353         ($(objpfx)version.h): New target.
28354
28355         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
28356         2012i.
28357         * timezone/README: Don't mention modification to tzselect.ksh.
28358         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
28359         work on unmodified tzselect.ksh.  Substitute version numbers in
28360         tzselect.ksh.
28361
28362         * Makefile (format-me): Remove.
28363         (INSTALL): Adjust indentation.  Use commands directly instead of
28364         using $(format-me).
28365
28366         * aclocal.m4 (ACX_PKGVERSION): New macro.
28367         (ACX_BUGURL): Likewise.
28368         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
28369         (PKGVERSION): New AC_DEFINE_UNQUOTED.
28370         (REPORT_BUGS_TO): Likewise.
28371         * configure: Regenerated.
28372         * config.h.in (PKGVERSION): New macro.
28373         (REPORT_BUGS_TO): Likewise.
28374         * config.make.in (PKGVERSION): New variable.
28375         (PKGVERSION_TEXI): Likewise.
28376         (REPORT_BUGS_TO): Likewise.
28377         (REPORT_BUGS_TEXI): Likewise.
28378         * Makefile (format-me): Use -I$(common-objpfx)manual.
28379         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
28380         ($(common-objpfx)manual/%): New target.
28381         (manual/%): Remove target.
28382         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
28383         (print_version): Use PKGVERSION.
28384         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
28385         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
28386         and REPORT_BUGS_TO.
28387         ($(objpfx)xtrace): Likewise.
28388         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
28389         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
28390         (print_version): Use PKGVERSION.
28391         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
28392         (do_version): Use PKGVERSION.
28393         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
28394         REPORT_BUGS_TO.
28395         (common-ldd-rewrite): Likewise.
28396         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
28397         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
28398         (print_version): Use PKGVERSION.
28399         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
28400         * elf/pldd.c (argp_program_bug_address): Remove variable.
28401         (more_help): New function.
28402         (argp): Use more_help.
28403         (print_version): Use PKGVERSION.
28404         * elf/sln.c (main): Use PKGVERSION.
28405         (usage): Use REPORT_BUGS_TO.
28406         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
28407         (top level): Use PKGVERSION.
28408         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
28409         (print_version): Use PKGVERSION.
28410         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
28411         (print_version): Use PKGVERSION.
28412         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
28413         (print_version): Use PKGVERSION.
28414         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
28415         (print_version): Use PKGVERSION.
28416         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
28417         (print_version): Use PKGVERSION.
28418         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
28419         (print_version): Use PKGVERSION.
28420         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
28421         and BUGURL.
28422         ($(objpfx)memusage): Likewise.
28423         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
28424         (do_version): Use PKGVERSION.
28425         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
28426         (print_version): Use PKGVERSION.
28427         * malloc/mtrace.pl ($PACKAGE): Remove variable.
28428         ($PKGVERSION): New variable.
28429         ($REPORT_BUGS_TO): Likewise.
28430         (usage): Use $REPORT_BUGS_TO.
28431         (top level): Use $PKGVERSION.
28432         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
28433         ($(objpfx)pkgvers.texi): New rule.
28434         ($(objpfx)stamp-pkgvers): Likewise.
28435         * manual/install.texi: Include pkgvers.texi.
28436         (--with-pkgversion): Document new configure option.
28437         (--with-bugurl): Likewise.
28438         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
28439         than necessarily for this particular distribution.  Use
28440         REPORT_BUGS_TO for where to report bugs.
28441         * INSTALL: Regenerated.
28442         * manual/libc.texinfo: Include pkgvers.texi.
28443         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
28444         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
28445         (print_version): Use PKGVERSION.
28446         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
28447         (print_version): Use PKGVERSION.
28448         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
28449         (print_version): Use PKGVERSION.
28450         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
28451         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
28452         macro.
28453         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
28454         (print_version): Use PKGVERSION.
28455         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
28456         (print_version): Use PKGVERSION.
28457         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
28458         and PKGVERSION.
28459
28460         * timezone/checktab.awk: Update from tzcode 2012i.
28461         * timezone/ialloc.c: Likewise.
28462         * timezone/private.h: Likewise.
28463         * timezone/scheck.c: Likewise.
28464         * timezone/tzfile.h: Likewise.
28465         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
28466         (TZVERSION): Hardcode tzcode version number.
28467         * timezone/zdump.c: Update from tzcode 2012i.
28468         * timezone/zic.c: Likewise.
28469         * timezone/version.h: New file.
28470         * timezone/README: Describe version.h.  Update upstream location.
28471
28472         [BZ #14824]
28473         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
28474         (mktemp): Enable declaration.
28475         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
28476         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
28477         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
28478         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
28479         Likewise.
28480         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
28481         Likewise.
28482         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
28483         Likewise.
28484         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
28485         Likewise.
28486         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
28487         Likewise.
28488         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
28489         Likewise.
28490
28491         [BZ #14821]
28492         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
28493         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
28494         for copies of such integer values.
28495         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28496         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28497
28498 2012-11-09  Andreas Jaeger  <aj@suse.de>
28499
28500         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
28501         definitions and declarations that are provided by
28502         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28503
28504 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28505
28506         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
28507         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
28508         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
28509         definition.
28510
28511 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28512
28513         * elf/elf.h: Update comment before AArch64 relocations.
28514
28515 2012-11-07  David S. Miller  <davem@davemloft.net>
28516
28517         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
28518         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28519         (__start_context): Declare.
28520         (__makecontext_ret): Delete.
28521         (__makecontext): Hook up __start_context instead of
28522         __makecontext_ret.
28523         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
28524         (sysdep_routines): Add __start_context when in stdlib.
28525
28526 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28527
28528         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
28529         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
28530         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
28531         hardcoded "nm".
28532         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
28533         (READELF): New variable.  Use it instead of hardcoded "readelf".
28534
28535 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
28536
28537         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
28538         * sysdeps/x86/Makefile: Here.
28539         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
28540         * sysdeps/x86/tst-xmmymm.sh: This.
28541
28542 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28543
28544         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
28545         expectations.
28546         [UNIX98] (pthread_barrier_t): Do not expect.
28547         [UNIX98] (pthread_barrierattr_t): Likewise.
28548         [UNIX98] (pthread_spinlock_t): Likewise.
28549         [UNIX98] (pthread_barrier_destroy): Likewise.
28550         [UNIX98] (pthread_barrier_init): Likewise.
28551         [UNIX98] (pthread_barrier_wait): Likewise.
28552         [UNIX98] (pthread_barrierattr_destroy): Likewise.
28553         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
28554         [UNIX98] (pthread_barrierattr_init): Likewise.
28555         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
28556         [UNIX98] (pthread_getcpuclockid): Likewise.
28557         [UNIX98] (pthread_mutex_timedlock): Likewise.
28558         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
28559         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
28560         [UNIX98] (pthread_sigmask): Likewise.
28561         [UNIX98] (pthread_spin_destroy): Likewise.
28562         [UNIX98] (pthread_spin_init): Likewise.
28563         [UNIX98] (pthread_spin_lock): Likewise.
28564         [UNIX98] (pthread_spin_trylock): Likewise.
28565         [UNIX98] (pthread_spin_unlock): Likewise.
28566         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
28567         Do not expect.
28568         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
28569         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
28570         [XPG3 || XPG4] (pthread_cond_t): Likewise.
28571         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
28572         [XPG3 || XPG4] (pthread_key_t): Likewise.
28573         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
28574         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
28575         [XPG3 || XPG4] (pthread_once_t): Likewise.
28576         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
28577         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
28578         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
28579         [XPG3 || XPG4] (pthread_t): Likewise.
28580
28581         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
28582         not expect.
28583         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
28584
28585         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
28586         Change function return type to int.
28587
28588         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
28589         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
28590         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
28591         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
28592         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
28593         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
28594         [!POSIX] (posix_madvise): Likewise.
28595         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
28596         && !UNIX98].
28597         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
28598         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
28599         (mode_t): Likewise.
28600         (posix_mem_offset): Likewise.
28601         (posix_typed_mem_get_info): Likewise.
28602         (posix_typed_mem_open): Likewise.
28603
28604         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
28605         Change condition to [XOPEN2K8].
28606
28607         * conform/conformtest.pl: Preprocess allow-header data with -x c
28608         instead of from stdin.
28609         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
28610         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
28611         [C99-based standards] (cerfc): Likewise.
28612         [C99-based standards] (cexp2): Likewise.
28613         [C99-based standards] (cexpm1): Likewise.
28614         [C99-based standards] (clog10): Likewise.
28615         [C99-based standards] (clog1p): Likewise.
28616         [C99-based standards] (clog2): Likewise.
28617         [C99-based standards] (clgamma): Likewise.
28618         [C99-based standards] (ctgamma): Likewise.
28619         [C99-based standards] (cerff): Likewise.
28620         [C99-based standards] (cerfcf): Likewise.
28621         [C99-based standards] (cexp2f): Likewise.
28622         [C99-based standards] (cexpm1f): Likewise.
28623         [C99-based standards] (clog10f): Likewise.
28624         [C99-based standards] (clog1pf): Likewise.
28625         [C99-based standards] (clog2f): Likewise.
28626         [C99-based standards] (clgammaf): Likewise.
28627         [C99-based standards] (ctgammaf): Likewise.
28628         [C99-based standards] (cerfl): Likewise.
28629         [C99-based standards] (cerfcl): Likewise.
28630         [C99-based standards] (cexp2l): Likewise.
28631         [C99-based standards] (cexpm1l): Likewise.
28632         [C99-based standards] (clog10l): Likewise.
28633         [C99-based standards] (clog1pl): Likewise.
28634         [C99-based standards] (clog2l): Likewise.
28635         [C99-based standards] (clgammal): Likewise.
28636         [C99-based standards] (ctgammal): Likewise.
28637         * conform/data/inttypes.h-data [C99-based standards]: Include
28638         stdint.h-data.  Remove all expectations for stdint.h contents.
28639         [C99-based standards] (PRI*): Do not allow.
28640         [C99-based standards] (SCN*): Likewise.
28641         [C99-based standards] (*_t): Likewise.
28642         [C99-based-standards] (PRId8): Expect macro.
28643         [C99-based-standards] (PRIi8): Likewise.
28644         [C99-based-standards] (PRIo8): Likewise.
28645         [C99-based-standards] (PRIu8): Likewise.
28646         [C99-based-standards] (PRIx8): Likewise.
28647         [C99-based-standards] (PRIX8): Likewise.
28648         [C99-based-standards] (SCNd8): Likewise.
28649         [C99-based-standards] (SCNi8): Likewise.
28650         [C99-based-standards] (SCNo8): Likewise.
28651         [C99-based-standards] (SCNu8): Likewise.
28652         [C99-based-standards] (SCNx8): Likewise.
28653         [C99-based-standards] (PRIdLEAST8): Likewise.
28654         [C99-based-standards] (PRIiLEAST8): Likewise.
28655         [C99-based-standards] (PRIoLEAST8): Likewise.
28656         [C99-based-standards] (PRIuLEAST8): Likewise.
28657         [C99-based-standards] (PRIxLEAST8): Likewise.
28658         [C99-based-standards] (PRIXLEAST8): Likewise.
28659         [C99-based-standards] (SCNdLEAST8): Likewise.
28660         [C99-based-standards] (SCNiLEAST8): Likewise.
28661         [C99-based-standards] (SCNoLEAST8): Likewise.
28662         [C99-based-standards] (SCNuLEAST8): Likewise.
28663         [C99-based-standards] (SCNxLEAST8): Likewise.
28664         [C99-based-standards] (PRIdFAST8): Likewise.
28665         [C99-based-standards] (PRIiFAST8): Likewise.
28666         [C99-based-standards] (PRIoFAST8): Likewise.
28667         [C99-based-standards] (PRIuFAST8): Likewise.
28668         [C99-based-standards] (PRIxFAST8): Likewise.
28669         [C99-based-standards] (PRIXFAST8): Likewise.
28670         [C99-based-standards] (SCNdFAST8): Likewise.
28671         [C99-based-standards] (SCNiFAST8): Likewise.
28672         [C99-based-standards] (SCNoFAST8): Likewise.
28673         [C99-based-standards] (SCNuFAST8): Likewise.
28674         [C99-based-standards] (SCNxFAST8): Likewise.
28675         [C99-based-standards] (PRId16): Likewise.
28676         [C99-based-standards] (PRIi16): Likewise.
28677         [C99-based-standards] (PRIo16): Likewise.
28678         [C99-based-standards] (PRIu16): Likewise.
28679         [C99-based-standards] (PRIx16): Likewise.
28680         [C99-based-standards] (PRIX16): Likewise.
28681         [C99-based-standards] (SCNd16): Likewise.
28682         [C99-based-standards] (SCNi16): Likewise.
28683         [C99-based-standards] (SCNo16): Likewise.
28684         [C99-based-standards] (SCNu16): Likewise.
28685         [C99-based-standards] (SCNx16): Likewise.
28686         [C99-based-standards] (PRIdLEAST16): Likewise.
28687         [C99-based-standards] (PRIiLEAST16): Likewise.
28688         [C99-based-standards] (PRIoLEAST16): Likewise.
28689         [C99-based-standards] (PRIuLEAST16): Likewise.
28690         [C99-based-standards] (PRIxLEAST16): Likewise.
28691         [C99-based-standards] (PRIXLEAST16): Likewise.
28692         [C99-based-standards] (SCNdLEAST16): Likewise.
28693         [C99-based-standards] (SCNiLEAST16): Likewise.
28694         [C99-based-standards] (SCNoLEAST16): Likewise.
28695         [C99-based-standards] (SCNuLEAST16): Likewise.
28696         [C99-based-standards] (SCNxLEAST16): Likewise.
28697         [C99-based-standards] (PRIdFAST16): Likewise.
28698         [C99-based-standards] (PRIiFAST16): Likewise.
28699         [C99-based-standards] (PRIoFAST16): Likewise.
28700         [C99-based-standards] (PRIuFAST16): Likewise.
28701         [C99-based-standards] (PRIxFAST16): Likewise.
28702         [C99-based-standards] (PRIXFAST16): Likewise.
28703         [C99-based-standards] (SCNdFAST16): Likewise.
28704         [C99-based-standards] (SCNiFAST16): Likewise.
28705         [C99-based-standards] (SCNoFAST16): Likewise.
28706         [C99-based-standards] (SCNuFAST16): Likewise.
28707         [C99-based-standards] (SCNxFAST16): Likewise.
28708         [C99-based-standards] (PRId32): Likewise.
28709         [C99-based-standards] (PRIi32): Likewise.
28710         [C99-based-standards] (PRIo32): Likewise.
28711         [C99-based-standards] (PRIu32): Likewise.
28712         [C99-based-standards] (PRIx32): Likewise.
28713         [C99-based-standards] (PRIX32): Likewise.
28714         [C99-based-standards] (SCNd32): Likewise.
28715         [C99-based-standards] (SCNi32): Likewise.
28716         [C99-based-standards] (SCNo32): Likewise.
28717         [C99-based-standards] (SCNu32): Likewise.
28718         [C99-based-standards] (SCNx32): Likewise.
28719         [C99-based-standards] (PRIdLEAST32): Likewise.
28720         [C99-based-standards] (PRIiLEAST32): Likewise.
28721         [C99-based-standards] (PRIoLEAST32): Likewise.
28722         [C99-based-standards] (PRIuLEAST32): Likewise.
28723         [C99-based-standards] (PRIxLEAST32): Likewise.
28724         [C99-based-standards] (PRIXLEAST32): Likewise.
28725         [C99-based-standards] (SCNdLEAST32): Likewise.
28726         [C99-based-standards] (SCNiLEAST32): Likewise.
28727         [C99-based-standards] (SCNoLEAST32): Likewise.
28728         [C99-based-standards] (SCNuLEAST32): Likewise.
28729         [C99-based-standards] (SCNxLEAST32): Likewise.
28730         [C99-based-standards] (PRIdFAST32): Likewise.
28731         [C99-based-standards] (PRIiFAST32): Likewise.
28732         [C99-based-standards] (PRIoFAST32): Likewise.
28733         [C99-based-standards] (PRIuFAST32): Likewise.
28734         [C99-based-standards] (PRIxFAST32): Likewise.
28735         [C99-based-standards] (PRIXFAST32): Likewise.
28736         [C99-based-standards] (SCNdFAST32): Likewise.
28737         [C99-based-standards] (SCNiFAST32): Likewise.
28738         [C99-based-standards] (SCNoFAST32): Likewise.
28739         [C99-based-standards] (SCNuFAST32): Likewise.
28740         [C99-based-standards] (SCNxFAST32): Likewise.
28741         [C99-based-standards] (PRId64): Likewise.
28742         [C99-based-standards] (PRIi64): Likewise.
28743         [C99-based-standards] (PRIo64): Likewise.
28744         [C99-based-standards] (PRIu64): Likewise.
28745         [C99-based-standards] (PRIx64): Likewise.
28746         [C99-based-standards] (PRIX64): Likewise.
28747         [C99-based-standards] (SCNd64): Likewise.
28748         [C99-based-standards] (SCNi64): Likewise.
28749         [C99-based-standards] (SCNo64): Likewise.
28750         [C99-based-standards] (SCNu64): Likewise.
28751         [C99-based-standards] (SCNx64): Likewise.
28752         [C99-based-standards] (PRIdLEAST64): Likewise.
28753         [C99-based-standards] (PRIiLEAST64): Likewise.
28754         [C99-based-standards] (PRIoLEAST64): Likewise.
28755         [C99-based-standards] (PRIuLEAST64): Likewise.
28756         [C99-based-standards] (PRIxLEAST64): Likewise.
28757         [C99-based-standards] (PRIXLEAST64): Likewise.
28758         [C99-based-standards] (SCNdLEAST64): Likewise.
28759         [C99-based-standards] (SCNiLEAST64): Likewise.
28760         [C99-based-standards] (SCNoLEAST64): Likewise.
28761         [C99-based-standards] (SCNuLEAST64): Likewise.
28762         [C99-based-standards] (SCNxLEAST64): Likewise.
28763         [C99-based-standards] (PRIdFAST64): Likewise.
28764         [C99-based-standards] (PRIiFAST64): Likewise.
28765         [C99-based-standards] (PRIoFAST64): Likewise.
28766         [C99-based-standards] (PRIuFAST64): Likewise.
28767         [C99-based-standards] (PRIxFAST64): Likewise.
28768         [C99-based-standards] (PRIXFAST64): Likewise.
28769         [C99-based-standards] (SCNdFAST64): Likewise.
28770         [C99-based-standards] (SCNiFAST64): Likewise.
28771         [C99-based-standards] (SCNoFAST64): Likewise.
28772         [C99-based-standards] (SCNuFAST64): Likewise.
28773         [C99-based-standards] (SCNxFAST64): Likewise.
28774         [C99-based-standards] (PRIdMAX): Likewise.
28775         [C99-based-standards] (PRIiMAX): Likewise.
28776         [C99-based-standards] (PRIoMAX): Likewise.
28777         [C99-based-standards] (PRIuMAX): Likewise.
28778         [C99-based-standards] (PRIxMAX): Likewise.
28779         [C99-based-standards] (PRIXMAX): Likewise.
28780         [C99-based-standards] (SCNdMAX): Likewise.
28781         [C99-based-standards] (SCNiMAX): Likewise.
28782         [C99-based-standards] (SCNoMAX): Likewise.
28783         [C99-based-standards] (SCNuMAX): Likewise.
28784         [C99-based-standards] (SCNxMAX): Likewise.
28785         [C99-based-standards] (PRIdPTR): Likewise.
28786         [C99-based-standards] (PRIiPTR): Likewise.
28787         [C99-based-standards] (PRIoPTR): Likewise.
28788         [C99-based-standards] (PRIuPTR): Likewise.
28789         [C99-based-standards] (PRIxPTR): Likewise.
28790         [C99-based-standards] (PRIXPTR): Likewise.
28791         [C99-based-standards] (SCNdPTR): Likewise.
28792         [C99-based-standards] (SCNiPTR): Likewise.
28793         [C99-based-standards] (SCNoPTR): Likewise.
28794         [C99-based-standards] (SCNuPTR): Likewise.
28795         [C99-based-standards] (SCNxPTR): Likewise.
28796         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
28797         allow.
28798         * conform/data/stdint.h-data: Update comments to clarify
28799         requirements.
28800         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
28801         type.
28802         [C99-based standards] (INT8_MAX): Likewise.
28803         [C99-based standards] (INT16_MIN): Likewise.
28804         [C99-based standards] (INT16_MAX): Likewise.
28805         [C99-based standards] (INT32_MIN): Likewise.
28806         [C99-based standards] (INT32_MAX): Likewise.
28807         [C99-based standards] (INT64_MIN): Likewise.
28808         [C99-based standards] (INT64_MAX): Likewise.
28809         [C99-based standards] (UINT8_MAX): Likewise.
28810         [C99-based standards] (UINT16_MAX): Likewise.
28811         [C99-based standards] (UINT32_MAX): Likewise.
28812         [C99-based standards] (UINT64_MAX): Likewise.
28813         [C99-based standards] (INT_LEAST8_MIN): Likewise.
28814         [C99-based standards] (INT_LEAST8_MAX): Likewise.
28815         [C99-based standards] (INT_LEAST16_MIN): Likewise.
28816         [C99-based standards] (INT_LEAST16_MAX): Likewise.
28817         [C99-based standards] (INT_LEAST32_MIN): Likewise.
28818         [C99-based standards] (INT_LEAST32_MAX): Likewise.
28819         [C99-based standards] (INT_LEAST64_MIN): Likewise.
28820         [C99-based standards] (INT_LEAST64_MAX): Likewise.
28821         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28822         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28823         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28824         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28825         [C99-based standards] (INT_FAST8_MIN): Likewise.
28826         [C99-based standards] (INT_FAST8_MAX): Likewise.
28827         [C99-based standards] (INT_FAST16_MIN): Likewise.
28828         [C99-based standards] (INT_FAST16_MAX): Likewise.
28829         [C99-based standards] (INT_FAST32_MIN): Likewise.
28830         [C99-based standards] (INT_FAST32_MAX): Likewise.
28831         [C99-based standards] (INT_FAST64_MIN): Likewise.
28832         [C99-based standards] (INT_FAST64_MAX): Likewise.
28833         [C99-based standards] (UINT_FAST8_MAX): Likewise.
28834         [C99-based standards] (UINT_FAST16_MAX): Likewise.
28835         [C99-based standards] (UINT_FAST32_MAX): Likewise.
28836         [C99-based standards] (UINT_FAST64_MAX): Likewise.
28837         [C99-based standards] (INTPTR_MIN): Likewise.
28838         [C99-based standards] (INTPTR_MAX): Likewise.
28839         [C99-based standards] (UINTPTR_MAX): Likewise.
28840         [C99-based standards] (INTMAX_MIN): Likewise.
28841         [C99-based standards] (INTMAX_MAX): Likewise.
28842         [C99-based standards] (UINTMAX_MAX): Likewise.
28843         [C99-based standards] (PTRDIFF_MIN): Likewise.
28844         [C99-based standards] (PTRDIFF_MAX): Likewise.
28845         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28846         [C99-based standards] (SIZE_MAX): Likewise.
28847         [C99-based standards] (WCHAR_MAX): Likewise.
28848         [C99-based standards] (WINT_MAX): Likewise.
28849         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
28850         constraint on value.
28851         [C99-based standards] (WCHAR_MIN): Likewise.
28852         [C99-based standards] (WINT_MIN): Likewise.
28853         [C99-based standards] (*_t): Allow.
28854         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28855         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28856         Include math.h-data and complex.h-data.  Remove all expectations
28857         of math.h and complex.h contents.
28858         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28859         at end of line.
28860         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28861         (struct tm): Expect tag.
28862         [C99-based-standards] (wcstof): Expect function.
28863         [C99-based-standards] (wcstold): Likewise.
28864         [C99-based-standards] (wcstoll): Likewise.
28865         [C99-based-standards] (wcstoull): Likewise.
28866         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28867         macro-int-constant.  Specify type.
28868         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
28869         constraint on value.
28870         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28871         Specify type.
28872         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28873         Specify value.
28874         [ISO C standards]: Do not allow headers.
28875         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28876         wcs[abcdefghijklmnopqrstuvwxyz]*.
28877         [ISO C standards] (*_t): Do not allow.
28878         * conform/data/wctype.h-data [C99-based standards] (iswblank):
28879         Expect function.
28880         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28881         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28882         Specify type.
28883         [ISO C standards]: Do not allow headers.
28884         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28885         is[abcdefghijklmnopqrstuvwxyz]*.
28886         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28887         to[abcdefghijklmnopqrstuvwxyz]*.
28888         [ISO C standards] (*_t): Do not allow.
28889         * conform/data/stdalign.h-data: New file.
28890         * conform/data/stdbool.h-data: Likewise.
28891         * conform/data/stdnoreturn.h-data: Likewise.
28892
28893 2012-11-07  Roland McGrath  <roland@hack.frob.com>
28894
28895         [BZ #14815]
28896         * manual/filesys.texi (Directory Entries): Typo fix.
28897         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28898
28899 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28900
28901         * elf/elf.h (EM_AARCH64): New macro.
28902         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28903         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28904         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28905         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28906         (R_AARCH64_TLSDESC): Likewise.
28907         (NT_ARM_TLS): Likewise.
28908         (NT_ARM_HW_BREAK): Likewise.
28909         (NT_ARM_HW_WATCH): Likewise.
28910
28911 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28912
28913         [BZ #14811]
28914         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28915         (__ieee754_powl): Saturate nonzero exponents with absolute value
28916         below 0x1p-79 to +/- 0x1p-79.
28917         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28918         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28919         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28920         nonzero exponents with absolute value below 0x1p-32 to +/-
28921         0x1p-32.
28922         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28923         (__ieee754_powl): Saturate nonzero exponents with absolute value
28924         below 0x1p-79 to +/- 0x1p-79.
28925         * math/libm-test.inc (pow_test): Add more tests.
28926
28927 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28928
28929         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28930         _dl_s390_cap_flags with kernel. Increase string length.
28931         (_dl_s390_platforms): Add z196 and zEC12.
28932
28933 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28934
28935         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28936         Change XOPEN21K to XOPEN2K.
28937
28938 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
28939
28940         * string/memmove.c: Use memcpy when possible.
28941
28942 2012-11-06  Andreas Jaeger  <aj@suse.de>
28943
28944         * po/eo.po: Update from translation team.
28945
28946 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
28947
28948         [BZ #14793]
28949         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28950         exponent and small x and y exponents, scale x or y up.  Increase
28951         by 2 the exponent used in scaling up.
28952         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28953         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28954         * math/libm-test.inc (fma_test): Add more tests.
28955         (fma_test_towardzero): Likewise.
28956         (fma_test_downward): Likewise.
28957         (fma_test_upward): Likewise.
28958
28959 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
28960
28961         [BZ #14805]
28962         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28963         fenv_t *.
28964
28965         [BZ #14801]
28966         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28967         namespace for names of struct fields.
28968         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28969         fenv_t fields.
28970         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28971         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28972
28973 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28974
28975         [BZ #3665]
28976         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28977
28978 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
28979
28980         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28981         PTR_DEMANGLE.
28982
28983         [BZ #5246]
28984         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28985         PTR_DEMANGLE.
28986
28987 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
28988
28989         [BZ #14797]
28990         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28991         definitely overflow as x * y not x * y + z.
28992         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28993         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28994         * math/libm-test.inc (fma_test): Add more tests.
28995         (fma_test_towardzero): Likewise.
28996         (fma_test_downward): Likewise.
28997         (fma_test_upward): Likewise.
28998
28999 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
29000
29001         [BZ #157]
29002
29003         * include/stub-tag.h: Remove file.
29004         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
29005         '#include' of it.
29006         * manual/maint.texi (Porting): Don't reference it.
29007         * Makerules ($(objpfx)stubs): Likewise.
29008         * dirent/closedir.c: Don't include <stub-tag.h>.
29009         * dirent/dirfd.c: Likewise.
29010         * dirent/fdopendir.c: Likewise.
29011         * dirent/getdents.c: Likewise.
29012         * dirent/getdents64.c: Likewise.
29013         * dirent/opendir.c: Likewise.
29014         * dirent/readdir.c: Likewise.
29015         * dirent/readdir64.c: Likewise.
29016         * dirent/readdir64_r.c: Likewise.
29017         * dirent/readdir_r.c: Likewise.
29018         * dirent/rewinddir.c: Likewise.
29019         * dirent/seekdir.c: Likewise.
29020         * dirent/telldir.c: Likewise.
29021         * gmon/profil.c: Likewise.
29022         * grp/setgroups.c: Likewise.
29023         * inet/if_index.c: Likewise.
29024         * io/access.c: Likewise.
29025         * io/chdir.c: Likewise.
29026         * io/chmod.c: Likewise.
29027         * io/chown.c: Likewise.
29028         * io/close.c: Likewise.
29029         * io/dup.c: Likewise.
29030         * io/dup2.c: Likewise.
29031         * io/dup3.c: Likewise.
29032         * io/euidaccess.c: Likewise.
29033         * io/faccessat.c: Likewise.
29034         * io/fchdir.c: Likewise.
29035         * io/fchmod.c: Likewise.
29036         * io/fchmodat.c: Likewise.
29037         * io/fchown.c: Likewise.
29038         * io/fchownat.c: Likewise.
29039         * io/fcntl.c: Likewise.
29040         * io/flock.c: Likewise.
29041         * io/fstatfs.c: Likewise.
29042         * io/fstatfs64.c: Likewise.
29043         * io/fstatvfs.c: Likewise.
29044         * io/fstatvfs64.c: Likewise.
29045         * io/futimens.c: Likewise.
29046         * io/fxstat.c: Likewise.
29047         * io/fxstat64.c: Likewise.
29048         * io/fxstatat.c: Likewise.
29049         * io/fxstatat64.c: Likewise.
29050         * io/getcwd.c: Likewise.
29051         * io/isatty.c: Likewise.
29052         * io/lchmod.c: Likewise.
29053         * io/lchown.c: Likewise.
29054         * io/link.c: Likewise.
29055         * io/linkat.c: Likewise.
29056         * io/lseek.c: Likewise.
29057         * io/lseek64.c: Likewise.
29058         * io/lxstat64.c: Likewise.
29059         * io/mkdir.c: Likewise.
29060         * io/mkdirat.c: Likewise.
29061         * io/mkfifo.c: Likewise.
29062         * io/mkfifoat.c: Likewise.
29063         * io/open.c: Likewise.
29064         * io/open64.c: Likewise.
29065         * io/openat.c: Likewise.
29066         * io/openat64.c: Likewise.
29067         * io/pipe.c: Likewise.
29068         * io/pipe2.c: Likewise.
29069         * io/poll.c: Likewise.
29070         * io/posix_fadvise.c: Likewise.
29071         * io/posix_fadvise64.c: Likewise.
29072         * io/posix_fallocate.c: Likewise.
29073         * io/posix_fallocate64.c: Likewise.
29074         * io/read.c: Likewise.
29075         * io/readlink.c: Likewise.
29076         * io/readlinkat.c: Likewise.
29077         * io/rmdir.c: Likewise.
29078         * io/sendfile.c: Likewise.
29079         * io/sendfile64.c: Likewise.
29080         * io/statfs.c: Likewise.
29081         * io/statfs64.c: Likewise.
29082         * io/statvfs.c: Likewise.
29083         * io/statvfs64.c: Likewise.
29084         * io/symlink.c: Likewise.
29085         * io/symlinkat.c: Likewise.
29086         * io/ttyname.c: Likewise.
29087         * io/ttyname_r.c: Likewise.
29088         * io/umask.c: Likewise.
29089         * io/unlink.c: Likewise.
29090         * io/unlinkat.c: Likewise.
29091         * io/utime.c: Likewise.
29092         * io/utimensat.c: Likewise.
29093         * io/write.c: Likewise.
29094         * io/xmknod.c: Likewise.
29095         * io/xmknodat.c: Likewise.
29096         * io/xstat.c: Likewise.
29097         * io/xstat64.c: Likewise.
29098         * login/getpt.c: Likewise.
29099         * login/grantpt.c: Likewise.
29100         * login/unlockpt.c: Likewise.
29101         * math/e_acoshl.c: Likewise.
29102         * math/e_acosl.c: Likewise.
29103         * math/e_asinl.c: Likewise.
29104         * math/e_atan2l.c: Likewise.
29105         * math/e_atanhl.c: Likewise.
29106         * math/e_coshl.c: Likewise.
29107         * math/e_expl.c: Likewise.
29108         * math/e_fmodl.c: Likewise.
29109         * math/e_gammal_r.c: Likewise.
29110         * math/e_hypotl.c: Likewise.
29111         * math/e_j0l.c: Likewise.
29112         * math/e_j1l.c: Likewise.
29113         * math/e_jnl.c: Likewise.
29114         * math/e_lgammal_r.c: Likewise.
29115         * math/e_log10l.c: Likewise.
29116         * math/e_log2l.c: Likewise.
29117         * math/e_logl.c: Likewise.
29118         * math/e_powl.c: Likewise.
29119         * math/e_rem_pio2l.c: Likewise.
29120         * math/e_sinhl.c: Likewise.
29121         * math/e_sqrtl.c: Likewise.
29122         * math/fclrexcpt.c: Likewise.
29123         * math/fedisblxcpt.c: Likewise.
29124         * math/feenablxcpt.c: Likewise.
29125         * math/fegetenv.c: Likewise.
29126         * math/fegetexcept.c: Likewise.
29127         * math/fegetround.c: Likewise.
29128         * math/feholdexcpt.c: Likewise.
29129         * math/fesetenv.c: Likewise.
29130         * math/fesetround.c: Likewise.
29131         * math/feupdateenv.c: Likewise.
29132         * math/fgetexcptflg.c: Likewise.
29133         * math/fraiseexcpt.c: Likewise.
29134         * math/fsetexcptflg.c: Likewise.
29135         * math/ftestexcept.c: Likewise.
29136         * math/k_cosl.c: Likewise.
29137         * math/k_rem_pio2l.c: Likewise.
29138         * math/k_sinl.c: Likewise.
29139         * math/k_tanl.c: Likewise.
29140         * math/s_asinhl.c: Likewise.
29141         * math/s_atanl.c: Likewise.
29142         * math/s_cbrtl.c: Likewise.
29143         * math/s_erfl.c: Likewise.
29144         * math/s_expm1l.c: Likewise.
29145         * math/s_log1pl.c: Likewise.
29146         * math/s_tanhl.c: Likewise.
29147         * misc/acct.c: Likewise.
29148         * misc/brk.c: Likewise.
29149         * misc/chflags.c: Likewise.
29150         * misc/chroot.c: Likewise.
29151         * misc/fchflags.c: Likewise.
29152         * misc/fgetxattr.c: Likewise.
29153         * misc/flistxattr.c: Likewise.
29154         * misc/fremovexattr.c: Likewise.
29155         * misc/fsetxattr.c: Likewise.
29156         * misc/fsync.c: Likewise.
29157         * misc/ftruncate.c: Likewise.
29158         * misc/futimes.c: Likewise.
29159         * misc/futimesat.c: Likewise.
29160         * misc/getdomain.c: Likewise.
29161         * misc/getdtsz.c: Likewise.
29162         * misc/gethostid.c: Likewise.
29163         * misc/gethostname.c: Likewise.
29164         * misc/getloadavg.c: Likewise.
29165         * misc/getpagesize.c: Likewise.
29166         * misc/getsysstats.c: Likewise.
29167         * misc/getxattr.c: Likewise.
29168         * misc/gtty.c: Likewise.
29169         * misc/ioctl.c: Likewise.
29170         * misc/lgetxattr.c: Likewise.
29171         * misc/listxattr.c: Likewise.
29172         * misc/llistxattr.c: Likewise.
29173         * misc/lremovexattr.c: Likewise.
29174         * misc/lsetxattr.c: Likewise.
29175         * misc/lutimes.c: Likewise.
29176         * misc/madvise.c: Likewise.
29177         * misc/mincore.c: Likewise.
29178         * misc/mlock.c: Likewise.
29179         * misc/mlockall.c: Likewise.
29180         * misc/mmap.c: Likewise.
29181         * misc/mprotect.c: Likewise.
29182         * misc/msync.c: Likewise.
29183         * misc/munlock.c: Likewise.
29184         * misc/munlockall.c: Likewise.
29185         * misc/munmap.c: Likewise.
29186         * misc/preadv.c: Likewise.
29187         * misc/preadv64.c: Likewise.
29188         * misc/ptrace.c: Likewise.
29189         * misc/pwritev.c: Likewise.
29190         * misc/pwritev64.c: Likewise.
29191         * misc/readv.c: Likewise.
29192         * misc/reboot.c: Likewise.
29193         * misc/remap_file_pages.c: Likewise.
29194         * misc/removexattr.c: Likewise.
29195         * misc/revoke.c: Likewise.
29196         * misc/select.c: Likewise.
29197         * misc/setdomain.c: Likewise.
29198         * misc/setegid.c: Likewise.
29199         * misc/seteuid.c: Likewise.
29200         * misc/sethostid.c: Likewise.
29201         * misc/sethostname.c: Likewise.
29202         * misc/setregid.c: Likewise.
29203         * misc/setreuid.c: Likewise.
29204         * misc/setxattr.c: Likewise.
29205         * misc/sstk.c: Likewise.
29206         * misc/stty.c: Likewise.
29207         * misc/swapoff.c: Likewise.
29208         * misc/swapon.c: Likewise.
29209         * misc/sync.c: Likewise.
29210         * misc/syncfs.c: Likewise.
29211         * misc/syscall.c: Likewise.
29212         * misc/truncate.c: Likewise.
29213         * misc/ualarm.c: Likewise.
29214         * misc/usleep.c: Likewise.
29215         * misc/ustat.c: Likewise.
29216         * misc/utimes.c: Likewise.
29217         * misc/vhangup.c: Likewise.
29218         * misc/writev.c: Likewise.
29219         * posix/_exit.c: Likewise.
29220         * posix/alarm.c: Likewise.
29221         * posix/execve.c: Likewise.
29222         * posix/fexecve.c: Likewise.
29223         * posix/fork.c: Likewise.
29224         * posix/fpathconf.c: Likewise.
29225         * posix/getaddrinfo.c: Likewise.
29226         * posix/getegid.c: Likewise.
29227         * posix/geteuid.c: Likewise.
29228         * posix/getgid.c: Likewise.
29229         * posix/getgroups.c: Likewise.
29230         * posix/getlogin.c: Likewise.
29231         * posix/getlogin_r.c: Likewise.
29232         * posix/getpgid.c: Likewise.
29233         * posix/getpid.c: Likewise.
29234         * posix/getppid.c: Likewise.
29235         * posix/getresgid.c: Likewise.
29236         * posix/getresuid.c: Likewise.
29237         * posix/getsid.c: Likewise.
29238         * posix/getuid.c: Likewise.
29239         * posix/glob64.c: Likewise.
29240         * posix/nanosleep.c: Likewise.
29241         * posix/pathconf.c: Likewise.
29242         * posix/pause.c: Likewise.
29243         * posix/posix_madvise.c: Likewise.
29244         * posix/pread.c: Likewise.
29245         * posix/pread64.c: Likewise.
29246         * posix/pwrite.c: Likewise.
29247         * posix/pwrite64.c: Likewise.
29248         * posix/sched_getaffinity.c: Likewise.
29249         * posix/sched_getp.c: Likewise.
29250         * posix/sched_gets.c: Likewise.
29251         * posix/sched_primax.c: Likewise.
29252         * posix/sched_primin.c: Likewise.
29253         * posix/sched_rr_gi.c: Likewise.
29254         * posix/sched_setaffinity.c: Likewise.
29255         * posix/sched_setp.c: Likewise.
29256         * posix/sched_sets.c: Likewise.
29257         * posix/sched_yield.c: Likewise.
29258         * posix/setgid.c: Likewise.
29259         * posix/setlogin.c: Likewise.
29260         * posix/setpgid.c: Likewise.
29261         * posix/setresgid.c: Likewise.
29262         * posix/setresuid.c: Likewise.
29263         * posix/setsid.c: Likewise.
29264         * posix/setuid.c: Likewise.
29265         * posix/sleep.c: Likewise.
29266         * posix/spawni.c: Likewise.
29267         * posix/sysconf.c: Likewise.
29268         * posix/times.c: Likewise.
29269         * posix/wait.c: Likewise.
29270         * posix/wait3.c: Likewise.
29271         * posix/wait4.c: Likewise.
29272         * posix/waitpid.c: Likewise.
29273         * resolv/gai_sigqueue.c: Likewise.
29274         * resource/getpriority.c: Likewise.
29275         * resource/getrlimit.c: Likewise.
29276         * resource/getrusage.c: Likewise.
29277         * resource/nice.c: Likewise.
29278         * resource/setpriority.c: Likewise.
29279         * resource/setrlimit.c: Likewise.
29280         * resource/ulimit.c: Likewise.
29281         * rt/aio_cancel.c: Likewise.
29282         * rt/aio_fsync.c: Likewise.
29283         * rt/aio_read.c: Likewise.
29284         * rt/aio_sigqueue.c: Likewise.
29285         * rt/aio_suspend.c: Likewise.
29286         * rt/aio_write.c: Likewise.
29287         * rt/clock_getres.c: Likewise.
29288         * rt/clock_gettime.c: Likewise.
29289         * rt/clock_nanosleep.c: Likewise.
29290         * rt/clock_settime.c: Likewise.
29291         * rt/lio_listio.c: Likewise.
29292         * rt/mq_close.c: Likewise.
29293         * rt/mq_getattr.c: Likewise.
29294         * rt/mq_notify.c: Likewise.
29295         * rt/mq_open.c: Likewise.
29296         * rt/mq_receive.c: Likewise.
29297         * rt/mq_send.c: Likewise.
29298         * rt/mq_setattr.c: Likewise.
29299         * rt/mq_timedreceive.c: Likewise.
29300         * rt/mq_timedsend.c: Likewise.
29301         * rt/mq_unlink.c: Likewise.
29302         * rt/shm_open.c: Likewise.
29303         * rt/shm_unlink.c: Likewise.
29304         * rt/timer_create.c: Likewise.
29305         * rt/timer_delete.c: Likewise.
29306         * rt/timer_getoverr.c: Likewise.
29307         * rt/timer_gettime.c: Likewise.
29308         * rt/timer_settime.c: Likewise.
29309         * setjmp/__longjmp.c: Likewise.
29310         * setjmp/setjmp.c: Likewise.
29311         * signal/kill.c: Likewise.
29312         * signal/killpg.c: Likewise.
29313         * signal/raise.c: Likewise.
29314         * signal/sigaction.c: Likewise.
29315         * signal/sigaltstack.c: Likewise.
29316         * signal/sigblock.c: Likewise.
29317         * signal/sigignore.c: Likewise.
29318         * signal/sigintr.c: Likewise.
29319         * signal/signal.c: Likewise.
29320         * signal/sigpause.c: Likewise.
29321         * signal/sigpending.c: Likewise.
29322         * signal/sigqueue.c: Likewise.
29323         * signal/sigreturn.c: Likewise.
29324         * signal/sigset.c: Likewise.
29325         * signal/sigsetmask.c: Likewise.
29326         * signal/sigstack.c: Likewise.
29327         * signal/sigsuspend.c: Likewise.
29328         * signal/sigtimedwait.c: Likewise.
29329         * signal/sigvec.c: Likewise.
29330         * signal/sigwait.c: Likewise.
29331         * signal/sigwaitinfo.c: Likewise.
29332         * signal/sysv_signal.c: Likewise.
29333         * socket/accept.c: Likewise.
29334         * socket/accept4.c: Likewise.
29335         * socket/bind.c: Likewise.
29336         * socket/connect.c: Likewise.
29337         * socket/getpeername.c: Likewise.
29338         * socket/getsockname.c: Likewise.
29339         * socket/getsockopt.c: Likewise.
29340         * socket/isfdtype.c: Likewise.
29341         * socket/listen.c: Likewise.
29342         * socket/recv.c: Likewise.
29343         * socket/recvfrom.c: Likewise.
29344         * socket/recvmsg.c: Likewise.
29345         * socket/send.c: Likewise.
29346         * socket/sendmsg.c: Likewise.
29347         * socket/sendto.c: Likewise.
29348         * socket/setsockopt.c: Likewise.
29349         * socket/shutdown.c: Likewise.
29350         * socket/sockatmark.c: Likewise.
29351         * socket/socket.c: Likewise.
29352         * socket/socketpair.c: Likewise.
29353         * stdio-common/ctermid.c: Likewise.
29354         * stdio-common/cuserid.c: Likewise.
29355         * stdio-common/remove.c: Likewise.
29356         * stdio-common/rename.c: Likewise.
29357         * stdio-common/renameat.c: Likewise.
29358         * stdio-common/tempname.c: Likewise.
29359         * stdlib/getcontext.c: Likewise.
29360         * stdlib/makecontext.c: Likewise.
29361         * stdlib/setcontext.c: Likewise.
29362         * stdlib/swapcontext.c: Likewise.
29363         * stdlib/system.c: Likewise.
29364         * streams/fattach.c: Likewise.
29365         * streams/fdetach.c: Likewise.
29366         * streams/getmsg.c: Likewise.
29367         * streams/getpmsg.c: Likewise.
29368         * streams/putmsg.c: Likewise.
29369         * streams/putpmsg.c: Likewise.
29370         * sysdeps/unix/bsd/getpt.c: Likewise.
29371         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
29372         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
29373         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29375         Likewise.
29376         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
29377         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29378         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
29379         * sysvipc/msgctl.c: Likewise.
29380         * sysvipc/msgget.c: Likewise.
29381         * sysvipc/msgrcv.c: Likewise.
29382         * sysvipc/msgsnd.c: Likewise.
29383         * sysvipc/semctl.c: Likewise.
29384         * sysvipc/semget.c: Likewise.
29385         * sysvipc/semop.c: Likewise.
29386         * sysvipc/semtimedop.c: Likewise.
29387         * sysvipc/shmat.c: Likewise.
29388         * sysvipc/shmctl.c: Likewise.
29389         * sysvipc/shmdt.c: Likewise.
29390         * sysvipc/shmget.c: Likewise.
29391         * termios/tcdrain.c: Likewise.
29392         * termios/tcflow.c: Likewise.
29393         * termios/tcflush.c: Likewise.
29394         * termios/tcgetattr.c: Likewise.
29395         * termios/tcgetpgrp.c: Likewise.
29396         * termios/tcsendbrk.c: Likewise.
29397         * termios/tcsetattr.c: Likewise.
29398         * termios/tcsetpgrp.c: Likewise.
29399         * time/adjtime.c: Likewise.
29400         * time/clock.c: Likewise.
29401         * time/getitimer.c: Likewise.
29402         * time/gettimeofday.c: Likewise.
29403         * time/setitimer.c: Likewise.
29404         * time/settimeofday.c: Likewise.
29405         * time/stime.c: Likewise.
29406         * time/time.c: Likewise.
29407
29408 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
29409
29410         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
29411         /usr/old/bin.
29412
29413         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
29414         instead of spaces.
29415         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
29416
29417 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
29418
29419         [BZ #14796]
29420         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
29421         FE_TONEAREST before applying Dekker multiplication and Knuth
29422         addition.  Clear inexact exceptions and check for exact zero
29423         results afterwards.
29424         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29425         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29426         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29427         * math/libm-test.inc (fma_test): Add more tests.
29428         (fma_test_towardzero): Likewise.
29429         (fma_test_downward): Likewise.
29430         (fma_test_upward): Likewise.
29431         * sysdeps/generic/math_private.h (default_libc_fesetround): New
29432         function.
29433         (libc_fesetround): New macro.
29434         (libc_fesetroundf): Likewise.
29435         (libc_fesetroundl): Likewise.
29436         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
29437         function.
29438         (libc_fesetround_387): Likewise.
29439         (libc_fesetroundf): New macro.
29440         (libc_fesetround): Likewise.
29441         (libc_fesetroundl): Likewise.
29442         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
29443         function.
29444         (libc_fesetroundf): New macro.
29445         (libc_fesetround): Likewise.
29446         (libc_fesetroundl): Likewise.
29447         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
29448         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
29449         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
29450         libm_hidden_ver.
29451         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
29452         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
29453         libm_hidden_def.
29454         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
29455         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
29456         libm_hidden_ver.
29457         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
29458         libm_hidden_def.
29459
29460         [BZ #3439]
29461         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
29462         integer constant usable in #if and use that to give value to enum
29463         constant.
29464         (FE_DIVBYZERO): Likewise.
29465         (FE_UNDERFLOW): Likewise.
29466         (FE_OVERFLOW): Likewise.
29467         (FE_INVALID): Likewise.
29468         (FE_INVALID_SNAN): Likewise.
29469         (FE_INVALID_ISI): Likewise.
29470         (FE_INVALID_IDI): Likewise.
29471         (FE_INVALID_ZDZ): Likewise.
29472         (FE_INVALID_IMZ): Likewise.
29473         (FE_INVALID_COMPARE): Likewise.
29474         (FE_INVALID_SOFTWARE): Likewise.
29475         (FE_INVALID_SQRT): Likewise.
29476         (FE_INVALID_INTEGER_CONVERSION): Likewise.
29477         (FE_TONEAREST): Likewise.
29478         (FE_TOWARDZERO): Likewise.
29479         (FE_UPWARD): Likewise.
29480         (FE_DOWNWARD): Likewise.
29481         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
29482         (FE_DIVBYZERO): Likewise.
29483         (FE_OVERFLOW): Likewise.
29484         (FE_UNDERFLOW): Likewise.
29485         (FE_INEXACT): Likewise.
29486         (FE_TONEAREST): Likewise.
29487         (FE_DOWNWARD): Likewise.
29488         (FE_UPWARD): Likewise.
29489         (FE_TOWARDZERO): Likewise.
29490         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
29491         (FE_UNDERFLOW): Likewise.
29492         (FE_OVERFLOW): Likewise.
29493         (FE_DIVBYZERO): Likewise.
29494         (FE_INVALID): Likewise.
29495         (FE_TONEAREST): Likewise.
29496         (FE_TOWARDZERO): Likewise.
29497         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
29498         (FE_OVERFLOW): Likewise.
29499         (FE_UNDERFLOW): Likewise.
29500         (FE_DIVBYZERO): Likewise.
29501         (FE_INEXACT): Likewise.
29502         (FE_TONEAREST): Likewise.
29503         (FE_TOWARDZERO): Likewise.
29504         (FE_UPWARD): Likewise.
29505         (FE_DOWNWARD): Likewise.
29506         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
29507         (FE_DIVBYZERO): Likewise.
29508         (FE_OVERFLOW): Likewise.
29509         (FE_UNDERFLOW): Likewise.
29510         (FE_INEXACT): Likewise.
29511         (FE_TONEAREST): Likewise.
29512         (FE_DOWNWARD): Likewise.
29513         (FE_UPWARD): Likewise.
29514         (FE_TOWARDZERO): Likewise.
29515
29516 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
29517
29518         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
29519
29520 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
29521
29522         * scripts/cross-test-ssh.sh (command): Use newlines to separate
29523         commands.  Quote $PWD.
29524         (blacklist_exports): Don't use remove_newlines.  Replace "declare
29525         -x" by "export".
29526         (remove_newlines): Remove.
29527
29528 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
29529
29530         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
29531         * stdlib/stdlib.h (atof): Moved to ...
29532         * include/bits/stdlib-float.h: Here.  New file.
29533         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
29534         * stdlib/bits/stdlib-float.h: New file.
29535         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
29536         -mno-sse -mno-mmx.
29537         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
29538         <xmmintrin.h>.
29539
29540 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
29541
29542         * conform/conformtest.pl (@headers): Add fenv.h.
29543         * conform/data/fenv.h-data: New file.
29544         * include/fenv.h [_ISOMAC]: Disable all contents of file except
29545         include of <math/fenv.h>.
29546
29547         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
29548         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
29549         && !UNIX98].  Enables tests for XOPEN2K8.
29550         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
29551         POSIX2008]: Likewise.
29552
29553         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
29554         (struct rusage): Do not expect type or its members.
29555
29556         [BZ #3439]
29557         * math/math.h (FP_NAN): Define macro to integer constant usable in
29558         #if and use that to give value to enum constant.
29559         (FP_INFINITE): Likewise.
29560         (FP_ZERO): Likewise.
29561         (FP_SUBNORMAL): Likewise.
29562         (FP_NORMAL): Likewise.
29563
29564 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
29565
29566         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
29567         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
29568         arguments.
29569
29570 2012-11-02  Roland McGrath  <roland@hack.frob.com>
29571
29572         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
29573         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
29574         autoconf-time if not.
29575         * configure.in: Remove AC_PREREQ.
29576
29577 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29578
29579         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
29580         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
29581         of the internal implementation.
29582
29583 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
29584
29585         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
29586         except include of <misc/sys/syslog.h>.
29587
29588 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29589
29590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
29591         function returns with a NULL context exit with zero.
29592
29593 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29594
29595         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
29596
29597 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
29598
29599         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
29600         (run_program_cmd): This.
29601         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
29602         (tst_langinfo): New variable.  Use it.
29603
29604 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
29605
29606         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
29607         floating point opcodes.
29608
29609 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29610
29611         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
29612         variable.
29613
29614         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
29615
29616         * sysdeps/mach/hurd/powerpc: Remove directory.
29617         * sysdeps/mach/powerpc: Likewise.
29618
29619 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29620
29621         * scripts/check-local-headers.sh: Ignore c++ headers.
29622
29623 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29624
29625         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
29626         __libc_cleanup_region_start argument.
29627
29628 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
29629
29630         [BZ #14784]
29631         [BZ #14785]
29632         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
29633         x * y using scaling, not as x * y + z.
29634         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29635         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29636         * math/libm-test.inc (fma_test): Add more tests.
29637         (fma_test_towardzero): Likewise.
29638         (fma_test_downward): Likewise.
29639         (fma_test_upward): Likewise.
29640
29641 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29642
29643         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
29644
29645 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
29646
29647         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
29648         New variable.
29649
29650 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
29651
29652         * rt/tst-shm.c (worker): Correct checking for mmap failure.
29653
29654 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
29655
29656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29657         Fix sort order.
29658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29659         Likewise.
29660
29661 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29662
29663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29664         Fix the order of the list for glibc 2.17.
29665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29666         Likewise.
29667
29668 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
29669
29670         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29671
29672 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
29673
29674         [BZ #14610]
29675         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
29676         for low part of x being zero before using __atanl (y).
29677         * math/libm-test.inc (atan2_test): Add another test.
29678
29679         * manual/install.texi (Configuring and compiling): Document
29680         general use of test-wrapper and test-wrapper-env.
29681         * INSTALL: Regenerated.
29682
29683         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
29684         (__fma): Do not extract and scale down low bits on after-rounding
29685         systems when result rounded to normal precision would have normal
29686         exponent.
29687         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
29688         (__fmal): Do not extract and scale down low bits on after-rounding
29689         systems when result rounded to normal precision would have normal
29690         exponent.
29691         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
29692         (__fmal): Do not extract and scale down low bits on after-rounding
29693         systems when result rounded to normal precision would have normal
29694         exponent.
29695         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
29696         macro.
29697         (fma_test): Add more tests.
29698         (fma_test_towardzero): Likewise.
29699         (fma_test_downward): Likewise.
29700         (fma_test_upward): Likewise.
29701
29702 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
29703
29704         * sysdeps/i386/tininess.h: Renamed to ...
29705         * sysdeps/x86/tininess.h: This.
29706         * sysdeps/x86_64/tininess.h: Removed.
29707
29708 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
29709
29710         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
29711         input.  Use $(build-program-cmd).
29712         ($(objpfx)tst-array1-static.out): Likewise.
29713         ($(objpfx)tst-array2.out): Likewise.
29714         ($(objpfx)tst-array3.out): Likewise.
29715         ($(objpfx)tst-array4.out): Likewise.
29716         ($(objpfx)tst-array5.out): Likewise.
29717         ($(objpfx)tst-array5-static.out): Likewise.
29718
29719 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
29720
29721         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
29722         if defined.
29723
29724         * nss/nsswitch.h (nss_interface_function): Provide new
29725         macro for use with NSS functions.
29726         * grp/initgroups.c: Use new macro.
29727         * nss/getXXbyYY.c: Likewise.
29728         * nss/getXXbyYY_r.c: Likewise.
29729         * nss/getXXent.c: Likewise.
29730         * nss/getXXent_r.c: Likewise.
29731         * sysdeps/posix/getaddrinfo.c: Likewise.
29732
29733 2012-10-30  Andreas Jaeger  <aj@suse.de>
29734
29735         * po/ru.po: Update Russion translation from translation project.
29736
29737 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
29738
29739         [BZ #14152]
29740         [BZ #14783]
29741         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
29742         result and shift together with sticky bit instead of replicating
29743         round-to-nearest rounding.
29744         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29745         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29746         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
29747         missing underflow exceptions.
29748         (fma_test_towardzero): Add more tests.
29749         (fma_test_downward): Likewise.
29750         (fma_test_upward): Likewise.
29751
29752         [BZ #14047]
29753         * sysdeps/generic/tininess.h: New file.
29754         * sysdeps/i386/tininess.h: Likewise.
29755         * sysdeps/sh/tininess.h: Likewise.
29756         * sysdeps/x86_64/tininess.h: Likewise.
29757         * stdlib/tst-strtod-underflow.c: Likewise.
29758         * stdlib/tst-tininess.c: Likewise.
29759         * stdlib/strtod_l.c: Include <tininess.h>.
29760         (round_and_return): Do not set errno for exact underflow cases.
29761         Force an underflow exception when setting errno for underflow.
29762         Determine underflow based on rounding to normal precision if
29763         TININESS_AFTER_ROUNDING.
29764         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
29765         ERANGE for exact underflow cases.
29766         * stdlib/Makefile (tests): Add tst-tininess and
29767         tst-strtod-underflow.
29768         ($(objpfx)tst-tininess): Use $(link-libm).
29769         ($(objpfx)tst-strtod-underflow): Likewise.
29770
29771 2012-10-30  Andreas Jaeger  <aj@suse.de>
29772
29773         [BZ#14767]
29774         * elf/Makefile (tests): Remove conditional for have-initfini-array
29775         since this is now always required and the variable does not exist
29776         anymore.
29777         (tests-static): Likewise.
29778         (modules-names): Likewise.
29779
29780         * po/eo.po: Add Esperanto translation from translation project.
29781
29782         * elf/tst-array1.c (fini_array): Make writeable so that it can be
29783         merged with constructor/destructor.
29784         (init_array): Likewise.
29785         * elf/tst-array2dep.c (fini_array): Likewise.
29786         (init_array): Likewise.
29787
29788 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
29789
29790         * manual/message.texi: Delete @cartouche tags.
29791
29792 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
29793
29794         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
29795         EOPNOTSUPP.
29796         * sysdeps/mach/hurd/fsync.c: Likewise.
29797
29798         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
29799         [_POSIX_REALTIME_SIGNALS]: Change condition to
29800         [_POSIX_REALTIME_SIGNALS > 0].
29801
29802 2012-10-27  Andreas Jaeger  <aj@suse.de>
29803
29804         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
29805         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
29806         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
29807         [__WORDSIZE != 64]: Likewise.
29808
29809 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
29810
29811         *  iconvdata/tst-table.sh: Remove ${SHELL}.
29812         *  iconvdata/tst-tables.sh: Likewise.
29813
29814 2012-10-25  David S. Miller  <davem@davemloft.net>
29815
29816         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29817         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29818         of strtoull.
29819
29820         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29821         ifunc-impl-list.c
29822         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29823         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29824         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29825         file.
29826
29827 2012-10-25  Roland McGrath  <roland@hack.frob.com>
29828
29829         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29830         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29831         __getdirentries.
29832
29833 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
29834             Jim Blandy  <jimb@codesourcery.com>
29835
29836         * scripts/cross-test-ssh.sh: New file.
29837         * manual/install.texi (Configuring and compiling): Document use of
29838         cross-test-ssh.sh.
29839         * INSTALL: Regenerated.
29840
29841 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
29842
29843         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29844         EOPNOTSUPP.
29845
29846 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
29847
29848         * Makeconfig (run-program-prefix): Fix comment.
29849
29850 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
29851             Jim Blandy  <jimb@codesourcery.com>
29852
29853         * Makeconfig (test-wrapper): New variable,
29854         (test-wrapper-env): Likewise.
29855         [$(cross-compiling) = yes && $(test-wrapper) != ""]
29856         (run-built-tests): Define to yes.
29857         (run-program-prefix): Use $(test-wrapper).
29858         (built-program-cmd): Likewise.
29859         * Rules (make-test-out): Use $(test-wrapper-env) and
29860         $(host-built-program-cmd).
29861         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29862         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29863         tst-pathopt.sh.
29864         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29865         $(test-wrapper-env) to tst-rtld-load-self.sh.
29866         ($(objpfx)order2.out): Use $(test-wrapper).
29867         ($(objpfx)tst-initorder.out): Likewise.
29868         ($(objpfx)tst-initorder2.out): Likewise.
29869         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29870         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29871         (test_wrapper_env): New variable.  Use it to run ld.so.
29872         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29873         Use it to run ld.so.
29874         (test_wrapper_env): Likewise.
29875         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29876         $(test-wrapper) to run-iconv-test.sh.
29877         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29878         (ICONV): Use $test_wrapper.
29879         * posix/Makefile ($(objpfx)globtest.out): Pass
29880         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29881         globtest.sh, not $(run-program-prefix).
29882         * posix/globtest.sh (run_via_rtld_prefix): New variable.
29883         (test_wrapper): Likewise.
29884         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
29885         set together with run_via_rtld_prefix.
29886         (run_program_prefix): Define in terms of test_wrapper and
29887         run_via_rtld_prefix.
29888
29889 2012-10-24  Roland McGrath  <roland@hack.frob.com>
29890
29891         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29892         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29893         Targets removed.
29894
29895         [BZ #14743]
29896         * include/time.h: Remove librt_hidden_proto (clock_gettime).
29897         Declare __clock_getres, __clock_gettime, __clock_settime,
29898         __clock_nanosleep, and __clock_getcpuclockid.
29899         * rt/clock_gettime.c: Define __clock_gettime as an alias.
29900         Remove librt_hidden_def (clock_gettime).
29901         * sysdeps/unix/clock_gettime.c: Likewise.
29902         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29903         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29904         * rt/clock_getres.c: Define __clock_getres as an alias.
29905         * sysdeps/posix/clock_getres.c: Likewise.
29906         * rt/clock_settime.c: Define __clock_settime as an alias.
29907         * sysdeps/unix/clock_settime.c: Likewise.
29908         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29909         * sysdeps/unix/clock_nanosleep.c: Likewise.
29910         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29911         * rt/clock-compat.c: New file.
29912         * rt/Makefile (librt-routines): Add clock-compat and move
29913         $(clock-routines) to ...
29914         (routines): ... here, new variable.
29915         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29916         Don't add get_clockfreq here.
29917         * rt/Versions (libc: GLIBC_2.17): New version set.
29918         Add clock_* symbols here.
29919         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
29920         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29921         (GLIBC_2.17): Add clock_* symbols.
29922         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29923         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29924         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29926         Likewise.
29927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29928         Likewise.
29929         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29930         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29931         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29932         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29933         * NEWS: Mention the move.
29934
29935         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29936         Use __open, __read, __close rather than their public counterparts.
29937         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29938         (__get_clockfreq_via_cpuinfo): Likewise.
29939         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29940         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29941
29942         * config.h.in (HAVE_IFUNC): New #undef.
29943         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29944         was successful.
29945         * configure: Regenerated.
29946
29947 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
29948
29949         * configure.in: Move READELF check to start of file.
29950         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29951         libc_cv_asm_gnu_indirect_function in the process.
29952         * configure: Regenerated.
29953
29954 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
29955
29956         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29957         send the output to /dev/null.
29958         (libc_cv_cc_with_libunwind): Likewise.
29959         (libc_cv_as_noexecstack): Likewise.
29960         * configure: Regenerate.
29961
29962 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
29963
29964         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29965
29966         * posix/globtest.sh (TMPDIR): Do not set.
29967         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29968         (testout): Likewise.
29969
29970 2012-10-24  Andreas Jaeger  <aj@suse.de>
29971
29972         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29973         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29974         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29975         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29976         posix_fadvise64, posix_fallocate64.
29977
29978         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29979         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29980         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29981         Likewise.
29982         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29983         Likewise.
29984         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29985
29986         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29987         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29988         <bits/fcntl-linux.h>.
29989         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29990
29991         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29992         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29993         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29994         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29995         [__WORDSIZE != 64]: Likewise.
29996
29997 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
29998
29999         * Makeconfig (run-built-tests): New variable.
30000         * Rules [$(cross-compiling) = yes]: Change condition to
30001         [$(run-built-tests) = no].
30002         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
30003         to [$(run-built-tests) = yes].
30004         * elf/Makefile [$(cross-compiling) = no]: Likewise
30005         * grp/Makefile [$(cross-compiling) = no]: Likewise.
30006         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
30007         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
30008         * intl/Makefile [$(cross-compiling) = no]: Likewise.
30009         * io/Makefile [$(cross-compiling) = no]: Likewise.
30010         * libio/Makefile [$(cross-compiling) = no]: Likewise.
30011         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
30012         * misc/Makefile [$(cross-compiling) = no]: Likewise.
30013         * posix/Makefile [$(cross-compiling) = no]: Likewise.
30014         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
30015         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
30016         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
30017         * string/Makefile [$(cross-compiling) = no]: Likewise.
30018
30019         * posix/Makefile ($(objpfx)globtest.out): Pass
30020         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
30021         $(rtld-installed-name).
30022         * posix/globtest.sh (elf_objpfx): Remove variable.
30023         (rtld_installed_name): Likewise.
30024         (library_path): Likewise.
30025         (run_program_prefix): New variable.  Use for running globtest
30026         binary.
30027
30028 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
30029             Joseph Myers  <joseph@codesourcery.com>
30030
30031         * Makeconfig (host-built-program-cmd): New variable.
30032         * elf/Makefile (tst-stackguard1-ARGS): Use
30033         $(host-built-program-cmd).
30034         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
30035         (tst-spawn-ARGS): Likewise.
30036         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
30037
30038 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
30039             Jim Blandy  <jimb@codesourcery.com>
30040
30041         * Makeconfig (run-via-rtld-prefix): New variable.
30042         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
30043         (built-program-cmd): Likewise.
30044
30045 2012-10-22  Andreas Jaeger  <aj@suse.de>
30046
30047         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
30048         __O_RSYNC if it exists, otherwise to O_SYNC.
30049
30050 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
30051             Joseph Myers  <joseph@codesourcery.com>
30052
30053         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
30054         /dev/null.
30055         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
30056         from /dev/null
30057         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
30058         /dev/null.
30059
30060 2012-10-22  Andreas Jaeger  <aj@suse.de>
30061
30062         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
30063         Define always.
30064         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
30065
30066         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30067         bits/fcntl-linux.h.
30068
30069         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
30070         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
30071
30072         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
30073         to __O_LARGEFILE.
30074         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
30075         to __O_LARGEFILE.
30076
30077 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
30078             Joseph Myers  <joseph@codesourcery.com>
30079
30080         * config.make.in (NM): New variable.
30081
30082 2012-10-21  Andreas Jaeger  <aj@suse.de>
30083
30084         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
30085         definitions and declarations that are provided by
30086         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30087
30088 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
30089
30090         [BZ #14683]
30091         * elf/Makefile (tests-static): Add tst-leaks1-static.
30092         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
30093         ($(objpfx)tst-leaks1-static): New rule.
30094         ($(objpfx)tst-leaks1-static-mem): Likewise.
30095         (tst-leaks1-static-ENV): New macro.
30096         * elf/dl-open.c (dl_open_worker): Check the main application
30097         only if SHARED is defined.
30098         * elf/tst-leaks1-static.c: New file.
30099
30100 2012-10-20  Andreas Jaeger  <aj@suse.de>
30101
30102         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
30103         generic values for Linux.
30104         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
30105         and declarations that are provided by <bits/fcntl-linux.h> and
30106         include <bits/fcntl-linux.h>.
30107         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30108         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30109
30110 2012-10-20  Roland McGrath  <roland@hack.frob.com>
30111
30112         * io/fcntl.h: Move include of <bits/types.h> to the top and
30113         include it unconditionally.
30114
30115 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
30116
30117         * wcsmbs/Makefile (tests-ifunc): New variable.
30118         (tests): Add $(tests-ifunc).
30119         * wcsmbs/test-wcschr-ifunc.c: New file.
30120         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
30121         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
30122         * wcsmbs/test-wcslen-ifunc.c: Likewise.
30123         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
30124         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
30125
30126         * string/Makefile (tests-ifunc): New variable.
30127         (tests): Add $(tests-ifunc).
30128         * string/test-memccpy.c (TEST_NAME): New macro.
30129         * string/test-memchr.c (TEST_NAME): Likewise.
30130         * string/test-memcmp.c (TEST_NAME): Likewise.
30131         * string/test-memcpy.c (TEST_NAME): Likewise.
30132         * string/test-memmem.c (TEST_NAME): Likewise.
30133         * string/test-memmove.c (TEST_NAME): Likewise.
30134         * string/test-memset.c (TEST_NAME): Likewise.
30135         * string/test-rawmemchr.c (TEST_NAME): Likewise.
30136         * string/test-stpcpy.c (TEST_NAME): Likewise.
30137         * string/test-stpncpy.c (TEST_NAME): Likewise.
30138         * string/test-strcasecmp.c (TEST_NAME): Likewise.
30139         * string/test-strcasestr.c (TEST_NAME): Likewise.
30140         * string/test-strcat.c (TEST_NAME): Likewise.
30141         * string/test-strchr.c (TEST_NAME): Likewise.
30142         * string/test-strcmp.c(TEST_NAME): Likewise.
30143         * string/test-strcpy.c (TEST_NAME): Likewise.
30144         * string/test-strcspn.c (TEST_NAME): Likewise.
30145         * string/test-strlen.c (TEST_NAME): Likewise.
30146         * string/test-strncasecmp.c (TEST_NAME): Likewise.
30147         * string/test-strncmp.c (TEST_NAME): Likewise.
30148         * string/test-strncpy.c (TEST_NAME): Likewise.
30149         * string/test-strnlen.c (TEST_NAME): Likewise.
30150         * string/test-strpbrk.c (TEST_NAME): Likewise.
30151         * string/test-strrchr.c (TEST_NAME): Likewise.
30152         * string/test-strspn.c (TEST_NAME): Likewise.
30153         * string/test-strstr.c (TEST_NAME): Likewise.
30154         * string/test-bcopy-ifunc.c: New file.
30155         * string/test-bzero-ifunc.c: Likewise.
30156         * string/test-memccpy-ifunc.c: Likewise.
30157         * string/test-memchr-ifunc.c: Likewise.
30158         * string/test-memcmp-ifunc.c: Likewise.
30159         * string/test-memcpy-ifunc.c: Likewise.
30160         * string/test-memmem-ifunc.c: Likewise.
30161         * string/test-memmove-ifunc.c: Likewise.
30162         * string/test-mempcpy-ifunc.c: Likewise.
30163         * string/test-memset-ifunc.c: Likewise.
30164         * string/test-rawmemchr-ifunc.c: Likewise.
30165         * string/test-stpcpy-ifunc.c: Likewise.
30166         * string/test-stpncpy-ifunc.c: Likewise.
30167         * string/test-strcasecmp-ifunc.c: Likewise.
30168         * string/test-strcasestr-ifunc.c: Likewise.
30169         * string/test-strcat-ifunc.c: Likewise.
30170         * string/test-strchr-ifunc.c: Likewise.
30171         * string/test-strchrnul-ifunc.c: Likewise.
30172         * string/test-strcmp-ifunc.c: Likewise.
30173         * string/test-strcpy-ifunc.c: Likewise.
30174         * string/test-strcspn-ifunc.c: Likewise.
30175         * string/test-strlen-ifunc.c: Likewise.
30176         * string/test-strncasecmp-ifunc.c: Likewise.
30177         * string/test-strncat-ifunc.c: Likewise.
30178         * string/test-strncmp-ifunc.c: Likewise.
30179         * string/test-strncpy-ifunc.c: Likewise.
30180         * string/test-strnlen-ifunc.c: Likewise.
30181         * string/test-strpbrk-ifunc.c: Likewise.
30182         * string/test-strrchr-ifunc.c: Likewise.
30183         * string/test-strspn-ifunc.c: Likewise.
30184         * string/test-strstr-ifunc.c: Likewise.
30185
30186         * debug/Makefile (tests-ifunc): New variable.
30187         (tests): Add $(tests-ifunc).
30188         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
30189         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
30190         * debug/test-stpcpy_chk-ifunc.c: New file.
30191         * debug/test-strcpy_chk-ifunc.c: Likewise.
30192
30193 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
30194
30195         [BZ #13601]
30196         * elf/dl-load.c (open_verify): Retry read if the entire ELF
30197         header is not read in.
30198
30199 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
30200
30201         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
30202         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
30203         directly.  Pass built executable to script as
30204         $(built-program-cmd).
30205         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
30206         $testprogram without using LD_LIBRARY_PATH and $ldso.
30207
30208         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
30209         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
30210         $(rtld-installed-name).
30211         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
30212         (rtld_installed_name): Likewise.
30213         (library_path): Likewise.
30214         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
30215         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
30216         $(run-program-prefix) to tst-tables.sh.
30217         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
30218         it to run tst-table-from and tst-table-to.
30219         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
30220         Pass it to tst-table.sh.
30221         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
30222         $(run-program-prefix) to tst-gettext.sh.
30223         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
30224         tst-translit.sh.
30225         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
30226         tst-gettext2.sh.
30227         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
30228         to run tst-gettext.
30229         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
30230         to run tst-gettext2.
30231         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
30232         to run tst-translit.
30233         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
30234         $(run-program-prefix) to tst-mtrace.sh.
30235         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
30236         to run tst-mtrace.
30237         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
30238         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
30239         $(rtld-installed-name).
30240         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
30241         (rtld_installed_name): Likewise.
30242         (run_program_prefix): New variable.  Use it to run wordexp-test.
30243
30244         * Makeconfig (ARCH): Remove all definitions.
30245         (machine): Likewise.
30246         [ARCH]: Remove conditional code.
30247         [!objdir]: Give error.
30248         [!objdir] (objpfx): Remove.
30249         [!objdir] (common-objpfx): Likewise.
30250         [!objdir] (common-objdir): Likewise.
30251         * configure.in (config_makefile): Remove.  Hardcode Makefile in
30252         AC_CONFIG_FILES call.
30253         * configure: Regenerated.
30254
30255         [BZ #13888]
30256         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
30257         or TMPDIR.
30258         (testout): Likewise.
30259
30260         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
30261         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
30262         $(rtld-installed-name).
30263         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
30264         (rtld_installed_name): Likwise.
30265         (runit): Remove function.
30266         (run_getconf): New variable,  Use it for running getconf binary.
30267
30268 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
30269
30270         [BZ #14716]
30271         * string/test-memmem.c (check_result): New function.
30272         (do_one_test): Use it.
30273         (check1): New function.
30274         (test_main): Use it.
30275
30276 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
30277
30278         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
30279
30280 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
30281
30282         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
30283         (_G_LSEEK64): Likewise.
30284         (_G_MMAP64): Likewise.
30285         (_G_FSTAT64): Likewise.
30286         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
30287         (_G_LSEEK64): Likewise.
30288         (_G_MMAP64): Likewise.
30289         (_G_FSTAT64): Likewise.
30290         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
30291         unconditional.  Call __mmap64 directly.
30292         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
30293         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
30294         __lseek64 directly.
30295         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
30296         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
30297         __mmap64 directly.
30298         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
30299         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
30300         __lseek64 directly.
30301         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
30302         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
30303         __lseek64 directly.
30304         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
30305         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
30306         __lseek64 directly.
30307         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
30308         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
30309         __fxstat64 directly.
30310         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
30311         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
30312         unconditional.
30313         (freopen64) [!_G_OPEN64]: Remove conditional code.
30314         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
30315         unconditional.
30316         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
30317         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
30318         unconditional.
30319         (ftello64) [!_G_LSEEK64]: Remove conditional code.
30320         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
30321         unconditional.
30322         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30323         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
30324         unconditional.
30325         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
30326         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
30327         unconditional.
30328         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30329         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
30330         unconditional.
30331         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30332         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
30333         unconditional.
30334         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30335
30336 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30337
30338         [BZ #12140]
30339         * manual/memory.texi (Malloc Tunable Parameters): Add note
30340         about free list pointers overwriting some perturb bytes.
30341         Wording suggested by Roland McGrath.
30342
30343 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
30344
30345         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
30346         (lgamma_test): Likewise.
30347         (tgamma_test): Likewise.
30348
30349 2012-10-16  Florian Weimer  <fweimer@redhat.com>
30350
30351         [BZ #14700]
30352         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
30353         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
30354
30355 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
30356
30357         * NEWS: Mention BZ #14716.
30358         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
30359         when removing AVAILABLE1_USES_J macro.
30360
30361 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
30362
30363         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
30364         (__bswap_64): __uint64_t for unsigned 64-bit int.
30365
30366 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
30367
30368         * include/string.h (memmem): Declare libc hidden alias.
30369         * string/memmem.c (memmem): Define libc hidden alias.
30370         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
30371         __read, __close instead of open, read, close.
30372
30373 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
30374
30375         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
30376         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
30377         global and hidden.
30378         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
30379         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
30380         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
30381         Likewise.
30382         (__rawmemchr_sse2): Likewise.
30383         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
30384         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
30385         (__strchr_sse2): Likewise.
30386         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
30387         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
30388         (__strcasecmp_sse2): Likewise.
30389         (__strncasecmp_sse2): Likewise.
30390         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
30391         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
30392         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
30393         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
30394         (__strrchr_sse2): Likewise.
30395         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
30396         ifunc-impl-list.c.
30397         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30398         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30399         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30400         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30401         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30402         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30403         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30404         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30405         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
30406         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
30407         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
30408         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
30409         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
30410         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30411         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30412         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30413         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30414         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30415         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
30416         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
30417         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
30418         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
30419         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
30420         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30421         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
30422         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30423         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30424         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30425         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30426         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30427
30428         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
30429         global and hidden.
30430         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
30431         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
30432         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
30433         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
30434         Likewise.
30435         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
30436         Likewise.
30437         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
30438         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
30439         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
30440         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
30441         ifunc-impl-list.c.
30442         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30443         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30444         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30445         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30446         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30447         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30448         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30449         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30450         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30451         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30452         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30453         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30454         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30455         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
30456         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
30457         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30458         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
30459         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
30460         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30461         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30462         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30463         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30464         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30465         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30466         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30467         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
30468         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
30469         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
30470         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
30471         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30472         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
30473         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30474         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30475         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
30476         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30477         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30478         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30479         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30480         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30481         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30482         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
30483
30484         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
30485         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
30486         * include/ifunc-impl-list.h: New file.
30487         * misc/ifunc-impl-list.c: Likewise.
30488         * misc/Makefile (routines): Add ifunc-impl-list.
30489         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
30490         * string/test-string.h: Include <ifunc-impl-list.h>.
30491         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
30492         TEST_NAME]: New variables.
30493         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
30494         are defined.
30495         (test_init): Call __libc_ifunc_impl_list to initialize
30496         func_list if TEST_IFUNC and TEST_NAME are defined.
30497
30498         * string/Makefile (strop-tests): Add bcopy and bzero.
30499         * string/test-bcopy.c: New file.
30500         * string/test-bzero.c: Likewise.
30501         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
30502         defined.
30503         * string/test-memset.c: Support bzero test if TEST_BZERO is
30504         defined.
30505         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
30506         __libc_memmove.
30507         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
30508         __libc_memset.
30509         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
30510         of memset.
30511
30512 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
30513
30514         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
30515         * configure: Regenerated.
30516
30517         * Makeconfig (+link-static-before-libc): Don't include
30518         $(link-static-libc).
30519
30520         * libio/libio.h (_IO_pos_t): Remove.
30521
30522 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30523
30524         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
30525         McGrath.
30526
30527 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30528
30529         * crypt/crypt-entry.c: Include fips-private.h.
30530         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
30531         * crypt/md5c-test.c (main): Tolerate disabled MD5.
30532         * sysdeps/unix/sysv/linux/fips-private.h: New file.
30533         * sysdeps/generic/fips-private.h: New file, dummy fallback.
30534
30535 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30536
30537         * crypt/crypt-private.h: Include stdbool.h.
30538         (_ufc_setup_salt_r): Return bool.
30539         * crypt/crypt-entry.c: Include errno.h.
30540         (__crypt_r): Return NULL with EINVAL for bad salt.
30541         * crypt/crypt_util.c (bad_for_salt): New.
30542         (_ufc_setup_salt_r): Check that salt is long enough and within
30543         the specified alphabet.
30544         * crypt/badsalttest.c: New file.
30545         * crypt/Makefile (tests): Add it.
30546         ($(objpfx)badsalttest): New.
30547
30548 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
30549
30550         * NEWS: Add entry for BZ #14602.
30551
30552 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
30553
30554         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
30555         type-generic.
30556         * math/libm-test.inc: Update comment listing what functions and
30557         macros are tested.
30558         (isgreater_test): New function.
30559         (isgreaterequal_test): Likewise.
30560         (isless_test): Likewise.
30561         (islessequal_test): Likewise.
30562         (islessgreater_test): Likewise.
30563         (isunordered_test): Likewise.
30564         (main): Call the new functions.
30565
30566 2012-10-09  Roland McGrath  <roland@hack.frob.com>
30567
30568         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
30569         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
30570         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
30571         * sysdeps/i386/configure: Regenerated.
30572         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
30573         * sysdeps/mach/configure: Regenerated.
30574         * sysdeps/mach/hurd/configure: Regenerated.
30575         * sysdeps/powerpc/configure: Regenerated.
30576         * sysdeps/powerpc/powerpc32/configure: Regenerated.
30577         * sysdeps/powerpc/powerpc64/configure: Regenerated.
30578         * sysdeps/s390/s390-32/configure: Regenerated.
30579         * sysdeps/s390/s390-64/configure: Regenerated.
30580         * sysdeps/sh/configure: Regenerated.
30581         * sysdeps/sparc/configure: Regenerated.
30582         * sysdeps/unix/sysv/linux/configure: Regenerated.
30583         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30584         * sysdeps/x86_64/configure: Regenerated.
30585
30586         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
30587         defined.  Don't check if MAP is NULL.
30588
30589 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
30590
30591         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
30592         (_G_stat64): Likewise.
30593         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
30594         (_G_stat64): Likewise.
30595         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
30596         instead of struct _G_stat64.
30597         * libio/fileops.c (mmap_remap_check): Likewise.
30598         (decide_maybe_mmap): Likewise.
30599         (_IO_new_file_seekoff): Likewise.
30600         (_IO_file_stat): Likewise.
30601         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
30602         _G_off64_t.
30603         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
30604         instead of struct _G_stat64.
30605         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30606
30607 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
30608
30609         [BZ #14602]
30610         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30611         Replace with ...
30612         (CHECK_EOL): New macro.
30613         (two_way_short_needle): Check beginning of haystack for EOL.  Use
30614         CHECK_EOL.
30615         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30616         Replace with CHECK_EOL.
30617         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30618         Replace with CHECK_EOL.
30619
30620 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
30621
30622         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
30623         type-generic.
30624         * math/libm-test.inc: Update comment listing what functions and
30625         macros are tested.
30626         (finite_test): New function.
30627         (isinf_test): Likewise.
30628         (isnan_test): Likewise.
30629         (fpclassify_test): Test subnormal input.
30630         (isfinite_test): Likewise.
30631         (isnormal_test): Likewise.
30632         (main): Call the new functions.
30633
30634 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
30635
30636         [BZ #14660]
30637         * Makerules (%.dynsym): Force C locale when running
30638         $(OBJDUMP) --dynamic-syms.
30639
30640 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
30641
30642         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
30643         <stdint.h>.
30644
30645 2012-10-06  David S. Miller  <davem@davemloft.net>
30646
30647         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
30648         upper 32-bits of the length value in %o2 since we use branch-on-register
30649         tests which consider the entire 64-bit register.
30650
30651 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
30652
30653         * string/test-strstr.c (check2): Add a test for page boundary.
30654
30655 2012-10-05  David S. Miller  <davem@davemloft.net>
30656
30657         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
30658         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
30659         file.
30660         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30661         sysdep_routines.
30662         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30663         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
30664         and bzero when HWCAP_SPARC_CRYPTO is present.
30665
30666 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
30667
30668         [BZ #14602]
30669         * string/test-strstr.c (check2): New function.
30670         (test_main): Call check2.
30671
30672         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
30673         and bug-strchr1.
30674         * string/bug-strcasestr1.c (do_test): Moved to ...
30675         * string/test-strcasestr.c (check1): Here.  New function.
30676         (do_one_test): Break out result checking code into ...
30677         (check_result): This.  New function.
30678         (do_one_test): Call check_result.
30679         (test_main): Call check1.
30680         * string/bug-strchr1.c (do_test): Moved to ...
30681         * string/test-strchr.c (check1): Here.  New function.
30682         (do_one_test): Break out result checking code into ...
30683         (check_result): This.  New function.
30684         (do_one_test): Call check_result.
30685         (test_main): Call check1.
30686         * string/bug-strstr1.c (main): Moved to ...
30687         * string/test-strstr.c (check1): Here.  New function.
30688         (do_one_test): Break out result checking code into ...
30689         (check_result): This.  New function.
30690         (do_one_test): Call check_result.
30691         (test_main): Call check1.
30692         * string/bug-strcasestr1.c: Removed.
30693         * string/bug-strchr1.c: Likewise.
30694         * string/bug-strstr1.c: Likewise.
30695
30696         * elf/Makefile (dl-routines): Add hwcaps.
30697         * elf/dl-support.c (_dl_important_hwcaps): Removed.
30698         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
30699         (_dl_important_hwcaps): Moved to ...
30700         * elf/dl-hwcaps.c: Here.  New file.
30701         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
30702
30703         [BZ #14557]
30704         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
30705         if IS_IN_rtld isn't defined.
30706
30707         * elf/dl-support.c (_dl_sysinfo_map): New.
30708         Include "get-dynamic-info.h" and "setup-vdso.h".
30709         (_dl_non_dynamic_init): Call setup_vdso.
30710         * elf/dynamic-link.h: Don't include <assert.h>.
30711         (elf_get_dynamic_info): Moved to ...
30712         * elf/get-dynamic-info.h: Here.  New file.
30713         * elf/dynamic-link.h: Include "get-dynamic-info.h".
30714         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
30715         * elf/setup-vdso.h: Here.  New file.
30716         * elf/rtld.c: Include "setup-vdso.h".
30717         (dl_main): Call setup_vdso.
30718
30719 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
30720
30721         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
30722         creal in comment listing functions tested.  List finite, isinf,
30723         isnan, isless, islessequal, isgreater, isgreaterequal,
30724         islessgreater, isunordered, lgamma_r and pow10 as functions and
30725         macros not tested.  Mention which functions not tested are aliases
30726         for other functions.  Fix typo.  Note that signs of NaNs are not
30727         tested.
30728
30729         * scripts/config.guess: Update from config.git.
30730         * scripts/config.sub: Likewise.
30731
30732 2012-10-04  Roland McGrath  <roland@hack.frob.com>
30733
30734         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
30735         * misc/madvise.c (madvise): Renamed to __madvise.
30736         Make madvise a weak alias.
30737         * include/sys/mman.h: Declare __madvise.
30738         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
30739         * sysdeps/unix/syscalls.list
30740         (madvise): Make __madvise the strong name, and madvise a weak alias.
30741         * sysdeps/unix/sysv/linux/syscalls.list
30742         (madvise, mmap): Remove redundant entries.
30743         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
30744         * malloc/malloc.c (mtrim): Likewise.
30745         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
30746
30747 2012-10-03  Roland McGrath  <roland@hack.frob.com>
30748
30749         * sysdeps/mach/hurd/dl-cache.c: File removed.
30750         * config.h.in (USE_LDCONFIG): New #undef.
30751         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
30752         * configure: Regenerated.
30753         * elf/Makefile (dl-routines): Add dl-cache only under
30754         [$(use-ldconfig) = yes].
30755         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
30756         cache on [USE_LDCONFIG].
30757         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
30758         [USE_LDCONFIG].
30759         * elf/rtld.c (dl_main): Likewise.
30760
30761 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
30762
30763         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
30764         _SC_LEVEL4_CACHE_LINESIZE.
30765
30766 2012-10-03  Roland McGrath  <roland@hack.frob.com>
30767
30768         * sysdeps/unix/bsd/confstr.h: File removed.
30769
30770 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
30771
30772         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
30773         sys/sdt-config.h.
30774
30775 2012-10-02  Roland McGrath  <roland@hack.frob.com>
30776
30777         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
30778         Make 'mapoff' field ElfW(Off) rather than off_t.
30779
30780 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
30781
30782         * nscd/Makefile: Remove nscd-cflags and all its users.
30783         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
30784         (CFLAGS-nonlib): Add compiler flags for nscd modules.
30785
30786         [BZ #10631]
30787         * malloc.c (malloc_printerr): Clarify error message.
30788
30789 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
30790
30791         [BZ #14648]
30792         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30793         Set bit_FMA_Usable if FMA is supported.
30794         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
30795         macro.
30796         (bit_FMA4_Usable): Updated.
30797         (index_FMA_Usable): New macro.
30798         (CPUID_FMA): Likewise
30799         (HAS_FMA): Defined with bit_FMA_Usable.
30800
30801 2012-10-01  Roland McGrath  <roland@hack.frob.com>
30802
30803         * bits/types.h (__swblk_t): Type removed.
30804         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
30805         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
30806         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30807         (__SWBLK_T_TYPE): Likewise.
30808         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30809         (__SWBLK_T_TYPE): Likewise.
30810         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30811         (__SWBLK_T_TYPE): Likewise.
30812         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30813         (__SWBLK_T_TYPE): Likewise.
30814
30815 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
30816             Honza Horak <hhorak@redhat.com>
30817
30818         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30819         (xdr_mapname): Use YPMAXMAP as maxsize.
30820         (xdr_peername): Use YPMAXPEER as maxsize.
30821         (xdr_keydat): Use YPAXRECORD as maxsize.
30822         (xdr_valdat): Use YPMAXRECORD as maxsize.
30823
30824 2012-10-01  Roland McGrath  <roland@hack.frob.com>
30825
30826         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30827
30828         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30829         * csu/init-first.c: ... here.
30830         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30831         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30832         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30833         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30834         * sysdeps/i386/init-first.c: File removed.
30835         * sysdeps/sh/init-first.c: File removed.
30836
30837 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
30838
30839         [BZ #14645]
30840         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30841         if x * y might underflow to zero and z is zero.
30842         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30843         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30844         * math/libm-test.inc (min_subnorm_value): New variable.
30845         (fma_test): Add more tests.
30846         (fma_test_towardzero): Likewise.
30847         (fma_test_downward): Likewise
30848         (fma_test_upward): Likewise.
30849         (initialize): Set min_subnorm_value.
30850
30851 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
30852
30853         [BZ #14638]
30854         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30855         0 + 0.
30856         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30857         mode for addition resulting in exact zero.
30858         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30859         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30860         exact 0 + 0.
30861         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30862         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30863         * math/libm-test.inc (fma_test): Add more tests.
30864         (fma_test_towardzero): New function.
30865         (fma_test_downward): Likewise.
30866         (fma_test_upward): Likewise.
30867         (main): Call the new functions.
30868
30869 2012-09-28  David S. Miller  <davem@davemloft.net>
30870
30871         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30872
30873 2012-09-28  Roland McGrath  <roland@hack.frob.com>
30874
30875         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30876         instead of SIGALRM.
30877
30878         * sysdeps/gnu/_G_config.h: Moved to ...
30879         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30880         * sysdeps/mach/hurd/_G_config.h: Moved to ...
30881         * sysdeps/generic/_G_config.h: ... here.
30882
30883         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
30884
30885         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30886
30887         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30888         Conditionalize target on [libnss_test1.so-version].
30889
30890         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30891
30892         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30893         (elfobjdir): Move out of conditionals.
30894
30895         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
30896         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
30897         (__nss_lookup_function): Conditionalize label remove_from_tree on
30898         [!DO_STATIC_NSS || SHARED], matching its only use.
30899
30900 2012-09-28  David S. Miller  <davem@davemloft.net>
30901
30902         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30903         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30904         file.
30905         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30906         sysdep_routines.
30907         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30908         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30909         when HWCAP_SPARC_CRYPTO is present.
30910
30911 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30912
30913         * io/tst-mknodat.c: Create a FIFO instead of a socket.
30914
30915 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
30916
30917         [BZ #6530]
30918         * stdio-common/vfprintf.c (process_string_arg): Revert
30919         2000-07-22 change.
30920
30921 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
30922
30923         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30924         for testcase.
30925         * stdio-common/tst-sprintf.c: Include <locale.h>
30926         (main): Test sprintf's handling of incomplete multibyte
30927         characters.
30928
30929 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
30930
30931         * elf/dl-runtime.c (VERSYMIDX): Removed.
30932         * elf/dl-version.c (VERSYMIDX): Likewise.
30933         * elf/do-rel.h (VERSYMIDX): Likewise.
30934         (VALIDX): Likewise.
30935         * elf/dynamic-link.h (VERSYMIDX): Likewise.
30936         * elf/rtld.c (VALIDX): Likewise.
30937         (ADDRIDX): Likewise.
30938         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30939         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30940         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
30941         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30942         (VALIDX): Likewise.
30943         (ADDRIDX): Likewise.
30944
30945 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30946
30947         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30948
30949 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
30950
30951         [BZ #11438]
30952         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30953         to global scope.
30954         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30955         addresses are in the same scope as 192.0.2/24.
30956         * posix/gai.conf: Document new scope table defaults.
30957
30958 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30959
30960         [BZ #5298]
30961         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30962         for ftell.  Compute offsets from write pointers instead.
30963         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30964
30965 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30966
30967         [BZ #14543]
30968         * libio/Makefile (tests): New test case tst-fseek.
30969         * libio/tst-fseek.c: New test case to verify that fseek/ftell
30970         combination works in wide mode.
30971         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30972         state when the external buffer state changes.
30973
30974 2012-09-27  David S. Miller  <davem@davemloft.net>
30975
30976         [BZ #14376]
30977         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30978         pass reloc->r_addend in as the 'high' argument to
30979         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30980
30981         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30982
30983 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30984
30985         * rt/tst-aio2.c: Include <pthread.h>.
30986         * rt/tst-aio3.c: Likewise.
30987
30988 2012-09-27  Steve Ellcey  <sellcey@mips.com>
30989
30990         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30991
30992 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
30993
30994         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30995         contents on [SHARED].
30996
30997 2012-09-26  Marek Polacek  <polacek@redhat.com>
30998
30999         [BZ #14530]
31000         [BZ #13741]
31001         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
31002         for C++ and GCC <4.3 as well as for non GCC compilers.
31003
31004 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
31005
31006         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31007
31008 2012-09-25  Roland McGrath  <roland@hack.frob.com>
31009
31010         * Makefile.in (all, install): Declare with .PHONY.
31011         Reported by Michael Hope <michael.hope@linaro.org>.
31012
31013 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31014
31015         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
31016         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
31017         system header.
31018         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
31019         Likewise.
31020         (sydep_routines): Add the new and the internal functions.
31021         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
31022         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
31023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
31024         (GLIBC_2.17): Add the new function.
31025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31026         (GLIBC_2.17): Likewise.
31027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
31028         (GLIBC_2.17): Likewise.
31029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
31030         (GLIBC_2.17): Likewise.
31031         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
31032
31033 2012-09-25  Alan Modra  <amodra@gmail.com>
31034
31035         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
31036         Add release barrier before setting once_control to say
31037         initialisation is done.  Add hints on lwarx.  Use macro in
31038         place of isync.
31039         (clear_once_control): Add release barrier.
31040
31041 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
31042
31043         [BZ #13629]
31044         * math/s_clog.c (__clog): Handle more values close to |z| = 1
31045         specially.
31046         * math/s_clog10.c (__clog10): Likewise.
31047         * math/s_clog10f.c (__clog10f): Likewise.
31048         * math/s_clog10l.c (__clog10l): Likewise.
31049         * math/s_clogf.c (__clogf): Likewise.
31050         * math/s_clogl.c (__clogl): Likewise.
31051         * math/Makefile (libm-calls): Add x2y2m1.
31052         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
31053         (__x2y2m1): Likewise.
31054         (__x2y2m1l): Likewise.
31055         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
31056         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
31057         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
31058         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
31059         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
31060         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
31061         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
31062         * sysdeps/i386/fpu/libm-test-ulps: Update.
31063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31064
31065         [BZ #14621]
31066         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
31067         int as type of variable DEPTH.
31068         (glob): Use size_t instead of int as type of variables NEWCOUNT
31069         and OLD_PATHC.
31070
31071 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31072
31073         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31074         Add s_sincosf-sse2.
31075         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
31076         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
31077         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
31078         macros for using routine as __sincosf_ia32.
31079         Use macro for function declaration and weak_alias.
31080         * sysdeps/i386/fpu/libm-test-ulps: Update.
31081
31082         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
31083         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31084
31085         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
31086         subnormal argument.
31087         * math/s_cexpf.c (__cexpf): Likewise.
31088         * math/s_csinf.c (__csinf): Likewise.
31089         * math/s_csinhf.c (__csinhf): Likewise.
31090         * math/s_ctanf.c (__ctanf): Likewise.
31091         * math/s_ctanhf.c (__ctanhf): Likewise.
31092         * math/s_ccosh.c (__ccoshf): Likewise.
31093         * math/s_cexp.c (__cexpl): Likewise.
31094         * math/s_csin.c (__csin): Likewise.
31095         * math/s_csinh.c (__csinh): Likewise.
31096         * math/s_ctan.c (__ctan): Likewise.
31097         * math/s_ctanh.c (ctanh): Likewise.
31098         * math/s_ccoshl.c (__ccoshl): Likewise.
31099         * math/s_cexpl.c (__cexpl): Likewise.
31100         * math/s_csinl.c (__csinl): Likewise.
31101         * math/s_csinhl.c (__csinhl): Likewise.
31102         * math/s_ctanl.c (__ctanl): Likewise.
31103         * math/s_ctanhl.c (__ctanhl): Likewise.
31104
31105 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
31106
31107         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
31108         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
31109         (_IO_off_t): Define to __off_t, not _G_off_t.
31110         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
31111         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
31112         (_IO_wint_t): Define to wint_t, not _G_wint_t.
31113         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
31114         type of __dummy and __dummy2 fields.
31115         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
31116         (_G_ssize_t): Likewise.
31117         (_G_off_t): Likewise.
31118         (_G_pid_t): Likewise.
31119         (_G_uid_t): Likewise.
31120         (_G_wchar_t): Likewise.
31121         (_G_wint_t): Likewise.
31122         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
31123         (_G_ssize_t): Likewise.
31124         (_G_off_t): Likewise.
31125         (_G_pid_t): Likewise.
31126         (_G_uid_t): Likewise.
31127         (_G_wchar_t): Likewise.
31128         (_G_wint_t): Likewise.
31129         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
31130         (_G_ssize_t): Likewise.
31131         (_G_off_t): Likewise.
31132         (_G_pid_t): Likewise.
31133         (_G_uid_t): Likewise.
31134         (_G_wchar_t): Likewise.
31135         (_G_wint_t): Likewise.
31136
31137 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31138
31139         * malloc/arena.c: Include malloc-sysdep.h.
31140         (shrink_heap): Use check_may_shrink_heap to decide if madvise
31141         is sufficient to shrink the heap or an unmap is needed.
31142         * sysdeps/generic/malloc-sysdep.h: New file.  Define
31143         new function check_may_shrink_heap.
31144         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
31145         new function check_may_shrink_heap.
31146
31147 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31148
31149         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
31150         comments.
31151
31152 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
31153
31154         * catgets/test-gencat.sh: Add "set -e".
31155         * elf/tst-pathopt.sh: Likewise.
31156         * grp/tst_fgetgrent.sh: Likewise.
31157         * iconvdata/run-iconv-test.sh: Likewise.
31158         * intl/tst-gettext.sh: Likewise.
31159         * intl/tst-gettext2.sh: Likewise.
31160         * intl/tst-gettext4.sh: Likewise.
31161         * intl/tst-gettext6.sh: Likewise.
31162         * intl/tst-translit.sh: Likewise.
31163         * io/ftwtest-sh: Likewise.
31164         * libio/test-freopen.sh: Likewise.
31165         * malloc/tst-mtrace.sh: Likewise.
31166         * posix/globtest.sh: Likewise.
31167         * posix/tst-getconf.sh: Likewise.
31168         * posix/wordexp-tst.sh: Likewise.
31169         * stdio-common/tst-printf.sh: Likewise.
31170         * stdio-common/tst-unbputc.sh: Likewise.
31171         * stdlib/tst-fmtmsg.sh: Likewise.
31172         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31173         * catgets/Makefile: Do not specify -e option when running
31174         testsuite shell scripts.
31175         * elf/Makefile: Likewise.
31176         * grp/Makefile: Likewise.
31177         * iconvdata/Makefile: Likewise.
31178         * intl/Makefile: Likewise.
31179         * io/Makefile: Likewise.
31180         * libio/Makefile: Likewise.
31181         * malloc/Makefile: Likewise.
31182         * posix/Makefile: Likewise.
31183         * stdio-common/Makefile: Likewise.
31184         * stdlib/Makefile: Likewise.
31185         * sysdeps/x86_64/Makefile: Likewise.
31186
31187         * io/ftwtest-sh: Add copyright header.
31188         * posix/globtest.sh: Likewise.
31189         * posix/tst-getconf.sh: Likewise.
31190         * posix/wordexp-tst.sh: Likewise.
31191         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31192
31193 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
31194
31195         [BZ #13679]
31196         * Makeconfig (+link): Defined as $(+link-static) if
31197         $(build-shared) isn't yes.
31198         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
31199         isn't yes.
31200         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
31201
31202         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
31203
31204         [BZ #14562]
31205         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
31206         new chunk size with MALLOC_ALIGN_MASK.
31207
31208 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
31209
31210         [BZ #5044]
31211         * stdio-common/printf_fphex.c: Include <stdbool.h> and
31212         <rounding-mode.h>.
31213         (__printf_fphex): Determine rounding using get_rounding_mode and
31214         round_away.
31215         * stdio-common/tst-printf-round.c (struct hex_test): New
31216         structure.
31217         (hex_tests): New variable.
31218         (test_hex_in_one_mode): New function.
31219         (do_test): Also run tests for hex float output.
31220
31221 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
31222
31223         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31224         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31225         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
31226         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31227         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31228         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
31229         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31230         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31231
31232 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
31233
31234         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
31235         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
31236         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
31237         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
31238
31239 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
31240
31241         [BZ #14579]
31242         * elf/rtld.c (dl_main): Limit the check for self loading to normal
31243         mode only.
31244         * elf/tst-rtld-load-self.sh: New test.
31245         * elf/Makefile: Run it.
31246
31247 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
31248
31249         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
31250         (tst-writev-ENV): Remove.
31251         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
31252
31253 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
31254
31255         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
31256
31257 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
31258
31259         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
31260         unconditional.
31261         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
31262         Likewise.
31263         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
31264         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
31265         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
31266         Likewise.
31267
31268 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
31269
31270         [BZ #14587]
31271         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
31272         * config.make.in (have-cpp-asm-debuginfo): Removed.
31273         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
31274         * configure: Regenerated.
31275
31276 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
31277
31278         [BZ #5044]
31279         * stdio-common/printf_fp.c: Include <stdbool.h> and
31280         <rounding-mode.h>.
31281         (___printf_fp): Determine rounding using get_rounding_mode and
31282         round_away.
31283         * stdio-common/tst-printf-round.c: New file.
31284         * stdio-common/Makefile (tests): Add tst-printf-round.
31285         (link-libm): New variable.
31286         ($(objpfx)tst-printf-round): Depend in $(link-libm).
31287
31288 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
31289
31290         [BZ #14576]
31291         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
31292         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
31293         Likewise.
31294         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
31295         Likewise.
31296
31297 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
31298
31299         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
31300         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31301         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31302         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31303
31304 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
31305
31306         [BZ #14518]
31307         * include/rounding-mode.h: New file.
31308         * sysdeps/generic/get-rounding-mode.h: Likewise.
31309         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
31310         * stdlib/strtod_l.c: Include <rounding-mode.h>.
31311         (MAX_VALUE): New macro.
31312         (MIN_VALUE): Likewise.
31313         (overflow_value): New function.
31314         (underflow_value): Likewise.
31315         (round_and_return): Use overflow_value and underflow_value to
31316         determine return values in overflow and underflow cases.  Use
31317         round_away to determine rounding depending on rounding mode.
31318         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
31319         determine return values in overflow and underflow cases.
31320         * stdlib/tst-strtod-round.c: Include <fenv.h>.
31321         (struct test_results): New structure.
31322         (struct test): Use struct test_results to store expected results
31323         for all rounding modes.
31324         (TEST): Include expected results for all rounding modes.
31325         (test_in_one_mode): New function.
31326         (do_test): Use test_in_one_mode to compute and check results.
31327         Check results for all rounding modes.
31328         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
31329         $(link-libm).
31330
31331 2012-12-09  Allan McRae  <allan@archlinux.org>
31332
31333         * sysdeps/i386/fpu/libm-test-ulps: Update
31334
31335 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
31336
31337         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
31338         (_G_int32_t): Likewise.
31339         (_G_uint16_t): Likewise.
31340         (_G_uint32_t): Likewise.
31341         (_G_HAVE_BOOL): Likewise.
31342         (_G_HAVE_ATEXIT): Likewise.
31343         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31344         (_G_HAVE_IO_FILE_OPEN): Likewise.
31345         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
31346         (_G_int32_t): Likewise.
31347         (_G_uint16_t): Likewise.
31348         (_G_uint32_t): Likewise.
31349         (_G_HAVE_BOOL): Likewise.
31350         (_G_HAVE_ATEXIT): Likewise.
31351         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31352         (_G_HAVE_IO_FILE_OPEN): Likewise.
31353         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
31354         (_G_int32_t): Likewise.
31355         (_G_uint16_t): Likewise.
31356         (_G_uint32_t): Likewise.
31357         (_G_HAVE_BOOL): Likewise.
31358         (_G_HAVE_ATEXIT): Likewise.
31359         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31360         (_G_HAVE_IO_FILE_OPEN): Likewise.
31361
31362 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
31363
31364         * csu/libc-tls.c: Update copyright years.
31365
31366 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
31367
31368         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
31369         [!_G_USING_THUNKS]: Remove conditional code.
31370         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
31371         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
31372
31373         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
31374         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
31375         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31376         (_G_VTABLE_LABEL_PREFIX): Likewise.
31377         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31378         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31379         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31380         (_G_VTABLE_LABEL_PREFIX): Likewise.
31381         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31382         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31383         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31384         (_G_VTABLE_LABEL_PREFIX): Likewise.
31385         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31386
31387 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
31388
31389         * libio/Makefile: Include ../Makeconfig before tests.
31390         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
31391         only if $(build-shared) is yes.
31392
31393         * iconv/gconv_db.c: Update copyright years.
31394
31395 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31396
31397         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
31398         unwind info if defined PIC. Fix special cases description.
31399         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
31400
31401         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
31402         DP_HI_MASK entry.
31403         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
31404
31405 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
31406
31407         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
31408
31409         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
31410         is NULL.
31411
31412         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
31413         (LDLIBS-tst-chk4): This.
31414         (LDFLAGS-tst-chk5): Renamed to ...
31415         (LDLIBS-tst-chk5): This.
31416         (LDFLAGS-tst-chk6): Renamed to ...
31417         (LDLIBS-tst-chk6): This.
31418         (LDFLAGS-tst-lfschk4): Renamed to ...
31419         (LDLIBS-tst-lfschk4): This.
31420         (LDFLAGS-tst-lfschk5): Renamed to ...
31421         (LDLIBS-tst-lfschk5): This.
31422         (LDFLAGS-tst-lfschk6): Renamed to ...
31423         (LDLIBS-tst-lfschk6): This.
31424
31425         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
31426         on $(common-objpfx)soversions.mk.
31427
31428 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
31429
31430         [BZ #10014]
31431         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
31432         example host name.
31433
31434 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
31435
31436         * malloc/arena.c (arena_get_retry): New function that gets
31437         another arena for the caller to try its request on.
31438         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
31439         current arena cannot fulfill the request.
31440         (__libc_memalign): Likewise.
31441         (__libc_memalign): Likewise.
31442         (__libc_pvalloc): Likewise.
31443         (__libc_calloc): Likewise.
31444
31445 2012-09-05  John Tobey  <john.tobey@gmail.com>
31446
31447         [BZ #13542]
31448         * manual/arith.texi (Operations on Complex): Fix description
31449         of carg branch cut.
31450
31451 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
31452
31453         [BZ #10014]
31454         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
31455         host name.
31456
31457         [BZ #10038]
31458         * manual/memory.texi (Memory): Make order of menu items match
31459         order of sections.
31460
31461 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31462
31463         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
31464         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
31465         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
31466
31467 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31468
31469         * csu/libc-tls.c (static_dtv): Renamed to ...
31470         (_dl_static_dtv): This.  Make it global.
31471         (_dl_initial_dtv): Removed.
31472         (__libc_setup_tls): Updated.
31473         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
31474         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
31475         DL_INITIAL_DTV.
31476
31477 2012-09-06  Petr Machata  <pmachata@redhat.com>
31478
31479         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
31480         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
31481         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
31482         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
31483
31484 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31485
31486         [BZ #14545]
31487         * csu/libc-tls.c (_dl_initial_dtv): New variable.
31488         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
31489         freeing dtv[-1].
31490
31491 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31492
31493         [BZ #14544]
31494         * Makeconfig (link-static-before-libc): Replace $(+prector)
31495         with $(+prectorT).
31496         (link-static-after-libc): Replace $(+postctor) with
31497         $(+postctorT).
31498         (link-bounded): Replace $(+prector)/$(+postctor) with
31499         $(+prectorT)/$(+postctorT).
31500         (+prectorT): New macro.
31501         (+postctorT): Likewise.
31502
31503 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
31504
31505         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
31506         (round_str): Handle values above the maximum for IBM long double
31507         as inexact.
31508         * stdlib/tst-strtod-round.c (tests): Regenerated.
31509
31510 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31511
31512         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
31513         assembler flag.
31514         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
31515         zarch_nohighgprs around the zarch optimized routines.
31516         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
31517         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
31518         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
31519         for zarch.
31520
31521 2012-09-05  David S. Miller  <davem@davemloft.net>
31522
31523         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31524
31525         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
31526         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
31527         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
31528         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31529         entries.
31530
31531 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31532
31533         * malloc/arena.c: Fold copyright years.
31534         * malloc/mcheck.c, malloc/memusage.c: Likewise.
31535
31536 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31537
31538         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
31539
31540 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31541
31542         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
31543
31544 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31545
31546         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
31547         change internal state upon failure.
31548
31549 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31550
31551         * malloc/mcheck.c (mcheck_check_all): Fix typo.
31552         * malloc/memusage.c (mmap): Likewise.
31553         (mmap64, mremap): Likewise.  Adjust name in comment.
31554
31555 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31556
31557         * libio/fileops.c: Fix typos in comments.
31558         * libio/oldfileops.c: Likewise.
31559         * libio/wfileops.c: Likewise.
31560
31561 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31562
31563         [BZ #1349]
31564         * malloc/Makefile (tests): Add tst-malloc-usable test case.
31565         (tst-malloc-usable-ENV): Set environment for test case.
31566         * malloc/hooks.c (malloc_check_get_size): New function to get
31567         requested size.
31568         * malloc/malloc.c (musable): Use malloc_check_get_size.
31569         * malloc/tst-malloc-usable.c: New test case.
31570
31571 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31572
31573         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
31574
31575 2012-09-05  Allan McRae  <allan@archlinux.org>
31576
31577         [BZ #13966]
31578         * configure.in (CXX_SYSINCLUDES): Use compiler output to
31579         determine header location.
31580         * configure: Regenerated.
31581
31582 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31583
31584         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
31585         float format.
31586         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
31587         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
31588         format.
31589         (test): Regenerate.
31590
31591 2012-09-04  David S. Miller  <davem@davemloft.net>
31592
31593         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
31594         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
31595         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
31596
31597 2012-09-04  Florian Weimer  <fweimer@redhat.com>
31598
31599         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
31600         failures.
31601
31602         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
31603
31604 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
31605
31606         [BZ #9914]
31607         * libio/iogetdelim.c: Include <limits.h>.
31608         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
31609         + len + 1 would overflow.
31610
31611 2012-09-03  Andreas Jaeger  <aj@suse.de>
31612
31613         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31614         * sysdeps/i386/fpu/libm-test-ulps: Update.
31615
31616 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31617
31618         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31619         Add s_sinf-sse2, s_conf-sse2.
31620
31621         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
31622         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
31623         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
31624         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
31625
31626         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
31627         for using routine as __sinf_ia32.
31628         Use macro for function declaration and weak_alias.
31629         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
31630         for using routine as __cosf_ia32.
31631         Use macro for function declaration and weak_alias.
31632
31633         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
31634         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
31635
31636         * sysdeps/x86_64/fpu/s_sinf.S: New file.
31637         * sysdeps/x86_64/fpu/s_cosf.S: New file.
31638         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31639
31640         * math/libm-test.inc (cos_test): Add more test cases.
31641         (sin_test): Likewise.
31642         (sincos_test): Likewise.
31643
31644 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31645
31646         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
31647         (IFUNC_RESOLVE): Make pointers to the specialized implementations
31648         hidden.
31649         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31650
31651 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
31652
31653         [BZ #14538]
31654         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
31655         first element of the GOT.
31656         (elf_machine_load_address): Return the difference between
31657         the runtime address of _DYNAMIC and elf_machine_dynamic ().
31658
31659 2012-09-01  Allan McRae  <allan@archlinux.org>
31660
31661         [BZ #13412]
31662         * configure.in (AWK): Require gawk version 3.0 or later.
31663         * configure: Regenerated.
31664
31665 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
31666
31667         * sysdeps/unix/sysv/linux/kernel-features.h
31668         (__ASSUME_POSIX_CPU_TIMERS): Remove.
31669         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31670         [__NR_clock_getres]: Make code unconditional.
31671         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
31672         (clock_getcpuclockid): Remove code left unreachable by removal of
31673         conditionals.
31674         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
31675         code unconditional.
31676         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31677         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31678         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
31679         Make code unconditional.
31680         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31681         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31682         * sysdeps/unix/sysv/linux/clock_settime.c
31683         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
31684         conditional code.
31685         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
31686         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31687
31688 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
31689
31690         [BZ #14476]
31691         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
31692         scripts/test-installation.pl.
31693
31694         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
31695         and $ld_so_version if it is set.
31696
31697 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31698
31699         [BZ #14516]
31700         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
31701         failure if reading from procfs failed.
31702         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
31703
31704 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
31705
31706         * sysdeps/unix/sysv/linux/kernel-features.h
31707         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
31708         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31709         Remove conditional code.
31710         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31711         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
31712         Remove conditional code.
31713         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31714         * sysdeps/unix/sysv/linux/i386/fxstat.c
31715         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31716         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31717         * sysdeps/unix/sysv/linux/i386/fxstatat.c
31718         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31719         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31720         * sysdeps/unix/sysv/linux/i386/lxstat.c
31721         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31722         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31723         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
31724         Remove conditional code.
31725         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31726         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31727         Remove conditional code.
31728         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31729         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
31730         <kernel-features.h>.
31731         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
31732         Remove.
31733         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
31734         Remove conditional code.
31735         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31736         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
31737         Remove conditional.
31738
31739 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
31740
31741         [BZ #5400]
31742         * NEWS: Add fixed bug number.
31743
31744 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
31745
31746         [BZ #14519]
31747         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
31748         underflowing exponent in case of negative sign.
31749         * stdlib/tst-strtod-round-data: Add more tests.
31750         * stdlib/tst-strtod-round.c (tests): Regenerated.
31751
31752         [BZ #3479]
31753         * stdlib/strtod_l.c (NDIG): Remove.
31754         (HEXNDIG): Likewise.
31755         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
31756         smallest representable value.
31757         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
31758         lie within an exact representation of 1/2 ulp of the result.
31759         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
31760         unconditionally.
31761         (TENS_P9_IDX): Define unconditionally.
31762         (TENS_P9_SIZE): Likewise.
31763         (TENS_P10_IDX): Likewise.
31764         (TENS_P10_SIZE): Likewise.
31765         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
31766         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
31767         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
31768         entries for 10^2^13 and 10^2^14.
31769         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
31770         (TENS_P13_IDX): Define.
31771         (TENS_P13_SIZE): Likewise.
31772         (TENS_P14_IDX): Likewise.
31773         (TENS_P14_SIZE): Likewise.
31774         (_fpioconst_pow10): Change array size to
31775         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
31776         unconditional.
31777         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
31778         1024]: Add entries for 10^2^13 and 10^2^14.
31779         [LAST_POW10 > _LAST_POW10]: Remove #error.
31780         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
31781         (_fpioconst_pow10): Change array size to
31782         FPIOCONST_POW10_ARRAY_SIZE.
31783         * stdlib/gen-fpioconst.c: New file.
31784         * stdlib/gen-tst-strtod-round.c: Likewise.
31785         * stdlib/tst-strtod-round-data: Likewise.
31786         * stdlib/tst-strtod-round.c: Likewise.
31787         * stdlib/Makefile (tests): Add tst-strtod-round.
31788
31789         [BZ #14459]
31790         * stdlib/strtod_l.c: Include <stdint.h>.
31791         (NDEBUG): Do not define.
31792         (round_and_return): Change EXPONENT parameter to type intmax_t.
31793         Rearrange calculations to avoid internal overflow possibilities.
31794         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
31795         Rearrange calculations to avoid internal overflow possibilities.
31796         Assert that number fits inside MPNSIZE limbs.
31797         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
31798         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
31799         calculations and add assertions to avoid internal overflow
31800         possibilities.  Add casts to avoid signed/unsigned operations.
31801         * stdlib/tst-strtod-overflow.c: New file.
31802         * stdlib/Makefile (tests): Add tst-strtod-overflow.
31803
31804 2012-08-25  Marek Polacek  <polacek@redhat.com>
31805
31806         * time/time.h: Fix some typos in comments.
31807
31808 2012-08-23  Roland McGrath  <roland@hack.frob.com>
31809
31810         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
31811         * posix/tst-rfc3484-2.c: Likewise.
31812         * posix/tst-rfc3484-3.c: Likewise.
31813
31814 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
31815
31816         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31817         (EF_ARM_ABI_FLOAT_HARD): Likewise.
31818
31819 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
31820
31821         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31822         #include of fxstatat64.c.
31823
31824 2012-08-22  Roland McGrath  <roland@hack.frob.com>
31825
31826         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31827         * shadow/getspent_r.c: Likewise.
31828         * shadow/getspnam.c: Likewise.
31829         * shadow/getspnam_r.c: Likewise.
31830         * gshadow/getsgent.c: Likewise.
31831         * gshadow/getsgent_r.c: Likewise.
31832         * gshadow/getsgnam.c: Likewise.
31833         * gshadow/getsgnam_r.c: Likewise.
31834         * inet/getnetbyad.c: Likewise.
31835         * inet/getnetbyad_r.c: Likewise.
31836         * inet/getnetbynm.c: Likewise.
31837         * inet/getnetbynm_r.c: Likewise.
31838         * inet/getnetent.c: Likewise.
31839         * inet/getnetent_r.c: Likewise.
31840         * inet/getproto.c: Likewise.
31841         * inet/getproto_r.c: Likewise.
31842         * inet/getprtent.c: Likewise.
31843         * inet/getprtent_r.c: Likewise.
31844         * inet/getprtname.c: Likewise.
31845         * inet/getprtname_r.c: Likewise.
31846         * inet/getrpcbyname.c: Likewise.
31847         * inet/getrpcbyname_r.c: Likewise.
31848         * inet/getrpcbynumber.c: Likewise.
31849         * inet/getrpcbynumber_r.c: Likewise.
31850         * inet/getrpcent.c: Likewise.
31851         * inet/getrpcent_r.c: Likewise.
31852         * inet/getaliasent.c: Likewise.
31853         * inet/getaliasent_r.c: Likewise.
31854         * inet/getaliasname.c: Likewise.
31855         * inet/getaliasname_r.c: Likewise.
31856         * nscd/getgrgid_r.c: Likewise.
31857         * nscd/getgrnam_r.c: Likewise.
31858         * nscd/gethstbyad_r.c: Likewise.
31859         * nscd/gethstbynm3_r.c: Likewise.
31860         * nscd/getpwnam_r.c: Likewise.
31861         * nscd/getpwuid_r.c: Likewise.
31862         * nscd/getsrvbynm_r.c: Likewise.
31863         * nscd/getsrvbypt_r.c: Likewise.
31864         * nscd/gai.c: Likewise.
31865
31866         * configure.in (build_nscd): New substituted variable, set
31867         by --disable-build-nscd and defaults to $use_nscd.
31868         * configure: Regenerated.
31869         * config.make.in (build-nscd): New substituted variable.
31870         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31871         Change conditional to require [$(build-nscd) = yes] as well.
31872         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31873
31874         [BZ# 13696]
31875         * configure.in (use_nscd): New substituted variable, set by
31876         --disable-nscd.  If enabled, define USE_NSCD.
31877         * configure: Regenerated.
31878         * config.h.in: Add USE_NSCD.
31879         * config.make.in (use-nscd): New substituted variable.
31880         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31881         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31882         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31883         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31884         (CFLAGS-getgrnam_r.c): Likewise.
31885         (CFLAGS-initgroups.c): Likewise.
31886         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31887         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31888         Variables removed.
31889         * inet/getnetgrent_r.c
31890         (nscd_setnetgrent): New function, broken out of ...
31891         (setnetgrent): ... here.  Call it.
31892         (innetgr): Conditionalize nscd bits on [USE_NSCD].
31893         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31894         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
31895         * nscd/Makefile (routines, aux): Move definitions after include of
31896         Makeconfig.  Conditionalize on [$(use-nscd) != no].
31897         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31898         Conditionalize on [USE_NSCD].
31899         (is_nscd, nscd_init_cb): Likewise.
31900         (nss_load_library): Conditionalize init callback on [USE_NSCD].
31901         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31902         * nss/nss_db/db-init.c: Likewise.
31903         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31904         [USE_NSCD].
31905         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31906         (make_request): Use it.
31907         (cache_valid_p): New function.
31908         (__check_pf): Use it.
31909         * NEWS: Add item for --disable-nscd.
31910
31911 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
31912
31913         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31914         to support sed >= 4.2.1-20-ga9bf076.
31915         * configure: Regenerated.
31916
31917 2012-08-22  Roland McGrath  <roland@hack.frob.com>
31918
31919         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31920         Conditionalize whole body on [IREL].
31921
31922 2012-08-22  Jeff Law <law@redhat.com>
31923
31924         [BZ #14505]
31925         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31926         if the family is PF_UNSPEC.
31927
31928 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
31929
31930         * Makerules (lib-version): Rename from V.
31931         (install-lib-nosubdir): Change V to lib-version.
31932
31933 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
31934
31935         [BZ #14252]
31936         * powerpc32/power6/wcschr.c: New file.
31937         * powerpc32/power6/wcscpy.c: New file.
31938         * powerpc32/power6/wcsrchr.c: New file.
31939         * powerpc64/power6/wcschr.c: New file.
31940         * powerpc64/power6/wcscpy.c: New file.
31941         * powerpc64/power6/wcsrchr.c: New file.
31942
31943 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
31944
31945         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31946         (two_way_short_needle): Use it.
31947         * string/strstr.c (AVAILABLE1_USES_J): Define.
31948         * string/strcasestr.c: Likewise.
31949
31950         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31951         array references.
31952         * string/strcasestr.c (TOLOWER): Make side-effect safe.
31953
31954         [BZ #11607]
31955         * NEWS: Add an entry.
31956         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31957         define their defaults.
31958         (two_way_short_needle): Detect end-of-string on-the-fly.
31959         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31960         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31961         * string/bug-strcasestr1.c: New test.
31962         * string/Makefile: Run it.
31963
31964 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
31965
31966         [BZ #11607]
31967         * string/str-two-way.h (two_way_short_needle): Optimize matching of
31968         the first character.
31969
31970 2012-08-21  Roland McGrath  <roland@hack.frob.com>
31971
31972         * csu/elf-init.c (__libc_csu_irel): Function removed.
31973         * csu/libc-start.c (apply_irel): New function.
31974         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31975
31976 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
31977
31978         * sysdeps/unix/sysv/linux/kernel-features.h
31979         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31980         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31981         <kernel-features.h>.
31982         [__NR_fadvise64_64]: Make code unconditional.
31983         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31984         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31985         !__NR_fadvise64_64)]: Likewise.
31986         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31987         !__NR_fadvise64_64))]: Likewise.
31988         [__NR_fadvise64]: Make code unconditional.
31989         [!__NR_fadvise64]: Remove conditional code.
31990         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31991         <kernel-features.h>.
31992         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31993         unconditional.
31994         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31995         conditional code.
31996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31997         not include <kernel-features.h>.
31998         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31999         unconditional.
32000         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32001         conditional code.
32002         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
32003         include <kernel-features.h>.
32004         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32005         unconditional.
32006         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32007         conditional code.
32008
32009 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
32010
32011         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
32012         slight instruction rearrangements per scrollpipe analysis.
32013         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32014
32015 2012-08-20  Roland McGrath  <roland@hack.frob.com>
32016
32017         * manual/syslog.texi (syslog; vsyslog, closelog):
32018         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
32019         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
32020
32021         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
32022         DSOCAPS to match condition on defining it.
32023
32024 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
32025
32026         * sysdeps/unix/sysv/linux/kernel-features.h
32027         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
32028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
32029         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32030         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
32032         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32033         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
32035         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32036         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32037
32038         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
32039         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
32040
32041         * sysdeps/unix/sysv/linux/kernel-features.h
32042         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
32043         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
32044         unconditional.
32045         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32046         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
32047         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32048         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32049         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
32050         Make code unconditional.
32051         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32052         (__mmap64) [!__NR_mmap2]: Likewise.
32053         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
32054         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32055         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32056         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
32057         [__NR_mmap2]: Make code unconditional.
32058         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32059         (__mmap64) [!__NR_mmap2]: Likewise.
32060
32061 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32062
32063         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
32064
32065 2012-08-18  Andreas Jaeger  <aj@suse.de>
32066
32067         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
32068
32069 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
32070
32071         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
32072         * include/unistd.h (__have_sock_cloexec): Likewise.
32073         (__have_pipe2): Likewise.
32074         (__have_dup3): Likewise.
32075
32076 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
32077
32078         [BZ #9685]
32079         * include/unistd.h (__have_pipe2): Change define into an extern int.
32080         (__have_dup3): Likewise.
32081         * socket/have_sock_cloexec.c: Include fcntl.h.
32082         (__have_pipe2): New variable.
32083         (__have_dup3): Likewise.
32084
32085 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
32086
32087         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
32088
32089 2012-08-17  Marek Polacek  <polacek@redhat.com>
32090
32091         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
32092         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
32093
32094 2012-08-17  Roland McGrath  <roland@hack.frob.com>
32095
32096         * configure.in: Add AC_SUBST for sysheaders.
32097         * configure: Regenerated.
32098         * config.make.in (sysheaders): New substituted variable.
32099
32100         * sysdeps/unix/mkfifo.c: Moved ...
32101         * sysdeps/posix/mkfifo.c: ... here.
32102         * sysdeps/unix/mkfifoat.c: Moved ...
32103         * sysdeps/posix/mkfifoat.c: ... here.
32104
32105         * sysdeps/unix/utime.c: Moved ...
32106         * sysdeps/posix/utime.c: ... here.
32107
32108         * sysdeps/unix/time.c: Moved ...
32109         * sysdeps/posix/time.c: ... here.
32110         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
32111         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
32112
32113         * sysdeps/unix/nice.c: Moved ...
32114         * sysdeps/posix/nice.c: ... here.
32115
32116         * sysdeps/unix/alarm.c: Moved ...
32117         * sysdeps/posix/alarm.c: ... here.
32118
32119         * intl/Makefile ($(codeset_mo)): Depend on the input file.
32120
32121 2012-08-17  Jeff Law <law@redhat.com>
32122
32123         * intl/Makefile (codeset_mo): New variable.
32124         ($(codeset_mo)): New target.
32125         (tst-codeset.out): Depend on that.  Remove explicit rule.
32126         (tst-gettext3.out, tst-gettext5.out): Likewise.
32127         (LOCPATH-ENV, tst-codeset-ENV): New variables.
32128         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
32129         * intl/tst-codeset.sh: Remove.
32130         * intl/tst-gettext3.sh: Likewise.
32131         * intl/tst-gettext5.sh: Likewise.
32132
32133 2012-08-17  Roland McGrath  <roland@hack.frob.com>
32134
32135         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
32136         * sysdeps/unix/syscalls.list: ... here.
32137
32138         * sysdeps/posix/getaddrinfo.c
32139         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
32140         (gaiconf_init, gaiconf_reload): Use them.
32141         [!_STATBUF_ST_NSEC]
32142         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
32143         Define using time_t rather than struct timespec.
32144
32145         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
32146         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
32147         Macros removed.
32148         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
32149         [!NO_THREADS].
32150         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
32151         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
32152         Likewise.
32153
32154         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
32155         __libc_cleanup_push argument.
32156
32157         * bits/param.h: New file.
32158         * misc/sys/param.h: New file.
32159         * include/sys/param.h: New file.
32160         * misc/Makefile (headers): Add bits/param.h.
32161         * sysdeps/generic/sys/param.h: File removed.
32162         * sysdeps/unix/sysv/linux/bits/param.h: New file.
32163         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
32164         * sysdeps/mach/hurd/bits/param.h: New file.
32165         * sysdeps/mach/hurd/sys/param.h: File removed.
32166
32167         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
32168         last change.
32169
32170         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
32171         [_IO_MTSAFE_IO].
32172         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
32173         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
32174         New macros.
32175
32176         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
32177         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
32178         rather than -D_IO_MTSAFE_IO conditionally.
32179         * stdio-common/Makefile (CPPFLAGS): Likewise.
32180         * wcsmbs/Makefile (CPPFLAGS): Likewise.
32181         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
32182         Use $(libio-mtsafe).
32183         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
32184         of -D_IO_MTSAFE_IO.
32185         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
32186         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
32187         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
32188         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
32189         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
32190         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
32191         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
32192         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
32193         (CFLAGS-fread_u_chk.c): Likewise.
32194         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
32195         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
32196         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
32197         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
32198         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
32199         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
32200         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
32201         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
32202         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
32203
32204         * libio/Makefile: Test [$(libc-reentrant) = yes]
32205         instead of [$(filter %REENTRANT, $(defines)) nonempty].
32206
32207         * Makeconfig
32208         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
32209         * sysdeps/pthread/configure: File removed.
32210         * sysdeps/pthread/Makeconfig: New file.
32211         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
32212         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
32213
32214 2012-08-16  Gary Benson  <gbenson@redhat.com>
32215
32216         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
32217         unmapping the first object in a namespace.
32218
32219 2012-08-16  Roland McGrath  <roland@hack.frob.com>
32220
32221         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
32222         (__internal_setnetgrent): ... this.  Add internal_function to
32223         definition.  Add libc_hidden_def.
32224         (setnetgrent): Update caller.
32225         (internal_endnetgrent): Renamed to ...
32226         (__internal_endnetgrent): ... this.  Add internal_function to
32227         definition.  Add libc_hidden_def.
32228         (endnetgrent): Update caller.
32229         (internal_getnetgrent_r): Renamed to ...
32230         (__internal_getnetgrent_r): ... this.  Add internal_function to
32231         definition.  Add libc_hidden_def.
32232         (__getnetgrent_r): Update caller.
32233         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
32234
32235 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
32236
32237         * stdlib/longlong.h: Update from GCC.
32238
32239 2012-08-16  Roland McGrath  <roland@hack.frob.com>
32240
32241         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
32242         on _QL, which is set by umul_ppmm but never used.
32243         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
32244         variables, which are set by GMP macros but never used.
32245         * stdio-common/_itowa.c (_itowa): Likewise.
32246         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
32247         * stdlib/mod_1.c (mpn_mod_1): Likewise.
32248
32249 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
32250
32251         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
32252         struct La_sh_regs is not constant.
32253         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
32254         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
32255         and struct La_sparc64_regs are not constant.
32256
32257 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
32258
32259         * sysdeps/unix/sysv/linux/kernel-features.h
32260         (__ASSUME_POSIX_TIMERS): Remove.
32261         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32262         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32263         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
32264         Make code unconditional.
32265         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32266         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
32267         Make code unconditional.
32268         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32269         * sysdeps/unix/sysv/linux/clock_nanosleep.c
32270         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
32271         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32272         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
32273         Make code unconditional.
32274         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32275         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
32276         (__libc_missing_posix_timers): Remove.
32277
32278 2012-08-15  Roland McGrath  <roland@hack.frob.com>
32279
32280         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
32281         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
32282
32283         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
32284
32285         * elf/dl-sym.c: Include <stdlib.h>.
32286
32287         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
32288         constants, which avoids warnings in 32-bit builds.
32289
32290         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
32291         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
32292
32293         * misc/lseek.c: File moved to ...
32294         * io/lseek.c: ... here.
32295
32296         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
32297
32298         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
32299         shifting LEN more than 31 bits at once.
32300
32301 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32302
32303         [BZ #14195]
32304         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
32305         segmentation fault for a case of two empty input strings.
32306         * string/test-strncasecmp.c (check1): Renamed to...
32307         (bz12205): ...this.
32308         (bz14195): Add new testcase for two empty input strings and N > 0.
32309         (test_main): Call new testcase, adapt for renamed function.
32310
32311 2012-08-15  Andreas Jaeger  <aj@suse.de>
32312
32313         [BZ #14090]
32314         * crypt/md5test2.c: New test, based on test supplied by Serge
32315         Belyshev <belyshev@depni.sinp.msu.ru>.
32316         * crypt/Makefile (xtests): Add md5test-giant..
32317         * crypt/Makefile ($(objpfx)md5test-giant): Add.
32318
32319 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
32320
32321         [BZ #14090]
32322         * crypt/md5.c (md5_process_block): Don't assume the buffer
32323         length is less than 2**32.
32324         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
32325         length is less than 2**64.
32326
32327 2012-08-15  Roland McGrath  <roland@hack.frob.com>
32328
32329         * string/str-two-way.h: Include <sys/param.h>.
32330         (MAX): Macro removed.
32331
32332         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
32333         Move #define and #undef of memmove to just before and after
32334         including <string.h>.
32335
32336         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
32337         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
32338         and after including <string.h>.  Move declarations of
32339         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
32340         to before #include "string/memmove.c".
32341
32342         * include/dirent.h: Declare __getdirentries.
32343
32344         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
32345         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
32346
32347 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
32348
32349         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
32350         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
32351         * sysdeps/i386/configure: Regenerated.
32352         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
32353         STABS_CURRENT_FILE, and STABS_FUN.
32354         (END): Remove call to STABS_FUN_END.
32355         (STABS_CURRENT_FILE1): Delete.
32356         (STABS_CURRENT_FILE): Likewise.
32357         (STABS_FUN): Likewise.
32358         (STABS_FUN_END): Likewise.
32359         (STABS_FUN2): Likewise.
32360         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
32361         * sysdeps/x86_64/configure: Regenerated.
32362
32363 2012-08-14  Roland McGrath  <roland@hack.frob.com>
32364
32365         * elf/dl-open.c: Include <atomic.h>.
32366         * elf/dl-lookup.c: Likewise.
32367
32368 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
32369
32370         * sysdeps/unix/sysv/linux/kernel-features.h
32371         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
32372         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
32373         unconditionally.
32374         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
32375         unconditionally.
32376         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
32377         condition on __ASSUME_CLONE_THREAD_FLAGS.
32378
32379 2012-08-14  Andreas Jaeger  <aj@suse.de>
32380
32381         * sysdeps/i386/fpu/libm-test-ulps: Update.
32382
32383 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
32384
32385         * include/atomic.h (atomic_exchange_and_add): Split into ...
32386         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
32387         New atomic macros.
32388
32389 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
32390
32391         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32392
32393 2012-08-13  Jeff Law <law@redhat.com>
32394
32395         * manual/stdio.texi (snprintf): Clarify handling of the trailing
32396         null byte in the output string.
32397
32398 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
32399
32400         * sysdeps/unix/sysv/linux/kernel-features.h
32401         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
32402         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
32403         (__ASSUME_ARG_MAX_STACK_BASED): Define.
32404         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
32405         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
32406         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
32407         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
32408
32409 2012-08-09  Jeff Law <law@redhat.com>
32410
32411         [BZ #13939]
32412         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
32413         When avoid_arena is set, don't retry in the that arena.  Pick the
32414         next one, whatever it might be.
32415         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
32416         (arena_lock): Pass in new parameter to arena_get2.
32417         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
32418         arena_get2.
32419         (__libc_malloc): Unify retrying after main arena failure with
32420         __libc_memalign version.
32421         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
32422
32423 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
32424
32425         [BZ #14166]
32426         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
32427         to __redirect_strstr.
32428         (__strstr_sse42): Use typeof __redirect_strstr.
32429         (__strstr_ia32): Likewise.
32430         (__libc_strstr): New prototype.
32431         (strstr): Renamed to ...
32432         (__libc_strstr): This.
32433         (strstr): New strong alias of __libc_strstr.
32434         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32435         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
32436         __redirect_time.
32437         Include <time.h>.
32438         (__libc_time): New prototype.
32439         (time_ifunc): Replace time with __libc_time.
32440         (time): New strong alias and hidden definition of __libc_time.
32441         (__GI_time): Remove strong alias.
32442         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
32443         Include <stddef.h>.
32444         (memmove): Redefined to __redirect_memmove.
32445         (__memmove_sse2): Use typeof __redirect_memmove.
32446         (__memmove_ssse3): Likewise.
32447         (__memmove_ssse3_back): Likewise.
32448         (__libc_memmove): New prototype.
32449         (memmove): Renamed to ...
32450         (__libc_memmove): This.
32451         (memmove): New strong alias of __libc_memmove.
32452
32453 2012-08-08  Mark Salter  <msalter@redhat.com>
32454
32455         * elf/elf.h
32456         (R_MN10300_TLS_GD): Define.
32457         (R_MN10300_TLS_LD): Likewise.
32458         (R_MN10300_TLS_LDO): Likewise.
32459         (R_MN10300_TLS_GOTIE): Likewise.
32460         (R_MN10300_TLS_IE): Likewise.
32461         (R_MN10300_TLS_LE): Likewise.
32462         (R_MN10300_TLS_DTPMOD): Likewise.
32463         (R_MN10300_TLS_DTPOFF): Likewise.
32464         (R_MN10300_TLS_TPOFF): Likewise.
32465         (R_MN10300_SYM_DIFF): Likewise.
32466         (R_MN10300_ALIGN): Likewise.
32467         (R_MN10300_NUM): Update.
32468
32469 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
32470
32471         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
32472         Remove.
32473
32474 2012-08-08  Roland McGrath  <roland@hack.frob.com>
32475
32476         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
32477
32478         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
32479         sysdeps/unix -> sysdeps/posix move.
32480         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32481
32482 2012-08-07      Allan McRae     <allan@archlinux.org>
32483
32484         [BZ #14303]
32485         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
32486         (SUNOS_CPP): Likewise.
32487         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
32488         not found.
32489         (open_input): Call CPP using execvp.
32490
32491 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
32492
32493         * sysdeps/unix/sysv/linux/kernel-features.h
32494         (__ASSUME_PROT_GROWSUPDOWN): Remove.
32495         (__ASSUME_NO_CLONE_DETACHED): Likewise.
32496         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32497         (__ASSUME_WAITID_SYSCALL): Likewise.
32498         * sysdeps/unix/sysv/linux/dl-execstack.c
32499         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
32500         code unconditional.
32501         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
32502         conditional code.
32503         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
32504         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
32505         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
32506         code.
32507         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
32508         unconditional.
32509         [__ASSUME_WAITID_SYSCALL]: Likewise.
32510         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
32511
32512 2012-08-07  Roland McGrath  <roland@hack.frob.com>
32513
32514         * sysdeps/unix/closedir.c: Renamed to ...
32515         * sysdeps/posix/closedir.c: ... here.
32516         * sysdeps/unix/dirfd.c: Renamed to ...
32517         * sysdeps/posix/dirfd.c: ... here.
32518         * sysdeps/unix/dirstream.h: Renamed to ...
32519         * sysdeps/posix/dirstream.h: ... here.
32520         * sysdeps/unix/fdopendir.c: Renamed to ...
32521         * sysdeps/posix/fdopendir.c: ... here.
32522         * sysdeps/unix/opendir.c: Renamed to ...
32523         * sysdeps/posix/opendir.c: ... here.
32524         * sysdeps/unix/readdir.c: Renamed to ...
32525         * sysdeps/posix/readdir.c: ... here.
32526         * sysdeps/unix/readdir_r.c: Renamed to ...
32527         * sysdeps/posix/readdir_r.c: ... here.
32528         * sysdeps/unix/rewinddir.c: Renamed to ...
32529         * sysdeps/posix/rewinddir.c: ... here.
32530         * sysdeps/unix/seekdir.c: Renamed to ...
32531         * sysdeps/posix/seekdir.c: ... here.
32532         * sysdeps/unix/telldir.c: Renamed to ...
32533         * sysdeps/posix/telldir.c: ... here.
32534         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
32535         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
32536         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32537         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
32538
32539         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
32540         * bits/fcntl.h: ... here.
32541
32542         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
32543         not 0.
32544         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
32545         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
32546         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
32547         (struct flock): Move l_start, l_len to the beginning.
32548         Use __pid_t for l_pid.
32549         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
32550         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
32551         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
32552         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
32553         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
32554         [__USE_LARGEFILE64] (struct flock64): New type.
32555         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
32556
32557         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
32558         * bits/dirent.h: ... here.
32559
32560         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
32561         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
32562
32563 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
32564
32565         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32566         Change from 2.6.0 to 2.6.16.
32567         * sysdeps/unix/sysv/linux/configure: Regenerated.
32568         * sysdeps/unix/sysv/linux/kernel-features.h
32569         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
32570         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
32571         version.
32572         (__ASSUME_UTIMES): Likewise.
32573         (__ASSUME_CLONE_STOPPED): Remove.
32574         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
32575         architectures, not kernel version.
32576         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
32577         (__ASSUME_NO_CLONE_DETACHED): Likewise.
32578         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32579         (__ASSUME_WAITID_SYSCALL): Likewise.
32580         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
32581         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
32582         * README: State 2.6.16 as minimum Linux kernel version.  Do not
32583         refer to older versions.
32584
32585 2012-08-06  Roland McGrath  <roland@hack.frob.com>
32586
32587         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
32588         Define alphasort64 as an alias.
32589         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
32590         Define versionsort64 as an alias.
32591         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
32592         Define scandir64 as an alias.
32593         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
32594         Define scandirat64 as an alias.
32595         * dirent/alphasort64.c (alphasort64):
32596         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
32597         * dirent/versionsort64.c: Likewise.
32598         * dirent/scandir64.c: Likewise.
32599         * dirent/scandirat64.c: Likewise.
32600         * sysdeps/wordsize-64/alphasort.c: File removed.
32601         * sysdeps/wordsize-64/alphasort64.c: File removed.
32602         * sysdeps/wordsize-64/scandir.c: File removed.
32603         * sysdeps/wordsize-64/scandir64.c: File removed.
32604         * sysdeps/wordsize-64/scandirat.c: File removed.
32605         * sysdeps/wordsize-64/scandirat64.c: File removed.
32606         * sysdeps/wordsize-64/versionsort.c: File removed.
32607         * sysdeps/wordsize-64/versionsort64.c: File removed.
32608         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
32609         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
32610         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
32611         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
32612         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
32613         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
32614         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
32615         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
32616
32617         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
32618         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32619         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
32620         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32621         [defined __arch64__ || defined __sparcv9]
32622         (__INO_T_MATCHES_INO64_T): New macro.
32623         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32624         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
32625         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
32626         * sysdeps/unix/sysv/linux/bits/dirent.h
32627         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
32628         (_DIRENT_MATCHES_DIRENT64): New macro.
32629
32630         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
32631         Define lockf64 as an alias.
32632         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
32633         Define fseeko64 as an alias.
32634         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
32635         Define ftello64 as an alias.
32636         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
32637         Define _IO_fgetpos64 and fgetpos64 as aliases.
32638         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
32639         Define _IO_fsetpos64 and fsetpos64 as aliases.
32640         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
32641         Conditionalize body on this.
32642         * libio/fseeko64.c: Likewise.
32643         * libio/ftello64.c: Likewise.
32644         * libio/iofgetpos64.c: Likewise.
32645         * libio/iofsetpos64.c: Likewise.
32646         * sysdeps/wordsize-64/lockf.c: File removed.
32647         * sysdeps/wordsize-64/lockf64.c: File removed.
32648         * sysdeps/wordsize-64/fseeko.c: File removed.
32649         * sysdeps/wordsize-64/fseeko64.c: File removed.
32650         * sysdeps/wordsize-64/ftello.c: File removed.
32651         * sysdeps/wordsize-64/ftello64.c: File removed.
32652         * sysdeps/wordsize-64/iofgetpos.c: File removed.
32653         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
32654         * sysdeps/wordsize-64/iofsetpos.c: File removed.
32655         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
32656         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
32657         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
32658         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
32659         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
32660         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
32661         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
32662         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
32663         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
32664         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
32665         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
32666
32667         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32668         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32669         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
32670         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32671         [defined __arch64__ || defined __sparcv9]
32672         (__OFF_T_MATCHES_OFF64_T): New macro.
32673         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32674         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32675         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32676         (__OFF_T_MATCHES_OFF64_T): New macro.
32677
32678 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
32679
32680         * stdlib/secure-getenv.c (__secure_getenv): Replace
32681         GLIBC_2_16 with GLIBC_2_17.
32682
32683 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
32684
32685         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
32686         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32687
32688 2012-08-03  David S. Miller  <davem@davemloft.net>
32689
32690         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32691
32692 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
32693
32694         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
32695         Remove.
32696         (__ASSUME_CORRECT_SI_PID): Likewise.
32697         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
32698         (__ASSUME_TMPFS_NAME): Likewise.
32699         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
32700         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
32701         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
32702         (HAVE_AUX_SECURE): Make definition unconditional.
32703         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
32704         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
32705
32706 2012-08-03  Roland McGrath  <roland@hack.frob.com>
32707
32708         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
32709         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
32710         * sysdeps/mach/hurd/eloop-threshold.h: New file.
32711         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32712         __eloop_threshold instead of SYMLOOP_MAX.
32713
32714         * sysdeps/generic/eloop-threshold.h: New file.
32715         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
32716         of MAXSYMLINKS.
32717         * elf/chroot_canon.c (chroot_canon): Likewise.
32718
32719 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
32720
32721         [BZ #13717]
32722         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32723         Change to 2.6.0 everywhere.
32724         * sysdeps/unix/sysv/linux/configure: Regenerated.
32725         * sysdeps/unix/sysv/linux/kernel-features.h
32726         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
32727         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
32728         kernel versions.
32729         (__ASSUME_POSIX_TIMERS): Define unconditionally.
32730         (__ASSUME_FUTEX_REQUEUE): Remove.
32731         (__ASSUME_STATFS64): Define unconditionally.
32732         (__ASSUME_AT_SECURE): Likewise.
32733         (__ASSUME_CORRECT_SI_PID): Likewise.
32734         (__ASSUME_TGKILL): Define without depending on kernel version for
32735         i386.
32736         (__ASSUME_UTIMES): Likewise.
32737         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
32738         kernel version.
32739         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
32740         (__ASSUME_TMPFS_NAME): Likewise.
32741         * README: Update reference to Linux kernel versions.
32742
32743 2012-08-02  Marek Polacek  <polacek@redhat.com>
32744
32745         [BZ# 14150]
32746         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
32747         libc_cv_asm_type_prefix with %.
32748         * configure: Regenerated.
32749         * include/libc-symbols.h: Remove comment about
32750         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32751         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
32752         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
32753         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
32754         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
32755         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32756         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
32757         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
32758         * elf/tst-unique2mod1.c: Likewise.
32759         * elf/tst-unique1mod2.c: Likewise.
32760         * elf/tst-unique1mod1.c: Likewise.
32761         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
32762         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
32763         Replace ASM_TYPE_DIRECTIVE with .type.
32764         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32765         * sysdeps/i386/sysdep.h: Likewise.
32766         * sysdeps/x86_64/sysdep.h: Likewise.
32767         * sysdeps/sh/sysdep.h: Likewise.
32768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32769         Do not define ASM_TYPE_DIRECTIVE.
32770         * sysdeps/powerpc/sysdep.h: Likewise.
32771         * sysdeps/powerpc/powerpc32/sysdep.h:
32772         Replace ASM_TYPE_DIRECTIVE with .type.
32773         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32774         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32775         * sysdeps/i386/fpu/e_powf.S: Likewise.
32776         * sysdeps/i386/fpu/e_expl.S: Likewise.
32777         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32778         * sysdeps/i386/fpu/e_acosh.S: Likewise.
32779         * sysdeps/i386/fpu/e_pow.S: Likewise.
32780         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32781         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32782         * sysdeps/i386/fpu/s_expm1.S: Likewise.
32783         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32784         * sysdeps/i386/fpu/e_log2.S: Likewise.
32785         * sysdeps/i386/fpu/e_log2l.S: Likewise.
32786         * sysdeps/i386/fpu/e_scalb.S: Likewise.
32787         * sysdeps/i386/fpu/e_powl.S: Likewise.
32788         * sysdeps/i386/fpu/e_log10f.S: Likewise.
32789         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32790         * sysdeps/i386/fpu/e_logl.S: Likewise.
32791         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32792         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32793         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32794         * sysdeps/i386/fpu/e_log2f.S: Likewise.
32795         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32796         * sysdeps/i386/fpu/e_log.S: Likewise.
32797         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32798         * sysdeps/i386/fpu/e_logf.S: Likewise.
32799         * sysdeps/i386/fpu/e_log10l.S: Likewise.
32800         * sysdeps/i386/fpu/e_atanh.S: Likewise.
32801         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32802         * sysdeps/i386/fpu/e_log10.S: Likewise.
32803         * sysdeps/i386/fpu/s_frexp.S: Likewise.
32804         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32805         * sysdeps/i386/fpu/s_asinh.S: Likewise.
32806         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32807         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32808         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
32809         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32810         * sysdeps/i386/i686/strtok.S: Likewise.
32811         * sysdeps/i386/i386-mcount.S: Likewise.
32812         * sysdeps/i386/strtok.S: Likewise.
32813         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
32814         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32815         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32816         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32817         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32818         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32819         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32820         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32821         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32822         * sysdeps/x86_64/_mcount.S: Likewise.
32823         * sysdeps/x86_64/strtok.S: Likewise.
32824         * sysdeps/sh/_mcount.S: Likewise.
32825
32826 2012-08-01  Roland McGrath  <roland@hack.frob.com>
32827
32828         * libio/iofopen.c: Include <fcntl.h>.
32829         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32830         (_IO_fopen64, fopen64): Define as aliases.
32831         * libio/iofopen64.c: Include <fcntl.h>.
32832         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32833         Conditionalize body on this.
32834         * sysdeps/wordsize-64/iofopen.c: File removed.
32835         * sysdeps/wordsize-64/iofopen64.c: File removed.
32836
32837 2012-08-01  Marek Polacek  <polacek@redhat.com>
32838
32839         * libc/Makeconfig: Use elf in place of binfmt-subdir.
32840         Use dlfcn directly instead of a variable.
32841         (binfmt-subdir): Do not define.
32842         (dlfcn): Likewise.
32843
32844 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
32845
32846         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32847         Remove all definitions.
32848         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32849         <kernel-features.h>.
32850         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32851         (miss_F_GETOWN_EX): Remove all definitions.
32852         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32853         macro definition.
32854         [!__ASSUME_FCNTL64]: Remove conditional code.
32855         [__ASSUME_FCNTL64]: Make code unconditional.
32856         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32857         <kernel-features.h>.
32858         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32859         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32860         (lockf64) [__NR_fcntl64]: Make code unconditional.
32861         (lockf64) [__ASSUME_FCNTL64]: Likewise.
32862
32863         * sysdeps/unix/sysv/linux/kernel-features.h
32864         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32865         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32866         Make code unconditional.
32867         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32868         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32870         [__NR_vfork]: Make code unconditional.
32871         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32872         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32874         [__NR_vfork]: Make code unconditional.
32875         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32876         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32877
32878 2012-08-01  Roland McGrath  <roland@hack.frob.com>
32879
32880         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32881         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32882
32883         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32884         Define mkstemp64 as an alias.
32885         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32886         Define mkstemps64 as an alias.
32887         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32888         Define mkostemp64 as an alias.
32889         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32890         Define mkostemps64 as an alias.
32891         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32892         Conditionalize body on this.
32893         * misc/mkostemp64.c: Likewise.
32894         * misc/mkostemps64.c: Likewise.
32895         * misc/mkstemps64.c: Likewise.
32896         * sysdeps/wordsize-64/mkstemp64.c: File removed.
32897         * sysdeps/wordsize-64/mkostemp64.c: File removed.
32898         * sysdeps/wordsize-64/mkostemp.c: File removed.
32899         * sysdeps/wordsize-64/mkstemp.c: File removed.
32900         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32901         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32902         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32903         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32904
32905         [BZ #14138]
32906         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32907         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32908         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32909         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32910
32911         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32912         compat_symbol macros from <shlib-compat.h> rather than the underlying
32913         default_symbol_version and symbol_version macros, so that DEFAULT
32914         lines in shlib-versions are respected.
32915         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32916
32917 2012-08-01  Florian Weimer  <fweimer@redhat.com>
32918
32919         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32920         Declare with warn_unused_result.
32921         (setgid, setregid, setegid, setresgid): Likewise.
32922         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32923         Likewise.
32924         * WUR-REPORT: Remove set*id functions.
32925
32926 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
32927
32928         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32929
32930 2012-07-31  Roland McGrath  <roland@hack.frob.com>
32931
32932         [BZ #10191]
32933         * include/sys/socket.h (__libc_accept, __libc_accept4):
32934         Add attribute_hidden.
32935         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32936
32937         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32938         use of PTR_MANGLE.
32939         * inet/getnetgrent_r.c (setup): Likewise.
32940
32941         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32942
32943 2012-07-31  David S. Miller  <davem@davemloft.net>
32944
32945         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32946
32947 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
32948
32949         [BZ #13629]
32950         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32951         value between 1.0 and 2.0 and smaller part has absolute value less
32952         than 1.0.
32953         * math/s_clog10.c (__clog10): Likewise.
32954         * math/s_clog10f.c (__clog10f): Likewise.
32955         * math/s_clog10l.c (__clog10l): Likewise.
32956         * math/s_clogf.c (__clogf): Likewise.
32957         * math/s_clogl.c (__clogl): Likewise.
32958         * math/libm-test.inc (clog_test): Add more tests.
32959         (clog10_test): Likewise.
32960         * sysdeps/i386/fpu/libm-test-ulps: Update.
32961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32962
32963 2012-07-31  Florian Weimer  <fweimer@redhat.com>
32964
32965         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32966         Exit with zero in case no suitable GID is found, and write a
32967         message to standard error.
32968
32969 2012-07-30  Roland McGrath  <roland@hack.frob.com>
32970
32971         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32972         rather than to 1.
32973         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32974         (MAXPATHLEN): Removed.
32975         (NOGROUP, NODEV): New macros.
32976         (setbit, clrbit, isset, isclr): New macros.
32977         (howmany, roundup, powerof2): New macros.
32978         (DEV_BSIZE): New macro.
32979
32980         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32981         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32982
32983         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32984         definition on [!__NO_LONG_DOUBLE_MATH].
32985
32986         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32987         PTR_MANGLE and PTR_DEMANGLE.
32988
32989         * socket/accept4.c (accept4): Rename to __libc_accept4.
32990         Define accept4 as a weak alias.
32991
32992         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32993         on [_DIRENT_HAVE_D_TYPE].
32994         * io/ftw.c (ftw_dir): Likewise.
32995
32996         * io/xmknod.c (__xmknod): Don't check PATH for being null.
32997
32998         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32999
33000         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
33001         Use the BSD numbers rather than the arbitrary ones we had.
33002         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
33003         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
33004         (SIGXCPU, SIGXFSZ): New macros.
33005         (_NSIG): Now 32.
33006
33007         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
33008         initializer on [_LIBC_REENTRANT].
33009
33010         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
33011         definitions inside [_POSIX_MAPPED_FILES].
33012
33013         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
33014
33015         * dirent/opendir.c: Include <fcntl.h>.
33016
33017         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
33018         (__libc_getspecific): Likewise.
33019         (__libc_key_create): Likewise.
33020
33021         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
33022         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
33023         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
33024         (tmpfile64): Define as alias.
33025         * sysdeps/wordsize-64/tmpfile.c: File removed.
33026         * sysdeps/wordsize-64/tmpfile64.c: File removed.
33027         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
33028         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
33029
33030         * stdio-common/vfscanf.c: Include <stdbool.h>.
33031         * nss/makedb.c: Likewise.
33032         * stdio-common/_i18n_number.h: Likewise.
33033         * argp/argp-help.c: Likewise.
33034         * posix/wordexp.c: Likewise.
33035         * sysdeps/posix/spawni.c: Likewise.
33036         * nss/nss_files/files-initgroups.c: Likewise.
33037         * stdio-common/reg-modifier.c: Include <stdlib.h>.
33038         * nss/nss_files/files-initgroups.c: Likewise.
33039         * nss/nss_db/db-netgrp.c: Likewise.
33040         * nss/nss_db/db-initgroups.c: Likewise.
33041         * io/fchmodat.c: Include <sys/stat.h>.
33042
33043         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
33044         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
33045
33046         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
33047         [HAVE_MMAP].
33048
33049         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
33050         Add multiple inclusion protection.
33051
33052 2012-07-27  David S. Miller  <davem@davemloft.net>
33053
33054         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33055
33056 2012-07-27  Gary Benson  <gbenson@redhat.com>
33057
33058         [BZ #14298]
33059         * elf/rtld.c: Include <stap-probe.h>.
33060         (dl_main): Added static probes "init_start" and "init_complete".
33061         * elf/dl-load.c: Include <stap-probe.h>.
33062         (lose): Take new parameter "nsid".
33063         Added static probe "map_failed".
33064         (_dl_map_object_from_fd): Pass namespace id to lose.
33065         Added static probe "map_start".
33066         (open_verify): Pass namespace id to lose.
33067         * elf/dl-open.c: Include <stap-probe.h>.
33068         (dl_open_worker) Added static probes "map_complete", "reloc_start"
33069         and "reloc_complete".
33070         * elf/dl-close.c: Include <stap-probe.h>.
33071         (_dl_close_worker): Added static probes "unmap_start" and
33072         "unmap_complete".
33073         * elf/rtld-debugger-interface.txt: New file documenting the above.
33074
33075 2012-07-26  Roland McGrath  <roland@hack.frob.com>
33076
33077         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
33078         rather than a string variable.
33079         * sunrpc/rpc_main.c (h_output): Likewise.
33080         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
33081
33082 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
33083
33084         * inet/check_native.c: New file.
33085
33086 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
33087
33088         [BZ #13629]
33089         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
33090         if larger part has absolute value 1.0.
33091         * math/s_clog10.c (__clog10): Likewise.
33092         * math/s_clog10f.c (__clog10f): Likewise.
33093         * math/s_clog10l.c (__clog10l): Likewise.
33094         * math/s_clogf.c (__clogf): Likewise.
33095         * math/s_clogl.c (__clogl): Likewise.
33096         * math/libm-test.inc (clog_test): Add more tests.
33097         (clog10_test): Likewise.
33098         * sysdeps/i386/fpu/libm-test-ulps: Update.
33099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33100
33101         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
33102         (pltexit): Likewise.
33103         (La_regs): Likewise.
33104         (La_retval): Likewise.
33105         (int_retval): Likewise.
33106         Update #error for removed macros to refer only to definitions in
33107         tst-audit.h.
33108         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
33109         macro.
33110         (pltexit): Likewise.
33111         (La_regs): Likewise.
33112         (La_retval): Likewise.
33113         (int_retval): Likewise.
33114         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
33115         macro.
33116         (pltexit): Likewise.
33117         (La_regs): Likewise.
33118         (La_retval): Likewise.
33119         (int_retval): Likewise.
33120         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
33121         macro.
33122         (pltexit): Likewise.
33123         (La_regs): Likewise.
33124         (La_retval): Likewise.
33125         (int_retval): Likewise.
33126         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
33127         macro.
33128         (pltexit): Likewise.
33129         (La_regs): Likewise.
33130         (La_retval): Likewise.
33131         (int_retval): Likewise.
33132         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
33133         macro.
33134         (pltexit): Likewise.
33135         (La_regs): Likewise.
33136         (La_retval): Likewise.
33137         (int_retval): Likewise.
33138         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
33139         macro.
33140         (pltexit): Likewise.
33141         (La_regs): Likewise.
33142         (La_retval): Likewise.
33143         (int_retval): Likewise.
33144         * sysdeps/generic/tst-audit.h: Update comment to refer only to
33145         macro definitions in tst-audit.h.
33146         * sysdeps/i386/tst-audit.h: New file.
33147         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
33148         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
33149         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
33150         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
33151         * sysdeps/sh/tst-audit.h: Likewise.
33152         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
33153         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
33154         * sysdeps/x86_64/tst-audit.h: Likewise.
33155
33156 2012-07-26  Andreas Jaeger  <aj@suse.de>
33157
33158         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
33159         ptrace.
33160
33161         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
33162         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
33163         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
33164         PTRACE_O_MASK.
33165         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
33166         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
33167         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
33168
33169         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
33170         value.
33171
33172         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
33173         _sigsys.
33174         (si_call_addr, si_syscall, si_arch): Define new macro.
33175         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
33176         _sigsys.
33177         (si_call_addr, si_syscall, si_arch): Define new marcro.
33178         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
33179         _sigsys.
33180         (si_call_addr, si_syscall, si_arch): Define new macro.
33181         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
33182         _sigsys.
33183         (si_call_addr, si_syscall, si_arch): Define new macro.
33184
33185 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
33186
33187         [BZ #13717]
33188         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33189         Change to 2.4.21 where previously 2.4.1.
33190         * sysdeps/unix/sysv/linux/configure: Regenerated.
33191         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
33192         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
33193         Linux kernel version.
33194         (__ASSUME_STD_AUXV): Remove.
33195         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
33196         kernel version.
33197         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
33198         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
33199         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
33200         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
33201         (__ASSUME_NETLINK_SUPPORT): Likewise.
33202         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
33203         (__no_netlink_support): Remove conditional definition.
33204         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
33205         Remove.
33206         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33207         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
33208         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
33209         (if_nameindex_ioctl): Remove.
33210         (if_nameindex_netlink): Do not handle __no_netlink_support.
33211         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33212         code.
33213         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
33214         Remove conditional code.
33215         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33216         code.
33217         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
33218         unconditional.
33219         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33220         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
33221         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
33222         Remove.
33223         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
33224         [!__ASSUME_STD_AUXV]: Remove conditional code.
33225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
33226         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
33227         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
33228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
33229         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
33230         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33231         code.
33232         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33234         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
33235         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33236         conditional code.
33237         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
33239         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33240         code.
33241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33242         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33243         conditional code.
33244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
33245         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33246         code unconditional.
33247         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33248         conditional code.
33249         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33250         unconditional.
33251         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33252         conditional code.
33253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33254         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33255         unconditional.
33256         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33257         conditional code.
33258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
33259         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33260         code unconditional.
33261         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33262         conditional code.
33263         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33264         unconditional.
33265         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33266         conditional code.
33267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
33268         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33269         code unconditional.
33270         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33271         conditional code.
33272         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33273         unconditional.
33274         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33275         conditional code.
33276
33277 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
33278
33279         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
33280         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
33281         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
33282         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
33283         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
33284         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
33285         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
33286         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
33287         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
33288         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
33289         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
33290         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
33291         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
33292         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
33293         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
33294         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
33295         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
33296         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
33297         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
33298         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
33299         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
33300         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
33301         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33302
33303 2012-07-25  Florian Weimer  <fweimer@redhat.com>
33304
33305         * Versions.def: Add GLIBC_2.17.
33306         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
33307         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
33308         Introduce __libc_secure_getenv.
33309         * stdlib/Versions (2.17): Add secure_getenv
33310         (GLIBC_PRIVATE): Add __libc_secure_getenv.
33311         * stdlib/secure-getenv.c: Rename __secure_getenv to
33312         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
33313         symbol __secure_getenv for GLIBC_2.0.
33314         * stdlib/tst-secure-getenv.c: New.
33315         * stdlib/Makefile (tests): Add testcase.
33316         * manual/startup.texi (Environment Access): Document
33317         secure_getenv.
33318         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
33319         __libc_secure_getenv.
33320         * inet/ruserpass.c (ruserpass): Likewise.
33321         * malloc/mtrace.c (mtrace): Likewise.
33322         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
33323         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
33324         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
33325         * sysdeps/posix/tempname.c: Likewise.  Evaluate
33326         HAVE_SECURE_GETENV.
33327         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
33328         __secure_getenv to __libc_secure_getenv.
33329         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
33330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33331         Likewise.
33332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33333         Likewise.
33334         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33335         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33336         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33337         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33338         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33339         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33340         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
33341
33342 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
33343
33344         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
33345         (struct La_i86_retval): Likewise.
33346         (struct La_x86_64_regs): Likewise.
33347         (struct La_x86_64_retval): Likewise.
33348         (struct La_x32_regs): Likewise.
33349         (struct La_x32_retval): Likewise.
33350         (struct La_ppc32_regs): Likewise.
33351         (struct La_ppc32_retval): Likewise.
33352         (struct La_ppc64_regs): Likewise.
33353         (struct La_ppc64_retval): Likewise.
33354         (struct La_sh_regs): Likewise.
33355         (struct La_sh_retval): Likewise.
33356         (struct La_s390_32_regs): Likewise.
33357         (struct La_s390_32_retval): Likewise.
33358         (struct La_s390_64_regs): Likewise.
33359         (struct La_s390_64_retval): Likewise.
33360         (struct La_sparc32_regs): Likewise.
33361         (struct La_sparc32_retval): Likewise.
33362         (struct La_sparc64_regs): Likewise.
33363         (struct La_sparc64_retval): Likewise.
33364         (struct audit_ifaces): Remove architecture-specific pltenter and
33365         pltexit members.
33366         * sysdeps/i386/ldsodefs.h: New file.
33367         * sysdeps/powerpc/ldsodefs.h: Likewise.
33368         * sysdeps/s390/ldsodefs.h: Likewise.
33369         * sysdeps/sh/ldsodefs.h: Likewise.
33370         * sysdeps/sparc/ldsodefs.h: Likewise.
33371         * sysdeps/x86_64/ldsodefs.h: Likewise.
33372
33373 2012-07-25  Marek Polacek  <polacek@redhat.com>
33374
33375         [BZ #6808]
33376         * math/libm-test.inc (yn_test): Add another test.
33377         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
33378         to ERANGE when the result is +-Inf.
33379         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
33380         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33381         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
33382         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
33383
33384 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
33385
33386         * conform/data/time.h-data (NULL): Use macro-constant.  Require
33387         equal to 0.
33388         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
33389         clock_t.
33390         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
33391
33392 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
33393
33394         * configure.in <sysdeps resolving>: Correct printing
33395         Implies_before.
33396         * configure: Regenerate.
33397
33398 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
33399
33400         * math/w_ilogb.c: Include <limits.h>.
33401         * math/w_ilogbl.c: Likewise.
33402
33403 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
33404
33405         * manual/lang.texi (__va_copy): Document primarily as ISO C99
33406         va_copy.  Document allowing for unavailable va_copy only as
33407         pre-C99 compatibility.
33408         * manual/string.texi (Copying and Concatenation): Use va_copy
33409         instead of __va_copy in concat example.
33410
33411 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
33412
33413         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
33414         (__sendto): Use create_address_port.  Initialize APORT and deallocate
33415         it if not null.
33416
33417         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
33418         with O_NOLINK passed to __file_name_lookup.
33419
33420         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
33421         with O_NOLINK passed to __file_name_lookup.
33422
33423         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
33424         negative N or less than NGIDS.
33425
33426         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
33427         type to string_t.  Set ERANGE as errno and return it if NAME is not big
33428         enough.  Use memcpy instead of strncpy.
33429
33430 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
33431
33432         * elf/Makefile (check-data): Remove.
33433         (localplt.data): New vpath directive.
33434         ($(objpfx)check-localplt.out): Use localplt.data from vpath
33435         instead of $(check-data).
33436         * scripts/data/localplt-generic.data: Move to ...
33437         * sysdeps/generic/localplt.data: ... here.
33438         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
33439         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
33440         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
33441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33442         ... here.
33443         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
33444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33445         ... here.
33446         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
33447         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
33448         ... here.
33449         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
33450         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33451         ... here.
33452         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
33453         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
33454         ... here.
33455         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
33456         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
33457         ... here.
33458
33459 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33460
33461         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
33462         PPC32 and PPC64 files.
33463         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
33464         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
33465
33466 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33467
33468         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
33469         __makecontext_ret to ...
33470         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
33471         ... here and call exit if uc_link is NULL.  New file.
33472         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
33473         __makecontext_ret.S.
33474         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
33475         __makecontext_ret to ...
33476         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
33477         ... here and call exit if uc_link is NULL.  New file.
33478         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
33479         __makecontext_ret.S.
33480
33481 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33482
33483         * elf/elf.h (R_390_IRELATIVE): New definition.
33484         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
33485         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
33486         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
33487         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33488         (elf_machine_lazy_rel): Likewise.
33489         * sysdeps/s390/dl-irel.h: New file.
33490         * sysdeps/s390/s390-64/memcpy.S: New asm code.
33491         * sysdeps/s390/s390-64/memset.S: New asm code.
33492         * sysdeps/s390/s390-64/memcmp.S: New asm code.
33493         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
33494         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
33495         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
33496         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
33497         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
33498         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
33499         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
33500         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
33501         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
33502         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
33503         * sysdeps/s390/s390-32/memcpy.S: New asm code.
33504         * sysdeps/s390/s390-32/memset.S: New asm code.
33505         * sysdeps/s390/s390-32/memcmp.S: New asm code.
33506
33507 2012-07-17  Marek Polacek  <polacek@redhat.com>
33508
33509         [BZ #14349]
33510         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
33511         * sysdeps/s390/s390-64/configure.in: Likewise.
33512         * sysdeps/sparc/configure.in: Likewise.
33513         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
33514         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
33515         * sysdeps/i386/configure.in: Likewise.
33516         * sysdeps/x86_64/configure.in: Likewise.
33517         * sysdeps/sh/configure.in: Likewise.
33518         * sysdeps/s390/s390-32/configure: Regenerated.
33519         * sysdeps/s390/s390-64/configure: Likewise.
33520         * sysdeps/x86_64/configure: Likewise.
33521         * sysdeps/sh/configure: Likewise.
33522         * sysdeps/powerpc/powerpc64/configure: Likewise.
33523         * sysdeps/powerpc/powerpc32/configure: Likewise.
33524         * sysdeps/sparc/configure: Likwise.
33525         * sysdeps/i386/configure: Likewise.
33526
33527         * elf/dl-open.c: Comment fixes.
33528
33529 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
33530
33531         * Makefile [CXX] (check-data): Remove.
33532         [CXX] (c++-types.data): New vpath directive.
33533         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
33534         vpath.  Do not allow for C++ type data being missing.
33535         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
33536         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
33537         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
33538         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
33539         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
33540         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
33541         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
33542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33543         ... here.
33544         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
33545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33546         ... here.
33547         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
33548         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
33549         ... here.
33550         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
33551         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
33552         ... here.
33553         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
33554         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
33555         ... here.
33556         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
33557         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
33558         ... here.
33559         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
33560         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
33561         ... here.
33562         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
33563         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
33564
33565         * elf/tls-macros.h (TLS_LE): Move architecture-specific
33566         definitions to architecture-specific files.
33567         (TLS_IE): Likewise.
33568         (TLS_LD): Likewise.
33569         (TLS_GD): Likewise.
33570         * sysdeps/i386/tls-macros.h: New file.
33571         * sysdeps/powerpc/tls-macros.h: Likewise.
33572         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
33573         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
33574         * sysdeps/sh/tls-macros.h: Likewise.
33575         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
33576         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
33577         * sysdeps/x86_64/tls-macros.h: Likewise.
33578
33579 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
33580
33581         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
33582         zero value for regular exit case.
33583
33584         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33585         (__start_context): Preserve zero value for regular exit case.
33586
33587 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
33588             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33589
33590         * manual/setjmp.texi (setcontext): Clarify normal process
33591         termination when uc_link is the null pointer.
33592         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
33593         exit call.
33594
33595 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
33596
33597         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
33598         preprocessor.  Test for each exception mask separately.
33599
33600 2012-07-16  Andreas Jaeger  <aj@suse.de>
33601
33602         * po/ru.po: Update from translation team.
33603
33604 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
33605
33606         * conform/data/string.h-data (NULL): Use macro-constant.  Require
33607         equal to 0.
33608         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33609         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33610         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
33611         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
33612         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33613
33614 2012-07-13  Andreas Jaeger  <aj@suse.de>
33615
33616         * po/fr.po: Update from translation team.
33617
33618 2012-07-12  Marek Polacek  <polacek@redhat.com>
33619
33620         [BZ #14173]
33621         * math/libm-test.inc (yn_test): Add test for BZ #14173.
33622         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
33623         loop condition.
33624
33625 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
33626
33627         [BZ #13717]
33628         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33629         Change to 2.4.1 where previously 2.4.0.
33630         * sysdeps/unix/sysv/linux/configure: Regenerated.
33631         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
33632         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
33633         version.
33634         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
33635         (__ASSUME_AT_CLKTCK): Remove.
33636         (__ASSUME_AT_PAGESIZE): Likewise.
33637         (__ASSUME_AT_XID): Likewise.
33638         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
33639         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
33640         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
33641         unconditionally.
33642         (HAVE_AUX_PAGESIZE): Likewise.
33643         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
33644         [__ASSUME_AT_CLKTCK]: Make code unconditional.
33645         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
33646
33647 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
33648
33649         [BZ #14307]
33650         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
33651         the temporary buffer used to invoke __gethostbyname2_r,
33652         __gethostbyaddr_r and gethostbyname4_r to make room for struct
33653         host_data / struct gaih_addrtuple.
33654         * resolv/nss_dns/dns-host.c (global scope): Move definition of
33655         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
33656         header file nss/nsswitch.h.
33657         * nss/nsswitch.h (global scope): Add definition of implementation
33658         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
33659         resolv/nss_dns/dns-host.c).
33660
33661 2012-07-11  Andreas Jaeger  <aj@suse.de>
33662
33663         * po/fr.po: Update from translation team.
33664
33665         * po/sv.po: Update from translation team
33666         * po/fr.po: Another update from translation team.
33667
33668 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33669
33670         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
33671         for subnormals or multiply small sinh result by itself.
33672         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33673         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33674
33675 2012-07-11  David S. Miller  <davem@davemloft.net>
33676
33677         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33678
33679 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
33680
33681         [BZ #14347]
33682         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
33683         (INTERNAL_MARK): Shift it here.
33684
33685 2012-07-10  Marek Polacek  <polacek@redhat.com>
33686
33687         [BZ #14151]
33688         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
33689         libc_cv_asm_global_directive with .globl.
33690         * configure: Regenerated.
33691         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
33692         with .globl.
33693         * sysdeps/i386/configure: Regenerated.
33694         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
33695         with .globl.
33696         * sysdeps/x86_64/configure: Regenerated.
33697         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
33698         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
33699         * elf/tst-unique2mod2.c: Likewise.
33700         * elf/tst-unique2mod1.c: Likewise.
33701         * elf/tst-unique1mod2.c: Likewise.
33702         * elf/tst-unique1mod1.c: Likewise.
33703         * sysdeps/s390/s390-32/sysdep.h: Likewise.
33704         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33705         * sysdeps/s390/s390-64/sysdep.h: Likewise.
33706         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33707         * sysdeps/mach/sysdep.h: Likewise.
33708         * sysdeps/i386/sysdep.h: Likewise.
33709         * sysdeps/i386/i386-mcount.S: Likewise.
33710         * sysdeps/x86_64/_mcount.S: Likewise.
33711         * sysdeps/x86_64/sysdep.h: Likewise.
33712         * sysdeps/sh/_mcount.S: Likewise.
33713         * sysdeps/sh/sysdep.h: Likewise.
33714         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
33715         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
33716         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
33717         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33718         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
33719         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
33720         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
33721         * locale/localeinfo.h: Likewise.
33722         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
33723         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
33724
33725 2012-07-09  Roland McGrath  <roland@hack.frob.com>
33726
33727         [BZ #14336]
33728         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
33729         system".
33730         * manual/message.texi (The Uniforum approach): Likewise.
33731         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
33732         (glibc iconv Implementation): Likewise.
33733
33734 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
33735
33736         [BZ #14337]
33737         * math/s_clog.c (__clog): Avoid scaling a value down where that
33738         could result in underflow.
33739         * math/s_clog10.c (__clog10): Likewise.
33740         * math/s_clog10f.c (__clog10f): Likewise.
33741         * math/s_clog10l.c (__clog10l): Likewise.
33742         * math/s_clogf.c (__clogf): Likewise.
33743         * math/s_clogl.c (__clogl): Likewise.
33744         * math/libm-test.inc (clog_test): Add more tests.
33745         (clog10_test): Likewise.
33746         * sysdeps/i386/fpu/libm-test-ulps: Update.
33747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33748
33749 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
33750
33751         [BZ #14283]
33752         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
33753         by 7 not 8 to examine high bit of fractional part.
33754
33755         [BZ #14042]
33756         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
33757         for call to __mcount_internal.
33758         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
33759         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
33760         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
33761
33762 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
33763
33764         [BZ #14154]
33765         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
33766         approximation for values within 0x1p-13f of an odd multiple of
33767         pi/4.
33768         * math/libm-test.inc (tan_test): Do not allow spurious underflow
33769         exception.  Add more tests.
33770         * sysdeps/i386/fpu/libm-test-ulps: Update.
33771
33772         [BZ #6778]
33773         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
33774         inputs and return -1 for them.  Do not check for +Inf in case not
33775         reachable for +Inf.
33776         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33777         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
33778         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33779         and return -1 for them.  Do not check for +Inf in case not
33780         reachable for +Inf.
33781         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
33782         define.
33783         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33784         and return -1 for them.  Do not check for +Inf in case not
33785         reachable for +Inf.
33786         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
33787         spurious underflow.
33788         * sysdeps/i386/fpu/libm-test-ulps: Update.
33789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33790
33791 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
33792
33793         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
33794
33795 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
33796
33797         [BZ #14157]
33798         [BZ #14331]
33799         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
33800         could result in spurious underflow.  Scale down values above
33801         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
33802         * math/s_csqrtf.c (__csqrtf): Likewise.
33803         * math/s_csqrtl.c (__csqrtl): Likewise.
33804         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
33805         spurious underflow.
33806         * sysdeps/i386/fpu/libm-test-ulps: Update.
33807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33808
33809 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
33810
33811         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
33812         xopen-msg.sed.
33813         * catgets/xopen-msg.awk: New file.
33814         * catgets/xopen-msg.sed: Removed.
33815
33816         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33817         po2text.sed.
33818         * intl/po2test.awk: New file.
33819         * intl/po2test.sed: Removed.
33820
33821 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
33822
33823         [BZ #14328]
33824         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33825         or multiply small sinh result by itself.
33826         * math/s_ctanf.c (__ctanf): Likewise.
33827         * math/s_ctanh.c (__ctanh): Likewise.
33828         * math/s_ctanhf.c (__ctanhf): Likewise.
33829         * math/s_ctanhl.c (__ctanhl): Likewise.
33830         * math/s_ctanl.c (__ctanl): Likewise.
33831         * math/libm-test.inc (ctan_test_tonearest): New function.
33832         (ctan_test_towardzero): Likewise.
33833         (ctan_test_downward): Likewise.
33834         (ctan_test_upward): Likewise.
33835         (ctanh_test_tonearest): Likewise.
33836         (ctanh_test_towardzero): Likewise.
33837         (ctanh_test_downward): Likewise.
33838         (ctanh_test_upward): Likewise.
33839         (main): Call these new functions.
33840         * sysdeps/i386/fpu/libm-test-ulps: Update.
33841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33842
33843 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
33844
33845         * .gitignore: Delete /ports entry.
33846
33847 2012-07-03  Andreas Jaeger  <aj@suse.de>
33848
33849         * po/bg.po: Update from translation team.
33850         * po/cs.po: Likewise.
33851         * po/de.po: Likewise.
33852         * po/hr.po: Likewise.
33853         * po/nl.pl: Likewise.
33854         * po/pl.po: Likewise.
33855         * po/vi.po: Likewise.
33856
33857 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
33858
33859         * Makeconfig [!+link] (+link-before-libc): New variable.
33860         [!+link] (+link-after-libc): Likewise.
33861         [!+link] (+link-tests): Likewise.
33862         [!+link] (+link): Define in terms of $(+link-before-libc) and
33863         $(+link-after-libc).
33864         [!+link-static] (+link-static-before-libc): New variable.
33865         [!+link-static] (+link-static-after-libc): Likewise.
33866         [!+link-static] (+link-static-tests): Likewise.
33867         [!+link-static] (+link-static): Define in terms of
33868         $(+link-static-before-libc) and $(+link-static-after-libc).
33869         [build-shared] (link-libc-before-gnulib): New variable.
33870         [build-shared] (link-libc-tests): Likewise.
33871         [build-shared] (link-libc): Define in terms of
33872         $(link-libc-before-gnulib).
33873         [!build-shared] (link-libc-tests): New variable.
33874         (link-libc-static-tests): New variable.
33875         [!gnulib] (gnulib-arch): New variable.
33876         [!gnulib] (gnulib-tests): Likewise.
33877         [!gnulib] (static-gnulib-arch): Likewise.
33878         [!gnulib] (static-gnulib-tests): Likewise.
33879         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
33880         Define with "=" instead of ":=".
33881         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
33882         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
33883         * Rules (binaries-all-notests): New variable.
33884         (binaries-all-tests): Likewise.
33885         (binaries-static-notests): Likewise.
33886         (binaries-static-tests): Likewise.
33887         (binaries-all): Define using $(binaries-all-notests) and
33888         $(binaries-all-tests).
33889         (binaries-static): Define using $(binaries-static-notests) and
33890         $(binaries-static-tests).
33891         (binaries-shared-tests): New variable.
33892         (binaries-shared-notests): Likewise.
33893         (binaries-shared): Remove variable.
33894         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
33895         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
33896         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
33897         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33898         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33899         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33900         * elf/Makefile (sln-modules): New variable.
33901         (extra-objs): Add $(sln-modules:=.o).
33902         (ldconfig-modules): Add static-stubs.
33903         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33904         * elf/static-stubs.c: New file.
33905
33906         [BZ #14283]
33907         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33908         by 7 not 8 to examine high bit of fractional part.  Use volatile
33909         variables when splitting into final array of floats if
33910         __FLT_EVAL_METHOD__ != 0.
33911         * math/libm-test.inc (cos_test): Add another test.
33912         (sin_test): Likewise.
33913         * sysdeps/i386/fpu/libm-test-ulps: Update.
33914
33915         [BZ #14273]
33916         * math/libm-test.inc (cosh_test): Add more tests.
33917
33918         * version.h (RELEASE): Set to "development".
33919         (VERSION): Set to "2.16.90".
33920
33921 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
33922
33923         * NEWS: Update copyright. Remove last-updated date.
33924         Mention math library bug fixes and timezone data changes.
33925         * README: Mention GNU/Hurd, x32, and HPPA support status.
33926
33927 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
33928
33929         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33930
33931 2012-06-27  Andreas Jaeger  <aj@suse.de>
33932
33933         * manual/contrib.texi (Contributors): Add Samuel Thibault.
33934
33935 2012-06-25  Andreas Jaeger  <aj@suse.de>
33936
33937         * sysdeps/s390/fpu/libm-test-ulps: Update.
33938
33939 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
33940             Thomas Schwinge  <thomas@codesourcery.com>
33941
33942         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33943         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33944         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33945         fanotify_mark.
33946
33947 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
33948
33949         * sysdeps/mach/start.c: Remove file.
33950         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33951         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33952         * sysdeps/sh/init-first.c: Likewise.
33953
33954         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33955         registers for frame unwinding purposes, add CFI directives.
33956         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33957         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33958         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33959         Likewise.
33960
33961         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33962         __fortify_fail returning.
33963         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33964
33965         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33966         sysdeps/sh/____longjmp_chk.S.
33967         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33968         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33969         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33970         (gen-as-const-headers): Append sigaltstack-offsets.sym.
33971
33972         * sysdeps/sh/abort-instr.h: New file.
33973         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33974         process in case exit returns.
33975
33976         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33977         initialize the GOT register before use.
33978
33979         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33980         calculation of ARGC > 4.
33981
33982         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33983         meaningful names to some local labels.
33984
33985 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33986             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33987
33988         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33989         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33990         (__arch_compare_and_exchange_val_16_acq): Likewise.
33991         (__arch_compare_and_exchange_val_32_acq): Likewise.
33992         (atomic_exchange_and_add): Fix gUSA sequence.
33993         (atomic_add): Likewise.
33994         (atomic_add_negative): Likewise.
33995         (atomic_add_zero): Likewise.
33996         (atomic_bit_test_set): Likewise.
33997
33998 2012-06-22  Andreas Schwab  <schwab@redhat.com>
33999
34000         [BZ #13579]
34001         * include/link.h (struct link_map): Add l_free_initfini.
34002         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
34003         l_initfini.
34004         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
34005         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
34006         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
34007         set.
34008
34009 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
34010
34011         * configure.in: Use AC_LANG_SOURCE.
34012         * configure: Regenerate.
34013
34014 2012-06-22  Roland McGrath  <roland@hack.frob.com>
34015
34016         * configure.in (libc_cv_localstatedir): New substituted variable.
34017         * configure: Regenerated.
34018         * config.make.in (localstatedir): New variable, substituted from
34019         libc_cv_localstatedir.
34020         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
34021         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
34022         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
34023         * sysdeps/gnu/configure: Regenerated.
34024
34025 2012-06-21  Jeff Law  <law@redhat.com>
34026
34027         [BZ #14277]
34028         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
34029         free.  Simplify list management for _LIBC case.
34030
34031 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
34032
34033         [BZ #14273]
34034         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
34035         Clear sign bit of 64-bit integer value before comparing against
34036         overflow value.
34037
34038         * sysdeps/mach/configure: Regenerated.
34039
34040 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
34041
34042         [BZ #14278]
34043         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
34044
34045 2012-06-21  Jeff Law  <law@redhat.com>
34046
34047         [BZ #13882]
34048         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
34049         uint16_t for elements in the "seen" array to avoid char overflows.
34050         * elf/dl-fini.c (_dl_sort_fini): Likewise.
34051         * elf/dl-open.c (dl_open_worker): Likewise.
34052
34053 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
34054
34055         * scripts/list-sources.sh: Scan PORTS for translations.
34056         * po/libc.pot: Regenerated.
34057
34058 2012-06-21  Andreas Jaeger  <aj@suse.de>
34059
34060         [BZ #12194]
34061         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
34062         warning.
34063         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
34064         * bits/byteswap-16.h (__bswap_16): Likewise.
34065         * bits/byteswap.h (__bswap_constant_16): Likewise.
34066
34067 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
34068
34069         [BZ #14117]
34070         * sysdeps/i386/fpu_control.h: Removed.
34071         * sysdeps/x86_64/fpu_control.h: Moved to ...
34072         * sysdeps/x86/fpu_control.h: Here.
34073
34074         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
34075         (_FPU_SETCW): Likewise.
34076
34077 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
34078
34079         [BZ #14117]
34080         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
34081         * sysdeps/x86/fpu/bits/mathinline.h: This.
34082         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
34083
34084         [BZ #14050]
34085         [BZ #14117]
34086         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
34087         functions if __x86_64__ is defined.
34088
34089 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
34090
34091         * string/endian.h: Add !__ASSEMBLER__ condition for including
34092         conversion interfaces.
34093
34094 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
34095
34096         [BZ #14241]
34097         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
34098         of ABS(x) in calculating zero to negative powers other than odd
34099         integers.
34100         * math/libm-test.inc (pow_test): Add more tests.
34101
34102 2012-06-15  Andreas Jaeger  <aj@suse.de>
34103
34104         * manual/contrib.texi (Contributors): Update entry of Liubov
34105         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
34106         Machado Filho.
34107
34108 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
34109
34110         * string/string.h: Add __wur to GNU version of strerror_r.
34111
34112 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
34113
34114         [BZ #14229]
34115         * string/Makefile (tests): Add tst-strtok_r.
34116         * string/tst-strtok_r.c: New file.
34117         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
34118         RAX_LP/RDX_LP on SAVE_PTR.
34119
34120 2012-06-14  Roland McGrath  <roland@hack.frob.com>
34121
34122         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
34123
34124 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
34125
34126         * libm_test.inc (csqrt_test): Allow more spurious underflow
34127         exceptions.
34128         (j0_test): Likewise.
34129         (j1_test): Likewise.
34130         (y0_test): Likewise.
34131         (y1_test): Likewise.
34132
34133 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
34134
34135         * po/Makefile (libc.pot): Use UTF-8 charset.
34136
34137 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
34138
34139         [BZ #14210]
34140         Suppress sign-conversion warning from FD_SET.
34141         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
34142         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
34143         not unsigned long int.
34144         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
34145
34146 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
34147
34148         [BZ #14050]
34149         [BZ #14117]
34150         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
34151         __extern_always_inline instead of __extern_inline.
34152         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
34153         (__signbit): Likewise.
34154         (__signbitl): Support C++ namespace.
34155         (lrintf): New inline function.
34156         (lrint): Likewise.
34157         (llrintf): Likewise.
34158         (llrint): Likewise.
34159         (fmaxf): Likewise.
34160         (fmax): Likewise.
34161         (fminf): Likewise.
34162         (fmin): Likewise.
34163         (rint): Likewise.
34164         (rintf): Likewise.
34165         (ceil): Likewise.
34166         (ceilf): Likewise.
34167         (floor): Likewise.
34168         (floorf): Likewise.
34169         (nearbyint): Likewise.
34170         (nearbyintf): Likewise.
34171
34172 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
34173
34174         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
34175         non-default versions.
34176
34177 2012-06-11  Roland McGrath  <roland@hack.frob.com>
34178
34179         [BZ #14218]
34180         * manual/argp.texi (Argp): Reword argp_parse description slightly.
34181
34182 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
34183
34184         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
34185         (FE_UPWARD, FE_DOWNWARD): Don't define.
34186         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
34187         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34188
34189         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
34190         reading it.
34191         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34192         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34193
34194 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34195
34196         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34197         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
34198         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
34199         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
34200
34201 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
34202
34203         [BZ #14117]
34204         * sysdeps/i386/fpu/bits/fenv.h: Removed.
34205         * sysdeps/i386/fpu/Implies: New file.
34206         * sysdeps/x86_64/fpu/Implies: Likewise.
34207         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
34208         * sysdeps/x86/fpu/bits/fenv.h: This.
34209
34210         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
34211         __SSE_MATH__.
34212
34213 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
34214
34215         [BZ #14134]
34216         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
34217         character 0xffff that matches the last element of the
34218         conversion table.
34219
34220 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34221
34222         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
34223         fmodl commit.
34224
34225 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34226
34227         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
34228         values higher than 25.6283.
34229
34230 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34231
34232         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
34233         subnormal exponent extraction and add some __builtin_expect.
34234         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
34235         Fix for subnormal mantissa calculation.
34236
34237 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
34238
34239         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
34240         cpu2 is -1 and errno is not ENOSYS.
34241
34242 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
34243
34244         [BZ #14117]
34245         * sysdeps/i386/i486/bits/string.h: Renamed to ...
34246         * sysdeps/x86/bits/string.h: This.
34247         * sysdeps/x86_64/bits/string.h: Removed.
34248
34249         * sysdeps/i386/i486/bits/string.h: Define inline functions only
34250         if not compiling for x86-64, but compiling for >= i486.
34251
34252         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
34253         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
34254
34255         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
34256         New macro from Linux kernel 3.4.0.
34257         (FP_XSTATE_MAGIC2): Likewise.
34258         (FP_XSTATE_MAGIC2_SIZE): Likewise.
34259         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
34260         (struct _fpx_sw_bytes): New struct.
34261         (struct _xsave_hdr): Likewise.
34262         (struct _ymmh_state): Likewise.
34263         (struct _xstate): Likewise.
34264
34265         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
34266         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
34267         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
34268         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
34269         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
34270         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
34271
34272         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
34273         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
34274         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
34275         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
34276         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
34277         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
34278
34279 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34280
34281         [BZ #13743]
34282         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
34283         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
34284         (sysdep_headers): Include sys/platform/ppc.h.
34285         * sysdeps/powerpc/test-gettimebase.c: Test for
34286         __ppc_get_timebase() to catch future ISA opcode/insn changes.
34287         * manual/Makefile (appendices): Include platform.texi.
34288         * manual/contrib.texi (Contributors): Update @node pointers.
34289         * manual/maint.texi (Maintenance): Likewise.
34290         (Platform): New node.
34291         * manual/platform.texi: New file.  Document the new features.
34292
34293 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34294             Jakub Jelinek  <jakub@redhat.com>
34295
34296         [BZ #14188]
34297         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
34298         where __builtin_expect is unavailable.
34299
34300 2012-06-03  David S. Miller  <davem@davemloft.net>
34301
34302         * stdlib/longlong.h: Updated from GCC.
34303
34304 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
34305
34306         [BZ #14042]
34307         * sysdeps/powerpc/powerpc32/mcount.c: New file.
34308         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
34309         __mcount_internal.
34310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34311         (GLIBC_2.16): Likewise.
34312
34313 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
34314
34315         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
34316
34317 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
34318
34319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
34320         (default-abi): New variable.
34321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
34322         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
34323         variable.
34324         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
34325         Likewise.
34326         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
34327         Likewise.
34328         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
34329         Likewise.
34330
34331         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
34332         definition.  Document in comment.
34333
34334 2012-06-01  David S. Miller  <davem@davemloft.net>
34335
34336         * stdlib/longlong.h: Updated from GCC.
34337
34338 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
34339
34340         [BZ #14117]
34341         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
34342         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
34343         sys/debugreg.h sys/io.h here.
34344         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
34345         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
34346         sys/io.h.
34347         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
34348         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
34349         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
34350         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
34351         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
34352         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
34353
34354         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
34355         Define only if __x86_64__ is defined.
34356
34357 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
34358
34359         [BZ #14048]
34360         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
34361         Use int64_t for variable i.
34362         * math/libm-test.inc (fmod_test): Add more tests.
34363
34364         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
34365         z computation is not scheduled after fetestexcept.
34366         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
34367         Use math_force_eval instead of asm to ensure calculation scheduled
34368         before exception test.
34369         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
34370         Ensure a1 + u.d computation is not scheduled after fetestexcept.
34371
34372 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
34373
34374         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
34375         computation is not scheduled after fetestexcept.
34376
34377 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
34378
34379         [BZ #14117]
34380         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
34381         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
34382
34383 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34384
34385         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
34386         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34387
34388 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
34389
34390         [BZ #14117]
34391         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
34392         <bits/wordsize.h>.
34393         (__WCHAR_MIN): Support __WORDSIZE == 64.
34394         (__WCHAR_MAX): Likewise.
34395
34396         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
34397         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
34398
34399         [BZ #14183]
34400         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
34401         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
34402
34403         [BZ #14117]
34404         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
34405         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
34406
34407         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
34408         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
34409
34410         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
34411         Defined to 1 if __x86_64__ isn't defined.
34412         (_STAT_VER_LINUX_OLD): New.
34413         (st_atime): Remove duplicate.
34414         (st_mtime): Likewise.
34415         (st_ctime): Likewise.
34416
34417 2012-05-31  David S. Miller  <davem@davemloft.net>
34418
34419         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
34420         entries.
34421
34422 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
34423
34424         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
34425         gen-libm-test.pl.
34426
34427         [BZ #14132]
34428         * elf/dl-reloc.c: Include <_itoa.h>.
34429         (_dl_reloc_bad_type): Remove use of INTUSE.
34430         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
34431         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
34432         * stdio-common/psiginfo.c (psiginfo): Likewise.
34433         * stdio-common/psignal.c (psignal): Likewise.
34434         * string/strsignal.c (strsignal): Likewise.
34435         * include/signal.h (_sys_siglist): Declare hidden proto.
34436         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
34437         INTVARDEF with libc_hidden_data_def.
34438         * stdio-common/itoa-udigits.c: Likewise.
34439         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
34440         (_itoa_lower_digits_internal): Remove declaration.
34441         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
34442         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
34443         (_sys_sigabbrev_internal): Remove aliases.
34444         (_sys_siglist): Define hidden alias.
34445
34446 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
34447
34448         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34449         bits/sysctl.h.
34450
34451 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
34452
34453         [BZ #14117]
34454         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
34455         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
34456
34457         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
34458         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
34459         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
34460         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
34461         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
34462         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
34463
34464         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
34465         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
34466         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
34467
34468         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
34469         with __addr.
34470         (insw): Likewise.
34471         (insl): Likewise.
34472         (outsb): Likewise.
34473         (outsw): Likewise.
34474         (outsl): Likewise.
34475
34476         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
34477         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
34478         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
34479
34480         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
34481         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
34482         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
34483         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
34484         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
34485         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
34486
34487         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
34488         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
34489
34490         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
34491         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
34492
34493         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
34494         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
34495         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
34496
34497         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
34498         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
34499         to ...
34500         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
34501
34502         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
34503         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
34504         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
34505
34506         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
34507         for x86-64.
34508         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
34509
34510 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
34511
34512         * math/math.h (M_El): Use two more decimal places.
34513         (M_LOG2El): Likewise.
34514         (M_LOG10El): Likewise.
34515         (M_LN2l): Likewise.
34516         (M_LN10l): Likewise.
34517         (M_PIl): Likewise.
34518         (M_PI_2l): Likewise.
34519         (M_PI_4l): Likewise.
34520         (M_1_PIl): Likewise.
34521         (M_2_PIl): Likewise.
34522         (M_2_SQRTPIl): Likewise.
34523         (M_SQRT2l): Likewise.
34524         (M_SQRT1_2l): Likewise.
34525
34526 2012-05-31  David S. Miller  <davem@davemloft.net>
34527
34528         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
34529         values between float registers.
34530         * sysdeps/sparc/sparc64/memset.S: Likewise.
34531         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34532
34533 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
34534
34535         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
34536         -D_FORTIFY_SOURCE=1.
34537         (CPPFLAGS-tst-longjmp_chk.c): Define.
34538         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
34539         (CPPFLAGS-tst-longjmp_chk2.c): Define.
34540         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
34541         CFLAGS-tst-wchar-h.c.
34542
34543 2012-05-31  Marek Polacek  <polacek@redhat.com>
34544
34545         [BZ #14132]
34546         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
34547         __endmntent_internal): Remove declaration.
34548         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
34549         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
34550         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
34551
34552 2012-05-30  David S. Miller  <davem@davemloft.net>
34553
34554         * sysdeps/sparc/sparc32/soft-fp/q_util.c
34555         (___Q_simulate_exceptions): Use real FP ops rather than writing
34556         into the %fsr.
34557         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
34558         Likewise.
34559
34560 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34561
34562         [BZ #14117]
34563         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
34564         * sysdeps/x86/bits/xtitypes.h: This.
34565
34566         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
34567         * sysdeps/x86/bits/wordsize.h: This.
34568
34569         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
34570         * sysdeps/x86/bits/huge_vall.h: This.
34571
34572         * sysdeps/i386/bits/select.h: Removed.
34573         * sysdeps/x86_64/bits/select.h: Renamed to ...
34574         * sysdeps/x86/bits/select.h: This.
34575
34576         * sysdeps/i386/bits/setjmp.h: Removed.
34577         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
34578         * sysdeps/x86/bits/setjmp.h: This.
34579
34580         * sysdeps/i386/bits/mathdef.h: Removed.
34581         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
34582         * sysdeps/x86/bits/mathdef.h: This.
34583
34584 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
34585
34586         [BZ #14132]
34587         * include/sys/socket.h (__connect_internal)
34588         (__libc_sa_len_internal): Remove declaration.
34589         (__connect, __libc_sa_len): Declare hidden_proto.
34590         (SA_LEN): Remove use of INTUSE.
34591         * socket/connect.c: Add libc_hidden_def.
34592         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
34593         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
34594         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
34595         alias.
34596         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
34597         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
34598         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
34599         of adding _internal alias.
34600
34601 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34602
34603         [BZ #14117]
34604         * sysdeps/i386/bits/link.h: Removed.
34605         * sysdeps/i386/bits/linkmap.h: Likewise.
34606         * sysdeps/x86_64/bits/link.h: Renamed to ...
34607         * sysdeps/x86/bits/link.h: This.
34608         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
34609         * sysdeps/x86/bits/linkmap.h: This.
34610
34611         * sysdeps/i386/bits/endian.h: Removed.
34612         * sysdeps/x86_64/bits/endian.h: Renamed to ...
34613         * sysdeps/x86/bits/endian.h: This.
34614
34615         * sysdeps/i386/bits/byteswap.h: Removed.
34616         * sysdeps/i386/bits/byteswap-16.h: Likewise.
34617         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
34618         * sysdeps/x86/bits/byteswap.h: This.
34619         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
34620         * sysdeps/x86/bits/byteswap-16.h: This.
34621         * sysdeps/i386/Implies: Add x86.
34622         * sysdeps/x86_64/Implies: Likewise.
34623
34624 2012-05-30  David S. Miller  <davem@davemloft.net>
34625
34626         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
34627         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
34628         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34629         (FP_TRAPPING_EXCEPTIONS): Define.
34630         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34631         (FP_TRAPPING_EXCEPTIONS): Define.
34632         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
34633         subnormals only when inexact has been signalled or underflow
34634         exceptions are enabled.
34635         (_FP_PACK_CANONICAL): Likewise.
34636
34637 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34638
34639         [BZ #14183]
34640         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
34641         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
34642
34643 2012-05-30  Richard Henderson  <rth@twiddle.net>
34644
34645         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
34646         with #ifndef NOT_IN_libc.
34647
34648         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
34649         marked to avoid plt entry.
34650
34651 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34652
34653         [BZ #14112]
34654         * Makeconfig (default-abi): New macro.
34655         (abi-includes): Likewise.
34656         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
34657         $(abi-$(default-abi)-lib-soname) for soname if defined.
34658         ($(common-objpfx)gnu/lib-names.stmp): Generate from
34659         abi-variants.
34660         * Makefile (installed-stubs): Likewise.
34661         * include/stubs-biarch.h: Removed.
34662         * scripts/lib-names.awk: Only handle one library at a time.
34663         * scripts/soversions.awk: Remove WORDSIZE support.
34664         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
34665         entries.
34666         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
34667         Removed.
34668         (syscall-list-default-condition): Likewise.
34669         (syscall-list-default-condition): Likewise.
34670         (syscall-list-includes): Likewise.
34671         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
34672         syscall-list-* with abi-*.  Handle undefined abi-variants.
34673         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
34674         * sysdeps/unix/sysv/linux/i386/Implies: New file.
34675         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
34676         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
34677         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
34678         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
34679         Removed.
34680         (syscall-list-32-options): Likewise.
34681         (syscall-list-32-condition): Likewise.
34682         (syscall-list-64-options): Likewise.
34683         (syscall-list-64-condition): Likewise.
34684         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
34685         macro.
34686         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
34687         Renamed to ...
34688         (abi-*): This.
34689         (abi-64-ld-soname): New macro.
34690         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
34691         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
34692         Renamed to ...
34693         (abi-*): This.
34694         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
34695         * sysdeps/x86_64/x32/shlib-versions: Likewise.
34696
34697 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
34698
34699         * sysdeps/unix/sysv/linux/kernel-features.h
34700         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
34701         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
34702         include <kernel-features.h>.
34703         [!__NR_ftruncate64]: Remove conditional code.
34704         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34705         [__NR_ftruncate64]: Make code unconditional.
34706         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34707         * sysdeps/unix/sysv/linux/truncate64.c: Do not
34708         include <kernel-features.h>.
34709         [!__NR_ftruncate64]: Remove conditional code.
34710         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34711         [__NR_ftruncate64]: Make code unconditional.
34712         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
34714         include <kernel-features.h>.
34715         [!__NR_ftruncate64]: Remove conditional code.
34716         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34717         [__NR_ftruncate64]: Make code unconditional.
34718         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34720         include <kernel-features.h>.
34721         [!__NR_ftruncate64]: Remove conditional code.
34722         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34723         [__NR_ftruncate64]: Make code unconditional.
34724         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34725
34726         * configure.in (libc_cv_fpie): Weaken to a compile test using
34727         LIBC_TRY_CC_OPTION.
34728         * configure: Regenerated.
34729
34730 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34731
34732         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
34733         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
34734         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
34735         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34736         Refreshed.
34737         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
34738         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
34739         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
34740         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
34741         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
34742         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34743         Refreshed.
34744
34745 2012-05-27  David S. Miller  <davem@davemloft.net>
34746
34747         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
34748         (___Q_zero): New.
34749         (__Q_simulate_exceptions): Return void.  Change to simulate
34750         exceptions by writing into the %fsr.
34751         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
34752         (__Qp_handle_exceptions): Likewise.
34753         (numbers): Delete.
34754         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
34755         __Qp_handle_exceptions.
34756         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
34757         __Qp_handle_exceptions.
34758         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34759         as unused and give dummy FP_RND_NEAREST initializer.
34760         (FP_INHIBIT_RESULTS): Define.
34761         (___Q_simulate_exceptions): Update declaration.
34762         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
34763         formatting.
34764         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34765         as unused and give dummy FP_RND_NEAREST initializer.
34766         (__Qp_handle_exceptions): Update declaration.
34767         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
34768         formatting.
34769
34770 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
34771
34772         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
34773         the temporary FPU control word.
34774         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34775         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
34776         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34777         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34778         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34779         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34780         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34781         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34782         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34783         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
34784         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34785
34786 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34787
34788         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
34789         fields.
34790
34791 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
34792
34793         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
34794         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
34795         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
34796         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
34797         Likewise.
34798         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
34799         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
34800         Likewise.
34801
34802 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
34803
34804         * po/h.po: Update from translation team.
34805
34806 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
34807
34808         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
34809
34810         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
34811         handling of denormals.
34812         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34813         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34814         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34815         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34816         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34817         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34818         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34819         Likewise.
34820
34821 2012-05-26  Marek Polacek  <polacek@redhat.com>
34822
34823         [BZ #14152]
34824         * math/libm-test.inc (fma_test): Don't always expect underflow
34825         exception.
34826
34827 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34828
34829         [BZ #12416]
34830         * elf/tst-execstack.c: Include stackinfo.h.
34831         (do_test): Adjust test case to ensure that pthread_getattr_np
34832         behaviour remains the same after marking stack executable.
34833
34834 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
34835
34836         * sysdeps/unix/sysv/linux/kernel-features.h
34837         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34838         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34839         kernel-features.h.
34840         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34841         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34842         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34843         kernel-features.h.
34844         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34845         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34846
34847 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
34848
34849         * configure.in: Define the default includes to being none.
34850         * configure: Regenerated.
34851
34852 2012-05-25  Roland McGrath  <roland@hack.frob.com>
34853
34854         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34855         * sysdeps/x86_64/setjmp.S: Likewise.
34856         * sysdeps/i386/bsd-setjmp.S: Likewise.
34857         * sysdeps/i386/bsd-_setjmp.S: Likewise.
34858         * sysdeps/i386/setjmp.S: Likewise.
34859         * sysdeps/i386/__longjmp.S: Likewise.
34860         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34861         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34862
34863         * include/stap-probe.h: New file.
34864         * configure.in: Handle --enable-systemtap.
34865         * configure: Regenerated.
34866         * config.h.in (USE_STAP_PROBE): New #undef.
34867         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34868         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34869         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34870
34871 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
34872
34873         [BZ #13717]
34874         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34875         to 2.4.0 where earlier.
34876         * sysdeps/unix/sysv/linux/configure: Regenerated.
34877         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34878         <kernel-features.h>.
34879         [__ASSUME_32BITUIDS]: Make code unconditional.
34880         [!__ASSUME_32BITUIDS]: Remove conditional code.
34881         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
34882         <kernel-features.h>.
34883         [__ASSUME_32BITUIDS]: Make code unconditional.
34884         [!__ASSUME_32BITUIDS]: Remove conditional code.
34885         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
34886         [__ASSUME_32BITUIDS]: Make code unconditional.
34887         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34888         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/i386/getuid.c: Do not include
34913         <kernel-features.h>.
34914         [__ASSUME_32BITUIDS]: Make code unconditional.
34915         [!__ASSUME_32BITUIDS]: Remove conditional code.
34916         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34917         <kernel-features.h>.
34918         [__ASSUME_32BITUIDS]: Make code unconditional.
34919         [!__ASSUME_32BITUIDS]: Remove conditional code.
34920         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34921         <kernel-features.h>.
34922         [__ASSUME_32BITUIDS]: Make code unconditional.
34923         [!__ASSUME_32BITUIDS]: Remove conditional code.
34924         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
34925         <kernel-features.h>.
34926         [__ASSUME_32BITUIDS]: Make code unconditional.
34927         [!__ASSUME_32BITUIDS]: Remove conditional code.
34928         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
34929         <kernel-features.h>.
34930         [__NR_setresgid] (__setresgid): Do not declare.
34931         [__ASSUME_32BITUIDS]: Make code unconditional.
34932         [!__ASSUME_32BITUIDS]: Remove conditional code.
34933         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34934         <kernel-features.h>.
34935         [__NR_setresuid] (__setresuid): Do not declare.
34936         [__ASSUME_32BITUIDS]: Make code unconditional.
34937         [!__ASSUME_32BITUIDS]: Remove conditional code.
34938         * sysdeps/unix/sysv/linux/i386/setfsgid.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/i386/setfsuid.c: Do not include
34943         <kernel-features.h>.
34944         [__ASSUME_32BITUIDS]: Make code unconditional.
34945         [!__ASSUME_32BITUIDS]: Remove conditional code.
34946         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
34947         <kernel-features.h>.
34948         [__ASSUME_32BITUIDS]: Make code unconditional.
34949         [!__ASSUME_32BITUIDS]: Remove conditional code.
34950         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
34951         <kernel-features.h>.
34952         [__ASSUME_32BITUIDS]: Make code unconditional.
34953         [!__ASSUME_32BITUIDS]: Remove conditional code.
34954         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
34955         <kernel-features.h>.
34956         [__ASSUME_32BITUIDS]: Make code unconditional.
34957         [!__ASSUME_32BITUIDS]: Remove conditional code.
34958         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
34959         <kernel-features.h>.
34960         [__ASSUME_32BITUIDS]: Make code unconditional.
34961         [!__ASSUME_32BITUIDS]: Remove conditional code.
34962         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
34963         <kernel-features.h>.
34964         [__ASSUME_32BITUIDS]: Make code unconditional.
34965         [!__ASSUME_32BITUIDS]: Remove conditional code.
34966         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
34967         <kernel-features.h>.
34968         [__ASSUME_32BITUIDS]: Make code unconditional.
34969         [!__ASSUME_32BITUIDS]: Remove conditional code.
34970         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
34971         <kernel-features.h>.
34972         [__ASSUME_32BITUIDS]: Make code unconditional.
34973         [!__ASSUME_32BITUIDS]: Remove conditional code.
34974         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34975         <kernel-features.h>.
34976         [__ASSUME_32BITUIDS]: Make code unconditional.
34977         [!__ASSUME_32BITUIDS]: Remove conditional code.
34978         * sysdeps/unix/sysv/linux/kernel-features.h
34979         (__ASSUME_SETRESUID_SYSCALL): Remove.
34980         (__ASSUME_SETRESGID_SYSCALL): Likewise.
34981         (__ASSUME_32BITUIDS): Likewise.
34982         (__ASSUME_LDT_WORKS): Likewise.
34983         (__ASSUME_O_DIRECTORY): Likewise.
34984         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34985         architecture but not kernel version.
34986         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34987         (__ASSUME_MMAP2_SYSCALL): Likewise.
34988         (__ASSUME_STAT64_SYSCALL): Likewise.
34989         (__ASSUME_IPC64): Likewise.
34990         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34991         <kernel-features.h>.
34992         [__ASSUME_32BITUIDS]: Make code unconditional.
34993         [!__ASSUME_32BITUIDS]: Remove conditional code.
34994         * sysdeps/unix/sysv/linux/opendir.c: Do not include
34995         <kernel-features.h>.
34996         [__ASSUME_O_DIRECTORY]: Make code unconditional.
34997         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34998         132096]: Remove conditional code.
34999         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
35000         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
35001         <kernel-features.h>.
35002         [__ASSUME_32BITUIDS]: Make code unconditional.
35003         [!__ASSUME_32BITUIDS]: Remove conditional code.
35004         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
35005         <kernel-features.h>.
35006         [__ASSUME_32BITUIDS]: Make code unconditional.
35007         [!__ASSUME_32BITUIDS]: Remove conditional code.
35008         * sysdeps/unix/sysv/linux/setegid.c: Do not include
35009         <kernel-features.h>.
35010         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
35011         unconditional.
35012         (__setresgid): Do not declare.
35013         [__ASSUME_32BITUIDS]: Make code unconditional.
35014         [!__ASSUME_32BITUIDS]: Remove conditional code.
35015         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
35016         <kernel-features.h>.
35017         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
35018         unconditional.
35019         (__setresuid): Do not declare.
35020         [__ASSUME_32BITUIDS]: Make code unconditional.
35021         [!__ASSUME_32BITUIDS]: Remove conditional code.
35022         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
35023         <kernel-features.h>.
35024         [__ASSUME_32BITUIDS]: Make code unconditional.
35025         [!__ASSUME_32BITUIDS]: Remove conditional code.
35026         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
35027         <kernel-features.h>.
35028         [__ASSUME_32BITUIDS]: Make code unconditional.
35029         [!__ASSUME_32BITUIDS]: Remove conditional code.
35030
35031 2012-05-25  Richard Henderson  <rth@twiddle.net>
35032
35033         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
35034         dl_hwcap to ifunc resolver.
35035         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
35036         elf_ifunc_invoke.
35037         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
35038         dl_hwcap to ifunc resolver.
35039         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
35040
35041 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
35042
35043         [BZ #14153]
35044         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
35045         for |x| <= 2**-26, not 2**-57.
35046         * math/libm-test.inc (acos_test): Do not allow spurious underflow
35047         exception.
35048
35049 2012-05-24  Jeff Law  <law@redhat.com>
35050
35051         * stdio-common/Makefile (tests): Add bug25.
35052         * stdio-common/bug25.c: New test.
35053
35054 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
35055
35056         [BZ #13576]
35057         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
35058         multiple of MALLOC_ALIGNMENT in size.
35059         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
35060
35061 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
35062
35063         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
35064         Require >= 256.
35065         (FILENAME_MAX): Use macro-int-constant.
35066         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
35067         (_IOFBF): Use macro-int-constant.
35068         (_IOLBF): Likewise.
35069         (_IONBF): Likewise.
35070         (SEEK_CUR): Likewise.
35071         (SEEK_END): Likewise.
35072         (SEEK_SET): Likewise.
35073         (TMP_MAX): Likewise.
35074         (EOF): Use macro-int-constant.  Require < 0.
35075         (NULL): Use macro-constant.  Require == 0.
35076         (stdin): Require type to be FILE *.
35077         (stdout): Likewise.
35078         (stderr): Likewise.
35079         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
35080         macro-int-constant.
35081         (EXIT_SUCCESS): Likewise.
35082         (NULL): Use macro-constant.  Require == 0.
35083         (RAND_MAX): Use macro-int-constant.
35084         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
35085         [C99-based standards] (strtof): Require function.
35086         [C99-based standards] (strtold): Likewise.
35087         [C99-based standards] (strtoll): Likewise.
35088         [C99-based standards] (strtoull): Likewise.
35089         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35090         [ISO || ISO99 || ISO11] (limits.h): Likewise.
35091         [ISO || ISO99 || ISO11] (math.h): Likewise.
35092         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
35093         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35094         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35095
35096 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
35097
35098         [BZ #14132]
35099         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
35100         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
35101         * intl/dgettext.c (DCGETTEXT): Likewise.
35102         * intl/gettext.c (DCGETTEXT): Likewise.
35103         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
35104         * posix/regex_internal.h (gettext): Likewise.
35105         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
35106         Remove declaration.
35107         * include/argz.h (__argz_count_internal)
35108         (__argz_stringify_internal): Remove declaration.
35109         (__argz_count, __argz_stringify): Declare hidden proto.
35110         * intl/dcgettext.c: Remove use of INTDEF.
35111         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
35112         * string/argz-stringify.c: Likewise.
35113         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35114         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35115         Declare hidden proto.
35116         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35117         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35118         Declare hidden proto.
35119         * include/stdio.h (__asprintf_internal): Don't declare.
35120         (__asprintf): Don't define as macro.  Declare hidden proto.
35121         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
35122         (__fsetlocking): Declare hidden proto.
35123         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
35124         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
35125         hidden proto.
35126         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
35127         (_IO_setlinebuf): Remove use of INTUSE.
35128         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
35129         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
35130         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
35131         Remove declaration.
35132         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
35133         (_IO_do_flush): Remove use of INTUSE.
35134         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
35135         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
35136         (_IO_adjust_column, _IO_least_wmarker)
35137         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
35138         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
35139         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
35140         (_IO_default_doallocate, _IO_wdefault_doallocate)
35141         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
35142         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
35143         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
35144         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
35145         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
35146         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
35147         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
35148         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
35149         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
35150         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
35151         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
35152         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
35153         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
35154         proto.
35155         (_IO_flush_all_internal, _IO_adjust_column_internal)
35156         (_IO_default_uflow_internal, _IO_default_finish_internal)
35157         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
35158         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
35159         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
35160         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
35161         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
35162         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
35163         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
35164         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
35165         (_IO_file_close_internal, _IO_file_close_it_internal)
35166         (_IO_file_underflow_internal, _IO_file_overflow_internal)
35167         (_IO_file_init_internal, _IO_file_attach_internal)
35168         (_IO_file_fopen_internal, _IO_file_read_internal)
35169         (_IO_file_sync_internal, _IO_file_seek_internal)
35170         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
35171         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
35172         (_IO_str_underflow_internal, _IO_str_overflow_internal)
35173         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
35174         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
35175         (_IO_list_all_internal, _IO_link_in_internal)
35176         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
35177         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
35178         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
35179         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
35180         (_IO_do_write_internal, _IO_padn_internal)
35181         (_IO_getline_info_internal, _IO_getline_internal)
35182         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
35183         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
35184         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
35185         (_IO_vfscanf_internal, _IO_vfprintf_internal)
35186         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
35187         (_IO_init_internal, _IO_un_link_internal): Don't declare.
35188         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
35189         with libc_hidden_ver, remove use of INTUSE.
35190         * libio/genops.c: Likewise.
35191         * libio/freopen.c: Likewise.
35192         * libio/freopen64.c: Likewise.
35193         * libio/iofclose.c: Likewise.
35194         * libio/iofdopen.c: Likewise.
35195         * libio/iofflush.c: Likewise.
35196         * libio/iofflush_u.c: Likewise.
35197         * libio/iofgets.c: Likewise.
35198         * libio/iofgets_u.c: Likewise.
35199         * libio/iofopen.c: Likewise.
35200         * libio/iofopncook.c: Likewise.
35201         * libio/iofread.c: Likewise.
35202         * libio/iofread_u.c: Likewise.
35203         * libio/ioftell.c: Likewise.
35204         * libio/iofwrite.c: Likewise.
35205         * libio/iogetline.c: Likewise.
35206         * libio/iogets.c: Likewise.
35207         * libio/iogetwline.c: Likewise.
35208         * libio/iopadn.c: Likewise.
35209         * libio/iopopen.c: Likewise.
35210         * libio/ioseekoff.c: Likewise.
35211         * libio/ioseekpos.c: Likewise.
35212         * libio/iosetbuffer.c: Likewise.
35213         * libio/iosetvbuf.c: Likewise.
35214         * libio/ioungetc.c: Likewise.
35215         * libio/ioungetwc.c: Likewise.
35216         * libio/iovdprintf.c: Likewise.
35217         * libio/iovsprintf.c: Likewise.
35218         * libio/iovsscanf.c: Likewise.
35219         * libio/memstream.c: Likewise.
35220         * libio/obprintf.c: Likewise.
35221         * libio/oldfileops.c: Likewise.
35222         * libio/oldiofclose.c: Likewise.
35223         * libio/oldiofdopen.c: Likewise.
35224         * libio/oldiofopen.c: Likewise.
35225         * libio/oldiopopen.c: Likewise.
35226         * libio/oldstdfiles.c: Likewise.
35227         * libio/putc.c: Likewise.
35228         * libio/setbuf.c: Likewise.
35229         * libio/setlinebuf.c: Likewise.
35230         * libio/stdfiles.c: Likewise.
35231         * libio/strops.c: Likewise.
35232         * libio/vasprintf.c: Likewise.
35233         * libio/vscanf.c: Likewise.
35234         * libio/vsnprintf.c: Likewise.
35235         * libio/vswprintf.c: Likewise.
35236         * libio/wfiledoalloc.c: Likewise.
35237         * libio/wfileops.c: Likewise.
35238         * libio/wgenops.c: Likewise.
35239         * libio/wmemstream.c: Likewise.
35240         * libio/wstrops.c: Likewise.
35241         * libio/__fpurge.c: Likewise.
35242         * libio/__fsetlocking.c: Likewise.
35243         * assert/assert.c: Likewise.
35244         * debug/fgets_chk.c: Likewise.
35245         * debug/fgets_u_chk.c: Likewise.
35246         * debug/fread_chk.c: Likewise.
35247         * debug/fread_u_chk.c: Likewise.
35248         * debug/gets_chk.c: Likewise.
35249         * debug/obprintf_chk.c: Likewise.
35250         * debug/vasprintf_chk.c: Likewise.
35251         * debug/vdprintf_chk.c: Likewise.
35252         * debug/vsnprintf_chk.c: Likewise.
35253         * debug/vsprintf_chk.c: Likewise.
35254         * malloc/mtrace.c: Likewise.
35255         * misc/error.c: Likewise.
35256         * misc/syslog.c: Likewise.
35257         * stdio-common/asprintf.c: Likewise.
35258         * stdio-common/fxprintf.c: Likewise.
35259         * stdio-common/getw.c: Likewise.
35260         * stdio-common/isoc99_fscanf.c: Likewise.
35261         * stdio-common/isoc99_scanf.c: Likewise.
35262         * stdio-common/isoc99_vfscanf.c: Likewise.
35263         * stdio-common/isoc99_vscanf.c: Likewise.
35264         * stdio-common/isoc99_vsscanf.c: Likewise.
35265         * stdio-common/printf-prs.c: Likewise.
35266         * stdio-common/printf_fp.c: Likewise.
35267         * stdio-common/printf_fphex.c: Likewise.
35268         * stdio-common/printf_size.c: Likewise.
35269         * stdio-common/putw.c: Likewise.
35270         * stdio-common/scanf.c: Likewise.
35271         * stdio-common/sprintf.c: Likewise.
35272         * stdio-common/tmpfile.c: Likewise.
35273         * stdio-common/vfprintf.c: Likewise.
35274         * stdio-common/vfscanf.c: Likewise.
35275         * stdlib/strfmon_l.c: Likewise.
35276         * sunrpc/openchild.c: Likewise.
35277         * sunrpc/xdr_stdio.c: Likewise.
35278         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
35279         * sysdeps/mach/hurd/tmpfile.c: Likewise.
35280
35281 2012-05-24  Roland McGrath  <roland@hack.frob.com>
35282
35283         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35284
35285         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
35286         in the third column, to generate for the shared library an IFUNC
35287         that uses _dl_vdso_vsym.
35288         * Makerules (COMPILE.c, compile-stdin.c): New variables.
35289         * Makeconfig (object-suffixes-noshared): New variable.
35290
35291         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
35292         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
35293         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
35294         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
35295
35296         [BZ #14132]
35297         * include/sys/time.h (__gettimeofday): Remove macro.
35298         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
35299         * time/gettimeofday.c (__gettimeofday): Remove #undef.
35300         Remove INTDEF.
35301         (__gettimeofday): Add libc_hidden_def.
35302         (gettimeofday): Add libc_hidden_weak.
35303         * sysdeps/mach/gettimeofday.c: Likewise.
35304         * sysdeps/posix/gettimeofday.c: Likewise.
35305         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
35306         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
35307         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
35308         (__gettimeofday_internal): Remove strong_alias.
35309         (__gettimeofday): Add libc_hidden_def.
35310         (gettimeofday): Add libc_hidden_weak.
35311         * sysdeps/unix/syscalls.list (gettimeofday):
35312         Remove __gettimeofday_internal alias.
35313
35314 2012-05-24  Daniel Jacobowitz  <drow@false.org>
35315             H.J. Lu  <hongjiu.lu@intel.com>
35316
35317         [BZ #12495]
35318         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
35319         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
35320         (largebin_index_32_big): New.
35321         (largebin_index): Use it for 16-byte alignment.
35322         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
35323         correction with front_misalign.
35324
35325 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
35326
35327         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
35328         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
35329         Likewise.
35330         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
35331         Likewise.
35332         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
35333         Likewise.
35334         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
35335         Likewise.
35336         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
35337         Likewise.
35338         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
35339         Likewise.
35340         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
35341         Likewise.
35342         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
35343         Likewise.
35344         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
35345         Likewise.
35346         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
35347         Likewise.
35348         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
35349         Likewise.
35350         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
35351         Likewise.
35352
35353         * scripts/data/c++-types-x32-linux-gnu.data: New file.
35354         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
35355
35356 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
35357
35358         [BZ #10846]
35359         [BZ #14036]
35360         * math/libm-test.inc (exp_test): Add test from bug 14036.
35361         (pow_test): Add test from bug 10846.
35362
35363         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
35364         and other flags.
35365         (special_function): Do not include flags in test name.
35366         (parse_args): Likewise.
35367         * sysdeps/i386/fpu/libm-test-ulps: Update.
35368         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35369         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35370         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35372
35373         * math/gen-libm-test.pl (%beautify): Add entries for underflow
35374         exceptions.
35375         * math/libm-test.inc ("Philosophy"): Update comment about
35376         exception testing.
35377         (UNDERFLOW_EXCEPTION): New macro.
35378         (UNDERFLOW_EXCEPTION_OK): Likewise.
35379         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
35380         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
35381         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
35382         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
35383         (INVALID_EXCEPTION_OK): Update value.
35384         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35385         (OVERFLOW_EXCEPTION_OK): Likewise.
35386         (IGNORE_ZERO_INF_SIGN): Likewise.
35387         (test_exceptions): Handle underflow exceptions.
35388         (acos_test): Update for underflow exception expectations.
35389         (cexp_test): Likewise.
35390         (clog_test): Likewise.
35391         (clog10_test): Likewise.
35392         (csqrt_test): Likewise.
35393         (ctan_test): Likewise.
35394         (ctanh_test): Likewise.
35395         (exp_test): Likewise.
35396         (exp10_test): Likewise.
35397         (exp2_test): Likewise.
35398         (expm1_test): Likewise.
35399         (fma_test): Likewise.
35400         (j0_test): Likewise.
35401         (jn_test): Likewise.
35402         (nexttoward_test): Likewise.
35403         (pow_test): Likewise.
35404         (scalbn_test): Likewise.
35405         (scalbln_test): Likewise.
35406         (tan_test): Likewise.
35407         (y1_test): Likewise.
35408         * sysdeps/i386/fpu/libm-test-ulps: Update.
35409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35410
35411 2012-05-23  David S. Miller  <davem@davemloft.net>
35412
35413         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35414         (__libc_sigaction): Remove unused local variables.
35415
35416 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35417
35418         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
35419
35420 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
35421
35422         mktime: avoid signed integer overflow
35423         * time/mktime.c (__mktime_internal): Do not mishandle the case
35424         where diff == INT_MIN.
35425
35426         mktime: simplify computation of average
35427         * time/mktime.c (ranged_convert): Use new time_t_avg function
35428         instead of rolling our own (probably-slower) code.
35429
35430         mktime: do not assume signed right shift propagates sign bit
35431         * time/mktime.c (isdst_differ): New static function.
35432         (__mktime_internal): No need to normalize tm_isdst now.
35433         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
35434         tm_isdst values.
35435
35436         mktime: merge another wrapv change from gnulib
35437         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
35438         from some compilers.
35439
35440         mktime: remove incorrect attempt at unusual arithmetics
35441         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
35442         The code didn't really work on such machines anyway.
35443         (TYPE_MINIMUM): Assume two's complement.
35444         (twos_complement_arithmetic): Verify that long_int and time_t
35445         are two's complement (or unsigned, in the latter case).
35446
35447         mktime: check signed shifts on long_int and time_t, too
35448         * time/mktime.c (SHR): Check that shifts work as desired
35449         on the types long_int and time_t too, as SHR is used on
35450         such types.
35451
35452         mktime: do not assume 'long' is wide enough
35453         * time/mktime.c (verify): Move decl up.
35454         (long_int): New type.
35455         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
35456         to remove assumption in the code that 'long' is wide enough to
35457         store year values.  This assumption is not true on x32 and on
35458         some non-glibc platforms.
35459
35460         mktime: merge wrapv change from gnulib
35461         * time/mktime.c (WRAPV): New macro.
35462         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
35463         (guess_time_tm, __mktime_internal): Do not assume that signed
35464         integer overflow wraps around; modern compilers generate code
35465         where this assumption is no longer valid.
35466
35467 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35468
35469         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35470         Replace "jmp L(pseudo_end)" with "ret".
35471         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
35472         Likewise.
35473
35474 2012-05-23  Andreas Jaeger  <aj@suse.de>
35475
35476         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
35477         * sysdeps/unix/sysv/linux/poll.c: Remove file.
35478
35479 2012-05-23  Andreas Jaeger  <aj@suse.de>
35480             Maximilian Attems  <max@stro.at>
35481
35482         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
35483         New macros.
35484
35485 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35486
35487         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
35488         code so that pseudo_end is just ret and the stack pointer is
35489         correct also for static library in error case.
35490
35491 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
35492
35493         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
35494         move to syscalls.list.
35495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35499
35500         * manual/install.texi (Running make install): Do not mention Linux
35501         kernel version for which pt_chown is not needed.
35502         (Linux): Do not mention problems with nscd with 2.0 kernels.
35503         * INSTALL: Regenerated.
35504
35505 2012-05-23  Andreas Jaeger  <aj@suse.de>
35506
35507         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
35508         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
35509         macro.
35510         * sysdeps/unix/sysv/linux/s390/bits/mman.h
35511         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35512         * sysdeps/unix/sysv/linux/sh/bits/mman.h
35513         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35514         * sysdeps/unix/sysv/linux/i386/bits/mman.h
35515         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35516         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
35517         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35518         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
35519         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35520         * sysdeps/unix/sysv/linux/bits/in.h
35521         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
35522
35523 2012-05-22  Roland McGrath  <roland@hack.frob.com>
35524
35525         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
35526         (PREPARE_VERSION): Just use assert instead, it will be elided
35527         under [NDEBUG] anyway.
35528
35529 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35530
35531         * sysdeps/unix/sysv/linux/Makefile: Include
35532         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
35533         (sysdep_routines): Remove sysctl.
35534         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
35535         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
35536         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
35537         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
35538         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
35539
35540 2012-05-22  Andreas Jaeger  <aj@suse.de>
35541
35542         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
35543         that pseudo_end is just ret and the stack pointer is correct also
35544         for static library in error case.
35545
35546 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
35547
35548         [BZ #14122]
35549         * nss/nsswitch.c (defconfig_entries): New variable.
35550         (__nss_database_lookup): Don't leak defconfig entries.
35551         (nss_parse_service_list): Don't leak on error paths.
35552         (free_database_entries): New function.
35553         (free_defconfig): New function.
35554         (free_mem): Move common code to free_database_entries.
35555
35556 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35557
35558         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
35559         Add arch_prctl.
35560         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
35561
35562         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35563         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
35564         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
35565         New macro.
35566         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
35567         (INTERNAL_SYSCALL_TYPES): Likewise.
35568         (LOAD_ARGS_TYPES_[1-6]): Likewise.
35569         (LOAD_REGS_TYPES_[1-6]): Likewise.
35570         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
35571         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
35572
35573 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35574
35575         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
35576         copysignl for GLIBC_2_0.
35577         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
35578         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
35579         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
35580         logbl for GLIBC_2_0.
35581         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35582         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35583
35584 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35585
35586         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
35587         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35588
35589         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35590         Use "neg %eax".
35591
35592         * time/mktime.c: Update copyright years.
35593
35594 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
35595
35596         mktime: merge comment-quoting-style change from gnulib
35597         * time/mktime.c: Quote 'like this' in comments.
35598         The GNU coding standards suggest that we no longer quote `like this',
35599         as "`" and "'" are typically rendered asymmetrically nowadays.
35600         The typical gnulib style is to quote 'like this' when quoting
35601         code, and "like this" when quoting English.
35602
35603         * time/mktime.c (compile-command): Add "-I.".
35604
35605         mktime: merge mktime-internal.h change from gnulib
35606         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
35607
35608         mktime: merge time_r change from gnulib
35609         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
35610
35611         mktime: merge DEBUG change from gnulib
35612         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
35613         case system <time.h> has a #define.
35614
35615         mktime: merge <sys/types.h> change from gnulib
35616         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
35617         since <time.t> is now guaranteed to define time_t.
35618
35619         mktime: merge HAVE_CONFIG_H change from gnulib
35620         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
35621
35622 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35623
35624         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35625         Use "neg %eax".
35626
35627         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
35628         __rlim_t cast.
35629         (struct rusage): Use anonymous union to pad each field to
35630         __syscall_slong_t.
35631
35632 2012-05-21  David S. Miller  <davem@davemloft.net>
35633
35634         * Makefules (o-iterator): Remove .s cases.
35635         (compile-command.s): Delete.
35636         (COMPILE.s): Delete.
35637         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
35638
35639 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
35640
35641         * configure.in (libc_cv_predef_stack_protector): Only consider
35642         "foobar" and "__stack_chk_fail" lines in libc_undefs.
35643         * configure: Regenerated.
35644
35645 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35646
35647         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35648         New macro.  Use R*LP on int and pointer.
35649         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
35650         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
35651         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
35652         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
35653
35654         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
35655         [__WORDSIZE_TIME64_COMPAT32] instead of
35656         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
35657         (struct utmp): Likewise.
35658         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
35659         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
35660         Renamed to ...
35661         (__WORDSIZE_TIME64_COMPAT32): This.
35662         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
35663         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
35664         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
35665         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
35666         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
35667         (__WORDSIZE_TIME64_COMPAT32): New macro.
35668
35669 2012-05-21  Andreas Jaeger  <aj@suse.de>
35670
35671         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
35672         only if [SHARED]. Add prototype for __wcschr_ia32.
35673
35674 2012-05-21  Roland McGrath  <roland@hack.frob.com>
35675
35676         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
35677         of %rbp unmolested in the jmp_buf while mangling the low bits.
35678         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
35679         unmolested high bits of %rbp while demangling the low bits.
35680         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35681
35682 2012-05-21  Andreas Jaeger  <aj@suse.de>
35683
35684         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
35685         * sunrpc/svc_simple.c: Use it for registerrpc.
35686         * sunrpc/xcrypt.c: Use it for passwd2des.
35687
35688         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
35689
35690 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35691
35692         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
35693         Don't define if [__SYSCALL_WORDSIZE != 32].
35694         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
35695         New macro.
35696
35697 2012-05-21  Bruno Haible  <bruno@clisp.org>
35698             Andreas Jaeger  <aj@suse.de>
35699
35700         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
35701         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
35702         inptr and inend for must_buffer_ch.
35703         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
35704         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
35705         * stdio-common/Makefile (tests): Remove bug15.
35706         (bug15-ENV): Remove macro.
35707         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
35708         anymore.
35709
35710 2012-05-19  Andreas Jaeger  <aj@suse.de>
35711             Roland McGrath  <roland@hack.frob.com>
35712
35713         * manual/contrib.texi: Completely rewritten. It contains now an
35714         alphabetical list of contributors and their contributions.
35715
35716 2012-05-21  Richard Henderson  <rth@twiddle.net>
35717
35718         * misc/getauxval.c (__getauxval): Use unsigned long int.
35719         * misc/sys/auxv.h: Include <sys/cdefs.h>.
35720         (getauxval): Use unsigned long int.
35721
35722 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35723
35724         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35725
35726 2012-05-21  Roland McGrath  <roland@hack.frob.com>
35727
35728         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
35729         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
35730         __alignof__ (long double).
35731
35732 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35733
35734         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35735
35736 2012-05-20  Richard Henderson  <rth@twiddle.net>
35737
35738         * misc/getauxval.c: New file.
35739         * misc/sys/auxv.h: New file.
35740         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
35741         (routines): Add getauxval.
35742         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
35743         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
35744         * elf/dl-sysdep.c (_dl_auxv): Remove.
35745         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
35746         * elf/dl-support.c (_dl_auxv): New variable.
35747         (_dl_aux_init): Initialize it.
35748         * manual/startup.texi (Auxiliary Vector): New node.
35749         * sysdeps/generic/bits/hwcap.h: New file.
35750         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
35751         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
35752         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
35753         * sysdeps/sparc/sysdep.h: ... here.  Include it.
35754         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
35755         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
35756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35757         Update.
35758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
35759         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
35760         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
35761         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
35762         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35763         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35764         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
35765         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
35766
35767 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35768
35769         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35770
35771 2012-05-19  David S. Miller  <davem@davemloft.net>
35772
35773         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35774
35775 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
35776
35777         [BZ #14123]
35778         * math/s_ccosh.c: Include <float.h>
35779         (__ccosh): Avoid internal overflow calculating sinh and cosh
35780         values before multiplying by sin and cos values.
35781         * math/s_ccoshf.c: Likewise.
35782         * math/s_ccoshl.c: Likewise.
35783         * math/s_csin.c: Likewise.
35784         * math/s_csinf.c: Likewise.
35785         * math/s_csinl.c: Likewise.
35786         * math/s_csinh.c: Likewise.
35787         * math/s_csinhf.c: Likewise.
35788         * math/s_csinhl.c: Likewise.
35789         * math/libm-test.inc (ccos_test): Add more tests.
35790         (ccosh_test): Likewise.
35791         (csin_test): Likewise.
35792         (csinh_test): Likewise.
35793         * sysdeps/i386/fpu/libm-test-ulps: Update.
35794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35795
35796 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
35797
35798         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
35799         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
35800
35801         * sysdeps/x86_64/x32/_itoa.h: Add comment.
35802
35803 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
35804
35805         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
35806         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
35807         * sysdeps/powerpc/soft-fp/Versions: Likewise.
35808         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
35809         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
35810         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
35811         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
35812         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
35813         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
35814         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
35815         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
35816         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35817         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35818         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35819         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35820         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35821         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35822         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35823         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35824         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35825         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35826         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35827         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35828         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35829         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35830         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35831         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35832         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35833         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35834         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35835         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35836
35837 2012-05-18  Andreas Jaeger  <aj@suse.de>
35838
35839         * csu/.gitignore: Delete.
35840
35841 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35842
35843         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35844         (timex): Use __syscall_slong_t.
35845
35846 2012-05-18  Andreas Jaeger  <aj@suse.de>
35847             Carlos O'Donell  <carlos_odonell@mentor.com>
35848
35849         * manual/install.texi (Configuring and compiling): Update
35850         description about files modified in the source directory.
35851         * INSTALL: Regenerated.
35852
35853 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35854
35855         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35856         value.  Use "or" to set return value to -1.
35857         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35858         negate return value.
35859
35860 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35861
35862         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35863         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
35864         failure if the compiler has Graphite support disabled.
35865         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35866         Likewise.
35867         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35868         (CFLAGS-memmove.c): Likewise.
35869         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35870         Likewise.
35871
35872 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35873
35874         * sysdeps/x86_64/x32/_itoa.h: New file.
35875
35876         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35877         getdents system call only if kernel and user dirents have the
35878         same d_ino and d_off.
35879
35880         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35881         LLONG_MAX != LONG_MAX.
35882         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35883         (_fitoa_word): Likewise.
35884
35885         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35886         years.
35887         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35888         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35889         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35890
35891         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35892         include <bits/wordsize.h>.  Check __x86_64__ instead of
35893         __WORDSIZE.
35894         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
35895         if __x86_64__ is defined.  Use anonymous union on fpstate.
35896
35897         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35898         anonymous union.
35899
35900 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
35901
35902         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35903         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35904         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35905         Refer to _rtld_local_ro instead of _rtld_global_ro.
35906         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35907         Likewise.
35908         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35909         Likewise.
35910         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35911         Likewise.
35912         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35913         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35914         of _rtld_global, and rtld_progname instead of _dl_argv[0].
35915
35916         * sysdeps/powerpc/powerpc32/dl-machine.c
35917         (__elf_machine_runtime_setup) [PROF]: Don't reference
35918         _dl_prof_resolve.
35919
35920 2012-05-18  Andreas Jaeger  <aj@suse.de>
35921
35922         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35923         function only available for GCCs before 3.4 since GCC 3.4
35924         introduced a builtin.
35925         (lrint): Likewise.
35926         (llrintf): Likewise.
35927         (llrint): Likewise.
35928         (fmaxf): Likewise.
35929         (fmax): Likewise.
35930         (fminf): Likewise.
35931         (fmin): Likewise.
35932         (rint): Likewise.
35933         (rintf): Likewise.
35934         (nearbyint): Likewise.
35935         (nearbyintf): Likewise.
35936         (ceil): Likewise.
35937         (ceilf): Likewise.
35938         (floor): Likewise.
35939         (floorf): Likewise.
35940
35941 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35942
35943         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35944         on both fields and cast pointer to __syscall_ulong_t.
35945
35946         * bits/types.h (__fsword_t): New type.
35947         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35948         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35949         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35950         (__FSWORD_T_TYPE): Likewise.
35951         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35952         (__FSWORD_T_TYPE): Likewise.
35953         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35954         (__FSWORD_T_TYPE): Likewise.
35955         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35956         (__FSWORD_T_TYPE): Likewise.
35957         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35958         __SWORD_TYPE with __fsword_t.
35959         (statfs64): Likewise.
35960
35961 2012-05-17  David S. Miller  <davem@davemloft.net>
35962
35963         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35964
35965 2012-05-17  Andreas Jaeger  <aj@suse.de>
35966
35967         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35968         warning.
35969
35970 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35971
35972         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35973
35974 2012-05-17  Andreas Jaeger  <aj@suse.de>
35975
35976         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35977         when it is used.
35978
35979 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
35980
35981         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35982
35983 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35984
35985         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35986         * sysdeps/x86_64/tst-mallocalign1.c: New file.
35987
35988 2012-05-17  Andreas Jaeger  <aj@suse.de>
35989             Carlos O'Donell  <carlos_odonell@mentor.com>
35990
35991         [BZ #14059]
35992         * sysdeps/x86_64/multiarch/init-arch.h
35993         (bit_YMM_Usable): Rename to...
35994         (bit_AVX_Usable): ... this.
35995         (bit_FMA4_Usable): New macro.
35996         (bit_XMM_state): New macro.
35997         (bit_YMM_state): New macro.
35998         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35999         [__ASSEMBLER__] (index_AVX_Usable): ... this.
36000         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
36001         (CPUID_OSXSAVE): New macro.
36002         (CPUID_AVX): New macro.
36003         (CPUID_FMA4): New macro.
36004         (index_YMM_Usable): Rename to...
36005         (index_AVX_Usable): ... this.
36006         (HAS_AVX): Use HAS_ARCH_FEATURE.
36007         (HAS_FMA4): Likewise.
36008         (HAS_YMM_USABLE): Remove.
36009         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36010         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
36011         are present.
36012         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
36013         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
36014         * sysdeps/x86_64/multiarch/Makefile: Likewise.
36015         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
36016         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
36017
36018 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
36019
36020         * math/libm-test.c: Support platforms without multiple rounding modes.
36021         * math/bug-nextafter.c: Support platforms without FP exceptions.
36022         * math/bug-nexttoward.c: Likewise.
36023         * math/test-fenv.c: Likewise.
36024         * math/test-misc.c: Likewise.
36025         * stdlib/bug-getcontext.c: Likewise.
36026
36027 2012-05-17  Andreas Jaeger  <aj@suse.de>
36028
36029         * manual/examples/search.c (critter_cmp): Change signature to
36030         avoid warnings.
36031         * manual/string.texi (Collation Functions): Likewise.
36032
36033 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36034
36035         * bits/types.h: Fold copyright years.
36036         * bits/typesizes.h: Likewise.
36037         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
36038         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
36039         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
36040         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
36041         * time/time.h: Likewise.
36042
36043 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
36044
36045         [BZ #208]
36046         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
36047         in instead of returning them.  Return void.
36048         (__libc_mallinfo): Accumulate over all arenas.
36049         (__malloc_stats): Adjust for change in int_mallinfo interface.
36050
36051 2012-05-16  Roland McGrath  <roland@hack.frob.com>
36052
36053         [BZ #10375]
36054         * configure.in (NM): Add AC_CHECK_TOOL for it.
36055         (libc_extra_cflags): New substituted variable.
36056         Check for -fstack-protector being used implicitly.
36057         * configure: Regenerated.
36058         * config.make.in (config-extra-cflags): New variable,
36059         gets @libc_extra_cflags@.
36060         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
36061
36062         [BZ #10375]
36063         * configure.in: Check for _FORTIFY_SOURCE being predefined.
36064         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
36065         * configure: Regenerated.
36066         * config.make.in (CPPUNDEFS): New substituted variable.
36067         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
36068         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
36069         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
36070
36071 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36072
36073         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
36074         (mq_attr): Use __syscall_slong_t.
36075
36076 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36077
36078         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
36079         Check __x86_64__ instead of __WORDSIZE.
36080         (_STAT_VER_LINUX): Likewise.
36081         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
36082         __syscall_ulong_t and __syscall_slong_t.
36083         (stat64): Likewise.
36084
36085 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36086
36087         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
36088
36089 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36090
36091         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
36092
36093 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36094
36095         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
36096         __syscall_ulong_t.
36097
36098         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
36099         include <bits/wordsize.h>.  Check __x86_64__ instead of
36100         __WORDSIZE.
36101         (greg_t): Use "__extension__ long long int" if __x86_64__ is
36102         defined.
36103         (mcontext_t): Replace "unsigned long" with "unsigned long long".
36104
36105         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
36106         include <bits/wordsize.h>.  Check __x86_64__ instead of
36107         __WORDSIZE.
36108         (user_regs_struct): Use "__extension__ unsigned long long"
36109         instead of "unsigned long" if __x86_64__ is defined.
36110         (user): Likewise.  Pad after pointer field if __ILP32__ is
36111         defined.
36112
36113 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
36114
36115         * configure.in (makeinfo): Require version 4.5 or later.  Allow
36116         versions 5 to 9.
36117         * configure: Regenerated.
36118         * manual/install.texi (texinfo): Increase version requirement to
36119         4.5 or later.
36120         * INSTALL: Regenerated.
36121
36122         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
36123
36124 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36125
36126         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
36127
36128         * sysdeps/x86_64/x32/ffs.c: New file.
36129
36130         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
36131         __syscall_ulong_t.
36132         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
36133         defined.  Use __syscall_ulong_t.
36134         (shminfo): Use __syscall_ulong_t.
36135         (shm_info): Likewise.
36136
36137         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
36138         __syscall_ulong_t.
36139
36140         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
36141         <bits/wordsize.h>.
36142         (msgqnum_t): Use __syscall_ulong_t.
36143         (msglen_t): Likewise.
36144         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
36145         __syscall_ulong_t.
36146
36147         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
36148         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
36149
36150         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
36151
36152         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
36153         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
36154
36155         * sysvipc/sys/msg.h (msgbuf): Replace long int with
36156         __syscall_slong_t.
36157
36158         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
36159         include <bits/wordsize.h>.  Check __x86_64__ instead of
36160         __WORDSIZE.
36161
36162         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
36163         "unsigned long long int" if __x86_64__ is defined.
36164         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
36165
36166         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
36167         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
36168         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
36169
36170         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
36171         <stdint.h>.
36172         (GET_PC): Cast to uintptr_t first.
36173         (GET_FRAME): Likewise.
36174         (GET_STACK): Likewise.
36175
36176         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
36177         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
36178         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
36179         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
36180         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
36181         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
36182         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
36183         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
36184         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
36185         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
36186         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
36187         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
36188         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36189         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
36190         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
36191         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
36192         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
36193         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
36194         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
36195         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
36196         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
36197         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
36198         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
36199         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
36200         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
36201         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
36202         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
36203         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
36204         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
36205
36206 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
36207
36208         * Makerules (+depfiles): Also collect depfiles from .oS in
36209         $(extra-objs).
36210         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
36211         .oS, $(libnldbl-routines)).
36212
36213         * Makerules (native-compile-mkdep-flags): Define.
36214         * sunrpc/Makefile (extra-objs): Add $(addprefix
36215         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
36216         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
36217         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
36218         calling $(make-target-directory).
36219
36220 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36221
36222         * bits/types.h (__snseconds_t): Removed.
36223         * time/time.h (struct timespec): Replace __snseconds_t with
36224         __syscall_slong_t.
36225         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
36226         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
36227         Likewise.
36228         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36229         (__SNSECONDS_T_TYPE): Likewise.
36230         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36231         (__SNSECONDS_T_TYPE): Likewise.
36232         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36233         (__SNSECONDS_T_TYPE): Likewise.
36234
36235 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36236
36237         * sysdeps/mach/hurd/bits/typesizes.h
36238         (__SYSCALL_SLONG_TYPE): New macro.
36239         (__SYSCALL_ULONG_TYPE): Likewise.
36240
36241 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36242
36243         * bits/types.h (__syscall_slong_t): New type.
36244         (__syscall_ulong_t): Likewise.
36245
36246         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
36247         (__SYSCALL_ULONG_TYPE): Likewise.
36248         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36249         (__SYSCALL_SLONG_TYPE): Likewise.
36250         (__SYSCALL_ULONG_TYPE): Likewise.
36251         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36252         (__SYSCALL_SLONG_TYPE): Likewise.
36253         (__SYSCALL_ULONG_TYPE): Likewise.
36254         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36255         (__SYSCALL_SLONG_TYPE): Likewise.
36256         (__SYSCALL_ULONG_TYPE): Likewise.
36257
36258 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36259
36260         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
36261         Add sigaltstack-offsets.sym.
36262         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
36263         <sigaltstack-offsets.h>.
36264         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
36265         longjmp_msg pointer.
36266         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
36267         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
36268         signal stack.
36269         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
36270
36271 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
36272
36273         * elf/stackguard-macros.h: Remove file.
36274         * sysdeps/generic/stackguard-macros.h: New file.
36275         * sysdeps/i386/stackguard-macros.h: Likewise.
36276         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
36277         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
36278         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
36279         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
36280         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
36281         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
36282         * sysdeps/x86_64/stackguard-macros.h: Likewise.
36283         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
36284         <elf/stackguard-macros.h>.
36285
36286         [BZ #14109]
36287         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
36288         __aligned__ in attribute.
36289         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
36290         (gregset_t): Likewise.
36291
36292 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36293
36294         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
36295         * sysdeps/x86_64/64/Implies-after: Here.  New file.
36296         * sysdeps/x86_64/x32/Implies-after: New file.
36297
36298 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36299
36300         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
36301         and access return value for _dl_profile_fixup.  Use R10_LP to
36302         load frame size.
36303
36304 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36305
36306         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
36307
36308 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36309
36310         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
36311         * sysdeps/x86_64/x32/sysdep.h: New file.
36312
36313 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36314
36315         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
36316         * sysdeps/x86_64/setjmp.S: Likewise.
36317
36318 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36319
36320         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
36321         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
36322         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
36323         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
36324         remove unused global constant.
36325
36326 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
36327
36328         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
36329         include of <not-cancel.h>.
36330
36331 2012-05-15  Roland McGrath  <roland@hack.frob.com>
36332
36333         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
36334
36335 2012-05-15  Jeff Law  <law@redhat.com>
36336             Andreas Jaeger  <aj@suse.de>
36337
36338         [BZ #13594]
36339         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
36340         out from...
36341         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
36342         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
36343         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
36344         code changing __hst_map_handle.map.
36345
36346 2012-05-15  Roland McGrath  <roland@hack.frob.com>
36347
36348         * configure.in (sysnames): Look for Implies-before and Implies-after
36349         files.
36350         * configure: Regenerated.
36351
36352 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36353
36354         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
36355         8-byte data alignment with LP_SIZE alignment.
36356
36357 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36358
36359         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
36360         into R10_LP.
36361
36362 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36363
36364         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
36365
36366 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36367
36368         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
36369         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
36370         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
36371         Likewise.
36372         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36373
36374 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36375
36376         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
36377         (stackinfo_sub_sp): Likewise.
36378
36379 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36380
36381         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
36382         RAX_LP.
36383
36384 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36385
36386         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
36387         into R*_LP.
36388
36389 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36390
36391         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
36392         sizes into R*_LP.
36393
36394 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36395
36396         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
36397
36398 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36399
36400         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
36401         into R11_LP and load __x86_64_shared_cache_size_half into
36402         R8_LP.
36403
36404 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36405
36406         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
36407         R8_LP.
36408
36409 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36410
36411         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
36412         logb for POWER7.
36413         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
36414         logbf for POWER7.
36415         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
36416         logbl for POWER7.
36417         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
36418         powerpc32/power7/fpu/s_logb.c via #include.
36419         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
36420         powerpc32/power7/fpu/s_logbf.c via #include.
36421         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
36422         powerpc32/power7/fpu/s_logbl.c via #include.
36423
36424 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
36425
36426         * README.libm: Remove file.
36427
36428 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36429
36430         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
36431         count for x32.  Use R*_LP and omit operand-size suffix.
36432
36433 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36434
36435         * shlib-versions: Move x86_64-.*-linux.* entries to ...
36436         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
36437         * sysdeps/x86_64/x32/shlib-versions: New file.
36438
36439 2012-05-14  Roland McGrath  <roland@hack.frob.com>
36440
36441         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
36442         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
36443         Use _dl_fatal_printf instead.
36444
36445 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
36446
36447         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
36448         set if not set by the user.  Do not allow for being unset.
36449         * sysdeps/unix/sysv/linux/configure: Regenerated.
36450
36451 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36452
36453         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
36454         the `q' suffix from lea and replace .quad with ASM_ADDR.
36455
36456 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36457
36458         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
36459         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
36460         instead of $17.
36461         (PTR_DEMANGLE): Likewise.
36462
36463 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36464
36465         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
36466         (LP_OP): Likewise.
36467         (ASM_ADDR): Likewise.
36468         (RAX_LP): Likewise.
36469         (RBP_LP): Likewise.
36470         (RBX_LP): Likewise.
36471         (RCX_LP): Likewise.
36472         (RDI_LP): Likewise.
36473         (RSI_LP): Likewise.
36474         (RSP_LP): Likewise.
36475         (R8_LP): Likewise.
36476         (R9_LP): Likewise.
36477         (R10_LP): Likewise.
36478         (R10_LP): Likewise.
36479         (R11_LP): Likewise.
36480         (R12_LP): Likewise.
36481         (R13_LP): Likewise.
36482         (R14_LP): Likewise.
36483         (R15_LP): Likewise.
36484
36485 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36486
36487         * sysdeps/x86_64/x32/dl-machine.h: New file.
36488
36489 2012-05-14  Andreas Jaeger  <aj@suse.de>
36490
36491         * manual/Makefile (subdir): Remove export of subdir.
36492         (all): Remove target.
36493         (.PHONY): Remove all from list.
36494         (mkinstalldirs): Remove.
36495         (.PHONY): Remove installdirs from list.
36496         ($(inst_infodir)/libc.info): Use make-target-directory.
36497         (installdirs): Remove.
36498         (subdir_%): Remove.
36499         (glibc-targets): Remove.
36500         (lib): Remove.
36501         (stubs): Remove.
36502         ($(objpfx)stubs ../po/manual.pot): Remove.
36503         ($(objpfx)stamp%): Remove.
36504         (make-target-directory): Remove.
36505         (subdir_install): Remove.
36506         (routines): Remove.
36507         (aux): Remove.
36508         (sources): Remove.
36509         (objects): Remove.
36510         (headers): Remove.
36511
36512         [BZ #13750]
36513         * manual/.gitignore: Remove, it's not needed anymore.
36514         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
36515         all files in it.
36516         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
36517         directory.
36518         (texis): Renamed to $(objpfx)texis.
36519         (texis-path): New, contains path to generated files.
36520         (chapters.%): Use texis-path for complete path, add extra argument
36521         libc-texinfo.sh.
36522         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
36523         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
36524         (summary,texi, stamp-summary): Use complete path of
36525         files. Generate files in build dir.
36526         (dir-add.texi): Build in build dir.
36527         (libm-err.texi,stamp-libm-err): Likewise.
36528         (version.texi, stamp-version): Likewise.
36529         (.%c.texi): Likewise.
36530         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
36531         (mostlyclean): Remove target.
36532         (realclean): Remove target.
36533         (generated): Add new variable with contents from mostlyclean and
36534         realclean, remove entries duplicated in common-mostlyclean, add
36535         stamp-libm-err and stamp-version.
36536         (generated-dirs): Add libc directory.
36537         ($(inst_infodir)/libc.info): Install files from build dir.
36538
36539         * manual/install.texi (Configuring and compiling): Adjust since
36540         the info files are not part of the tar ball anymore.
36541
36542 2012-05-14  Andreas Jaeger  <aj@suse.de>
36543
36544         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
36545         variable.
36546
36547 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
36548
36549         [BZ #13717]
36550         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36551         to 2.2.0 where earlier.
36552         * sysdeps/unix/sysv/linux/configure: Regenerated.
36553         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
36554         Remove conditional code.
36555         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
36556         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
36557         Remove conditional code.
36558         [!__NR_lchown]: Likewise.
36559         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36560         [__NR_lchown]: Likewise.
36561         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
36562         comment referencing __ASSUME_LCHOWN_SYSCALL.
36563         * sysdeps/unix/sysv/linux/i386/sigaction.c
36564         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36565         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36566         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
36567         Remove conditional code.
36568         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
36569         (__protocol_available): Remove #if 0 code.
36570         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
36571         conditional code.
36572         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
36573         * sysdeps/unix/sysv/linux/kernel-features.h
36574         (__ASSUME_GETCWD_SYSCALL): Don't define.
36575         (__ASSUME_REALTIME_SIGNALS): Likewise.
36576         (__ASSUME_PREAD_SYSCALL): Likewise.
36577         (__ASSUME_PWRITE_SYSCALL): Likewise.
36578         (__ASSUME_POLL_SYSCALL): Likewise.
36579         (__ASSUME_LCHOWN_SYSCALL): Likewise.
36580         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
36581         non-SPARC.
36582         (__ASSUME_SIOCGIFNAME): Don't define.
36583         (__ASSUME_MSG_NOSIGNAL): Likewise.
36584         (__ASSUME_SENDFILE): Define unconditionally.
36585         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
36586         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
36587         conditional code.
36588         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
36589         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
36590         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36591         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36592         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
36593         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36594         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
36596         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36597         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36599         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36600         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
36602         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36603         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
36605         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36606         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
36608         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36609         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36611         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36612         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
36614         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36615         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36617         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36618         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36619         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
36620         Remove conditional code.
36621         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36622         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36623         Remove conditional code.
36624         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36625         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
36626         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
36627         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36628         Remove conditional code.
36629         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36630         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
36631         Remove conditional code.
36632         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36633         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
36634         Remove conditional code.
36635         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36636         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36637         Remove conditional code.
36638         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36639         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36640         Remove conditional code.
36641         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36642         * sysdeps/unix/sysv/linux/sh/pwrite64.c
36643         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36644         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36645         * sysdeps/unix/sysv/linux/sigaction.c
36646         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36647         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36648         * sysdeps/unix/sysv/linux/sigpending.c
36649         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36650         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36651         * sysdeps/unix/sysv/linux/sigprocmask.c
36652         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36653         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36654         * sysdeps/unix/sysv/linux/sigsuspend.c
36655         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36656         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36657         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36658         (__libc_missing_rt_sigs): Remove.
36659         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
36660         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
36661         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
36662         Remove conditional code.
36663         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
36664         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
36665         return 1.
36666         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
36667         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
36668         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
36669         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
36670
36671 2012-05-14  Andreas Jaeger  <aj@suse.de>
36672
36673         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
36674         it's not used in glibc.
36675         (__coshm1): Likewise.
36676         (__acosh1p): Likewise.
36677         (__sgn): Likewise.
36678
36679         * manual/string.texi (Copying and Concatenation): Add missing
36680         variable in concat example.
36681         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36682
36683 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36684
36685         [BZ #14103]
36686         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
36687         __builtin_clzl with __builtin_clzll.
36688
36689 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36690
36691         [BZ #14104]
36692         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
36693         libc_freeres_ptr.
36694
36695 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36696
36697         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
36698         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
36699         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
36700         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
36701
36702 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
36703
36704         * NEWS: Update ia64 info.
36705
36706 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
36707
36708         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
36709         used as bcopy.
36710
36711 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
36712
36713         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
36714         * sysdeps/unix/syscalls.list (dup3): Likewise.
36715         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
36716         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
36717
36718 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
36719
36720         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
36721         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
36722
36723 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
36724
36725         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
36726         thread pointer.
36727         (TLS_IE): Use mov/add instead of movq/addq to load thread
36728         pointer.
36729         (TLS_GD_PREFIX): New.
36730         (TLS_GD): Use it.
36731
36732 2012-05-11  David S. Miller  <davem@davemloft.net>
36733
36734         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
36735         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
36736         (_FPU_SETCW): Likewise.
36737
36738 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36739
36740         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
36741         is 32-byte aligned.
36742
36743 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
36744
36745         [BZ #11837]
36746         * iconvdata/gb18030.c: Update tables.
36747         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
36748         characters specially.
36749         (BODY for TO_LOOP): Add encoding of missing ranges.
36750
36751 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
36752
36753         [BZ #13673]
36754         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
36755         * sysdeps/mach/hurd/dup3.c: Likewise.
36756         * sysdeps/mach/hurd/readlinkat.c: Likewise.
36757         * sysdeps/powerpc/memmove.c:: Likewise.
36758
36759 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36760
36761         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
36762         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
36763
36764 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36765
36766         * elf/elf.h (R_X86_64_RELATIVE64): New.
36767         (R_X86_64_NUM): Updated.
36768         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36769         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
36770         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
36771         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
36772         tst-quad1pie tst-quad2pie
36773         (modules-names): Add tst-quadmod1 tst-quadmod2.
36774         ($(objpfx)tst-quad1): New dependency.
36775         ($(objpfx)tst-quad2): Likewise.
36776         ($(objpfx)tst-quad1pie): Likewise.
36777         ($(objpfx)tst-quad2pie): Likewise.
36778         * sysdeps/x86_64/tst-quad1.c: New file.
36779         * sysdeps/x86_64/tst-quad1pie.c: New file.
36780         * sysdeps/x86_64/tst-quad2.c: Likewise.
36781         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
36782         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
36783         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
36784         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
36785         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
36786
36787 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36788
36789         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
36790         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
36791         * streams/stropts.h (t_scalar_t): Define type.
36792
36793         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
36794         (_PATH_PRESERVE): Set to "/var/lib".
36795         (_PATH_RWHODIR): Set to "/var/spool/rwho".
36796
36797         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
36798         instead of int.
36799
36800         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
36801         if __dir_mkfile succeeded.
36802
36803         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
36804         checking for _hurd_dtablesize.  Unlock it right after having
36805         finished _hurd_dtable allocation.
36806
36807 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36808
36809         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
36810         * sysdeps/mach/hurd/configure: Regenerated.
36811         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
36812         special-casing to...
36813         * sysdeps/gnu/configure.in: ... this new file.
36814         * sysdeps/unix/sysv/linux/configure: Regenerated.
36815         * sysdeps/gnu/configure: New generated file.
36816
36817         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36818         for Linux: use nsec instead of usec, as well as:
36819         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36820         members of type struct timespec.
36821         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36822         New macros.
36823         (struct stat64): Likewise.
36824         (_STATBUF_ST_NSEC): New macro.
36825         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36826
36827         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36828         __strtoul_internal rather than strtoul.
36829
36830 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36831
36832         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36833         and reject them.
36834
36835 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36836
36837         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36838         which preserves existing values.
36839         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36840
36841 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36842
36843         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36844         TIMEOUT values.  Return EINVAL for NFDS values either negative or
36845         greater than FD_SETSIZE.
36846
36847 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36848
36849         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36850         allocated, call __vm_protect to finish enabling the existing space, and
36851         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36852         allocate the remainder.
36853
36854 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36855
36856         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36857         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
36858
36859 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36860
36861         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36862         sysdeps/mach/hurd/readlink.c.
36863
36864         * posix/tst-sysconf.c (posix_options): Only use
36865         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36866         _POSIX_SYNCHRONIZED_IO when they are defined
36867         * sysdeps/mach/hurd/bits/posix_opt.h:
36868         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36869         (_XOPEN_REALTIME): Undefine macro.
36870         (_XOPEN_REALTIME_THREADS): Undefine macro.
36871         (_XOPEN_SHM): Undefine macro.
36872         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36873         macro to -1.
36874         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36875         macro to -1.
36876         (_POSIX_ASYNC_IO): Undefine macro.
36877         (_POSIX_PRIORITIZED_IO): Undefine macro.
36878         (_POSIX_SPIN_LOCKS): Define macro to -1.
36879
36880         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36881         SA_NODEFER, SA_RESETHAND.
36882         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36883         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36884         F_DUPFD_CLOEXEC.
36885
36886 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36887
36888         * elf/Makefile (pldd-modules): Define unconditionally.
36889
36890 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36891
36892         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36893
36894 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36895
36896         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
36897         Return ENOENT when name is empty.
36898         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36899
36900 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36901
36902         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36903
36904         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36905
36906 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36907
36908         Fix mlock in all cases except non-readable pages.
36909         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36910         instead of VM_PROT_ALL as parameter to __vm_wire function.
36911
36912         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36913         (__mkdir): When path is `/', just fail with EEXIST.
36914         * sysdeps/mach/hurd/mkdirat.c: Likewise.
36915
36916 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36917
36918         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36919         <sys/uio.h> (for writev).
36920         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36921         and <sys/param.h> (for MIN).
36922
36923 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36924
36925         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36926         REQUESTED_TIME.  Properly set the remaining time and return EINTR
36927         if interrupted.
36928
36929 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36930
36931         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36932         Depend on against $(link-rpcuserlibs).
36933
36934 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36935
36936         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36937         (__libc_stack_end): Do not use attribute_relro.
36938         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36939         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
36940         to libthread-provided value.
36941         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36942         attribute_relro.
36943
36944 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36945
36946         [BZ #3748]
36947         * bits/libc-lock.h (__libc_once_get): New macro.
36948         * sysdeps/mach/bits/libc-lock.h: Likewise.
36949         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36950         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36951         instead of using implementation details.
36952
36953         * libio/fileops.c: Unconditionally include <kernel-features.h>.
36954         * libio/freopen.c: Likewise.
36955         * libio/freopen64.c: Likewise.
36956         * misc/syslog.c: Likewise.
36957         * nscd/connections.c: Likewise.
36958         * nscd/netgroupcache.c: Likewise.
36959         * sysdeps/posix/getcwd.c: Likewise.
36960
36961 2012-05-10  Roland McGrath  <roland@hack.frob.com>
36962
36963         * math/w_ilogbf.c: Add #include <limits.h>.
36964
36965 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36966
36967         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
36968         path instead of returning without unlocking.
36969
36970         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36971         immediate-write ioctls.
36972         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36973
36974 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36975
36976         * sysdeps/mach/hurd/i386/init-first.c (init): Use
36977         __builtin_frame_address instead of making assumptions about the
36978         location of the return address relative to DATA.  Force early load of
36979         the return address.
36980         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36981         __builtin_frame_address.
36982
36983         dup3 for GNU Hurd.
36984         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36985         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
36986         implement dup3 and do some further code clean-ups.
36987         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36988         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36989
36990 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36991
36992         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36993
36994         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36995         HURD_CRITICAL_END around holding _hurd_dtable_lock.
36996         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36997         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36998         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36999         d->port.lock.
37000
37001         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
37002         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
37003         when handler == SIG_ERR, not when handler != SIG_ERR.
37004
37005 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37006
37007         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
37008         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
37009         definitions.
37010
37011         accept4 for GNU Hurd.
37012         * include/sys/socket.h (__libc_accept4): New prototype.
37013         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
37014         to implement __libc_accept4.
37015         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
37016         __libc_accept4.
37017         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
37018
37019         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
37020         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
37021         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
37022         signal-defines.sym.
37023
37024 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37025
37026         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
37027
37028 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37029
37030         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
37031         assertion on O_CLOEXEC flag.
37032         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
37033         * hurd/intern-fd.c: Likewise.
37034         * hurd/port2fd.c: Likewise.
37035
37036 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37037
37038         [BZ #3906]
37039         * bits/in.h (IPV6_PKTINFO): Define new macro.
37040         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
37041
37042 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37043
37044         [BZ #13954]
37045         [BZ #13955]
37046         [BZ #13956]
37047         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
37048         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37049         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
37050         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
37051         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37052         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
37053         * math/libm-test.inc (logb_test) : Additional logb tests.
37054
37055 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
37056             Andreas Jaeger  <aj@suse.de>
37057
37058         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
37059         * configure: Regenerated.
37060         * config.h.in (LINK_OBSOLETE_RPC): New macro.
37061         * config.make.in (link-obsolete-rpc): New substituted variable.
37062         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
37063         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
37064         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
37065         (shared-only-routines): Don't set it under [link-obsolete-rpc],
37066         so that libc.a contains the symbols.
37067         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
37068         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
37069         * sunrpc/auth_none.c: Likewise.
37070         * sunrpc/auth_unix.c: Likewise.
37071         * sunrpc/authdes_prot.c: Likewise.
37072         * sunrpc/authuxprot.c: Likewise.
37073         * sunrpc/clnt_gen.c: Likewise.
37074         * sunrpc/clnt_perr.c: Likewise.
37075         * sunrpc/clnt_raw.c: Likewise.
37076         * sunrpc/clnt_simp.c: Likewise.
37077         * sunrpc/clnt_tcp.c: Likewise.
37078         * sunrpc/clnt_udp.c: Likewise.
37079         * sunrpc/clnt_unix.c: Likewise.
37080         * sunrpc/des_crypt.c: Likewise.
37081         * sunrpc/des_soft.c: Likewise.
37082         * sunrpc/get_myaddr.c: Likewise.
37083         * sunrpc/key_call.c: Likewise.
37084         * sunrpc/key_prot.c: Likewise.
37085         * sunrpc/netname.c: Likewise.
37086         * sunrpc/pm_getmaps.c: Likewise.
37087         * sunrpc/pm_getport.c: Likewise.
37088         * sunrpc/pmap_clnt.c: Likewise.
37089         * sunrpc/pmap_prot.c: Likewise.
37090         * sunrpc/pmap_prot2.c: Likewise.
37091         * sunrpc/pmap_rmt.c: Likewise.
37092         * sunrpc/publickey.c: Likewise.
37093         * sunrpc/rpc_cmsg.c: Likewise.
37094         * sunrpc/rpc_common.c: Likewise.
37095         * sunrpc/rpc_dtable.c: Likewise.
37096         * sunrpc/rpc_prot.c: Likewise.
37097         * sunrpc/rpc_thread.c: Likewise.
37098         * sunrpc/rtime.c: Likewise.
37099         * sunrpc/svc.c: Likewise.
37100         * sunrpc/svc_auth.c: Likewise.
37101         * sunrpc/svc_raw.c: Likewise.
37102         * sunrpc/svc_run.c: Likewise.
37103         * sunrpc/svc_tcp.c: Likewise.
37104         * sunrpc/svc_udp.c: Likewise.
37105         * sunrpc/svc_unix.c: Likewise.
37106         * sunrpc/svcauth_des.c: Likewise.
37107         * sunrpc/xcrypt.c: Likewise.
37108         * sunrpc/xdr.c: Likewise.
37109         * sunrpc/xdr_array.c: Likewise.
37110         * sunrpc/xdr_float.c: Likewise.
37111         * sunrpc/xdr_intXX_t.c: Likewise.
37112         * sunrpc/xdr_mem.c: Likewise.
37113         * sunrpc/xdr_rec.c: Likewise.
37114         * sunrpc/xdr_ref.c: Likewise.
37115         * sunrpc/xdr_sizeof.c: Likewise.
37116         * sunrpc/xdr_stdio.c: Likewise.
37117
37118 2012-05-10  Roland McGrath  <roland@hack.frob.com>
37119
37120         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
37121         change.  Update copyright years.
37122
37123 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
37124
37125         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
37126
37127 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
37128             Joseph Myers  <joseph@codesourcery.com>
37129             Paul Pluzhnikov  <ppluzhnikov@google.com>
37130
37131         [BZ #14012]
37132         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
37133         requiring rpcgen.
37134         [cross-compiling] (extra-libs): Likewise.
37135         [cross-compiling] (extra-libs-others): Likewise.
37136         [cross-compiling] (librpcsvc-routines): Likewise.
37137         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
37138         [cross-compiling] (omit-deps): Likewise.
37139         (sunrpc-CPPFLAGS): New variable.
37140         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
37141         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
37142         (cross-rpcgen-objs): New variable.
37143         (extra-objs): Append $(cross-rpcgen-objs).
37144         ($(cross-rpcgen-objs)): New rule.
37145         ($(objpfx)cross-rpcgen): Likewise.
37146         (rpcgen-cmd): Define to use $(built-program-file).  Expand
37147         comment.
37148         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
37149         ($(objpfx)x%.stmp): Likewise.
37150         * sunrpc/proto.h [IS_IN_build] (_): Define.
37151         [IS_IN_build] (_libc_intl_domainname): Likewise.
37152
37153 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
37154
37155         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
37156         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
37157         and R_X86_64_TPOFF64.
37158
37159 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
37160
37161         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
37162         sysdeps/unix/sysv/syscalls.list.
37163         (stime): Likewise.
37164         (utime): Likewise.
37165         * sysdeps/unix/sysv/syscalls.list: Remove file.
37166
37167 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
37168
37169         [BZ #3440]
37170         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
37171         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
37172         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
37173         (__LC_IDENTIFICATION): Make these macros useful in #if
37174         expressions, as required by C99.
37175
37176 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
37177
37178         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
37179         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
37180         after this.
37181
37182 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
37183
37184         * stdlib/longlong.h: Updated from GCC.
37185
37186 2012-05-09  Andreas Jaeger  <aj@suse.de>
37187
37188         * nscd/nscd.c (run_modes): Make named enum, reorder so that
37189         default is first entry.
37190         (run_mode): Set type.
37191         (main): Remove informal message about syslog.
37192         (options): Fix typo.
37193
37194         [BZ #14053]
37195         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
37196         to asm.
37197         (lrint): Likewise.
37198         (llrintf): Likewise.
37199         (llrint): Likewise.
37200         (rint): Likewise.
37201         (rintf): Likewise.
37202         (nearbyint): Likewise.
37203         (nearbyintf): Likewise.
37204
37205 2012-05-09  Andreas Jaeger  <aj@suse.de>
37206             Pedro Alves  <palves@redhat.com>
37207
37208         * nscd/nscd.c (run_mode): Use enum.
37209         (main): Cleanup coding style issue.
37210
37211 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
37212             Andreas Jaeger  <aj@suse.de>
37213
37214         * nscd/nscd.c (go_background): Replaced with...
37215         (run_mode): ... this.
37216         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
37217         (options): Add -F --foreground.
37218         (main): Implement it.
37219         (parse_opt): Parse it.
37220
37221 2012-05-09  Andreas Jaeger  <aj@suse.de>
37222
37223         [BZ #14083]
37224         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
37225         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
37226         -Wconversion warning.
37227         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
37228         Likewise.
37229
37230 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
37231
37232         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
37233         == 0.
37234         (LC_ALL): Use macro-int-constant.
37235         (LC_COLLATE): Likewise.
37236         (LC_CTYPE): Likewise.
37237         (LC_MESSAGES): Likewise.
37238         (LC_MONETARY): Likewise.
37239         (LC_NUMERIC): Likewise.
37240         (LC_TIME): Likewise.
37241         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
37242         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37243         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37244         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
37245         Specify type.
37246         [C99-based standards] (float_t): Expect type.
37247         [C99-based standards] (double_t): Expect type.
37248         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
37249         type.
37250         [C99-based standards] (HUGE_VALL): Likewise.
37251         [C99-based standards] (INFINITY): Likewise.
37252         [C99-based standards] (NAN): Likewise.
37253         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
37254         [C99-based standards] (FP_NAN): Likewise.
37255         [C99-based standards] (FP_NORMAL): Likewise.
37256         [C99-based standards] (FP_SUBNORMAL): Likewise.
37257         [C99-based standards] (FP_ZERO): Likewise.
37258         [C99-based standards] (FP_FAST_FMA): Use
37259         optional-macro-int-constant.  Specify type.  Require == 1.
37260         [C99-based standards] (FP_FAST_FMAF): Likewise.
37261         [C99-based standards] (FP_FAST_FMAL): Likewise.
37262         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
37263         [C99-based standards] (FP_ILOGBNAN): Likewise.
37264         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
37265         Specify type.
37266         [C99-based standards] (MATH_ERREXCEPT): Likewise.
37267         [C99-based standards] (math_errhandling): Specify type.
37268         [ISO99 || ISO11] (signgam): Do not allow.
37269         [non-C99-based standards] (copysignf): Do not allow.
37270         [non-C99-based standards] (exp2f): Likewise.
37271         [non-C99-based standards] (log2f): Likewise.
37272         [non-C99-based standards] (modff): Allow.
37273         [non-C99-based standards] (erff): Do not allow.
37274         [non-C99-based standards] (erfcf): Likewise.
37275         [non-C99-based standards] (gammaf): Likewise.
37276         [non-C99-based standards] (hypotf): Likewise.
37277         [non-C99-based standards] (j0f): Likewise.
37278         [non-C99-based standards] (j1f): Likewise.
37279         [non-C99-based standards] (jnf): Likewise.
37280         [non-C99-based standards] (lgammaf): Likewise.
37281         [non-C99-based standards] (tgammaf): Likewise.
37282         [non-C99-based standards] (y0f): Likewise.
37283         [non-C99-based standards] (y1f): Likewise.
37284         [non-C99-based standards] (ynf): Likewise.
37285         [non-C99-based standards] (isnanf): Likewise.
37286         [non-C99-based standards] (acoshf): Likewise.
37287         [non-C99-based standards] (asinhf): Likewise.
37288         [non-C99-based standards] (atanhf): Likewise.
37289         [non-C99-based standards] (cbrtf): Likewise.
37290         [non-C99-based standards] (expm1f): Likewise.
37291         [non-C99-based standards] (ilogbf): Likewise.
37292         [non-C99-based standards] (log1pf): Likewise.
37293         [non-C99-based standards] (logbf): Likewise.
37294         [non-C99-based standards] (nextafterf): Likewise.
37295         [non-C99-based standards] (remainderf): Likewise.
37296         [non-C99-based standards] (rintf): Likewise.
37297         [non-C99-based standards] (scalbf): Likewise.
37298         [non-C99-based standards] (copysignl): Likewise.
37299         [non-C99-based standards] (exp2l): Likewise.
37300         [non-C99-based standards] (log2l): Likewise.
37301         [non-C99-based standards] (modfl): Allow.
37302         [non-C99-based standards] (erfl): Do not allow.
37303         [non-C99-based standards] (erfcl): Likewise.
37304         [non-C99-based standards] (gammal): Likewise.
37305         [non-C99-based standards] (hypotl): Likewise.
37306         [non-C99-based standards] (j0l): Likewise.
37307         [non-C99-based standards] (j1l): Likewise.
37308         [non-C99-based standards] (jnl): Likewise.
37309         [non-C99-based standards] (lgammal): Likewise.
37310         [non-C99-based standards] (tgammal): Likewise.
37311         [non-C99-based standards] (y0l): Likewise.
37312         [non-C99-based standards] (y1l): Likewise.
37313         [non-C99-based standards] (ynl): Likewise.
37314         [non-C99-based standards] (isnanl): Likewise.
37315         [non-C99-based standards] (acoshl): Likewise.
37316         [non-C99-based standards] (asinhl): Likewise.
37317         [non-C99-based standards] (atanhl): Likewise.
37318         [non-C99-based standards] (cbrtl): Likewise.
37319         [non-C99-based standards] (expm1l): Likewise.
37320         [non-C99-based standards] (ilogbl): Likewise.
37321         [non-C99-based standards] (log1pl): Likewise.
37322         [non-C99-based standards] (logbl): Likewise.
37323         [non-C99-based standards] (nextafterl): Likewise.
37324         [non-C99-based standards] (remainderl): Likewise.
37325         [non-C99-based standards] (rintl): Likewise.
37326         [non-C99-based standards] (scalbl): Likewise.
37327         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37328         [non-C99-based standards] (FP_*): Do not allow.
37329         [C99-based standards] (FP_*): Change to
37330         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37331         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37332         allow.
37333         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
37334         (SIG_ERR): Likewise.
37335         [X/Open-based standards] (SIG_HOLD): Likewise.
37336         (SIG_IGN): Likewise.
37337         (SIGABRT): Use macro-int-constant.  Specify type.  Require
37338         positive value.
37339         (SIGFPE): Likewise.
37340         (SIGILL): Likewise.
37341         (SIGINT): Likewise.
37342         (SIGSEGV): Likewise.
37343         (SIGTER): Likewise.
37344         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
37345         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
37346         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
37347         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
37348         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
37349         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
37350         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
37351         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
37352         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
37353         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
37354         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
37355         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
37356         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
37357         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
37358         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
37359         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
37360         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
37361         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
37362         [X/Open-based standards] (SIGTRAP): Likewise.
37363         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
37364         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
37365         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
37366         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
37367         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37368         allow.
37369
37370 2012-05-08  Ian Wienand  <ianw@vmware.com>
37371
37372         [BZ #14080]
37373         * time/tzset.c (__tzset_parse_tz): Update default rules for
37374         daylight time changes in the Energy Policy Act of 2005.
37375
37376 2012-05-09  Andreas Jaeger  <aj@suse.de>
37377
37378         [BZ #13983]
37379         * elf/ldconfig.c (parse_conf): Change string to make clear that
37380         ldconfig only issued a warning if ld.so.conf does not exist.
37381
37382 2012-05-08  David S. Miller  <davem@davemloft.net>
37383
37384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
37385         movxtod instead of popping the value on the stack.
37386
37387         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37388
37389 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
37390
37391         * config.h.in: Add HAVE_ARM_PCS_VFP.
37392
37393 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
37394
37395         [BZ #13979]
37396         * include/features.h: Warn if user requests __FORTIFY_SOURCE
37397         checking but the checks are disabled for any reason.
37398
37399 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
37400
37401         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
37402         and ELF64_R_TYPE with ELFW(R_TYPE).
37403
37404 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
37405
37406         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
37407         (ulimit): Likewise.
37408
37409         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
37410         (settimeofday): Likewise.
37411
37412 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
37413
37414         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
37415         a struct th_u2 inside the union, and move tu_block/tu_code into
37416         a new th_u3 union of tu_block/tu_code inside of that.  Move
37417         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
37418         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
37419         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
37420         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
37421         (th_stuff): Change to th_u1.tu_stuff.
37422         (th_data): Define.
37423         (th_msg): Change to th_u1.th_u2.tu_data.
37424
37425 2012-05-07  David S. Miller  <davem@davemloft.net>
37426
37427         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37428
37429         [BZ #14074]
37430         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
37431         (SETUP_PIC_REG): Use it.
37432         (SETUP_PIC_REG_LEAF): Use it.
37433
37434 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
37435
37436         [BZ #13885]
37437         [BZ #13923]
37438         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37439         USE_AS_EXPM1L.
37440         (EXPL_FINITE): Likewise.
37441         (FLDLOG): Likewise.
37442         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37443         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37444         e_expl.S.
37445         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37446         USE_AS_EXPM1L.
37447         (EXPL_FINITE): Likewise.
37448         (FLDLOG): Likewise.
37449         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37450         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37451         e_expl.S.
37452         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
37453         test of -max_value argument for long double.
37454         * sysdeps/i386/fpu/libm-test-ulps: Update.
37455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37456
37457 2012-05-06  David S. Miller  <davem@davemloft.net>
37458
37459         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
37460         quad soft-float symbols whose references which are compiler
37461         generated.
37462         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
37463
37464 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
37465
37466         [BZ #13884]
37467         [BZ #13914]
37468         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37469         USE_AS_EXP10L.
37470         (EXPL_FINITE): Likewise.
37471         (FLDLOG): Likewise.
37472         (c0): Likewise.
37473         (c1): Likewise.
37474         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
37475         Adjust comments for base varying.
37476         (__expl_finite): Change alias to EXPL_FINITE.
37477         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
37478         e_expl.S.
37479         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
37480         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
37481         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
37482         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
37483         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37484         USE_AS_EXP10L.
37485         (EXPL_FINITE): Likewise.
37486         (FLDLOG): Likewise.
37487         (c0): Likewise.
37488         (c1): Likewise.
37489         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
37490         Adjust comments for base varying.
37491         (__expl_finite): Change alias to EXPL_FINITE.
37492         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
37493         tests for bugs.
37494         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37495
37496         [BZ #14064]
37497         * math/libm-test.inc (check_float_internal): Correct ulp
37498         calculation for subnormal expected results.
37499
37500 2012-05-06  Andreas Jaeger  <aj@suse.de>
37501
37502         * Makeconfig (+math-flags): New, set to -frounding-math.
37503         (+cflags): Add +math-flags so that all of glibc gets compiled with
37504         it.
37505
37506         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
37507
37508 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
37509
37510         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
37511         Disable one test.
37512
37513         [BZ #13787]
37514         [BZ #13922]
37515         [BZ #14036]
37516         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
37517         (__ieee754_expl): Allow for and saturate large arguments.
37518         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
37519         (u_threshold): Likewise.
37520         (__exp): Call __ieee754_exp before checking for overflow and
37521         underflow.
37522         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
37523         (u_threshold): Likewise.
37524         (__expf): Call __ieee754_expf before checking for overflow and
37525         underflow.
37526         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
37527         (u_threshold): Likewise.
37528         (__expl): Call __ieee754_expl before checking for overflow and
37529         underflow.
37530         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
37531         (__ieee754_expl): Allow for and saturate large arguments.
37532         * math/libm-test.inc (exp_test): Add another test.  Do not allow
37533         missing overflow exception on overflow.
37534         (expm1_test): Do not allow missing overflow exception on overflow.
37535
37536         * sysdeps/i386/fpu/e_expl.c: Move to ...
37537         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
37538         rather than using inline asm.
37539         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
37540         * sysdeps/x86_64/fpu/e_expl.S: Copy from
37541         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
37542
37543         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
37544         (nice): Likewise.
37545         (poll): Likewise.
37546         (signal): Likewise.
37547         (time): Likewise.
37548         (times): Likewise.
37549
37550 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37551
37552         * sysdeps/unix/syscalls.list (adjtime): Add entry from
37553         sysdeps/unix/common/syscalls.list.
37554         (fchmod): Likewise.
37555         (fchown): Likewise.
37556         (ftruncate): Likewise.
37557         (getrusage): Likewise.
37558         (gettimeofday): Likewise.
37559         (setpgid): Likewise.
37560         (setregid): Likewise.
37561         (setreuid): Likewise.
37562         (sigaction): Likewise.
37563         (truncate): Likewise.
37564         (vhangup): Likewise.
37565         * sysdeps/unix/common/syscalls.list: Remove file.
37566         * sysdeps/unix/bsd/Implies: Don't include unix/common.
37567         * sysdeps/unix/sysv/linux/Implies: Likewise.
37568
37569 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
37570
37571         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
37572         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
37573         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
37574         Moved to ...
37575         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
37576         Here.
37577         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
37578         to ...
37579         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
37580         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
37581         to ...
37582         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
37583         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
37584         to ...
37585         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
37586         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
37587         to ...
37588         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
37589         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
37590         to ...
37591         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
37592         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
37593         to ...
37594         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
37595         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
37596         to ...
37597         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37598         Here.
37599         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
37600         to ...
37601         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
37602         Here.
37603         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
37604         to ...
37605         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
37606         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
37607         Moved to ...
37608         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
37609         Here.
37610         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
37611         to ...
37612         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
37613
37614 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37615
37616         * sysdeps/unix/common/bits/dirent.h: Remove file.
37617         * sysdeps/unix/common/bits/fcntl.h: Likewise.
37618
37619         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
37620         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
37621         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
37622         * sysdeps/unix/bsd/isatty.c: Likewise.
37623         * sysdeps/unix/bsd/tcdrain.c: Likewise.
37624         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
37625         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
37626
37627 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37628
37629         [BZ #13563]
37630         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
37631         long double comparison inaccuracies.
37632         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37633         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37634
37635 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
37636
37637         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
37638         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
37639
37640 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37641
37642         [BZ #14049]
37643         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
37644         nonzero digits before rounding a hex value.
37645         * stdlib/tst-strtod.c (tests): Add another test.
37646
37647 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37648
37649         * sysdeps/s390/fpu/libm-test-ulps: Update.
37650
37651 2012-05-03  Andreas Jaeger  <aj@suse.de>
37652
37653         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
37654         does not get optimized out.
37655         (malloc_opt_barrier): New.
37656
37657 2012-05-03  Andreas Jaeger  <aj@suse.de>
37658             Roland McGrath  <roland@hack.frob.com>
37659
37660         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
37661         intermediate file deletion.
37662         (generated): Add .symlist files.
37663
37664 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
37665
37666         [BZ #13775]
37667         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
37668         Redirect under this condition.
37669         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37670         [__USE_GNU] (__dprintf_chk): Not under this condition.
37671         [__USE_GNU] (__vdprintf_chk): Likewise.
37672         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
37673         under this condition.
37674         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37675         [__USE_XOPEN2K8] (dprintf): Define under this condition.
37676         [__USE_XOPEN2K8] (vdprintf): Likewise.
37677         [__USE_GNU] (__dprintf_chk): Not under this condition.
37678         [__USE_GNU] (__vdprintf_chk): Likewise.
37679         [__USE_GNU] (dprintf): Likewise.
37680         [__USE_GNU] (vdprintf): Likewise.
37681
37682 2012-05-03  Roland McGrath  <roland@hack.frob.com>
37683
37684         * elf/Makefile (common-generated): Set this instead of generated for
37685         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
37686         $(all-built-dso)-derived lists.
37687
37688 2012-05-03  Andreas Jaeger  <aj@suse.de>
37689
37690         * sysdeps/i386/fpu/libm-test-ulps: Update.
37691
37692         * FAQ: Removed.
37693         * FAQ.in: Likewise.
37694         * scripts/gen-FAQ.pl: Likewise.
37695         * manual/install.texi (Installation): Point to online location of
37696         FAQ.
37697         * Makefile (files-for-dist): Remove FAQ.
37698         (FAQ): Remove.
37699
37700 2012-05-02  Allan McRae  <allan@archlinux.org>
37701
37702         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
37703         (LDFLAGS-reldepmod5.so): Likewise.
37704         (LDFLAGS-reldep6mod1.so): Likewise.
37705         (LDFLAGS-reldep6mod4.so): Likewise.
37706         (LDFLAGS-reldep8mod3.so): Likewise.
37707         (LDFLAGS-unload4mod1.so): Likewise.
37708         (LDFLAGS-unload4mod2.so): Likewise.
37709         (LDFLAGS-tst-initorder): Likewise.
37710         (LDFLAGS-tst-initordera2.so): Likewise.
37711         (LDFLAGS-tst-initordera3.so): Likewise.
37712         (LDFLAGS-tst-initordera4.so): Likewise.
37713         (LDFLAGS-tst-initorderb2.so): Likewise.
37714         (LDFLAGS-noload): Likewise.
37715         (LDFLAGS-next): Likewise.
37716         (LDFLAGS-order2mod1.so): Likewise.
37717         (LDFLAGS-order2mod2.so): Likewise.
37718         (LDFLAGS-tst-initorder2): Likewise.
37719         (LDFLAGS-tst-initorder2a.so): Likewise.
37720         (LDFLAGS-tst-initorder2b.so): Likewise.
37721         (LDFLAGS-tst-initorder2c.so): Likewise.
37722         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
37723
37724 2012-05-02  David S. Miller  <davem@davemloft.net>
37725
37726         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37727
37728 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
37729
37730         [BZ #14055]
37731         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
37732
37733 2012-05-02  Andreas Jaeger  <aj@suse.de>
37734
37735         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
37736         since we manipulate rounding mode.
37737         (CPPFLAGS-test-idouble.c): Likewise.
37738         (CPPFLAGS-test-ifloat.c): Likewise.
37739         (CFLAGS-test-ldouble.c): Likewise.
37740         (CFLAGS-test-double.c): Likewise.
37741         (CFLAGS-test-float.c): Likewise.
37742         (CFLAGS-test-misc.c): Likewise.
37743         (CFLAGS-test-test-fenv.c): Likewise.
37744
37745 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37746
37747         [BZ #2550]
37748         [BZ #2570]
37749         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
37750         comparisons to determine direction to adjust input.
37751
37752 2012-05-01  Roland McGrath  <roland@hack.frob.com>
37753
37754         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
37755         output to the target.
37756
37757         * scripts/localplt.awk: New file.
37758         * elf/Makefile ($(objpfx)check-localplt): Target removed.
37759         (check-localplt-CFLAGS): Variable removed.
37760         ($(all-built-dso:=.jmprel)): New static pattern rule.
37761         (generated): Add those targets.
37762         (localplt-built-dso): New variable.
37763         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
37764
37765         * elf/check-localplt.c: File removed.
37766
37767         * scripts/check-execstack.awk: New file.
37768         * elf/Makefile ($(objpfx)check-execstack): Target removed.
37769         (check-execstack-CFLAGS): Variable removed.
37770         ($(objpfx)check-execstack.h): Target removed.
37771         ($(objpfx)execstack-default): New target.
37772         (generated): Add that instead of check-execstack.h.
37773         ($(all-built-dso:=.phdr)): New static pattern rule.
37774         (generated): Add those targets.
37775         * elf/check-execstack.c: File removed.
37776
37777         * scripts/check-textrel.awk: New file.
37778         * elf/Makefile ($(objpfx)check-textrel): Target removed.
37779         (check-textrel-CFLAGS): Variable removed.
37780         (all-built-dso): Use := to define.o
37781         ($(all-built-dso:=.dyn)): New static pattern rule.
37782         (generated): Add those targets.
37783         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
37784         * config.make.in (READELF): New substituted variable.
37785         * elf/check-textrel.c: File removed.
37786
37787 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
37788
37789         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37790         allow.
37791         * conform/data/ctype.h-data [C99-based standards] (isblank):
37792         Expect function.
37793         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
37794         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
37795         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37796         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
37797         Specify type.  Require positive value.
37798         (EILSEQ): Likewise.
37799         (ERANGE): Likewise.
37800         [ISO || POSIX] (EILSEQ): Do not expect.
37801         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
37802         Specify type.  Require positive value.
37803         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
37804         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
37805         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
37806         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
37807         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
37808         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
37809         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
37810         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
37811         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
37812         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
37813         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
37814         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
37815         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
37816         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37817         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37818         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37819         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37820         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37821         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37822         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37823         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37824         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37825         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37826         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37827         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37828         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37829         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37830         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37831         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37832         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37833         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37834         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37835         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37836         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37837         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37838         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37839         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37840         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37841         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37842         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37843         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37844         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37845         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37846         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37847         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37848         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37849         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37850         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37851         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37852         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37853         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37854         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37855         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37856         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37857         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37858         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37859         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37860         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37861         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37862         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37863         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37864         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37865         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37866         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37867         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37868         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37869         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37870         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37871         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37872         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37873         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37874         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37875         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37876         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37877         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37878         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37879         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37880         Require >= 2.
37881         (FLT_ROUNDS): Expect as macro, not constant.
37882         (FLT_MANT_DIG): Use macro-int-constant.
37883         (DBL_MANT_DIG): Likewise.
37884         (LDBL_MANT_DIG): Likewise.
37885         (FLT_DIG): Likewise.
37886         (DBL_DIG): Likewise.
37887         (LDBL_DIG): Likewise.
37888         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
37889         (DBL_MIN_EXP): Likewise.
37890         (LDBL_MIN_EXP): Likewise.
37891         (FLT_MAX_EXP): Use macro-int-constant.
37892         (DBL_MAX_EXP): Likewise.
37893         (LDBL_MAX_EXP): Likewise.
37894         (FLT_MAX_10_EXP): Likewise.
37895         (DBL_MAX_10_EXP): Likewise.
37896         (LDBL_MAX_10_EXP): Likewise.
37897         (FLT_MAX): Use macro-constant.
37898         (DBL_MAX): Likewise.
37899         (LDBL_MAX): Likewise.
37900         (FLT_EPSILON): Use macro-constant.  Give upper bound.
37901         (DBL_EPSILON): Likewise.
37902         (LDBL_EPSILON): Likewise.
37903         (FLT_MIN): Likewise.
37904         (DBL_MIN): Likewise.
37905         (LDBL_MIN): Likewise.
37906         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37907         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37908         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37909         [ISO11] (FLT_HAS_SUBNORM): Likewise.
37910         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37911         [ISO11] (DBL_DECIMAL_DIG): Likewise.
37912         [ISO11] (FLT_DECIMAL_DIG): Likewise.
37913         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37914         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37915         [ISO11] (FLT_TRUE_MIN): Likewise.
37916         [ISO11] (LDBL_TRUE_MIN): Likewise.
37917         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37918         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37919         (SCHAR_MIN): Use macro-int-constant.  Specify type.
37920         (SCHAR_MAX): Likewise.
37921         (UCHAR_MAX): Likewise.
37922         (CHAR_MIN): Likewise.
37923         (CHAR_MAX): Likewise.
37924         (MB_LEN_MAX): Use macro-int-constant.
37925         (SHRT_MIN): Use macro-int-constant.  Specify type.
37926         (SHRT_MAX): Likewise.
37927         (USHRT_MAX): Likewise.
37928         (INT_MAX): Likewise.
37929         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
37930         bound negative.
37931         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37932         bound with "U".
37933         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37934         bound with "L".
37935         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
37936         bound negative.  Suffix upper bound with "L".
37937         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37938         bound with "UL".
37939         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37940         Specify type.
37941         [C99-based standards] (LLONG_MAX): Likewise.
37942         [C99-based standards] (ULLONG_MAX): Likewise.
37943         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
37944         == 0.
37945         [ISO11] (max_align_t): Require type.
37946         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37947
37948         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37949         from $CFLAGS, without defining away __attribute__ calls.
37950         (checknamespace): Use $CFLAGS_namespace.
37951
37952         * conform/conformtest.pl (@keywords): Only include C99 keywords
37953         for standards based on C99 or C11.
37954
37955         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37956         Disable tests.
37957         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37958         UNIX98]: Likewise.
37959
37960         * conform/conformtest.pl: Handle "macro-int-constant" and test for
37961         usability of symbols in #if.
37962
37963         * conform/conformtest.pl: If macro or constant types start
37964         "promoted:", expect the symbol to be of the following type
37965         promoted by the integer promotions.
37966
37967         * conform/conformtest.pl: Parse all "constant" and "macro" lines
37968         in one place.  Also handle "macro-constant".
37969
37970         * conform/conformtest.pl: Only accept expected macro values with
37971         "==".  Parse all "macro" lines in one place.
37972         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37973
37974         * conform/conformtest.pl: Handle braced types on "constant" lines
37975         instead of handling "typed-constant".
37976         * conform/data/signal.h-data: Use "constant" instead of
37977         "typed-constant".
37978
37979         * conform/conformtest.pl: Handle "optional-" at start of lines in
37980         one place rather than duplicating several cases.  Handle each
37981         format of "macro" line with initial "optional-".
37982
37983         * conform/conformtest.pl: Only accept expected constant or
37984         optional-constant values with "==".  Parse all "constant" lines in
37985         one place.  Parse all "optional-constant" lines in one place.
37986         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37987         * conform/data/fmtmsg.h-data: Likewise.
37988         * conform/data/netinet/in.h-data: Likewise.
37989         * conform/data/tar.h-data: Likewise.
37990         * conform/data/limits.h-data: Use "==" form on "constant" and
37991         "optional-constant" lines.
37992
37993         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37994         Use -std=c99 for XOPEN2K.
37995         (@knownproblems): Remove.
37996         (newtoken): Don't check %isknown.
37997
37998         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37999         Do not expect macro.
38000         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
38001         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
38002         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
38003         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
38004         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
38005         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
38006         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
38007         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
38008         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
38009         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
38010         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
38011         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
38012         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
38013         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
38014         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
38015         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
38016         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
38017         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
38018         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
38019         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
38020         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
38021         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
38022         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
38023         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
38024         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
38025         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
38026         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
38027         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
38028         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
38029         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
38030         [XPG3] (acosh): Likewise.
38031         [XPG3] (asinh): Likewise.
38032         [XPG3] (atanh): Likewise.
38033         [XPG3] (cbrt): Likewise.
38034         [XPG3] (expm1): Likewise.
38035         [XPG3] (ilogb): Likewise.
38036         [XPG3] (log1p): Likewise.
38037         [XPG3] (logb): Likewise.
38038         [XPG3] (nextafter): Likewise.
38039         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
38040         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
38041         [XPG3] (remainder): Likewise.
38042         [XPG3] (rint): Likewise.
38043         [XPG3 || XPG4 || UNIX98] (round): Likewise.
38044         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
38045         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
38046         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
38047         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
38048         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
38049         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
38050         [UNIX98 || XOPEN2K] (scalb): Expect.
38051         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
38052         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
38053         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
38054         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
38055         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
38056         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
38057         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
38058         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
38059         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
38060         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
38061         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
38062         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
38063         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
38064         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
38065         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
38066         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
38067         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
38068         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
38069         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
38070         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
38071         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
38072         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
38073         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
38074         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
38075         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
38076         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
38077         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
38078         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
38079         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
38080         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
38081         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
38082         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
38083         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
38084         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
38085         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
38086         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
38087         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
38088         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
38089         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
38090         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
38091         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
38092         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
38093         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
38094         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
38095         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
38096         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
38097         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
38098         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
38099         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
38100         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
38101         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
38102         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
38103         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
38104         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
38105         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
38106         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
38107         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
38108         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
38109         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
38110         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
38111         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
38112         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
38113         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
38114         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
38115         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
38116         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
38117         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
38118         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
38119         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
38120         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
38121         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
38122         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
38123         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
38124         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
38125         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
38126         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
38127         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
38128         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
38129         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
38130         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
38131         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
38132         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
38133         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
38134         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
38135         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
38136         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
38137         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
38138         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
38139         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
38140         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
38141         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
38142         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
38143         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
38144         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
38145         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
38146         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
38147         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
38148         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
38149         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
38150         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
38151         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
38152         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
38153         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
38154         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
38155         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
38156         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
38157         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
38158         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
38159         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
38160         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
38161         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
38162         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
38163         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
38164         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
38165         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
38166         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
38167         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
38168         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
38169         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
38170         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
38171         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
38172         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
38173         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
38174         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
38175         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
38176         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
38177         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
38178         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
38179         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
38180         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
38181         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
38182         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
38183         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
38184         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
38185         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
38186         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
38187         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
38188
38189         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
38190         _XOPEN_SOURCE_EXTENDED for XPG4.
38191
38192         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
38193
38194         * Makeconfig (localtime): Remove variable.
38195         (inst_localtime-file): Likewise.
38196
38197 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
38198
38199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
38200         Update.
38201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38202         Update.
38203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
38204         Update.
38205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38206         Update.
38207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
38208         Update.
38209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
38210         Update.
38211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38212         Update.
38213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
38214         Update.
38215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38216         Update.
38217
38218 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
38219
38220         [BZ #2550]
38221         [BZ #2570]
38222         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
38223         comparisons to determine direction to adjust input.
38224         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
38225         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
38226         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
38227         Likewise.
38228         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
38229         Likewise.
38230         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38231         Likewise.
38232         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
38233         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
38234         Likewise.
38235         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
38236         Likewise.
38237         * math/libm-test.inc (nexttoward_test): Add more tests.
38238
38239 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
38240
38241         [BZ #14040]
38242         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
38243         in version GLIBC_2.1, not GLIBC_2.0.
38244         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
38245         Likewise.
38246
38247 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
38248
38249         [BZ #13942]
38250         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
38251         (1 - x) * (1 + x).
38252         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38253         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
38254         * math/libm-test.inc (acos_test): Add more tests.
38255         (asin_test): Likewise.
38256         * sysdeps/i386/fpu/libm-test-ulps: Update.
38257         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38258
38259         [BZ #14034]
38260         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
38261         of square root.
38262         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
38263         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38264         * math/libm-test.inc (acos_test_tonearest): New function.
38265         (acos_test_towardzero): Likewise.
38266         (acos_test_downward): Likewise.
38267         (acos_test_upward): Likewise.
38268         (asin_test_tonearest): Likewise.
38269         (asin_test_towardzero): Likewise.
38270         (asin_test_downward): Likewise.
38271         (asin_test_upward): Likewise.
38272         (main): Call the new functions.
38273         * sysdeps/i386/fpu/libm-test-ulps: Update.
38274         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38275
38276         [BZ #13884]
38277         [BZ #13924]
38278         * math/e_exp10.c: Include <float.h>.
38279         (__ieee754_exp10): Handle underflow here rather than multiplying
38280         large negative argument by M_LN10.
38281         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
38282         of __ieee754_expf.
38283         * math/e_exp10l.c: Include <float.h>.
38284         (__ieee754_exp10l): Handle underflow here rather than multiplying
38285         large negative argument by M_LN10l.
38286         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
38287         spurious overflow exception on underflow.
38288
38289 2012-04-29  Marek Polacek  <polacek@redhat.com>
38290
38291         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
38292         (__fortify_function): New macro.
38293         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
38294         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
38295         __extern_always_inline.
38296         * libio/bits/stdio2.h: Likewise.
38297         * libio/bits/stdio.h: Likewise.
38298         * string/string.h: Likewise.
38299         * string/bits/string3.h: Likewise.
38300         * include/stdio.h: Likewise.
38301         * stdlib/bits/stdlib.h: Likewise.
38302         * stdlib/stdlib.h: Likewise.
38303         * rt/bits/mqueue2.h: Likewise.
38304         * rt/mqueue.h: Likewise.
38305         * posix/bits/unistd.h: Likewise.
38306         * posix/unistd.h: Likewise.
38307         * io/bits/poll2.h: Likewise.
38308         * io/bits/fcntl2.h: Likewise.
38309         * io/fcntl.h: Likewise.
38310         * io/sys/poll.h: Likewise.
38311         * misc/bits/syslog.h: Likewise.
38312         * misc/bits/syslog-ldbl.h: Likewise.
38313         * misc/sys/syslog.h: Likewise.
38314         * socket/bits/socket2.h: Likewise.
38315         * socket/sys/socket.h: Likewise.
38316         * debug/tst-chk1.c: Likewise.
38317         * wcsmbs/bits/wchar2.h: Likewise.
38318         * wcsmbs/bits/wchar-ldbl.h: Likewise.
38319         * wcsmbs/wchar.h: Likewise.
38320
38321 2012-04-29  Andreas Jaeger  <aj@suse.de>
38322
38323         * Makerules (tests): Remove enable-check-abi protection.
38324         (check-abi-warn): Remove.
38325         (check-abi-%): Remove check-abi-warn usage.
38326
38327         * configure.in: Remove check-abi configure option.
38328         * configure: Regenerated.
38329         * config.make.in (enable-check-abi): Remove.
38330
38331 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
38332
38333         [BZ #14033]
38334         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
38335         double functions to double *_finite functions.
38336
38337         [BZ #13941]
38338         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
38339         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
38340         LDBL_MIN_EXP.
38341         * stdio-common/Makefile (tests): Add tst-sprintf3.
38342         * stdio-common/tst-sprintf3.c: New file.
38343
38344         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
38345         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
38346
38347 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
38348
38349         * conform/conformtest.pl: Remove duplicate typed-constant
38350         handling.
38351
38352 2012-04-28  David S. Miller  <davem@davemloft.net>
38353
38354         * Makerules (%.abilist): Add vpath on sysdep_dirs.
38355         (check-abi-%): Remove AWK script prerequisite and explicit
38356         abilist directory.
38357         (check-abi): Rewrite to just diff the symlist with the abilist.
38358         (config-tls, config-abi-config): Delete, no longer used.
38359         (update-abi-%): Remove AWK script and explicit abilist directory.
38360         (update-abi): Rewrite to simply compare and conditionally copy the
38361         symlist and the sysdep abilist file.  Remove update-abi-config
38362         checks.
38363         * abilist/ld.abilist: Remove.
38364         * abilist/libBrokenLocale.abilist: Remove.
38365         * abilist/libanl.abilist: Remove.
38366         * abilist/libcrypt.abilist: Remove.
38367         * abilist/libdl.abilist: Remove.
38368         * abilist/librt.abilist: Remove.
38369         * abilist/libthread_db.abilist: Remove.
38370         * abilist/libutil.abilist: Remove.
38371         * scripts/extract-abilist.awk: Remove.
38372         * scripts/merge-abilist.awk: Remove.
38373         * sysdeps/generic/libcidn.abilist: New file.
38374         * sysdeps/generic/libnss_compat.abilist: New file.
38375         * sysdeps/generic/libnss_db.abilist: New file.
38376         * sysdeps/generic/libnss_dns.abilist: New file.
38377         * sysdeps/generic/libnss_files.abilist: New file.
38378         * sysdeps/generic/libnss_hesiod.abilist: New file.
38379         * sysdeps/generic/libnss_nis.abilist: New file.
38380         * sysdeps/generic/libnss_nisplus.abilist: New file.
38381         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
38382         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
38383         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
38384         file.
38385         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
38386         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
38387         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
38388         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
38389         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
38390         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
38391         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
38392         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
38393         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
38394         file.
38395         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
38396         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
38397         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
38398         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
38399         file.
38400         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
38401         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
38402         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
38403         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
38404         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
38405         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
38406         file.
38407         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
38408         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
38409         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
38410         file.
38411         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
38412         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
38413         New file.
38414         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
38415         New file.
38416         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
38417         New file.
38418         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
38419         New file.
38420         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
38421         New file.
38422         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
38423         New file.
38424         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
38425         New file.
38426         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
38427         New file.
38428         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
38429         New file.
38430         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
38431         New file.
38432         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
38433         New file.
38434         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
38435         New file.
38436         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
38437         New file.
38438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
38439         file.
38440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38441         New file.
38442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38443         New file.
38444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
38445         file.
38446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38447         New file.
38448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38449         New file.
38450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
38451         file.
38452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38453         New file.
38454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38455         New file.
38456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38457         New file.
38458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38459         New file.
38460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38461         New file.
38462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38463         New file.
38464         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
38465         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
38466         file.
38467         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
38468         New file.
38469         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
38470         file.
38471         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
38472         file.
38473         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
38474         file.
38475         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
38476         file.
38477         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
38478         file.
38479         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38480         New file.
38481         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
38482         file.
38483         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
38484         file.
38485         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
38486         New file.
38487         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
38488         file.
38489         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
38490         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
38491         file.
38492         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
38493         New file.
38494         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
38495         file.
38496         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
38497         file.
38498         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
38499         file.
38500         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
38501         file.
38502         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
38503         file.
38504         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38505         New file.
38506         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
38507         file.
38508         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
38509         file.
38510         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38511         New file.
38512         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
38513         file.
38514         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38515         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
38516         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
38517         file.
38518         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
38519         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
38520         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
38521         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
38522         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
38523         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
38524         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
38525         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
38526         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
38527         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
38528         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
38529         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
38530         file.
38531         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38532         New file.
38533         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
38534         file.
38535         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
38536         file.
38537         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
38538         file.
38539         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
38540         file.
38541         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
38542         file.
38543         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38544         New file.
38545         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38546         New file.
38547         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
38548         file.
38549         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38550         New file.
38551         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
38552         file.
38553         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
38554         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
38555         file.
38556         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38557         New file.
38558         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
38559         file.
38560         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
38561         file.
38562         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
38563         file.
38564         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
38565         file.
38566         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
38567         file.
38568         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38569         New file.
38570         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38571         New file.
38572         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
38573         file.
38574         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38575         New file.
38576         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
38577         file.
38578
38579 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
38580
38581         * conform/conformtest.pl: Fix typo in handling typed-constant from
38582         allow-header.
38583
38584 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
38585
38586         * README: Cut down references to pre-2.6 Linux kernels and
38587         Linuxthreads.  Update lists of configurations in libc and ports
38588         and sort alphabetically.  Say "or newer" with Linux kernel version
38589         requirements.
38590
38591         * config.h.in [IS_IN_build]: Allow compiling without optimization.
38592
38593 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38594
38595         [BZ #887]
38596         * math/libm-test.inc (logb_test_downward): New test to expose
38597         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
38598         rounding mode.
38599
38600 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
38601
38602         [BZ #14027]
38603         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
38604         to be done.
38605         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
38606         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
38607
38608 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
38609
38610         * sysdeps/unix/i386/brk.S: Remove file.
38611         * sysdeps/unix/i386/dl-brk.S: Likewise.
38612         * sysdeps/unix/i386/pipe.S: Likewise.
38613         * sysdeps/unix/i386/sigreturn.S: Likewise.
38614         * sysdeps/unix/i386/syscall.S: Likewise.
38615         * sysdeps/unix/i386/vfork.S: Likewise.
38616         * sysdeps/unix/i386/wait.S: Likewise.
38617
38618         * sysdeps/unix/common/tcsendbrk.c: Move to ...
38619         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
38620
38621         * configure.in (arm*-none*): Do not allow without
38622         --enable-hacker-mode.
38623         (netbsd*): Remove case setting base_os.
38624         (386bsd*): Likewise.
38625         (freebsd*): Likewise.
38626         (bsdi*): Likewise.
38627         (osf*): Likewise.
38628         (sunos*): Likewise.
38629         (ultrix*): Likewise.
38630         (newsos*): Likewise.
38631         (dynix*): Likewise.
38632         (*bsd*): Likewise.
38633         (sysv*): Likewise.
38634         (isc*): Likewise.
38635         (esix*): Likewise.
38636         (sco*): Likewise.
38637         (minix*): Likewise.
38638         (irix4*): Likewise.
38639         (irix6*): Likewise.
38640         (solaris[2-9]*): Likewise.
38641         (none): Likewise.
38642         * configure: Regenerated.
38643
38644 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38645
38646         [BZ #11521]
38647         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
38648         overflow or cancellation in calculating denominator.
38649         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
38650         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
38651         down expression to avoid unexpected rounding in newer GCCs.
38652         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
38653
38654 2012-04-26  David S. Miller  <davem@davemloft.net>
38655
38656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
38657         long-double compat symbols.
38658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
38662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38663         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
38664         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
38665         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
38666         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
38667         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
38668         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
38669         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
38670         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38671
38672 2012-04-25  David S. Miller  <davem@davemloft.net>
38673
38674         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
38675         HWCAP_* values only after the memory barriers have been defined.
38676         (atomic_full_barrier): Define.
38677         (atomic_read_barrier): Define.
38678         (atomic_write_barrier): Define.
38679
38680 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38681
38682         * shlib-versions: Add libgcc_s version information.
38683         * sysdeps/generic/libgcc_s.h: Remove.
38684         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
38685         libgcc_s.h.
38686         * sysdeps/gnu/unwind-resume.c: Likewise.
38687         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
38688
38689 2012-04-25  David S. Miller  <davem@davemloft.net>
38690
38691         * sysdeps/unix/sparc/brk.S: Delete.
38692         * sysdeps/unix/sparc/dl-brk.S: Delete.
38693         * sysdeps/unix/sparc/pipe.S: Delete.
38694         * sysdeps/unix/sparc/sysdep.S: Delete.
38695         * sysdeps/unix/sparc/sysdep.h: Delete.
38696         * sysdeps/unix/sparc/vfork.S: Delete.
38697         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
38698         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
38699         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
38700         (ret_ERRVAL, r0, r1, MOVE): Define.
38701         (JUMPTARGET): Remove.
38702         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
38703         sysdeps/unix/sparc/sysdep.h
38704         (ENTRY, END): Remove.
38705         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38706
38707 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
38708
38709         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
38710         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
38711         -DIS_IN_build.
38712
38713         * timezone/README: Update upstream location and email address for
38714         tzcode and tzdata.
38715         * timezone/zdump.c: Update from tzcode 2012b.
38716         * timezone/zic.c: Likewise.
38717
38718         * configure.in (libc_cv_as_needed): Remove test.
38719         * configure: Regenerated.
38720         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
38721         conditional definition.
38722         [$(have-as-needed) != yes] (no-as-needed): Likewise.
38723         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
38724         * config.make.in (have-as-needed): Remove variable.
38725
38726 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38727             Paul Pluzhnikov  <ppluzhnikov@google.com>
38728
38729         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
38730         strings correctly.
38731
38732 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
38733
38734         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
38735         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
38736         * sysdeps/sh/strlen.S: Likewise.
38737
38738 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38739
38740         * sysdeps/unix/fork.S: Remove file.
38741         * sysdeps/unix/i386/fork.S: Likewise.
38742         * sysdeps/unix/sparc/fork.S: Likewise.
38743
38744         * sysdeps/unix/system.c: Remove file.
38745         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
38746
38747         * sysdeps/unix/getegid.S: Remove file.
38748         * sysdeps/unix/geteuid.S: Likewise.
38749
38750 2012-04-24  Roland McGrath  <roland@hack.frob.com>
38751
38752         * scripts/check-localplt.awk: New file.
38753         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
38754         of diff.
38755         * scripts/data/localplt-generic.data: Add a comment.
38756
38757         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
38758         NODE when __dir_mkfile failed.
38759         * sysdeps/mach/hurd/symlinkat.c: Likewise.
38760         Reported by Ludovic Courtès <ludo@gnu.org>.
38761
38762 2012-04-24  Andreas Jaeger  <aj@suse.de>
38763
38764         * Makerules (common-clean): Also remove gen-as-const-headers
38765         files.
38766
38767 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38768
38769         * Makerules (native-compile): Do not change working directory for
38770         build.  Use $(OUTPUT_OPTION) in command.
38771         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
38772
38773 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38774
38775         [BZ #13886]
38776         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
38777         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
38778         * math/libm-test.inc (floor_test): Add more tests.
38779         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
38780
38781 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38782
38783         * sysdeps/unix/getdents.c: Remove file.
38784         * sysdeps/unix/sysv/getdents.c: Likewise.
38785         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
38786
38787         * sysdeps/unix/syscalls.list (madvise): Add syscall from
38788         sysdeps/unix/mman/syscalls.list.
38789         (mmap): Likewise.
38790         (mprotect): Likewise.
38791         (msync): Likewise.
38792         (munmap): Likewise.
38793         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
38794         * sysdeps/unix/mman/syscalls.list: Remove.
38795         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
38796
38797         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
38798         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
38799         * configure: Regenerated.
38800         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
38801         $(libgcc_s_suffix).
38802         * config.make.in (libgcc_s_suffix): Remove variable.
38803
38804 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
38805
38806         * sysdeps/unix/sysv/gethostname.c: Move to ...
38807         * sysdeps/posix/gethostname.c: ... here.
38808
38809         * sysdeps/unix/execve.S: Remove file.
38810
38811         * sysdeps/unix/_exit.S: Remove file.
38812
38813 2012-04-23  Andreas Jaeger  <aj@suse.de>
38814
38815         [BZ #13739]
38816         * manual/Makefile: Remove make dist support, there's no
38817         need for a stand-alone documentation tar ball.
38818         (TEXI2DVI): Define always, it's not in Makeconfig.
38819         (dist): Removed.
38820         (tar-it): Removed.
38821         (edition): Removed.
38822         (glibc-doc-$(edition).tar): Removed
38823         (%.Z): Removed.
38824         (%.gz): Removed.
38825         (%.uu): Removed.
38826         (ETAGS): Remove, it's in Makeconfig.
38827         (move-if-change): Remove, it's in Makeconfig.
38828
38829 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
38830
38831         [BZ #13970]
38832         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38833         (strtod, strtof, strtold, strtol, strtoul, strtoq)
38834         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38835         (strtod_l, strtof_l, strtold_l): Remove __wur.
38836         It is not necessarily an error to ignore strtol's return value.
38837         One can reliably look at the stored endptr to decide whether
38838         the number had valid syntax.
38839
38840 2012-04-21  Andreas Jaeger  <aj@suse.de>
38841
38842         [BZ #13739]
38843         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38844
38845 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
38846
38847         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38848         * sysdeps/unix/sysv/Versions: Remove file.
38849
38850 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
38851
38852         [BZ #13927]
38853         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38854
38855 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
38856
38857         [BZ #7064]
38858         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38859         version from __vm86.
38860
38861 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
38862
38863         * sysdeps/unix/common/lxstat.c: Remove file.
38864         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38865
38866         * sysdeps/unix/sysv/Makefile: Remove file.
38867
38868         * sysdeps/unix/sysv/direct.h: Remove file.
38869
38870         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38871         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38872         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38873         * sysdeps/unix/sysv/bits/signum.h: Likewise.
38874         * sysdeps/unix/sysv/bits/stat.h: Likewise.
38875         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38876         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38877
38878         * sysdeps/unix/sysv/setrlimit.c: Remove file.
38879
38880         * sysdeps/unix/xmknod.c: Remove file.
38881         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38882
38883         * sysdeps/unix/sysv/settimeofday.c: Remove file.
38884
38885         * sysdeps/unix/sysv/i386/time.S: Remove file.
38886
38887         * sysdeps/unix/fxstat.c: Remove file.
38888         * sysdeps/unix/xstat.c: Likewise.
38889         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38890
38891         * sysdeps/unix/sysv/sigaction.c: Remove file.
38892
38893         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
38894         (sysdep_headers): Remove variable.
38895         [termio.h not in sysdep_headers] (generated): Likewise.
38896         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
38897         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38898         * sysdeps/unix/sysv/tcdrain.c: Likewise.
38899         * sysdeps/unix/sysv/tcflow.c: Likewise.
38900         * sysdeps/unix/sysv/tcflush.c: Likewise.
38901         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38902         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38903         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38904         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38905         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38906
38907         * sysdeps/unix/siglist.c: Remove file.
38908
38909         * sysdeps/unix/getppid.S: Remove file.
38910
38911         * sysdeps/unix/mkdir.c: Remove file.
38912         * sysdeps/unix/rmdir.c: Likewise.
38913
38914 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
38915
38916         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38917         ERR_MAX value.
38918         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38919         errlist-compat value.
38920
38921 2012-04-18  David S. Miller  <davem@davemloft.net>
38922
38923         * sysdeps/generic/memcopy.h (reg_char): Delete.
38924         * debug/strcat_chk.c: Use char, not reg_char.
38925         * debug/strcpy_chk.c: Likewise.
38926         * debug/strncat_chk.c: Likewise.
38927         * debug/strncpy_chk.c: Likewise.
38928         * string/memchr.c: Likewise.
38929         * string/memrchr.c: Likewise.
38930         * string/rawmemchr.c: Likewise.
38931         * string/strcat.c: Likewise.
38932         * string/strchr.c: Likewise.
38933         * string/strchrnul.c: Likewise.
38934         * string/strcmp.c: Likewise.
38935         * string/strcpy.c: Likewise.
38936         * string/strncat.c: Likewise.
38937         * string/strncmp.c: Likewise.
38938         * string/strncpy.c: Likewise.
38939
38940 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38941
38942         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38943         __builtin_memcopy is called when src and dest ranges are known to not
38944         overlap.
38945
38946 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38947
38948         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38949         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38950         fwd_align_merge macro call.
38951         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38952         bwd_align_merge macro call.
38953         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38954
38955 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38956
38957         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38958         bwd_align_merge macros.
38959         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38960         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38961         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38962
38963 2012-04-18  David S. Miller  <davem@davemloft.net>
38964
38965         * sysdeps/sparc/sparc64/memcopy.h: Delete.
38966
38967 2012-04-18  Andreas Jaeger  <aj@suse.de>
38968
38969         [BZ# 6794]
38970         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38971         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38972         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38973
38974         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38975         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38976         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38977
38978         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38979         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38980         Adjust for changed ldbl-128 files.
38981
38982         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38983         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38984         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38985
38986 2012-04-17  David S. Miller  <davem@davemloft.net>
38987
38988         * sysdeps/sparc/sparc32/memcopy.h: Delete.
38989
38990 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
38991
38992         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38993         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38994         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38995         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38996         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38997         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38998
38999 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39000
39001         [BZ #6794]
39002         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
39003         * math/libm-test.inc: Add ilogb errno and exception tests.
39004         * math/w_ilogb.c: New file: ilogb wrapper.
39005         * math/w_ilogbf.c: New file: ilogbf wrapper.
39006         * math/w_ilogbl.c: New file: ilogbl wrapper.
39007         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
39008         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
39009         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
39010         exception being thrown with 0.0 as argument.
39011         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
39012         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
39013         exception being thrown with 0.0 as argument.
39014         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
39015         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
39016         exception being thrown with 0.0 as argument.
39017         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
39018         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
39019         exception being thrown with 0.0 as argument.
39020         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
39021         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
39022         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
39023         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
39024         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
39025         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
39026         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
39027         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
39028         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
39029
39030 2012-04-17  Petr Baudis  <pasky@ucw.cz>
39031
39032         * include/sys/uio.h: Change __vector to __iovec to avoid clash
39033         with altivec.
39034
39035 2012-04-16  Marek Polacek  <polacek@redhat.com>
39036
39037         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
39038
39039 2012-04-16  Marek Polacek  <polacek@redhat.com>
39040
39041         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
39042         operands of fdivp instruction.
39043
39044 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
39045
39046         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
39047         * elf/tst-auditmod3b.c: Likewise.
39048         * elf/tst-auditmod4b.c: Likewise.
39049         * elf/tst-auditmod5b.c: Likewise.
39050         * elf/tst-auditmod6b.c: Likewise.
39051         * elf/tst-auditmod6c.c: Likewise.
39052         * elf/tst-auditmod7b.c: Likewise.
39053         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
39054         * sysdeps/x86_64/preconfigure.in: Likewise.
39055         * sysdeps/x86_64/preconfigure: Regenerated.
39056
39057 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
39058
39059         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
39060         __ILP32__.
39061
39062 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
39063
39064         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39065         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
39066
39067 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
39068
39069         [BZ #13973]
39070         * locale/iso-639.def: Fix gl language name. Spotted by
39071         Yaron Shahrabani.
39072
39073 2012-04-12  Roland McGrath  <roland@hack.frob.com>
39074
39075         [BZ #2074]
39076         * libio/libio.h (__io_write_fn): Update comment.
39077
39078 2012-04-12  Petr Baudis  <pasky@ucw.cz>
39079
39080         [BZ #2074]
39081         * stdio.texi (Hook Functions): The user provided writer function
39082         is not allowed to return -1.
39083
39084 2012-04-11  David S. Miller  <davem@davemloft.net>
39085
39086         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39087
39088 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
39089
39090         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
39091         Add a leading slash to rtkaio.
39092
39093 2012-04-11  Jim Meyering  <meyering@redhat.com>
39094
39095         [BZ #11959]
39096         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
39097         It is not necessarily an error to ignore fwrite's return
39098         value.  One can reliably use ferror to test for errors after
39099         the fact.
39100
39101 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
39102
39103         * bits/types.h (__snseconds_t): New type.
39104         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
39105
39106         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
39107         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39108         (__SNSECONDS_T_TYPE): Likewise.
39109         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39110         (__SNSECONDS_T_TYPE): Likewise.
39111         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39112         (__SNSECONDS_T_TYPE): Likewise.
39113
39114 2012-04-10  Andreas Jaeger  <aj@suse.de>
39115
39116         [BZ #2636]
39117         * manual/time.texi (Processor Time): Return type of times is
39118         elapsed real time since an arbitrary point in the past.
39119         (CPU Time): Move CLK_TCK from here...
39120         (Processor Time): ...to here.  Correct description.
39121         * manual/conf.texi (Constants for Sysconf): Correct description of
39122         _SC_CLK_TCK.
39123
39124 2012-04-10  David S. Miller  <davem@davemloft.net>
39125
39126         [BZ #13967]
39127         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
39128         where the is a gap between DT_REL(A) and DT_JMPREL.
39129
39130 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
39131
39132         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
39133         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39134         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39135
39136 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39137
39138         * elf/dl-support.c (_dl_inhibit_cache): New variable.
39139         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
39140         (dl_main): Handle --inhibit-cache.
39141         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
39142         _dl_inhibit_cache.
39143         * elf/dl-load.c (_dl_map_object): Use it.
39144         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
39145
39146 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
39147
39148         [BZ #13872]
39149         * sysdeps/i386/fpu/e_powl.S (p78): New object.
39150         (__ieee754_powl): Saturate large exponents rather than testing for
39151         overflow of y*log2(x).
39152         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39153         * math/libm-test.inc (pow_test): Do not permit spurious overflow
39154         exceptions.
39155
39156         [BZ #11521]
39157         * math/s_ctan.c: Include <float.h>.
39158         (__ctan): Avoid internal overflow or cancellation in calculating
39159         denominator.
39160         * math/s_ctanf.c: Likewise.
39161         * math/s_ctanl.c: Likewise.
39162         * math/s_ctanh.c: Likewise.
39163         * math/s_ctanhf.c: Likewise.
39164         * math/s_ctanhl.c: Likewise.
39165         * math/libm-test.inc (ctan_test): Add more tests.
39166         (ctanh_test): Likewise.
39167         * sysdeps/i386/fpu/libm-test-ulps: Update.
39168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39169
39170 2012-04-09  Andreas Jaeger  <aj@suse.de>
39171
39172         [BZ #6894]
39173         * manual/filesys.texi (Directory Entries): Mention that d_namlen
39174         is an optional BSD extension.
39175
39176         [BZ #10254]
39177         * manual/stdio.texi (Opening Streams): Document additional fopen
39178         parameters.
39179
39180 2012-04-09  Roland McGrath  <roland@hack.frob.com>
39181
39182         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
39183         %eax without telling the compiler.
39184
39185 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
39186
39187         [BZ # 13963]
39188         * manual/install.texi: Use sourceware.org.
39189
39190 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
39191
39192         [BZ #13873]
39193         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
39194         (__ieee754_pow): Generate overflow and underflow using huge*huge
39195         and tiny*tiny rather than just returning constant infinity or zero
39196         for large exponents.
39197         * math/libm-test.inc (pow_test): Require overflow exceptions for
39198         applicable cases of large exponents.
39199
39200         [BZ #706]
39201         * sysdeps/i386/fpu/e_pow.S (p10): New object.
39202         (__ieee754_pow): Use iterative multiplication algorithm only for
39203         integer exponents with absolute value below 1024.  Check for odd
39204         integer exponents when using algorithm for real exponents.
39205         * math/libm-test.inc (pow_test): Add more tests.
39206         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39207
39208 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
39209
39210         [BZ #13705]
39211         * math/libm-test.inc (exp_test): Do not allow overflow exception
39212         on underflow test.
39213
39214 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
39215
39216         [BZ #13705]
39217         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
39218         instead of __kernel_standard_f.
39219
39220 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
39221
39222         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
39223         * sysdeps/x86_64/memset_chk.S: Likewise.
39224
39225 2012-04-08  Andreas Jaeger  <aj@suse.de>
39226
39227         [BZ #10153]
39228         * manual/startup.texi (Environment Access): Describe return value
39229         for putenv and setenv.
39230
39231         [BZ #6895]
39232         * manual/filesys.texi (Directory Entries): Add description for
39233         DT_LNK.
39234
39235         [BZ #6890]
39236         * manual/filesys.texi (Directory Entries): Clarify that it's file
39237         system not operating system in the description of DT_UNKNOWN.
39238
39239         [BZ #6578]
39240         * manual/syslog.texi (closelog): Fix reference, it's openlog.
39241
39242 2012-04-08  Stephen Compall  <s11@member.fsf.org>
39243
39244         [BZ #6649]
39245         * manual/llio.texi (Opening and Closing Files): Add cross
39246         reference to explain mode argument.
39247
39248 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
39249
39250         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
39251         * sysdeps/x86_64/memset_chk.S: Likewise.
39252
39253 2012-04-07  David S. Miller  <davem@davemloft.net>
39254
39255         * elf/elf.h (R_SPARC_WDISP10): Define.
39256         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
39257         R_SPARC_SIZE32.
39258         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
39259         R_SPARC_SIZE64 and R_SPARC_H34.
39260
39261 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
39262
39263         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
39264         conditions and remove no longer applicable assertion.
39265
39266 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
39267
39268         * bits/byteswap.h: Include <features.h>.
39269         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39270         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39271
39272 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
39273
39274         * bits/byteswap.h (__bswap_16): Removed.
39275         Include <bits/byteswap-16.h> to get __bswap_16.
39276         * sysdeps/i386/bits/byteswap.h: Likewise.
39277         * sysdeps/s390/bits/byteswap.h: Likewise.
39278         * sysdeps/x86_64/bits/byteswap.h: Likewise.
39279         * bits/byteswap-16.h: New file.
39280         * sysdeps/i386/bits/byteswap-16.h: Likewise.
39281         * sysdeps/s390/bits/byteswap-16.h: Likewise.
39282         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
39283         * string/Makefile (headers): Add bits/byteswap-16.h.
39284
39285 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
39286
39287         [BZ #13895]
39288         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
39289         extra indirection.
39290         * nss/Makefile (tests-static, tests): Add tst-nss-static.
39291         * nss/tst-nss-static.c: New.
39292
39293 2012-04-06  Robert Millan  <rmh@gnu.org>
39294
39295         [BZ #6486]
39296         * manual/llio.texi (File Position Primitive): lseek
39297         refers to WHENCE when it really means OFFSET.
39298
39299 2012-04-06  Andreas Jaeger  <aj@suse.de>
39300
39301         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
39302         strncmp declarations.
39303
39304         * abilist/libc.abilist: Add __poll and __ppoll.
39305
39306 2012-04-05  David S. Miller  <davem@davemloft.net>
39307
39308         * scripts/check-local-headers.sh: Accept a host triplet in the
39309         path matched by the exclude regexp.
39310
39311         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
39312         definition.
39313         * sysdeps/powerpc/powerpc32/dl-machine.h
39314         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
39315         * sysdeps/s390/s390-32/dl-machine.h
39316         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39317         * sysdeps/sparc/sparc32/dl-machine.h
39318         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39319         * sysdeps/sparc/sparc64/dl-machine.h
39320         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39321
39322         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
39323         lazy binding.
39324         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
39325         undefined symbol errors.
39326
39327         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
39328         DT_NEEDED entries.
39329
39330 2012-04-05  Michael Matz  <matz@suse.de>
39331
39332         [BZ #13592]
39333         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
39334
39335 2012-04-05  Andreas Jaeger  <aj@suse.de>
39336
39337         [BZ #13908]
39338         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
39339         comment.
39340
39341 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39342
39343         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
39344         which ROUND is no valid rounding mode.
39345
39346 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39347
39348         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
39349         read again.
39350         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
39351
39352 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39353
39354         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
39355         an exception using FPU order intentionally.
39356
39357 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39358
39359         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
39360         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
39361         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
39362         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
39363
39364 2012-04-05  Simon Josefsson  <simon@josefsson.org>
39365
39366         [BZ #12340]
39367         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
39368         EINVAL when BUFLEN is too smal.
39369
39370 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
39371
39372         [BZ #13553]
39373         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
39374         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
39375
39376 2012-04-03  Andreas Jaeger  <aj@suse.de>
39377
39378         [BZ #13938]
39379         * manual/setjmp.texi (System V contexts): Fix sentence.
39380
39381         [BZ #13926]
39382         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
39383         New macro for this case.
39384         [!__GNUC__] (__bswap_64): New inline function for this case.
39385         * sysdeps/x86_64/bits/byteswap.h: Likewise.
39386         * bits/byteswap.h: Likewise.
39387         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
39388         ull, guard with __GLIBC_HAVE_LONG_LONG.
39389
39390         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
39391         __GLIBC_HAVE_LONG_LONG.
39392
39393         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
39394         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
39395
39396 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39397
39398         [BZ #13691]
39399         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
39400         inptr and inend, rather than using last_ch.
39401
39402 2012-04-02  David S. Miller  <davem@davemloft.net>
39403
39404         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
39405         * stdio-common/printf-parse.h (read_int): Change return type to
39406         'int', return -1 on INT_MAX overflow.
39407         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
39408         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
39409         overflows INT_MAX.  Check for overflow of in-format-string precision
39410         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
39411         SIZE_MAX not INT_MAX for integer overflow test.
39412         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
39413         skip the construct in the format string but do not record anything.
39414         * stdio-common/bug22.c: Adjust to test both width/prevision
39415         INT_MAX overflow as well as total length INT_MAX overflow.  Check
39416         explicitly for proper errno values.
39417
39418 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
39419
39420         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
39421         CHAR_MAX.
39422         * string/test-strcmp.c [! WIDE]: Likewise.
39423         * time/tst-mktime2.c: Likewise for INT_MAX.
39424         * string/test-string.h: #include <sys/param.h> for MIN.
39425
39426         * csu/init-first.c (__libc_init_first): Call __ctype_init.
39427         * sysdeps/i386/init-first.c (init): Likewise.
39428         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
39429         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
39430         * sysdeps/sh/init-first.c (init): Likewise.
39431
39432 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
39433
39434         * po/ru.po: Update from translation team.
39435         * po/vi.po: Likewise.
39436
39437 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
39438
39439         * resolv/nss_dns/dns-host.c: Merge copyright years.
39440
39441 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39442
39443         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39444         Optimize memcpy with prefetch if
39445         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
39446         src, dst pointers have unequal 16 byte alignments.
39447
39448 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39449
39450         [BZ #13928]
39451         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
39452         from a CNAME entry and return the minimum ttl for the query.
39453         (gaih_getanswer_slice): Likewise.
39454
39455 2012-03-30  Jeff Law  <law@redhat.com>
39456
39457         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
39458         due to long keys.
39459         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
39460         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
39461
39462         * resolv/nss_dns/dns-host.c: Update copyright year.
39463
39464 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
39465
39466         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
39467         requests to save a system call.  Fix check that all bytes are sent.
39468
39469         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
39470         comments for sendmmsg.
39471
39472 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39473
39474         [BZ #13691]
39475         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
39476         with only 1 character between 0x0041 and 0x01b0.
39477         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
39478         * wcsmbs/tst-mbsnrtowcs.c: New file.
39479
39480 2012-03-29  David S. Miller  <davem@davemloft.net>
39481
39482         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
39483         small copies by hand.
39484
39485 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39486
39487         [BZ #13761]
39488         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
39489         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
39490         group memberships.
39491
39492 2012-03-28  David S. Miller  <davem@davemloft.net>
39493
39494         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
39495         that branches into memcpy.
39496         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
39497         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
39498         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39499         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
39500         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
39501         bits.
39502         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
39503         implementation too.
39504         * sysdeps/sparc/mempcpy.S: New file.
39505
39506         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
39507         the IFUNC routine in the libc case.
39508         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39509
39510         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
39511         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
39512         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
39513         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
39514         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
39515         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
39516         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
39517         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
39518
39519         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
39520         loop to 256 bytes instead of 64 bytes and fix test signedness.
39521
39522         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
39523         * sysdeps/sparc/sparc32/Makefile: rather than here...
39524         * sysdeps/sparc/sparc64/Makefile: and here.
39525
39526 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
39527
39528         * malloc/mallocbug.c: Avoid warnings about unused variables.
39529
39530 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
39531
39532         [BZ #13760]
39533         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
39534         in the right place. Discard and retry query if response is
39535         larger than input buffer size.
39536
39537 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
39538
39539         [BZ #369]
39540         [BZ #2678]
39541         [BZ #3866]
39542         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
39543         x for large integer exponent.
39544         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39545         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
39546         sign of result as needed afterwards.
39547         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
39548         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
39549         result for underflowing pow the same as for overflow.
39550         (__kernel_standard_l): Handle powl overflow and underflow here
39551         rather than calling __kernel_standard.
39552         * math/libm-test.inc (pow_test): Add more tests.
39553
39554         [BZ #3868]
39555         [BZ #13879]
39556         [BZ #13910]
39557         [BZ #13911]
39558         [BZ #13912]
39559         [BZ #13913]
39560         [BZ #13915]
39561         [BZ #13916]
39562         [BZ #13917]
39563         [BZ #13918]
39564         [BZ #13919]
39565         [BZ #13920]
39566         [BZ #13921]
39567         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
39568         * sysdeps/ieee754/k_standard.c: Include <float.h>.
39569         (__kernel_standard_l): New function.
39570         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
39571         __kernel_standard.
39572         * math/w_acosl.c (__acosl): Likewise.
39573         * math/w_asinl.c (__asinl): Likewise.
39574         * math/w_atan2l.c (__atan2l): Likewise.
39575         * math/w_atanhl.c (__atanhl): Likewise.
39576         * math/w_coshl.c (__coshl): Likewise.
39577         * math/w_exp10l.c (__exp10l): Likewise.
39578         * math/w_exp2l.c (__exp2l): Likewise.
39579         * math/w_fmodl.c (__fmodl): Likewise.
39580         * math/w_hypotl.c (__hypotl): Likewise.
39581         * math/w_j0l.c (__j0l, __y0l): Likewise.
39582         * math/w_j1l.c (__j1l, __y1l): Likewise.
39583         * math/w_jnl.c (__jnl, __ynl): Likewise.
39584         * math/w_lgammal.c (__lgammal): Likewise.
39585         * math/w_log10l.c (__log10l): Likewise.
39586         * math/w_log2l.c (__log2l): Likewise.
39587         * math/w_logl.c (__logl): Likewise.
39588         * math/w_powl.c (__powl): Likewise.
39589         * math/w_remainderl.c (__remainderl): Likewise.
39590         * math/w_scalbl.c (sysv_scalbl): Likewise.
39591         * math/w_sinhl.c (__sinhl): Likewise.
39592         * math/w_sqrtl.c (__sqrtl): Likewise.
39593         * math/w_tgammal.c (__tgammal): Likewise.
39594         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
39595         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
39596         * math/libm-test.inc (acos_test): Add more tests.
39597         (acosh_test): Likewise.
39598         (asin_test): Likewise.
39599         (atanh_test): Likewise.
39600         (exp_test): Likewise.
39601         (exp10_test): Likewise.
39602         (exp2_test): Likewise.
39603         (expm1_test): Likewise.
39604         (lgamma_test): Likewise.
39605         (log_test): Likewise.
39606         (log10_test): Likewise.
39607         (log1p_test): Likewise.
39608         (log2_test): Likewise.
39609         (pow_test): Do not allow some spurious overflow exceptions.
39610         (sqrt_test): Add more tests.
39611         (tgamma_test): Likewise.
39612         (y0_test): Likewise.
39613         (y1_test): Likewise.
39614         (yn_test): Likewise.
39615
39616 2012-03-27  Anton Blanchard  <anton@samba.org>
39617
39618         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
39619         MAP_HUGETLB.
39620         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39621         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
39622         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39623
39624 2012-03-27  David S. Miller  <davem@davemloft.net>
39625
39626         * conform/Makefile: Run run-conformtest.sh using $(BASH).
39627
39628         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
39629         have-as-vis3 check.
39630
39631 2012-03-27  Andreas Jaeger  <aj@suse.de>
39632
39633         * sysdeps/x86_64/elf/configure.in: Moved to ...
39634         * sysdeps/x86_64/configure.in: ... here.
39635         * sysdeps/x86_64/elf/start.S: Moved to ...
39636         * sysdeps/x86_64/start.S: ... here.
39637         * sysdeps/x86_64/elf/configure: Delete.
39638
39639         * sysdeps/x86_64/configure.in: Merge contents from
39640         sysdeps/i386/configure.in (without i686 check).
39641
39642         * sysdeps/i386/elf/Versions: Merge into ...
39643         * sysdeps/i386/Versions: ... this.
39644         * sysdeps/i386/elf/Versions: Delete file.
39645         * sysdeps/i386/elf/start.S: Moved to ...
39646         * sysdeps/i386/start.S: ...here.
39647         * sysdeps/i386/elf/configure.in: Merge into...
39648         * sysdeps/i386/configure.in: ...here.
39649         * sysdeps/i386/elf/configure.in: Delete file.
39650         * sysdeps/i386/elf/configure: Delete file.
39651
39652         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
39653         * debug/backtracesyms.c: ... here.
39654         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
39655         * debug/backtracesymsfd.c: ... here.
39656         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
39657         * sysdeps/generic/ifunc-sel.h: ... here.
39658
39659         * sysdeps/unix/i386/start.c: Delete file.
39660         * sysdeps/unix/sparc/start.c: Delete file.
39661         * sysdeps/unix/start.c: Delete file.
39662
39663         * sysdeps/sh/elf/configure.in: Moved to ...
39664         * sysdeps/sh/configure.in: ... here.
39665         * sysdeps/sh/elf/start.S: Moved to ...
39666         * sysdeps/sh/start.S: ... here.
39667         * sysdeps/sh/elf/configure: Delete file.
39668
39669         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
39670         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
39671         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
39672         * sysdeps/powerpc/powerpc64/entry.h: ... here.
39673         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
39674         * sysdeps/powerpc/powerpc64/start.S: here.
39675         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
39676         * sysdeps/powerpc/powerpc64/Makefile: ... this.
39677         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
39678         * sysdeps/powerpc/powerpc64/configure.in: ... this.
39679         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
39680
39681         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
39682         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
39683         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
39684         * sysdeps/powerpc/powerpc32/start.S: ... here.
39685         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
39686         * sysdeps/powerpc/powerpc32/configure.in: ... this.
39687         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
39688
39689         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
39690         * sysdeps/powerpc/ifunc-sel.h: ... here.
39691         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
39692         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
39693
39694         * sysdeps/sparc/elf/configure.in: Moved to ...
39695         * sysdeps/sparc/configure.in: ... here.
39696         * sysdeps/sparc/elf/configure: Delete file.
39697         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
39698         * sysdeps/sparc/sparc32/start.S: ... here.
39699         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
39700         * sysdeps/sparc/sparc64/start.S: ... here.
39701         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
39702         * sysdeps/sparc/sparc32/Makefile: ... this.
39703         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
39704         * sysdeps/sparc/sparc64/Makefile: ... this.
39705
39706         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
39707         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
39708         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
39709         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
39710         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
39711         * sysdeps/s390/s390-32/setjmp.S: ... here.
39712         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
39713         * sysdeps/s390/s390-32/configure.in: ... here.
39714         * sysdeps/s390/s390-32/elf/configure: Delete file.
39715         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
39716         * sysdeps/s390/s390-32/start.S: ... here.
39717
39718         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
39719         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
39720         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
39721         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
39722         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
39723         * sysdeps/s390/s390-64/setjmp.S: ... here.
39724         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
39725         * sysdeps/s390/s390-64/configure.in: ... here
39726         * sysdeps/s390/s390-64/elf/configure: Delete file.
39727         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
39728         * sysdeps/s390/s390-64/start.S: ... here.
39729         * sysdeps/s390/s390-64/elf/configure: Delete.
39730
39731         * configure.in: Remove support for elf directories in sysdeps.
39732
39733         * configure: Regenerated.
39734         * sysdeps/i386/configure: Regenerated.
39735         * sysdeps/powerpc/powerpc32/configure: Regenerated.
39736         * sysdeps/powerpc/powerpc64/configure: Regenerated.
39737         * sysdeps/s390/s390-32/configure: Regenerated.
39738         * sysdeps/s390/s390-64/configure: Regenerated.
39739         * sysdeps/sh/configure: Regenerated.
39740         * sysdeps/sparc/configure: Regenerated.
39741         * sysdeps/x86_64/configure: Regenerated.
39742
39743 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
39744
39745         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39746
39747         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
39748         denormal result into account.
39749
39750 2012-03-25  Roland McGrath  <roland@hack.frob.com>
39751
39752         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
39753         Reported by Allan McRae <allan@archlinux.org>.
39754
39755 2012-03-23  Jeff Law  <law@redhat.com>
39756
39757         * nss/getnssent.c (__nss_getent): Fix typo.
39758
39759 2012-03-23  David S. Miller  <davem@davemloft.net>
39760
39761         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39762
39763 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
39764
39765         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
39766         to pad to uint64_t for each field.
39767         (dl_tls_index): Replace unsigned long with uint64_t.
39768
39769 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
39770         Paul Pluzhnikov  <ppluzhnikov@google.com>
39771
39772         [BZ #6528]
39773         * grp/Makefile (otherlibs): Don't set it.
39774         * inet/Makefile (otherlibs): Likewise.
39775         * login/Makefile (otherlibs): Likewise.
39776         * nscd/Makefile (otherlibs): Likewise.
39777         * posix/Makefile (otherlibs): Likewise.
39778         * pwd/Makefile (otherlibs): Likewise.
39779         * rt/Makefile (otherlibs): Likewise.
39780         * sunrpc/Makefile (otherlibs): Likewise.
39781         * nss/Makefile (otherlibs): Likewise.
39782         Add libnss_files to routines and static-only-routines.
39783         ($(objpfx)getent): Remove rule.
39784         * resolv/Makefile: Add libnss_dns and libresolv to routines and
39785         static-only-routines.
39786
39787 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
39788
39789         [BZ #13892]
39790         * math/s_cexp.c: Include <float.h>.
39791         (__cexp): Handle exp result overflowing not necessarily
39792         overflowing both real and imaginary parts of result.
39793         * math/s_cexpf.c: Likewise.
39794         * math/s_cexpl.c: Likewise.
39795         * math/libm-test.inc (cexp_test): Add more tests.
39796         * sysdeps/i386/fpu/libm-test-ulps: Update.
39797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39798
39799 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39800
39801         * include/link.h (ELFW): New macro.
39802         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
39803         Replace ELF64_R_TYPE with ELFW(R_TYPE).
39804
39805 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39806
39807         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
39808         with uint64_t.
39809
39810 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39811
39812         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
39813         declaration.
39814         (struct La_x32_retval): Likewise.
39815
39816 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39817
39818         * sysdeps/x86_64/preconfigure.in: New file.
39819         * sysdeps/x86_64/preconfigure: New generated file.
39820
39821 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
39822
39823         [BZ #13824]
39824         * math/e_exp2l.c: Include <float.h>.
39825         (__ieee754_exp2l): Handle overflow and underflow cases
39826         separately.  Only pass fractional part of argument to
39827         __ieee754_expl.
39828         * math/libm-test.inc (exp2_test): Add more tests.
39829
39830         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39831         negating x to take absolute value.
39832         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39833         Likewise.
39834         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39835         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39836         Likewise.
39837         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39838         computing low part if x was negated.
39839         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39840
39841 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39842
39843         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39844         la_x32_gnu_pltexit.
39845         (pltexit): Cast int_retval to ptrdiff_t.
39846         * elf/tst-auditmod3b.c: Likewise.
39847         * elf/tst-auditmod4b.c: Likewise.
39848         * elf/tst-auditmod5b.c: Likewise.
39849         * elf/tst-auditmod6b.c: Likewise.
39850         * elf/tst-auditmod6c.c: Likewise.
39851         * elf/tst-auditmod7b.c: Likewise.
39852
39853         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39854         and x32_gnu_pltexit.
39855
39856         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39857         __ELF_NATIVE_CLASS.
39858         (La_x32_regs): New macro.
39859         (La_x32_retval): Likewise.
39860         (la_x32_gnu_pltenter): New function prototype.
39861         (la_x32_gnu_pltexit): Likewise.
39862
39863 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
39864
39865         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39866         exponent.
39867
39868         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39869
39870         * configure.in (libc_cv_cc_nofma): Check for option to disable
39871         generation of FMA instructions.
39872         * configure: Regenerate.
39873         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39874         * sysdeps/ieee754/dbl-64/Makefile: New file.
39875         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39876         Remove brandred-fma4.
39877         (CFLAGS-brandred-fma4.c): Remove.
39878         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39879         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39880         define.
39881         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39882         define.
39883
39884 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39885
39886         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39887         LLONG_MAX != LONG_MAX.
39888         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39889         (_fitoa_word): Likewise.
39890         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39891         LLONG_MAX != LONG_MAX.
39892         * stdio-common/_itowa.h: Include <_itoa.h>.
39893         (_itowa_word): Use _ITOA_WORD_TYPE on value.
39894         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
39895         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
39896         only if not defined.
39897         (_ITOA_WORD_TYPE): Likewise.
39898         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39899         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39900
39901 2012-03-21  David S. Miller  <davem@davemloft.net>
39902
39903         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39904
39905 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39906
39907         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39908         of x86_64 when setting libc_cv_slibdir, libdir and
39909         libc_cv_localedir.
39910         * sysdeps/unix/sysv/linux/configure: Regenerated.
39911
39912 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39913
39914         * manual/lang.texi (Old Varargs): Remove section.
39915         (How Variadic): Update menu.
39916         (va_start): Do not mention varargs.h.
39917
39918 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39919             Joseph Myers  <joseph@codesourcery.com>
39920
39921         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39922         link test.
39923         * configure: Regenerated.
39924
39925 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39926
39927         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39928         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39929         conformtest.pl
39930
39931 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39932
39933         * NOTES: Remove.
39934         * Makefile (files-for-dist): Remove NOTES.
39935         (NOTES): Remove rule.
39936         * README: Don't refer to NOTES.
39937         * manual/creature.texi: Don't include macros.texi.
39938         * manual/intro.texi (creature.texi): Remove comment referring to
39939         NOTES.
39940
39941         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39942         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39943         * configure: Regenerated.
39944         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39945         LIBC_TRY_CC_OPTION.
39946         (libc_cv_as_i686): Likewise.
39947         (libc_cv_cc_avx): Likewise.
39948         (libc_cv_cc_sse2avx): Likewise.
39949         (libc_cv_cc_fma4): Likewise.
39950         (libc_cv_cc_novzeroupper): Likewise.
39951         * sysdeps/i386/configure: Regenerated.
39952
39953         [BZ #13883]
39954         * sysdeps/i386/fpu/s_cexp.S: Remove.
39955         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39956         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39957         * math/libm-test.inc (cexp_test): Add more tests.
39958         * sysdeps/i386/fpu/libm-test-ulps: Update.
39959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39960
39961 2012-03-21  Allan McRae  <allan@archlinux.org>
39962
39963         * timezone/Makefile: Do not install iso3166.tab and zone.tab
39964
39965 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39966
39967         [BZ #13871]
39968         * math/w_exp2.c: Do not include <float.h>.
39969         (o_threshold, u_threshold): Remove.
39970         (__exp2): Calculate result before checking finiteness and calling
39971         __kernel_standard.
39972         * math/w_exp2f.c: Likewise.
39973         * math/w_exp2l.c: Likewise.
39974         * math/libm-test.inc (exp2_test): Require overflow exception for
39975         1e6 input.
39976
39977         [BZ #3866]
39978         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39979         range of signed 64-bit integers before using fistpll.  Remove
39980         checks for whether integers fit in mantissa bits.
39981         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39982         the range of signed 32-bit integers before using fistpl.  Remove
39983         checks for whether integers fit in mantissa bits.
39984         * sysdeps/i386/fpu/e_powl.S (p64): New object.
39985         (__ieee754_powl): Test for y outside the range of signed 64-bit
39986         integers before using fistpll.  Reduce 64-bit values to 63-bit
39987         ones as needed.
39988         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39989         divide-by-zero is raised for zero to large negative powers.
39990         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39991         (__ieee754_powl): Test for y outside the range of signed 64-bit
39992         integers before using fistpll.  Reduce 64-bit values to 63-bit
39993         ones as needed.
39994         * math/libm-test.inc (pow_test): Add more tests.
39995
39996 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39997
39998         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39999         <stdio-common/_itoa.h>.
40000         * debug/segfault.c: Likewise.
40001         * elf/dl-cache.c: Likewise.
40002         * elf/dl-minimal.c: Likewise.
40003         * elf/dl-misc.c: Likewise.
40004         * elf/dl-sysdep.c: Likewise.
40005         * elf/dl-version.c: Likewise.
40006         * elf/rtld.c: Likewise.
40007         * hurd/hurdsock.c: Likewise.
40008         * hurd/lookup-retry.c: Likewise.
40009         * malloc/malloc.c: Likewise.
40010         * malloc/mtrace.c: Likewise.
40011         * nscd/nscd_getgr_r.c: Likewise.
40012         * nscd/nscd_getpw_r.c: Likewise.
40013         * nscd/nscd_getserv_r.c: Likewise.
40014         * posix/getopt_init.c: Likewise.
40015         * posix/wordexp.c: Likewise.
40016         * stdio-common/_itoa.c: Likewise.
40017         * stdio-common/printf_fphex.c: Likewise.
40018         * stdio-common/vfprintf.c: Likewise.
40019         * string/_strerror.c: Likewise.
40020         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
40021         * sysdeps/i386/i686/hp-timing.h: Likewise.
40022         * sysdeps/mach/_strerror.c: Likewise.
40023         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
40024         * sysdeps/mach/hurd/sethostid.c: Likewise.
40025         * sysdeps/mach/hurd/xmknodat.c: Likewise.
40026         * sysdeps/mach/xpg-strerror.c: Likewise.
40027         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40028         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40029         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
40030         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
40031         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40032         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
40033         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
40034         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
40035         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
40036         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
40037         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
40038         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
40039         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
40040         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
40041         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
40042         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
40043         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
40044         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
40045         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
40046         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
40047         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
40048
40049         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
40050
40051         * stdio-common/_itoa.h: Moved to ...
40052         * sysdeps/generic/_itoa.h: Here.
40053
40054         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
40055
40056         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
40057         instead of "_itoa.h" and "_itowa.h".
40058         * stdio-common/vfprintf.: Likewise.
40059
40060 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
40061
40062         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
40063         <bits/wordsize.h>.
40064         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
40065         (__signbit): Likwise.
40066         (llrintf): Likwise.
40067         (llrint): Likwise.
40068
40069 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
40070
40071         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
40072         __WORDSIZE != 64.
40073
40074 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
40075
40076         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
40077         OVERFLOW_EXCEPTION_OK.
40078         * math/libm-test.inc ("Philosophy"): Update comment about
40079         exception testing.
40080         (OVERFLOW_EXCEPTION): Define.
40081         (OVERFLOW_EXCEPTION_OK): Likewise.
40082         (INVALID_EXCEPTION_OK): Renumber.
40083         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40084         (IGNORE_ZERO_INF_SIGN): Likewise.
40085         (test_exceptions): Handle FE_OVERFLOW.
40086         (exp10_test): Expect overflow exceptions.
40087         (exp2_test): Likewise.
40088         (expm1_test): Likewise.
40089         (nextafter_test): Likewise.
40090         (pow_test): Likewise.
40091         (scalbn_test): Likewise.
40092         (scalbln_test): Likewise.
40093
40094 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40095
40096         * sysdeps/x86_64/bits/atomic.h
40097         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
40098         64bit integer.
40099         (atomic_exchange_acq): Likewise.
40100         (__arch_exchange_and_add_body): Likewise.
40101         (__arch_add_body): Likewise.
40102         (atomic_add_negative): Likewise.
40103         (atomic_add_zero): Likewise.
40104
40105 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40106
40107         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
40108         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
40109
40110 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40111
40112         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
40113         Check __x86_64__ instead of __WORDSIZE.
40114
40115 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40116
40117         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
40118
40119 2012-03-19  David S. Miller  <davem@davemloft.net>
40120
40121         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40122
40123         * sysdeps/sparc/fpu/fenv_private.h: New file.
40124         * sysdeps/sparc/fpu/math_private.h: Use it.
40125         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
40126         Remove.
40127         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
40128         (libc_feholdexcept_setroundl): Remove.
40129         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
40130         Remove.
40131         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
40132         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
40133
40134 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40135
40136         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
40137         int64_t instead of long int.
40138         (INSERT_WORDS64): Likwise.
40139
40140 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40141
40142         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
40143         _Unwind_GetCFA return to _Unwind_Ptr first.
40144
40145 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
40146
40147         [BZ #13629]
40148         * math/s_clog.c: Include <float.h>.
40149         (__clog): Scale large or subnormal inputs.
40150         * math/s_clogf.c: Likewise.
40151         * math/s_clogl.c: Likewise.
40152         * math/s_clog10.c: Include <float.h>.
40153         (M_LOG10_2): Define.
40154         (__clog10): Scale large or subnormal inputs.
40155         * math/s_clog10f.c: Likewise.
40156         * math/s_clog10l.c: Likewise.
40157         * math/libm-test.inc (clog_test): Add more tests.
40158         (clog10_test): Likewise.
40159         * sysdeps/i386/fpu/libm-test-ulps: Update.
40160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40161
40162         [BZ #11451]
40163         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
40164         x and y.
40165         * math/libm-test.inc (atan2_test): Add another test.
40166
40167         * Makerules (common-objdir-compile): Remove.
40168         * sysdeps/unix/Makefile (config-generated): Do not add
40169         $(unix-generated) to variable.
40170         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
40171         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
40172         Remove rule.
40173         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
40174         Likewise.
40175         [generic bits/local_lim.h] (before-compile): Do not append to
40176         variable.
40177         [generic bits/local_lim.h] (common-generated): Likewise.
40178         [generic sys/param.h] (before-compile): Do not append to variable.
40179         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
40180         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
40181         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
40182         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
40183         include.
40184         [generic sys/param.h] (sys/param.h-includes): Remove variable.
40185         [generic sys/param.h] (sys/param.h-includes): Remove rule.
40186         [generic sys/param.h] ($(addprefix
40187         $(common-objpfx),$(sys/param.h-includes))): Likewise.
40188         [generic sys/param.h] (common-generated): Do not append to
40189         variable.
40190         [generic sys/param.h] (sysdep_headers): Likewise.
40191         [generic bits/errno.h] (before-compile): Do not append to
40192         variable.
40193         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
40194         rule.
40195         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
40196         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
40197         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
40198         [generic bits/errno.h] (common-generated): Do not append to
40199         variable.
40200         [generic bits/ioctls.h] (before-compile): Do not append to
40201         variable.
40202         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
40203         rule.
40204         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
40205         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
40206         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
40207         rule.
40208         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
40209         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
40210         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
40211         [generic bits/ioctls.h] (common-generated): Do not append to
40212         variable.
40213         [generic sys/syscall.h] (syscall.h): Remove variable.
40214         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
40215         rule.
40216         [generic sys/syscall.h] (before-compile): Do not append to
40217         variable.
40218         [generic sys/syscall.h] (common-generated): Likewise.
40219         * sysdeps/unix/errnos-tmpl.c: Remove file.
40220         * sysdeps/unix/errnos.awk: Likewise.
40221         * sysdeps/unix/ioctls-tmpl.c: Likewise.
40222         * sysdeps/unix/ioctls.awk: Likewise.
40223         * sysdeps/unix/mk-local_lim.c: Likewise.
40224         * sysdeps/unix/snarf-ioctls: Likewise.
40225
40226 2012-03-19  Richard Henderson  <rth@twiddle.net>
40227
40228         * sysdeps/i386/fpu/fenv_private.h: New file.
40229         * sysdeps/i386/fpu/math_private.h: Use it.
40230         (math_opt_barrier, math_force_eval): Remove.
40231         (libc_feholdexcept_setround_53bit): Remove.
40232         (libc_feupdateenv_53bit): Remove.
40233         * sysdeps/x86_64/fpu/math_private.h: Likewise.
40234         (math_opt_barrier, math_force_eval): Remove.
40235         (libc_feholdexcept): Remove.
40236         (libc_feholdexcept_setround): Remove.
40237         (libc_fetestexcept, libc_fesetenv): Remove.
40238         (libc_feupdateenv_test): Remove.
40239         (libc_feupdateenv, libc_feholdsetround): Remove.
40240         (libc_feresetround): Remove.
40241
40242         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
40243         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
40244
40245         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
40246         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
40247         (libc_feupdateenv_testl): New.
40248         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
40249         (libc_feupdateenv_testf): New.
40250         (libc_feupdateenv): Use libc_feupdateenv_test.
40251         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
40252         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
40253
40254         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
40255         (libc_feholdsetroundf, libc_feholdsetroundl): New.
40256         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
40257         (libc_feresetround_noex): New.
40258         (libc_feresetround_noexf): New.
40259         (libc_feresetround_noexl): New.
40260         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
40261         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
40262         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
40263         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
40264         SET_RESTORE_ROUND.
40265         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
40266         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
40267         (__cos): Likewise.
40268         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
40269         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
40270         SET_RESTORE_ROUND_NOEX.
40271         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
40272         SET_RESTORE_ROUND_NOEXF.
40273         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
40274         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
40275         (libc_feholdsetroundf): New.
40276         (libc_feresetround, libc_feresetroundf): New.
40277
40278         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
40279         (libc_feholdexcept_setround_53bit): Convert from macro to function.
40280         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
40281
40282         * sysdeps/generic/math_private.h: Include <fenv.h>.
40283         (default_libc_feholdexcept): New.
40284         (default_libc_feholdexcept_setround): New.
40285         (default_libc_fesetenv, default_libc_feupdateenv): New.
40286         (libc_feholdexcept): Only define if undefined.
40287         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
40288         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
40289         (libc_feholdexcept_setroundl): Likewise.
40290         (libc_feholdexcept_setround_53bit): Likewise.
40291         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
40292         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
40293         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
40294         (libc_feupdateenv_53bit): Likewise.
40295         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
40296         (libc_feholdexcept): Convert from macro to inline function.
40297         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
40298         (libc_fesetenv, libc_feupdateenv): Likewise.
40299
40300         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
40301         not previously defined.
40302         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
40303         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
40304         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
40305         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
40306         * sysdeps/ieee754/flt-32/math_private.h: New file.
40307         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
40308         math_private.h below SET_FLOAT_WORD.
40309         (__isnan, __isinf_ns, __finite): Remove.
40310         (__isnanf, __isinf_nsf, __finitef): Remove.
40311
40312 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
40313
40314         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40315
40316 2012-03-17  David S. Miller  <davem@davemloft.net>
40317
40318         [BZ #6471]
40319         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
40320         for 2.16.
40321
40322 2012-03-16  David S. Miller  <davem@davemloft.net>
40323
40324         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
40325         warnings.
40326
40327         [BZ #6471]
40328         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
40329         properly.
40330         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
40331         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
40332         sysdep_routines when subdir is sysvipc.
40333         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
40334         __getshmlba helper.
40335
40336         * sysdeps/sparc/fpu/libm-test/ulps: Update.
40337
40338 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40339
40340         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
40341         [__LP64__].
40342
40343 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40344
40345         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
40346         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
40347         (__lround): Renamed to ...
40348         (__llround): This.  Replace long int with long long int.
40349         Define lround functions as aliases of llround functions.
40350         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
40351
40352 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40353
40354         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
40355         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
40356         adresses to uintptr_t.  Replace "long int" and "unsigned long
40357         int" with "greg_t" on va_arg.
40358
40359 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40360
40361         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
40362         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
40363
40364         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
40365         Move e_machine check before EI_CLASS check.  Handle x32
40366         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
40367         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
40368         SKIP_EM_IA_64 and include
40369         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
40370
40371         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
40372         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
40373         (add_system_dir): New macro.
40374
40375         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
40376         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
40377
40378 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
40379
40380         [BZ #2551]
40381         [BZ #2552]
40382         [BZ #2553]
40383         [BZ #2554]
40384         [BZ #2562]
40385         [BZ #2563]
40386         [BZ #2565]
40387         [BZ #2566]
40388         [BZ #2576]
40389         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
40390         (y0): Likewise.
40391         * math/w_j0f.c (j0f): Likewise.
40392         (y0f): Likewise.
40393         * math/w_j0l.c (__j0l): Likewise.
40394         (__y0l): Likewise.
40395         * math/w_j1.c (j1): Likewise.
40396         (y1): Likewise.
40397         * math/w_j1f.c (j1f): Likewise.
40398         (y1f): Likewise.
40399         * math/w_j1l.c (__j1l): Likewise.
40400         (__y1l): Likewise.
40401         * math/w_jn.c (jn): Likewise.
40402         (yn): Likewise.
40403         * math/w_jnf.c (jnf): Likewise.
40404         (ynf): Likewise.
40405         * math/w_jnl.c (__jnl): Likewise.
40406         (__ynl): Likewise.
40407         * math/libm-test.inc (j0_test): Add more tests.
40408         (j1_test): Likewise.
40409         (jn_test): Likewise.  Add trailing semicolon to existing test.
40410         (y0_test): Likewise.
40411         (y1_test): Likewise.
40412         * sysdeps/i386/fpu/libm-test-ulps: Update.
40413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40414
40415         [BZ #13851]
40416         [BZ #13854]
40417         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
40418         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
40419         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
40420         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
40421         (__tanl): Set errno for infinite argument.
40422         * sysdeps/i386/fpu/mptan.c: Remove.
40423         * sysdeps/i386/fpu/s_tan.S: Likewise.
40424         * sysdeps/i386/fpu/s_tanl.S: Likewise.
40425         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
40426         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
40427         * math/libm-test.inc (tan_test): Add more tests and enable more
40428         tests for double and long double.
40429         * sysdeps/i386/fpu/libm-test-ulps: Update.
40430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40431
40432 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
40433
40434         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
40435         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
40436
40437 2012-03-16  Roland McGrath  <roland@hack.frob.com>
40438
40439         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
40440         * configure.in: Use it for both main tree and add-ons.
40441         * configure: Regenerated.
40442
40443 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40444
40445         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
40446
40447 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
40448
40449         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
40450         in comment.
40451
40452         [BZ #13851]
40453         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
40454         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
40455         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
40456         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
40457         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
40458         infinite argument.
40459         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
40460         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
40461         != 0 for prec == 2.
40462         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
40463         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
40464         * sysdeps/i386/fpu/s_cosl.S: Likewise.
40465         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
40466         * sysdeps/i386/fpu/s_sinl.S: Likewise.
40467         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
40468         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
40469         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
40470         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
40471         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
40472         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
40473         * math/libm-test.inc (cos_test): Add more tests and enable more
40474         tests for long double.
40475         (sin_test): Likewise.
40476         (sincos_test): Likewise.
40477         * sysdeps/i386/fpu/libm-test-ulps: Update.
40478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40479
40480 2012-03-16  David S. Miller  <davem@davemloft.net>
40481
40482         * sysdeps/sparc/fpu/math_private.h: New file.
40483
40484 2012-03-15  David S. Miller  <davem@davemloft.net>
40485
40486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
40487         file.
40488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
40489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
40490         file.
40491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
40492         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
40493         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
40494         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
40495         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
40496         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
40497         sysdep routines.
40498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40499
40500         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
40501         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
40502
40503         * sysdeps/sparc/sparc-ifunc.h: New file.
40504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
40505         sparc-ifunc.h
40506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
40508         Likewise.
40509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
40510         Likewise.
40511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
40512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
40513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40515         Likewise.
40516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
40518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
40520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
40521         Likewise.
40522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
40523         Likewise.
40524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
40526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
40527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
40528         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40529         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40530         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
40531         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
40532         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40533         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40534         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
40535         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
40536         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
40537         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
40538         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
40539         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
40540         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
40541         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
40542         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
40543         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
40544         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
40545         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
40546         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
40547         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
40548
40549 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
40550
40551         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
40552         scaling.
40553         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40554
40555 2012-03-15  Andreas Jaeger  <aj@suse.de>
40556
40557         [BZ #13852]
40558         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
40559         ieee754/flt-32 implementation for sin, cos and sincos.
40560         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
40561         * sysdeps/i386/fpu/s_cosf.S: Likewise.
40562         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
40563         * sysdeps/i386/fpu/s_sinf.S: Likewise.
40564         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
40565         ieee754/flt-32 implementation for tan.
40566
40567         * math/libm-test.inc (cos_test): Enable some large input tests for
40568         float as well
40569         (sin_test): Likewise.
40570         (sincos_test): Likewise.
40571         (tan_test): Add tests for large input.
40572
40573         * sysdeps/i386/fpu/libm-test-ulps: Update.
40574
40575 2012-03-15  Andreas Jaeger  <aj@suse.de>
40576
40577         [BZ #13658]
40578         * math/libm-test.inc (cos_test): Add more test cases.
40579         (sin_test): Likewise.
40580         (sincos_test): Likewise.
40581
40582 2012-03-15  Andreas Jaeger  <aj@suse.de>
40583
40584         [BZ #13837]
40585         * math/libm-test.inc (cos_test): Add a test case for large input
40586         value.
40587         (sin_test): Likewise.
40588         (sincos_test): Likewise.
40589
40590 2012-03-15  Andreas Jaeger  <aj@suse.de>
40591             Joseph Myers  <joseph@codesourcery.com>
40592
40593         [BZ #13658]
40594         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
40595         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
40596         * sysdeps/i386/fpu/branred.c: Likewise.
40597         * sysdeps/i386/fpu/dosincos.c: Likewise.
40598         * sysdeps/i386/fpu/mpa.c: Likewise.
40599         * sysdeps/i386/fpu/s_cos.S: Likewise.
40600         * sysdeps/i386/fpu/s_sin.S: Likewise.
40601         * sysdeps/i386/fpu/s_sincos.S: Likewise.
40602         * sysdeps/i386/fpu/sincos32.c: Likewise.
40603
40604         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
40605         Define.
40606         (libc_feupdateenv_53bit): Define.
40607         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
40608         Define.
40609         (libc_feupdateenv_53bit): Define.
40610
40611         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
40612         53 bit (without extend i386 double precision).
40613
40614         * math/libm-test.inc (sincos_test): Add tests for large input.
40615         (sin): Likewise.
40616         (cos): Likewise.
40617
40618         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40619
40620 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
40621
40622         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40623
40624 2012-03-15  David S. Miller  <davem@davemloft.net>
40625
40626         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
40627         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
40628         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
40629         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
40630         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
40631         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
40632         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
40633         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
40634         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
40635         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
40636         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
40637         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
40638         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
40639         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
40640         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
40641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
40642         file.
40643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
40644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
40645         file.
40646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
40647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
40648         file.
40649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
40650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
40651         file.
40652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
40653         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
40654         fmin/fmax sysdep routines.
40655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40656
40657 2012-03-14  David S. Miller  <davem@davemloft.net>
40658
40659         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
40660         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
40661         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
40662         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
40663         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
40664         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
40665         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
40666         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
40667         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
40668         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
40669         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
40670         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
40671         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
40672         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
40673         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
40674         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
40675         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
40676         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
40677         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
40678         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
40679         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
40680         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
40681         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
40682         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
40683         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
40684         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
40685         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
40686         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
40687         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
40688         routines.
40689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
40690         file.
40691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
40692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
40693         file.
40694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
40695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
40696         file.
40697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
40698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
40699         file.
40700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
40701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
40702         file.
40703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
40704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
40705         file.
40706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
40707         file.
40708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
40709         file.
40710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
40711         file.
40712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
40713         New file.
40714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
40715         file.
40716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
40717         file.
40718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
40719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
40720         file.
40721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
40722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
40723         file.
40724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
40725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
40726         file.
40727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
40728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
40729         VIS3 routines.
40730
40731         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40732         New file.
40733
40734         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40735
40736         * sysdeps/sparc/configure.in: New file.
40737         * sysdeps/sparc/configure: Generate.
40738         * configure.in (libc_cv_sparc_as_vis3): Substitute.
40739         * configure: Regenerate.
40740         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
40741         * config.make.in (have-as-vis3): New.
40742         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
40743         available use -Av9d instead of -Av9a.
40744         * sysdeps/sparc/sparc64/Makefile: Likewise.
40745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
40746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
40747         New file.
40748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
40749         file.
40750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
40751         New file.
40752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
40753         file.
40754         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
40755         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
40756         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
40757         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
40758         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
40759
40760         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
40761         fzeros/fnegs to load 0x80000000 into a float register instead of
40762         using the stack.
40763         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
40764
40765 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
40766
40767         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40768         bits/syscall.h.
40769         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
40770         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
40771         ($(inst_includedir)/bits/syscall.h): Remove rule.
40772         ($(objpfx)bits/syscall.d): Include instead of
40773         $(objpfx)syscall-list.d.
40774         (generated): Change syscall-list.h and syscall-list.d to
40775         bits/syscall.h and bits/syscall.d.
40776
40777 2012-03-14  Roland McGrath  <roland@hack.frob.com>
40778
40779         [BZ #13846]
40780         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
40781
40782 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
40783
40784         [BZ #13841]
40785         * math/s_csqrt.c: Include <float.h>.
40786         (__csqrt): Scale large or subnormal inputs.
40787         * math/s_csqrtf.c: Likewise.
40788         * math/s_csqrtl.c: Likewise.
40789         * math/libm-test.inc (csqrt_test): Add more tests.
40790         * sysdeps/i386/fpu/libm-test-ulps: Update.
40791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40792
40793         [BZ #13840]
40794         * math/libm-test.inc (hypot_test): Add more tests.
40795
40796 2012-03-13  David S. Miller  <davem@davemloft.net>
40797
40798         [BZ #13840]
40799         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
40800         double-precision for the calculation instead of scaling.
40801
40802 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
40803
40804         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
40805         manipulate bits before adding and subtracting TWO52[sx].
40806         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
40807         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
40808         Likewise.
40809         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
40810
40811 2012-03-13  David S. Miller  <davem@davemloft.net>
40812
40813         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
40814         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
40815         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
40816         rtld-global-offsets.h
40817         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40818
40819         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40820         large parameters.
40821
40822         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40823
40824         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40825         'err' in the ifdef scope in which it is actually used.
40826
40827         * nss/nss_db/db-init.c: Include string.h
40828
40829 2012-03-12  David S. Miller  <davem@davemloft.net>
40830
40831         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40832         masking out of the most significant byte of random value used.
40833         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40834         Fix coding style in previous change.
40835
40836         * sysdeps/unix/sysv/linux/kernel-features.h
40837         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40838         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40839         expression.
40840         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40841         later.
40842
40843 2012-03-11  David S. Miller  <davem@davemloft.net>
40844
40845         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40846         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40847         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40848         for 'resultvar' otherwise things get truncated on 64-bit.
40849
40850         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40851         Fix masking out of the most significant byte of random value used.
40852
40853         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40854
40855 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
40856
40857         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40858
40859 2012-03-09  David S. Miller  <davem@davemloft.net>
40860
40861         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40862         variables with appropriate CPP guards.
40863         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40864         from the frame pointer, not the stack pointer.  Correct layout
40865         comments.  Fix test on resulting framesize and the management of
40866         the outregs buffer for pltexit.  Preserve floating point return
40867         values across _dl_call_pltexit call.
40868         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40869         framesize and the management of the outregs buffer for pltexit.
40870         Preserve floating point return values across _dl_call_pltexit
40871         call.
40872         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40873         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40874         (la_sparc64_gnu_pltexit): New functions.
40875         (print_exit): Fix format string for return register value.
40876
40877 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
40878
40879         * sunrpc/Makefile (others): Add rpcgen.
40880         ($(objpfx)rpcgen): Remove special build rule and dependency on
40881         libc.
40882         * sunrpc/rpcgen.c: New file.
40883
40884 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
40885
40886         [BZ #13673]
40887         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40888         * stdio-common/bug-vfprintf-nargs.c: Likewise.
40889         * sysdeps/i386/crti.S: Likewise.
40890         * sysdeps/i386/crtn.S: Likewise.
40891         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40892         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40893         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
40894         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
40895         * sysdeps/sh/crti.S: Likewise.
40896         * sysdeps/sh/crtn.S: Likewise.
40897         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40898
40899         [BZ #13673]
40900         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40901         with URL.
40902         * locale/programs/locfile-kw.gperf: Likewise.
40903         * locale/programs/charmap-kw.h: Regenerated.
40904         * locale/programs/locfile-kw.h: Likewise.
40905
40906         [BZ #13673]
40907         * intl/plural.y: Replace FSF snail mail address with URL.
40908         * intl/plural.c: Regenerated.
40909
40910 2012-03-09  Richard Henderson  <rth@twiddle.net>
40911
40912         * include/math_private.h: Remove file.
40913         * math/math_private.h: Move file ...
40914         * sysdeps/generic/math_private.h: ... here.
40915
40916         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40917         * sysdeps/powerpc/fpu/math_private.h: Likewise.
40918         * sysdeps/x86_64/fpu/math_private.h: Likewise.
40919
40920         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
40921         and <math_private.h>.
40922         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40923         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40924         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40925         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40926         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40927         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40928         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40929         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40930         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40931         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40932         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40933         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40934         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40935         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40936         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40937         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40938         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40939         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40940         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40941         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40942         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40943         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40944         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40945         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40946         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40947         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40948         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40949         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40950         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40951         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40952         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40953         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40954         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40955         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40956         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40957         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40958         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40959         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40960         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40961         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40962         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40963         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40964         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40965         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40966         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40967         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40968         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40969         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40970         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40971         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40972         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40973         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40974         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40975         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40976         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40977         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40978         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40979         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40980         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40981         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40982         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40983         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40984         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40985         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40986         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40987         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40988         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40989         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40990         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40991         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40992         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40993         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40994         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40995         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40996         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40997         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40998         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40999         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41000         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
41001         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
41002         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
41003         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
41004         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
41005         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41006         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41007         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
41008         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
41009         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
41010         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41011         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41012         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41013         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41014         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41015         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41016         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41017         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41018         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41019         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41020         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41021         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41022         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41023         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41024         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41025         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41026         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41027         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41028         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41029         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41030         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41031         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41032         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41033         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41034         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41035         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41036         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
41037         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41038         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41039         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41040         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41041         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41042         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41043         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41044         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41045         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
41046         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41047         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41048         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41049         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
41050         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41051         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
41052         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
41053         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41054         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41055         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
41056         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
41057         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41058         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41059         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41060         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
41061         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41062         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41063         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41064         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41065         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
41066         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
41067         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41068         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41069         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41070         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
41071         * sysdeps/ieee754/k_standard.c: Likewise.
41072         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41073         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41074         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41075         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41076         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41077         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41078         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41079         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41080         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41081         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41082         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41083         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41084         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41085         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41086         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41087         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41088         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
41089         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41090         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41091         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
41092         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
41093         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
41094         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41095         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41096         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
41097         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
41098         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41099         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41100         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41101         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41102         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
41103         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41104         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41105         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41106         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
41107         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41108         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41109         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
41110         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
41111         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41112         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
41113         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
41114         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
41115         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41116         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
41117         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
41118         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41119         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41120         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41121         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41122         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41123         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
41124         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41125         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
41126         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41127         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41128         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
41129         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
41130         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41131         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41132         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41133         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
41134         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41135         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41136         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41137         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41138         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41139         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41140         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41141         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41142         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41143         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41144         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41145         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41146         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41147         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41148         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
41149         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41150         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41151         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
41152         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
41153         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
41154         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41155         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41156         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
41157         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41158         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41159         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
41160         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41161         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41162         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
41163         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41164         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
41165         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
41166         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41167         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41168         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
41169         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
41170         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
41171         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
41172         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41173         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41174         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41175         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41176         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
41177         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41178         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41179         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
41180         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
41181         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41182         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41183         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41184         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41185         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41186         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41187         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41188         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41189         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41190         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41191         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41192         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41193         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41194         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41195         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41196         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41197         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
41198         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41199         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41200         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41201         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41202         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41203         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41204         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41205         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
41206         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41207         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41208         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
41209         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
41210         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41211         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
41212         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
41213         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41214         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
41215         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
41216         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41217         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41218         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41219         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41220         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41221         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
41222         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41223         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41224         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41225         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41226         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
41227         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
41228         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41229         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41230         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41231         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
41232         * sysdeps/ieee754/s_lib_version.c: Likewise.
41233         * sysdeps/ieee754/s_matherr.c: Likewise.
41234         * sysdeps/ieee754/s_signgam.c: Likewise.
41235         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41236         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41237         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
41238         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
41239         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
41240         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41241         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
41242         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
41243         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
41244         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
41245         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
41246         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
41247         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41248         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41249         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
41250         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
41251         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41252         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
41253         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41254         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41255         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41256
41257 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
41258
41259         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
41260         * sunrpc/rpc_main.c: Likewise.
41261         * sunrpc/rpc_svcout.c: Likewise.
41262
41263 2012-03-09  David S. Miller  <davem@davemloft.net>
41264
41265         * include/math_private.h: New file.
41266
41267 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
41268
41269         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
41270         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
41271         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
41272         from <bits/socket_type.h>.
41273         (enum __socket_type): Don't define here.
41274         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
41275         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41276         bits/socket_type.h.
41277
41278         [BZ #13566]
41279         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
41280         checking __USE_GNU.
41281
41282         * Makerules ($(inst_includedir)/%.h): New rule.
41283         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
41284         (install-others): Remove variable setting.
41285         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
41286
41287 2012-03-08  Richard Henderson  <rth@twiddle.net>
41288
41289         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
41290         from macro to inline function; merge with the
41291         !__LIBC_INTERNAL_MATH_INLINES version.
41292         (__ieee754_sqrtf): Likewise.
41293
41294         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
41295         to inline function.
41296         (__rintf, __floor, __floorf): Likewise.
41297
41298         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
41299         macro to inline function.
41300         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
41301
41302         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
41303         not <math/math_private.h>.
41304
41305 2012-03-08  David S. Miller  <davem@davemloft.net>
41306
41307         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
41308         copyright year.
41309         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
41310
41311 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
41312
41313         * resolv/gai_misc.c (handle_requests): Fix struct timespec
41314         normalization.
41315         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
41316         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
41317
41318 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
41319
41320         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
41321         be defined individually, they must be defined as a block.  Define
41322         S for printing a string instead of hidint the different by using a
41323         macro for adding the 'l'.
41324         * stdio-common/tst-fphex-wide.c: Adjust.
41325
41326 2012-03-07  Marek Polacek  <polacek@redhat.com>
41327
41328         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
41329
41330 2012-03-08  Marek Polacek  <polacek@redhat.com>
41331
41332         [BZ #13806]
41333         * stdio-common/Makefile (tests): Add tst-fphex-wide.
41334         * stdio-common/tst-fphex.c: Define a few macros to make the
41335         test reusable.  Use them.
41336         * stdio-common/tst-fphex-wide.c: New file.
41337
41338 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
41339
41340         [BZ #6911]
41341         * manual/macros.texi (gnusystems): New macro.
41342         (nongnusystems): Likewise.
41343         (gnulinuxhurdsystems): Likewise.
41344         (gnuhurdsystems): Likewise..
41345         (gnulinuxsystems): Likewise.
41346         * manual/charset.texi: Use new macros or @theglibc{} to refer to
41347         variants of the GNU system, not "GNU system".
41348         * manual/conf.texi: Likewise.
41349         * manual/errno.texi: Likewise.  Update example of errno macro
41350         expansion.
41351         * manual/filesys.texi: Likewise.
41352         (getumask): Document as specific to GNU/Hurd.
41353         * manual/install.texi: Likewise.  Reword some references to
41354         GNU/Linux.
41355         * manual/intro.texi: Likewise.
41356         * manual/io.texi: Likewise.
41357         (File Name Portability): Detail which constraints are inapplicable
41358         to all GNU systems and which are only inapplicable to GNU/Hurd.
41359         * manual/job.texi: Likewise.
41360         * manual/llio.texi: Likewise.
41361         (O_NOCTTY): Document as present on GNU/Linux.
41362         * manual/maint.texi: Likewise.
41363         * manual/memory.texi: Likewise.
41364         * manual/pattern.texi: Likewise.
41365         * manual/pipe.texi: Likewise.
41366         * manual/process.texi: Likewise.
41367         * manual/resource.texi: Likewise.
41368         (RUSAGE_CHILDREN): Remove statement about specifying a particular
41369         child on GNU/Hurd.
41370         * manual/setjmp.texi: Likewise.
41371         * manual/signal.texi: Likewise.
41372         * manual/startup.texi: Likewise.
41373         * manual/stdio.texi: Likewise.
41374         * manual/terminal.texi: Likewise.
41375         (ONLCR): Document as POSIX.
41376         (OXTABS): Document availability on GNU/Linux as XTABS.
41377         (ONOEOT): Document availability separately from other bits.
41378         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
41379         * manual/time.texi: Likewise.
41380         * manual/users.texi: Likewise.
41381         * INSTALL: Regenerated.
41382         * sysdeps/gnu/errlist.c: Regenerated.
41383
41384         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
41385         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
41386         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
41387         puts.
41388         * configure: Regenerated.
41389
41390 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
41391
41392         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
41393         default includes instead of AC_HEADER_CHECK.
41394         * sysdeps/i386/configure: Regenerated.
41395
41396         [BZ #10716]
41397         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
41398         * math/s_cacoshf.c (__cacoshf): Likewise.
41399         * math/s_cacoshl.c (__cacoshl): Likewise.
41400         * math/s_casinh.c (__casinh): Set signs of result from argument.
41401         * math/s_casinhf.c (__casinhf): Likewise.
41402         * math/s_casinhl.c (__casinhl): Likewise.
41403         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
41404         (casinh_test): Add more tests.
41405         * sysdeps/i386/fpu/libm-test-ulps: Update.
41406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41407
41408 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
41409
41410         * po/zh_TW.po: Update from translation team.
41411
41412         * login/Makefile (distribute): Remove variable.
41413         * catgets/Makefile: Likewise.
41414         * mach/Makefile: Likewise.
41415         * malloc/Makefile: Likewise.
41416         * misc/Makefile: Likewise.
41417         * iconv/Makefile: Likewise.
41418         * nscd/Makefile: Likewise.
41419         * hurd/Makefile: Likewise.
41420         * manual/Makefile: Likewise.
41421         * locale/Makefile: Likewise.
41422         * intl/Makefile: Likewise.
41423         * conform/Makefile: Likewise.
41424         * nss/Makefile: Likewise.
41425         * time/Makefile: Likewise.
41426         * soft-fp/Makefile: Likewise.
41427         * dirent/Makefile: Likewise.
41428         * gmon/Makefile: Likewise.
41429         * po/Makefile: Likewise.
41430         * rt/Makefile: Likewise.
41431         * socket/Makefile: Likewise.
41432         * math/Makefile: Likewise.
41433         * signal/Makefile: Likewise.
41434         * debug/Makefile: Likewise.
41435         * elf/Makefile: Likewise.
41436         * timezone/Makefile: Likewise.
41437         * stdlib/Makefile: Likewise.
41438         * iconvdata/Makefile: Likewise.
41439         * sunrpc/Makefile: Likewise.
41440         * io/Makefile: Likewise.
41441         * argp/Makefile: Likewise.
41442         * inet/Makefile: Likewise.
41443         * hesiod/Makefile: Likewise.
41444         * grp/Makefile: Likewise.
41445         * csu/Makefile: Likewise.
41446         * wctype/Makefile: Likewise.
41447         * crypt/Makefile: Likewise.
41448         * libio/Makefile: Likewise.
41449         * string/Makefile: Likewise.
41450         * nis/Makefile: Likewise.
41451         * resolv/Makefile: Likewise.
41452         * stdio-common/Makefile: Likewise.
41453         * wcsmbs/Makefile: Likewise.
41454         * dlfcn/Makefile: Likewise.
41455         * posix/Makefile: Likewise.
41456
41457         [BZ #6959]
41458         * timezone/Makefile: Don't install timezone files, just the programs
41459         and scripts.
41460
41461 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
41462
41463         * nss/databases.def: Add missing gshadow entry.
41464
41465         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
41466
41467 2012-03-06  Marek Polacek  <polacek@redhat.com>
41468
41469         [BZ #13726]
41470         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
41471         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
41472         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
41473         * stdio-common/tst-long-dbl-fphex.c: New file.
41474
41475 2012-03-06  David S. Miller  <davem@davemloft.net>
41476
41477         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41478         (set_obp_int): New function.
41479         (get_obp_int): New function.
41480         (__get_clockfreq_via_dev_openprom): Likewise.
41481         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
41482         Avoid unused variable warnings on 'val' and use builtin_expect.
41483         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
41484         __builtin_expect.
41485         (INLINE_CLONE_SYSCALL): Likewise.
41486
41487 2012-03-05  David S. Miller  <davem@davemloft.net>
41488
41489         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41490
41491 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
41492
41493         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41494
41495         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
41496         only for |x| >= 40.
41497         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41498
41499 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
41500
41501         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
41502         Replace gettimeofday with __vdso_gettimeofday.
41503
41504         * sysdeps/unix/sysv/linux/x86_64/init-first.c
41505         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
41506         __vdso_clock_gettime and __vdso_getcpu.
41507
41508         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
41509         time with __vdso_time.
41510
41511 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
41512
41513         * manual/lang.texi (size_t): Note types to which size_t may be
41514         equivalent with the GNU C Library, but do not describe when
41515         differences between them are significant.
41516
41517 2012-03-05  Andreas Jaeger  <aj@suse.de>
41518
41519         * sysdeps/i386/fpu/libm-test-ulps: Update.
41520
41521 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
41522
41523         [BZ #3976]
41524         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
41525         (__ieee754_pow): Save and restore rounding mode and use
41526         round-to-nearest for main computations.
41527         * math/libm-test.inc (pow_test_tonearest): New function.
41528         (pow_test_towardzero): Likewise.
41529         (pow_test_downward): Likewise.
41530         (pow_test_upward): Likewise.
41531         (main): Call the new functions.
41532         * sysdeps/i386/fpu/libm-test-ulps: Update.
41533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41534
41535         [BZ #3976]
41536         * math/libm-test.inc (cosh_test_tonearest): New function.
41537         (cosh_test_towardzero): Likewise.
41538         (cosh_test_downward): Likewise.
41539         (cosh_test_upward): Likewise.
41540         (sinh_test_tonearest): Likewise.
41541         (sinh_test_towardzero): Likewise.
41542         (sinh_test_downward): Likewise.
41543         (sinh_test_upward): Likewise.
41544         (main): Call the new functions.
41545         * sysdeps/i386/fpu/libm-test-ulps: Update.
41546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41547
41548 2012-03-05  Tom de Vries  <tom@codesourcery.com>
41549
41550         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
41551         default stack guard is set in last bytes.
41552         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
41553
41554 2012-03-05  Kees Cook  <keescook@chromium.org>
41555
41556         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
41557
41558         [BZ #13656]
41559         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
41560         possibly allocate from heap instead of stack.
41561         * stdio-common/bug-vfprintf-nargs.c: New file.
41562         * stdio-common/Makefile (tests): Add nargs overflow test.
41563
41564 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
41565
41566         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41567
41568 2012-03-03  Marek Polacek  <polacek@redhat.com>
41569
41570         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
41571         * math/math_private.h: Likewise.
41572         * stdlib/tst-strtod.c: Likewise.
41573         * sysdeps/i386/i486/bits/atomic.h: Likewise.
41574         * sysdeps/x86_64/bits/atomic.h: Likewise.
41575
41576 2012-03-02  David S. Miller  <davem@davemloft.net>
41577
41578         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
41579         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
41580         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
41581         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
41582         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
41583         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
41584         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
41585         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
41586
41587 2012-03-02  Roland McGrath  <roland@hack.frob.com>
41588
41589         [BZ #13792]
41590         * manual/examples/README: New file, says the example source files
41591         can be used under GPL>=2.
41592         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
41593         line containing just "*/".
41594         * manual/examples/add.c: Add copyright header (GPL>=2).
41595         * manual/examples/argp-ex1.c: Likewise.
41596         * manual/examples/argp-ex2.c: Likewise.
41597         * manual/examples/argp-ex3.c: Likewise.
41598         * manual/examples/argp-ex4.c: Likewise.
41599         * manual/examples/atexit.c: Likewise.
41600         * manual/examples/db.c: Likewise.
41601         * manual/examples/dir.c: Likewise.
41602         * manual/examples/dir2.c: Likewise.
41603         * manual/examples/execinfo.c: Likewise.
41604         * manual/examples/filecli.c: Likewise.
41605         * manual/examples/filesrv.c: Likewise.
41606         * manual/examples/fmtmsgexpl.c: Likewise.
41607         * manual/examples/genpass.c: Likewise.
41608         * manual/examples/inetcli.c: Likewise.
41609         * manual/examples/inetsrv.c: Likewise.
41610         * manual/examples/isockad.c: Likewise.
41611         * manual/examples/longopt.c: Likewise.
41612         * manual/examples/memopen.c: Likewise.
41613         * manual/examples/memstrm.c: Likewise.
41614         * manual/examples/mkfsock.c: Likewise.
41615         * manual/examples/mkisock.c: Likewise.
41616         * manual/examples/mygetpass.c: Likewise.
41617         * manual/examples/pipe.c: Likewise.
41618         * manual/examples/popen.c: Likewise.
41619         * manual/examples/rprintf.c: Likewise.
41620         * manual/examples/search.c: Likewise.
41621         * manual/examples/select.c: Likewise.
41622         * manual/examples/setjmp.c: Likewise.
41623         * manual/examples/sigh1.c: Likewise.
41624         * manual/examples/sigusr.c: Likewise.
41625         * manual/examples/stpcpy.c: Likewise.
41626         * manual/examples/strdupa.c: Likewise.
41627         * manual/examples/strftim.c: Likewise.
41628         * manual/examples/strncat.c: Likewise.
41629         * manual/examples/subopt.c: Likewise.
41630         * manual/examples/swapcontext.c: Likewise.
41631         * manual/examples/termios.c: Likewise.
41632         * manual/examples/testopt.c: Likewise.
41633         * manual/examples/testpass.c: Likewise.
41634         * manual/examples/timeval_subtract.c: Likewise.
41635
41636         [BZ #13792]
41637         * manual/time.texi (Elapsed Time): Move timeval_subtract example
41638         function to ...
41639         * manual/timeval_subtract.c.texi: ... here, new file.
41640
41641 2012-03-02  David S. Miller  <davem@davemloft.net>
41642
41643         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
41644
41645 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
41646
41647         [BZ #3976]
41648         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
41649         (__sin): Save and restore rounding mode and use round-to-nearest
41650         for all computations.
41651         (__cos): Save and restore rounding mode and use round-to-nearest
41652         for all computations.
41653         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
41654         <fenv.h>.
41655         (tan): Save and restore rounding mode and use round-to-nearest for
41656         all computations.
41657         * math/libm-test.inc (cos_test_tonearest): New function.
41658         (cos_test_towardzero): Likewise.
41659         (cos_test_downward): Likewise.
41660         (cos_test_upward): Likewise.
41661         (sin_test_tonearest): Likewise.
41662         (sin_test_towardzero): Likewise.
41663         (sin_test_downward): Likewise.
41664         (sin_test_upward): Likewise.
41665         (tan_test_tonearest): Likewise.
41666         (tan_test_towardzero): Likewise.
41667         (tan_test_downward): Likewise.
41668         (tan_test_upward): Likewise.
41669         (main): Call the new functions.
41670         * sysdeps/i386/fpu/libm-test-ulps: Update.
41671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41672
41673         [BZ #10135]
41674         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
41675         small n, then large n, before computing and testing k+n.
41676         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41677         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
41678         Likewise.
41679         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
41680         Likewise.
41681         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
41682         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
41683         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
41684         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
41685         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
41686         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
41687         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
41688         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
41689         * math/libm-test.inc (scalbn_test): Add more tests.
41690         (scalbln_test): Likewise.
41691
41692         * manual/filesys.texi (mode_t): Describe constraints on size and
41693         signedness, not exact equivalence to a particular type.
41694         (ino_t): Likewise.
41695         (ino64_t): Likewise.
41696         (dev_t): Likewise.
41697         (nlink_t): Likewise.
41698         (blkcnt_t): Likewise.
41699         (blkcnt64_t): Likewise.
41700         * manual/llio.texi (off_t): Likewise.
41701
41702         [BZ #3976]
41703         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
41704         (__ieee754_exp): Save and restore rounding mode and use
41705         round-to-nearest for all computations.
41706         * math/libm-test.inc (exp_test_tonearest): New function.
41707         (exp_test_towardzero): Likewise.
41708         (exp_test_downward): Likewise.
41709         (exp_test_upward): Likewise.
41710         (main): Call the new functions.
41711         * sysdeps/i386/fpu/libm-test-ulps: Update.
41712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41713
41714 2012-03-01  Chris Demetriou  <cgd@google.com>
41715
41716         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
41717         have predictable order.
41718
41719 2012-03-01  David S. Miller  <davem@davemloft.net>
41720
41721         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
41722
41723         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
41724         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
41725         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
41726         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
41727
41728         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
41729         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
41730         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
41731         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
41732         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
41733         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
41734         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
41735         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
41736         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
41737
41738         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41739
41740         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
41741         * sysdeps/sparc/fpu/libm-test-ulps: to here.
41742         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
41743
41744         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
41745         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41746         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41747         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
41748         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
41749         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
41750         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
41751         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41752         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41753         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
41754         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
41755         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41756         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41757         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41758         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41759         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41760         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
41761         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
41762         * sysdeps/sparc/elf/configure: Regenerated.
41763
41764 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
41765
41766         * configure.in (AS, LD): Require binutils 2.20 or later.
41767         * configure: Regenerated.
41768         * manual/install.texi (Tools for Compilation): Give binutils 2.20
41769         as required minimum version.
41770         * INSTALL: Regenerated.
41771
41772         [BZ #2541]
41773         [BZ #4108]
41774         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
41775         before squaring exponent.
41776         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
41777         bottom long double and 27 bits of top long double before squaring
41778         exponent.
41779         * math/libm-test.inc (erfc_test): Add more tests.
41780         * sysdeps/i386/fpu/libm-test-ulps: Update.
41781         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41783
41784 2012-03-01  Kai Tietz  <ktietz@redhat.com>
41785
41786         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
41787         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
41788         containing bit-fields.
41789         * soft-fp/extended.h (_FP_UNION_E): Likewise.
41790         * soft-fp/single.h (_FP_UNION_S): Likewise.
41791         * soft-fp/double.h (_FP_UNION_D): Likewise.
41792
41793 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
41794
41795         [BZ #13786]
41796         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
41797         not include ../strcmp.S.
41798         [USE_AS_STRNCASECMP_L]: Likewise.
41799         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
41800         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
41801         * sysdeps/i386/i686/multiarch/strncase_l-c.c
41802         (__strncasecmp_l_ia32): Define as alias to
41803         __strncasecmp_l_nonascii.
41804
41805         [BZ #5794]
41806         * math/libm-test.inc (expm1_test): Add test for bug 5794.
41807         * sysdeps/i386/fpu/libm-test-ulps: Update.
41808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41809
41810         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
41811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41812
41813 2012-02-29  Jeff Law  <law@redhat.com>
41814
41815         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
41816         out of bounds read.
41817
41818 2012-02-29  Marek Polacek  <polacek@redhat.com>
41819
41820         [BZ #13706]
41821         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41822         * elf/Makefile: Add rules to run tst-unused-dep.out.
41823
41824 2012-02-28  David S. Miller  <davem@davemloft.net>
41825
41826         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41827         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41828         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41829         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41830         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41831         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41832
41833 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
41834
41835         * math/libm-test.inc (llround_test): Move one test from
41836         lround_test.  Use TEST_f_L in moved test.
41837         (lround_test): Move misplaced test to llround_test.  Add testcase
41838         from bug 2561.
41839
41840 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
41841
41842         * sysdeps/x86_64/fpu/e_expf.S: New file.
41843         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41844
41845 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
41846
41847         [BZ #13637]
41848         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41849         of remain_len that may cause incomplete multi-byte character and
41850         false match.
41851         * posix/bug-regex33.c: New file.
41852         * posix/Makefile (tests): Add bug-regex33.
41853
41854 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
41855
41856         * manual/macros.texi: New file.
41857         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41858         * manual/libc.texinfo: Include macros.texi.
41859         * manual/creatute.texi: Likewise.
41860         * manual/install.texi: Likewise.
41861         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41862         @glibcadj{} in references to the GNU C Library.
41863         * manual/charset.texi: Likewise.
41864         * manual/conf.texi: Likewise.
41865         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
41866         when not using those macros.
41867         * manual/creature.texi: Likewise.
41868         * manual/crypt.texi: Likewise.
41869         * manual/errno.texi: Likewise.
41870         * manual/filesys.texi: Likewise.
41871         * manual/header.texi: Likewise.
41872         * manual/install.texi: Likewise.
41873         * manual/intro.texi: Likewise.
41874         * manual/io.texi: Likewise.
41875         * manual/job.texi: Likewise.
41876         * manual/lang.texi: Likewise.
41877         * manual/libc.texiinfo: Likewise.
41878         * manual/llio.texi: Likewise.
41879         * manual/locale.texi: Likewise.
41880         * manual/maint.texi: Likewise.
41881         * manual/math.texi: Likewise.
41882         * manual/memory.texi: Likewise.
41883         * manual/message.texi: Likewise.
41884         * manual/nss.texi: Likewise.
41885         * manual/pattern.texi: Likewise.
41886         * manual/process.texi: Likewise.
41887         * manual/resource.texi: Likewise.
41888         * manual/search.texi: Likewise.
41889         * manual/setjmp.texi: Likewise.
41890         * manual/signal.texi: Likewise.
41891         * manual/socket.texi: Likewise.
41892         * manual/startup.texi: Likewise.
41893         * manual/stdio.texi: Likewise.
41894         * manual/string.texi: Likewise.
41895         * manual/sysinfo.texi: Likewise.
41896         * manual/syslog.texi: Likewise.
41897         * manual/terminal.texi: Likewise.
41898         * manual/time.texi: Likewise.
41899         * manual/users.texi: Likewise.
41900         * INSTALL: Regenerated.
41901         * NOTES: Regenerated.
41902         * sysdeps/gnu/errlist.c: Regenerated.
41903
41904 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
41905
41906         * include/dirent.h: Include <dirstream.h> before
41907         <dirent/dirent.h>.
41908
41909 2012-02-28  David S. Miller  <davem@davemloft.net>
41910
41911         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41912         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41913         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41914         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41915
41916 2012-02-27  David S. Miller  <davem@davemloft.net>
41917
41918         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41919         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41920         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41921         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41922
41923         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41924         frame pointer instead of stack pointer relative arg slot.
41925         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41926         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41927         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41928
41929 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
41930
41931         [BZ #3992]
41932         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41933
41934 2012-02-27  David S. Miller  <davem@davemloft.net>
41935
41936         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41937         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41938         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41939         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41940         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41941         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41942         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41943         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41944
41945 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
41946
41947         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41948         later.  Allow versions 5-9.
41949         * configure: Regenerated.
41950         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41951         required minimum version and 4.6 as recommended version.  Do not
41952         mention bugs in GCC 2.7 and 2.8.
41953         * INSTALL: Regenerated.
41954
41955 2012-02-27  David S. Miller  <davem@davemloft.net>
41956
41957         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41958         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41959         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41960         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41961         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41962         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41963         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41964         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41965
41966         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41967         manipulate bits before adding and subtracting TWO112[sx].
41968         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41969
41970 2012-02-27  Roland McGrath  <roland@hack.frob.com>
41971
41972         [BZ #13775]
41973         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41974         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41975         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41976         being in POSIX, because they are in 1003.1-2008.
41977
41978         * rt/tst-aio.c: Include <fcntl.h>.
41979         * rt/tst-aio7.c: Likewise.
41980         * rt/tst-aio64.c: Likewise.
41981
41982         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41983
41984 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
41985
41986         * manual/install.texi (--with-headers): Describe headers as
41987         interface headers, not private headers.
41988         (Specific advice for GNU/Linux systems): Describe use of headers
41989         from "make headers_install", not private headers from older
41990         kernels.
41991         * INSTALL: Regenerated.
41992         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41993         Change to 2.6.19.
41994         * sysdeps/unix/sysv/linux/configure: Regenerated.
41995
41996         * manual/llio.texi (fclean): Remove documentation.
41997
41998         * manual/Makefile (libc-texi-generated): New variable.  Include
41999         version.texi.
42000         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
42001         $(libc-texi-generated), not duplicated list of files.
42002         (version.texi, stamp-version): New rules.
42003         (realclean): Remove $(libc-texi-generated), not individual files
42004         from that list.  Do not remove dir-add.texinfo.
42005         * manual/libc.texinfo: Comment out uses of edition numbers and
42006         references to printed manual.  Remove last-updated dates.
42007         (EDITION): Comment out.
42008         (ISBN): Likewise.
42009         (VERSION, UPDATED): Remove.
42010         (version.texi): Include.
42011
42012 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
42013
42014         * sysdeps/posix/spawni.c: Include <signal.h>.
42015         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
42016         * sysdeps/pthread/aio_fsync.c: Likewise.
42017
42018 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
42019
42020         * conform/Makefile (tests): Run only when not cross-compiling and
42021         when fast-check is not defined.
42022
42023         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
42024         * conform/data/limits.h-data: Fixes for POSIX2008.
42025         * conform/run-conformtest.sh: Run all tests.
42026         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
42027         headers.
42028         * include/bits/dlfcn.h: Likewise.
42029         * include/langinfo.h: Likewise.
42030         * include/monetary.h: Likewise.
42031         * include/sys/poll.h: Likewise.
42032
42033         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
42034         for __USE_GNU.
42035         * posix/spawn.h: Define __need_sigset_t.
42036         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
42037         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
42038         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
42039         to get sigevent_t only.
42040         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
42041         only for __USE_GNU.
42042         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42043         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42044         process_vm_writev only for __USE_GNU.
42045         * termios/termios.h: Declare tcgetsid also for POSIX2008.
42046
42047         * conform/Makefile: For now ignore errors from run-conformtest.
42048         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
42049         POSIX to avoid namespace pollution.  Don't prepend headers.
42050         * conform/data/aio.h-data: Fixes for POSIX testing.
42051         * conform/data/fcntl.h-data: Likewise.
42052         * conform/data/glob.h-data: Likewise.
42053         * conform/data/grp.h-data: Likewise.
42054         * conform/data/pthread.h-data: Likewise.
42055         * conform/data/pwd.h-data: Likewise.
42056         * conform/data/signal.h-data: Likewise.
42057         * conform/data/spawn.h-data: Likewise.
42058         * conform/data/stdio.h-data: Likewise.
42059         * conform/data/stdlib.h-data: Likewise.
42060         * conform/data/stropts.h-data: Likewise.
42061         * conform/data/sys/mman.h-data: Likewise.
42062         * conform/data/sys/stat.h-data: Likewise.
42063         * conform/data/sys/types.h-data: Likewise.
42064         * conform/data/sys/wait.h-data: Likewise.
42065         * conform/data/time.h-data: Likewise.
42066         * conform/data/unistd.h-data: Likewise.
42067         * conform/data/utime.h-data: Likewise.
42068
42069         * io/sys/stat.h: fchmod was always in POSIX.
42070         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
42071         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
42072         * rt/aio.h: Define __need_timespec before including <time.h>.
42073         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
42074         struct.  Add forward declaration of pthread_attr_t and use it in
42075         sigevent.
42076         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42077         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42078         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
42079         always remove CLK_TCK definition.
42080
42081 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
42082
42083         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
42084
42085 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
42086
42087         * conform/run-conformtest.sh: New file.
42088         * conform/Makefile: Run run-conformtest for tests.
42089         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
42090         support.
42091
42092         * conform/data/uchar.h-data: New file.
42093         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
42094         * conform/data/arpa/inet.h-data: Likewise.
42095         * conform/data/assert.h-data: Likewise.
42096         * conform/data/complex.h-data: Likewise.
42097         * conform/data/cpio.h-data: Likewise.
42098         * conform/data/ctype.h-data: Likewise.
42099         * conform/data/dirent.h-data: Likewise.
42100         * conform/data/dlfcn.h-data: Likewise.
42101         * conform/data/errno.h-data: Likewise.
42102         * conform/data/fcntl.h-data: Likewise.
42103         * conform/data/float.h-data: Likewise.
42104         * conform/data/fmtmsg.h-data: Likewise.
42105         * conform/data/fnmatch.h-data: Likewise.
42106         * conform/data/ftw.h-data: Likewise.
42107         * conform/data/glob.h-data: Likewise.
42108         * conform/data/grp.h-data: Likewise.
42109         * conform/data/iconv.h-data: Likewise.
42110         * conform/data/inttypes.h-data: Likewise.
42111         * conform/data/langinfo.h-data: Likewise.
42112         * conform/data/libgen.h-data: Likewise.
42113         * conform/data/limits.h-data: Likewise.
42114         * conform/data/locale.h-data: Likewise.
42115         * conform/data/math.h-data: Likewise.
42116         * conform/data/monetary.h-data: Likewise.
42117         * conform/data/mqueue.h-data: Likewise.
42118         * conform/data/ndbm.h-data: Likewise.
42119         * conform/data/net/if.h-data: Likewise.
42120         * conform/data/netdb.h-data: Likewise.
42121         * conform/data/netinet/in.h-data: Likewise.
42122         * conform/data/nl_types.h-data: Likewise.
42123         * conform/data/poll.h-data: Likewise.
42124         * conform/data/pthread.h-data: Likewise.
42125         * conform/data/pwd.h-data: Likewise.
42126         * conform/data/regex.h-data: Likewise.
42127         * conform/data/sched.h-data: Likewise.
42128         * conform/data/search.h-data: Likewise.
42129         * conform/data/semaphore.h-data: Likewise.
42130         * conform/data/setjmp.h-data: Likewise.
42131         * conform/data/signal.h-data: Likewise.
42132         * conform/data/spawn.h-data: Likewise.
42133         * conform/data/stdarg.h-data: Likewise.
42134         * conform/data/stdio.h-data: Likewise.
42135         * conform/data/stdlib.h-data: Likewise.
42136         * conform/data/string.h-data: Likewise.
42137         * conform/data/strings.h-data: Likewise.
42138         * conform/data/stropts.h-data: Likewise.
42139         * conform/data/sys/ipc.h-data: Likewise.
42140         * conform/data/sys/mman.h-data: Likewise.
42141         * conform/data/sys/msg.h-data: Likewise.
42142         * conform/data/sys/resource.h-data: Likewise.
42143         * conform/data/sys/select.h-data: Likewise.
42144         * conform/data/sys/sem.h-data: Likewise.
42145         * conform/data/sys/shm.h-data: Likewise.
42146         * conform/data/sys/socket.h-data: Likewise.
42147         * conform/data/sys/stat.h-data: Likewise.
42148         * conform/data/sys/statvfs.h-data: Likewise.
42149         * conform/data/sys/time.h-data: Likewise.
42150         * conform/data/sys/timeb.h-data: Likewise.
42151         * conform/data/sys/times.h-data: Likewise.
42152         * conform/data/sys/types.h-data: Likewise.
42153         * conform/data/sys/uio.h-data: Likewise.
42154         * conform/data/sys/un.h-data: Likewise.
42155         * conform/data/sys/utsname.h-data: Likewise.
42156         * conform/data/sys/wait.h-data: Likewise.
42157         * conform/data/syslog.h-data: Likewise.
42158         * conform/data/tar.h-data: Likewise.
42159         * conform/data/termios.h-data: Likewise.
42160         * conform/data/utime.h-data: Likewise.
42161         * conform/data/utmpx.h-data: Likewise.
42162         * conform/data/varargs.h-data: Likewise.
42163         * conform/data/wchar.h-data: Likewise.
42164         * conform/data/wctype.h-data: Likewise.
42165         * conform/data/wordexp.h-data: Likewise.
42166
42167         * include/stropts.h: New file.
42168         * include/uchar.h: New file.
42169         * include/aio.h: Changes to allow conformtest.pl to use the headers.
42170         * include/assert.h: Likewise.
42171         * include/ctype.h: Likewise.
42172         * include/dirent.h: Likewise.
42173         * include/dlfcn.h: Likewise.
42174         * include/fcntl.h: Likewise.
42175         * include/fnmatch.h: Likewise.
42176         * include/glob.h: Likewise.
42177         * include/grp.h: Likewise.
42178         * include/libio.h: Likewise.
42179         * include/locale.h: Likewise.
42180         * include/math.h: Likewise.
42181         * include/net/if.h: Likewise.
42182         * include/netdb.h: Likewise.
42183         * include/netinet/in.h: Likewise.
42184         * include/pthread.h: Likewise.
42185         * include/pwd.h: Likewise.
42186         * include/regex.h: Likewise.
42187         * include/sched.h: Likewise.
42188         * include/search.h: Likewise.
42189         * include/setjmp.h: Likewise.
42190         * include/signal.h: Likewise.
42191         * include/stdio.h: Likewise.
42192         * include/stdlib.h: Likewise.
42193         * include/string.h: Likewise.
42194         * include/sys/cdefs.h: Likewise.
42195         * include/sys/mman.h: Likewise.
42196         * include/sys/msg.h: Likewise.
42197         * include/sys/resource.h: Likewise.
42198         * include/sys/select.h: Likewise.
42199         * include/sys/socket.h: Likewise.
42200         * include/sys/stat.h: Likewise.
42201         * include/sys/statvfs.h: Likewise.
42202         * include/sys/time.h: Likewise.
42203         * include/sys/times.h: Likewise.
42204         * include/sys/uio.h: Likewise.
42205         * include/sys/utsname.h: Likewise.
42206         * include/sys/wait.h: Likewise.
42207         * include/termios.h: Likewise.
42208         * include/time.h: Likewise.
42209         * include/ulimit.h: Likewise.
42210         * include/unistd.h: Likewise.
42211         * include/utime.h: Likewise.
42212         * include/wchar.h: Likewise.
42213         * include/wctype.h: Likewise.
42214         * include/wordexp.h: Likewise.
42215
42216         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
42217
42218         * time/time.h: TIME_UTC must be a macro.
42219         Make timespec_get available for ISO C11 only as well.
42220
42221 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
42222
42223         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
42224         Reported by Peng Haitao <penght@cn.fujitsu.com>.
42225
42226 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
42227
42228         * configure.in: Use -o not -a in test for unsupported multi-arch.
42229
42230 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
42231
42232         * manual/texinfo.tex: Update to version 2012-01-19.16.
42233
42234 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
42235
42236         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
42237
42238 2012-02-24  Roland McGrath  <roland@hack.frob.com>
42239
42240         [BZ #13738]
42241         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
42242         * manual/fdl-1.3.texi: New file.
42243         * manual/fdl-1.1.texi: File removed.
42244
42245         [BZ #13738]
42246         * manual/libc.texinfo (FDL_VERSION): New @set.
42247         Use it for mention of FDL in cover text.
42248         (Documentation License): Use it in @include file name.
42249
42250 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42251             Roland McGrath  <roland@hack.frob.com>
42252
42253         [BZ #5461]
42254         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
42255         (not LONG_LONG_MAX and LONG_LONG_MIN.
42256         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
42257         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
42258         name.
42259         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
42260
42261 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42262
42263         [BZ #2547]
42264         [BZ #11365]
42265         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
42266         manipulate bits before adding and subtracting TWO23[sx].
42267         * math/libm-test.inc (nearbyint_test): Add more tests.
42268
42269 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42270
42271         [BZ #2548]
42272         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
42273         bits before adding and subtracting TWO23[sx].
42274         * math/libm-test.inc (rint_test): Add more tests.
42275         (rint_test_tonearest): Likewise.
42276         (rint_test_towardzero): Likewise.
42277         (rint_test_downward): Likewise.
42278         (rint_test_upward: Likewise.
42279
42280 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42281
42282         [BZ #10110]
42283         * include/stdc-predef.h: New file.  Extracted from features.h.
42284         * include/features.h: Include stdc-predef.h.
42285         * Makefile (headers): Add stdc-predef.h.
42286         * CONFORMANCE (Compiler limitations): Update.
42287
42288 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42289
42290         * manual/libc.texinfo (VERSION, UPDATED): Revert.
42291
42292 2012-02-21  David S. Miller  <davem@davemloft.net>
42293
42294         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
42295         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42296
42297 2012-02-20  David S. Miller  <davem@davemloft.net>
42298
42299         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
42300         using a normal save/restore sequence, rather than allocating a
42301         dummy stack frame just to store a frame pointer and restore.
42302         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42303
42304 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
42305
42306         * manual/install.texi: Fix stray word in line-wrapped comment.
42307
42308 2012-02-20  David S. Miller  <davem@davemloft.net>
42309
42310         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
42311         both binutils and gcc support GOTDATA.
42312
42313         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
42314         "rd %pc" in the PIC register setup sequences.
42315
42316         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
42317         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
42318         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42319         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
42320         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42321         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42322         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42323         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42324         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
42325         (SYSCALL_ERROR_HANDLER): Likewise.
42326         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42327         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42328         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
42329         (SYSCALL_ERROR_HANDLER): Likewise.
42330
42331         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
42332         (HAVE_GCC_GOTDATA): New.
42333         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
42334         relocation support in both binutils and gcc.
42335         * sysdeps/sparc/elf/configure: Regenerate.
42336
42337         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
42338         * sysdeps/sparc/sparc32/elf/configure: Delete.
42339         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
42340         * sysdeps/sparc/sparc64/elf/configure: Delete.
42341         * sysdeps/sparc/elf/configure.in: New file.
42342         * sysdeps/sparc/elf/configure: Generate.
42343
42344         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
42345         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
42346         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42347         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
42348         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
42349
42350 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
42351
42352         * manual/install.texi: Do not mention specific glibc version
42353         numbers.
42354         * manual/libc.texinfo (VERSION, UPDATED): Update.
42355         (@copying): Use @copyright{} and range of years.
42356
42357 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
42358
42359         [BZ #13695]
42360         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
42361         [crti.S not in sysdirs] (generated): Do not append.
42362         [crti.S not in sysdirs] (omit-deps): Likewise.
42363         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
42364         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
42365         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
42366         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
42367         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
42368         Likewise.
42369         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
42370         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
42371         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
42372         * csu/defs.awk: Remove file.
42373         * sysdeps/generic/initfini.c: Likewise.
42374         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
42375         variable.
42376         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
42377         Likewise.
42378
42379 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
42380
42381         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
42382         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
42383         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
42384         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
42385         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42386         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
42387         <bits/epoll.h>.
42388         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
42389         (__EPOLL_PACKED): Define to empty if not defined by
42390         <bits/epoll.h>.
42391         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
42392         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42393         bits/epoll.h.
42394
42395 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
42396
42397         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
42398         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
42399         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
42400         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
42401         <bits/timerfd.h>.
42402         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
42403         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42404         bits/timerfd.h.
42405
42406 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
42407
42408         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
42409         in C locale.
42410         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42411         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42412         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
42413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42414
42415 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
42416
42417         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42418         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42419
42420 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
42421
42422         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
42423         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
42424         defined.
42425         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
42426         Likewise.
42427         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
42428         entry for 2.16.
42429
42430 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
42431
42432         * math/w_acos.c: Use non-signaling floating-point comparisons.
42433         * math/w_acosf.c: Likewise.
42434         * math/w_acosh.c: Likewise.
42435         * math/w_acoshf.c: Likewise.
42436         * math/w_acoshl.c: Likewise.
42437         * math/w_acosl.c: Likewise.
42438         * math/w_asin.c: Likewise.
42439         * math/w_asinf.c: Likewise.
42440         * math/w_asinl.c: Likewise.
42441         * math/w_atanh.c: Likewise.
42442         * math/w_atanhf.c: Likewise.
42443         * math/w_atanhl.c: Likewise.
42444         * math/w_exp2.c: Likewise.
42445         * math/w_exp2f.c: Likewise.
42446         * math/w_exp2l.c: Likewise.
42447         * math/w_j0.c: Likewise.
42448         * math/w_j0f.c: Likewise.
42449         * math/w_j0l.c: Likewise.
42450         * math/w_j1.c: Likewise.
42451         * math/w_j1f.c: Likewise.
42452         * math/w_j1l.c: Likewise.
42453         * math/w_jn.c: Likewise.
42454         * math/w_jnf.c: Likewise.
42455         * math/w_log.c: Likewise.
42456         * math/w_log10.c: Likewise.
42457         * math/w_log10f.c: Likewise.
42458         * math/w_log10l.c: Likewise.
42459         * math/w_log2.c: Likewise.
42460         * math/w_log2f.c: Likewise.
42461         * math/w_log2l.c: Likewise.
42462         * math/w_logf.c: Likewise.
42463         * math/w_logl.c: Likewise.
42464         * math/w_sqrt.c: Likewise.
42465         * math/w_sqrtf.c: Likewise.
42466         * math/w_sqrtl.c: Likewise.
42467         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42468         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
42469         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42470         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42471         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42472
42473 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42474
42475         [BZ #9739]
42476         * manual/string.texi (strnlen): Use correct parameter name in
42477         equivalent expression.
42478
42479 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42480
42481         [BZ #11174]
42482         * manual/users.texi (seteuid): Consistently use neweuid for
42483         argument name.
42484
42485 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42486
42487         [BZ #13704]
42488         * manual/nss.texi (Services in the NSS configuration): Correct
42489         list of services in example configuration file.
42490
42491 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
42492
42493         [BZ #11322]
42494         * manual/arith.texi: Remove statements about negative zero
42495         behaving identically to zero.
42496
42497 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
42498
42499         [BZ #5993]
42500         * manual/install.texi: Do not document upgrading from libc5.
42501
42502 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
42503
42504         [BZ #4596]
42505         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
42506
42507 2012-02-18  David S. Miller  <davem@davemloft.net>
42508
42509         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
42510         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
42511         %o7 across the call.
42512         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
42513         instead.
42514         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
42515         SETUP_PIC_REG_LEAF.
42516         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42517         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
42518         * sysdeps/sparc/crtn.S: Likewise.
42519
42520 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
42521
42522         * aout/Makefile: Remove.
42523
42524 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
42525
42526         [BZ #13058]
42527         * manual/examples/argp-ex1.c (main): Format definition in GNU
42528         style.
42529         * manual/examples/argp-ex2.c (main): Likewise.
42530         * manual/examples/argp-ex3.c (main): Likewise.
42531         * manual/examples/argp-ex4.c (main): Likewise.
42532         * manual/examples/longopt.c (main): Use new-style prototype
42533         definition.
42534         * manual/examples/strncat.c (main): Specify return type and use
42535         (void) for arguments.
42536         * manual/examples/subopt.c (main): Use char **argv argument.
42537
42538 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42539
42540         [BZ #5077]
42541         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
42542         rounding modes.
42543
42544 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
42545
42546         [BZ #6907]
42547         * manual/string.texi (strchr): Change when strchrnul is
42548         recommended.
42549
42550 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
42551
42552         [BZ #174]
42553         * manual/locale.texi (setlocale): Document LOCPATH.
42554
42555 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42556
42557         [BZ #10210]
42558         * manual/process.texi (execle): Move @dots{} before last argument.
42559
42560 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
42561
42562         [BZ #12047]
42563         * manual/charset.texi (Generic Charset Conversion): Fix typo
42564         (LC_TYPE -> LC_CTYPE).
42565
42566 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
42567
42568         [BZ #5805]
42569         * manual/arith.texi (scalbn): Use @var{} on parameter names.
42570         (scalbnf): Likewise.
42571         (scalbnl): Likewise.
42572         (scalbln): Likewise.
42573         (scalblnf): Likewise.
42574         (scalblnl): Likewise.
42575         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
42576         (vwarnx): Likewise.
42577         (verr): Likewise.
42578         (verrx): Likewise.
42579         * manual/filesys.texi (telldir): Use braces around return type.
42580         * manual/llio.texi (mmap): Add space after comma.
42581         (mmap64): Likewise.
42582         * manual/math.texi (jn): Use @var{} on parameter names.
42583         (jnf): Likewise.
42584         (jnl): Likewise.
42585         (yn): Likewise.
42586         (ynf): Likewise.
42587         (ynl): Likewise.
42588         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
42589         line.
42590         * manual/resource.texi (ulimit): Use @dots{} instead of literal
42591         "...".
42592         (sched_get_priority_min): Remove semicolon on @deftypefun line.
42593         (sched_get_priority_max): Likewise.
42594         * manual/signal.texi (sigvec): Add space after comma.
42595         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
42596         names.
42597         (if_indextoname): Likewise.
42598         (if_freenameindex): Likewise.
42599         (sendto): Use ',' instead of '.' in prototype.
42600         * manual/startup.texi (syscall): Use @dots{} instead of literal
42601         "...".
42602         * manual/stdio.texi (__fpending): Separate initial words of
42603         paragraph from @deftypefun line.
42604         * manual/syslog.texi (syslog): Use @dots{} instead of literal
42605         "...".
42606         (vsyslog): Use @var{} on parameter names.
42607         * manual/terminal.texi (stty): Use @var{} on parameter names.
42608         * manual/users.texi (getutmp): Use @var{} on parameter names.
42609         (getutmpx): Likewise.
42610
42611 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42612
42613         [BZ #6884]
42614         * manual/stdio.texi (fopen): Fix typos in description of
42615         ",ccs=STRING".
42616
42617 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
42618
42619         [BZ #4026]
42620         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
42621         get clock_id definition.
42622
42623 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
42624
42625         [BZ #4822]
42626         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
42627         (madvise): Cast every argument to void on its own.
42628
42629 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42630
42631         [BZ #9902]
42632         * manual/startup.texi (Exit Status): Fix typo.
42633
42634 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42635
42636         [BZ #10140]
42637         * manual/examples/argp-ex1.c: Include <stdlib.h>.
42638         * manual/examples/argp-ex2.c: Likewise.
42639         * manual/examples/argp-ex3.c: Likewise.
42640
42641 2012-02-16  Richard Henderson  <rth@redhat.com>
42642
42643         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
42644         * sysdeps/s390/s390-32/initfini.c: Remove.
42645         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
42646         * sysdeps/s390/s390-64/initfini.c: Remove.
42647
42648 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42649
42650         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
42651         compiler output for sysdeps/generic/initfini.c.
42652         * sysdeps/sh/elf/initfini.c: Remove file.
42653
42654 2012-02-16  David S. Miller  <davem@davemloft.net>
42655
42656         [BZ #11494]
42657         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
42658
42659         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
42660         * sysdeps/sparc/crti.S: New file.
42661         * sysdeps/sparc/crtn.S: New file.
42662         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
42663         * sysdeps/sparc/sparc64/Makefile: Likewise.
42664
42665 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
42666
42667         [BZ #3335]
42668         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
42669
42670 2012-02-15  Roland McGrath  <roland@hack.frob.com>
42671
42672         [BZ #4822]
42673         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
42674
42675         * mach/devstream.c (cookie_io_functions_t): Macro removed.
42676         (write, read, close): Likewise.
42677         Patch by Aurelien Jarno <aurelien@aurel32.net>.
42678
42679 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
42680
42681         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
42682         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
42683         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
42684         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
42685         <bits/signalfd.h>.
42686         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
42687         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42688         bits/signalfd.h.
42689
42690 2012-02-14  Marek Polacek  <polacek@redhat.com>
42691
42692         * sysdeps/x86_64/crti.S: New file.
42693         * sysdeps/x86_64/crtn.S: New file.
42694         * sysdeps/x86_64/elf/initfini.c: Remove file.
42695
42696 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
42697
42698         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
42699         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
42700         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
42701         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
42702         <bits/inotify.h>.
42703         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
42704         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42705         bits/inotify.h.
42706
42707 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
42708
42709         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
42710         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
42711         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
42712         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
42713         <bits/eventfd.h>.
42714         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
42715         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42716         bits/eventfd.h.
42717
42718 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
42719
42720         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
42721         __feraiseexcept instead of feraiseexcept.
42722
42723         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
42724         nanosleep invocations.
42725         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
42726         strings, and add error checking for a nanosleep invocations.
42727
42728 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
42729
42730         Replace FSF snail mail address with URLs, as per GNU coding standards.
42731         Most of the snail mail addresses were wrong anyway, and omitting
42732         them makes the source code easier to maintain.  Almost all of the
42733         changes are to license notices and to locale LC_IDENTIFICATION
42734         addresses, except for this one:
42735         * manual/libc.texinfo: In "Published by", give the FSF's URL,
42736         not its snail mail address.
42737
42738 2012-02-09  Richard Henderson  <rth@twiddle.net>
42739
42740         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
42741         of kernel-features.h.
42742
42743         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
42744
42745 2012-02-08  Marek Polacek  <polacek@redhat.com>
42746
42747         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
42748         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
42749         * sysdeps/gnu/_G_config.h: Likewise.
42750         * sysdeps/generic/_G_config.h: Likewise.
42751
42752 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
42753
42754         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
42755         tests.
42756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42757
42758         * sysdeps/powerpc/powerpc32/crti.S: New file.
42759         * sysdeps/powerpc/powerpc32/crtn.S: New file.
42760         * sysdeps/powerpc/powerpc64/crti.S: New file.
42761         * sysdeps/powerpc/powerpc64/crtn.S: New file.
42762
42763         * Makeconfig (have-initfini): Don't set.
42764         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
42765         * configure.in (nopic_initfini): Don't substitute.
42766         * config.h.in (HAVE_INITFINI): Don't #undef.
42767         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
42768         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
42769
42770 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
42771
42772         Support crti.S and crtn.S provided directly by architectures.
42773         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
42774         [crti.S in sysdirs] (omit-deps): Likewise.
42775         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
42776         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
42777         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
42778         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
42779         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
42780         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
42781         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
42782         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
42783         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
42784         compiler output for sysdeps/generic/initfini.c.
42785         * sysdeps/i386/elf/Makefile: Remove file.
42786         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
42787
42788 2012-02-07  Marek Polacek  <polacek@redhat.com>
42789
42790         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
42791         * sysdeps/gnu/_G_config.h: Likewise.
42792         * sysdeps/mach/hurd/_G_config.h: Likewise.
42793
42794 2012-02-07  Marek Polacek  <polacek@redhat.com>
42795
42796         * math/Makefile (tests): Add tst-CMPLX2.
42797         * math/tst-CMPLX2.c: New file.
42798
42799 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
42800
42801         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42802
42803         * math/libm-test.inc (jn_test): Add missing L suffix.
42804
42805 2012-02-06  Marek Polacek  <polacek@redhat.com>
42806
42807         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
42808         * sysdeps/i386/fpu/e_powf.S: Likewise.
42809         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42810         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42811         * sysdeps/i386/fpu/e_acosh.S: Likewise.
42812         * sysdeps/i386/fpu/e_pow.S: Likewise.
42813         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42814         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42815         * sysdeps/i386/fpu/s_expm1.S: Likewise.
42816         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42817         * sysdeps/i386/fpu/e_log2.S: Likewise.
42818         * sysdeps/i386/fpu/e_log2l.S: Likewise.
42819         * sysdeps/i386/fpu/e_scalb.S: Likewise.
42820         * sysdeps/i386/fpu/e_powl.S: Likewise.
42821         * sysdeps/i386/fpu/s_log1p.S: Likewise.
42822         * sysdeps/i386/fpu/e_log10f.S: Likewise.
42823         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42824         * sysdeps/i386/fpu/e_logl.S: Likewise.
42825         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42826         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42827         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42828         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42829         * sysdeps/i386/fpu/e_log2f.S: Likewise.
42830         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42831         * sysdeps/i386/fpu/e_log.S: Likewise.
42832         * sysdeps/i386/fpu/s_cexp.S: Likewise.
42833         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42834         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42835         * sysdeps/i386/fpu/e_logf.S: Likewise.
42836         * sysdeps/i386/fpu/e_log10l.S: Likewise.
42837         * sysdeps/i386/fpu/e_atanh.S: Likewise.
42838         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42839         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42840         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42841         * sysdeps/i386/fpu/e_log10.S: Likewise.
42842         * sysdeps/i386/fpu/s_frexp.S: Likewise.
42843         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42844         * sysdeps/i386/fpu/s_asinh.S: Likewise.
42845         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42846         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42847         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42848         * sysdeps/i386/asm-syntax.h: Likewise.
42849         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42850         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42851         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42852         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42853         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42854         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42855         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42856         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42857         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42858         * sysdeps/powerpc/sysdep.h: Likewise.
42859         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42860         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42861
42862 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42863
42864         [BZ #411]
42865         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42866
42867 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42868
42869         * sysdeps/i386/sysdep.h: Include <features.h>.
42870         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42871         version.
42872
42873 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
42874
42875         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42876         Define.
42877         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42878         LOAD_PIC_REG_STR.
42879
42880 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42881
42882         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42883         (SETUP_PIC_REG): Use GET_PC_THUNK.
42884         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42885         macro.
42886
42887 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42888
42889         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42890         for non-PIC compilation.
42891         (SETUP_PIC_REG): Add .p2align directive.
42892         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42893         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42894         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42895         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42896         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42897         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42898         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42899         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42900         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42901         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42902         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42903         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42904         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42905         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42906         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42907         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42908         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42909         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42910         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42911         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42912         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42913         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42914         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42915         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42916         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42917         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42918         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42919         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42920         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42921         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42922         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42923         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42924         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42925         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42926         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42927         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42928         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42929         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42930         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42931         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42932         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42933
42934 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42935
42936         * math/tst-CMPLX.c: Include <stdio.h>.
42937
42938 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
42939
42940         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42941         float.
42942         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42943         * sysdeps/sparc/bits/mathdef.h: Likewise.
42944
42945 2012-01-31  Marek Polacek  <polacek@redhat.com>
42946
42947         * libio/libio.h: Don't define _PARAMS.
42948         * locale/programs/config.h: Don't define PARAMS.
42949         * stdlib/strtol_l.c: Likewise.
42950         (__strtol_l): Remove PARAMS from the prototype.
42951
42952 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
42953
42954         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
42955         names.  Just use the correct names.  Remove unnecessary wrapper
42956         functions.
42957         * malloc/arena.c: Likewise.
42958         * malloc/hooks.c: Likewise.
42959
42960         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42961         ARENA_TEST says not to.  Simplify test for creation of a new arena.
42962         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42963
42964 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
42965
42966         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42967         into tail calls.
42968         (update_get_addr): New function.
42969         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42970         GET_ADDR_MODULE parameter.
42971
42972 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
42973
42974         * crypt/cert.c: Remove __STDC__ conditionals.
42975         * crypt/crypt-entry.c: Likewise.
42976         * crypt/crypt_util.c: Likewise.
42977         * libio/filedoalloc.c: Likewise.
42978         * libio/fileops.c: Likewise.
42979         * libio/genops.c: Likewise.
42980         * libio/iofclose.c: Likewise.
42981         * libio/iofdopen.c: Likewise.
42982         * libio/iofopen.c: Likewise.
42983         * libio/iofopen64.c: Likewise.
42984         * libio/iogetdelim.c: Likewise.
42985         * libio/iopopen.c: Likewise.
42986         * libio/obprintf.c: Likewise.
42987         * libio/oldfileops.c: Likewise.
42988         * libio/oldiofclose.c: Likewise.
42989         * libio/oldiofdopen.c: Likewise.
42990         * libio/oldiofopen.c: Likewise.
42991         * libio/oldiopopen.c: Likewise.
42992         * libio/wfiledoalloc.c: Likewise.
42993         * libio/wgenops.c: Likewise.
42994         * locale/programs/xmalloc.c: Likewise.
42995         * misc/syslog.c: Likewise.
42996         * stdio-common/xbug.c: Likewise.
42997         * string/memchr.c: Likewise.
42998         * string/memcmp.c: Likewise.
42999         * string/memrchr.c: Likewise.
43000         * string/rawmemchr.c: Likewise.
43001         * sysdeps/posix/getcwd.c: Likewise.
43002         * time/strftime_l.c: Likewise.
43003
43004 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
43005
43006         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
43007         * config.make.in (config-cflags-sse2avx): Define.
43008         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
43009         Fix typo.
43010
43011 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
43012
43013         * scripts/config.guess: Update from upstream config git repository.
43014         * scripts/config.sub: Likewise.
43015
43016 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
43017
43018         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
43019         (EM_NUM): Update.
43020         (R_TILEPRO_*, R_TILEGX_*): New macros.
43021
43022         * scripts/firstversions.awk: Fix bug in version range handling.
43023
43024         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
43025
43026         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
43027
43028         * include/sys/epoll.h: New file.
43029         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
43030         libc_hidden_def.
43031
43032 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
43033
43034         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
43035         Avoid unnecessary __WORDSIZE == 64 test.
43036         (fmaxf): Use VEX format if possible.
43037         (fmax): Likewise.
43038         (fminf): Likewise.
43039         (fmin): Likewise.
43040
43041         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
43042         * math/math_private.h: Remove libc_fegetround* and
43043         libc_fesetround*.
43044         * sysdeps/i386/configure.in: Check for -msse2avx.
43045         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
43046         also if SSE2AVX is defined.
43047         Remove libc_fegetround* and libc_fesetround*.
43048         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
43049         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
43050         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
43051         of HAS_YMM_USABLE.
43052         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43053         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43054         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43055         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43056         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43057
43058         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
43059
43060 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43061
43062         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
43063         size is not set.
43064         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43065
43066 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
43067
43068         [BZ #13618]
43069         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
43070         relocation.
43071         * Makeconfig (libm): Define.
43072         * elf/Makefile: Add rules to build and run tst-relsort1.
43073         * elf/tst-relsort1.c: New file.
43074         * elf/tst-relsort1mod1.c: New file.
43075         * elf/tst-relsort1mod2.c: New file.
43076
43077 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
43078
43079         * math/s_ldexp.c: Remove __STDC__ conditionals.
43080         * math/s_ldexpf.c: Likewise.
43081         * math/s_ldexpl.c: Likewise.
43082         * math/s_nextafter.c: Likewise.
43083         * math/s_nexttowardf.c: Likewise.
43084         * math/s_significand.c: Likewise.
43085         * math/s_significandf.c: Likewise.
43086         * math/s_significandl.c: Likewise.
43087         * math/w_jnl.c: Likewise.
43088         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
43089         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
43090         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
43091         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
43092         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
43093         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43094         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
43095         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43096         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43097         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43098         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43099         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43100         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43101         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
43102         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43103         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43104         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43105         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43106         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43107         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43108         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43109         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43110         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43111         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43112         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43113         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43114         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43115         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43116         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
43117         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43118         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43119         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
43120         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43121         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
43122         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
43123         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43124         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43125         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43126         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43127         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43128         * sysdeps/ieee754/k_standard.c: Likewise.
43129         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43130         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43131         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43132         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43133         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43134         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43135         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43136         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43137         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43138         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43139         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43140         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43141         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43142         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43143         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43144         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43145         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43146         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43147         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43148         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43149         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43150         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43151         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43152         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43153         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43154         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43155         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43156         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43157         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43158         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43159         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43160         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
43161         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43162         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43163         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43164         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43165         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
43166         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43167         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43168         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
43169         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
43170         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43171         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
43172         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
43173         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43174         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
43175         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
43176         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43177         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43178         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
43179         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
43180         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43181         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43182         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43183         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43184         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43185         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
43186         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43187         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43188         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43189         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43190         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43191         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43192         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43193         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43194         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43195         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43196         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43197         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43198         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43199         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43200         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43201         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43202         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43203         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43204         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43205         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43206         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43207         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43208         * sysdeps/ieee754/s_matherr.c: Likewise.
43209         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43210         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43211         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43212         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43213
43214 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
43215
43216         * crypt/md5.h: Remove __STDC__ conditionals.
43217         * libio/libioP.h: Likewise.
43218         * locale/programs/config.h: Likewise.
43219         * sysdeps/generic/sysdep.h: Likewise.
43220         * sysdeps/i386/asm-syntax.h: Likewise.
43221         * sysdeps/s390/asm-syntax.h: Likewise.
43222         * sysdeps/unix/sysdep.h: Likewise.
43223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43225
43226 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
43227
43228         * libio/libio.h: Remove __STDC__ conditionals.
43229         * malloc/obstack.h: Likewise.
43230         * math/complex.h: Likewise.
43231         * math/math.h: Likewise.
43232         * sysdeps/generic/_G_config.h: Likewise.
43233         * sysdeps/gnu/_G_config.h: Likewise.
43234         * sysdeps/mach/hurd/_G_config.h: Likewise.
43235         * sysdeps/powerpc/bits/mathdef.h: Likewise.
43236         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43237         * sysdeps/sparc/bits/mathdef.h: Likewise.
43238
43239 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
43240
43241         [BZ #13583]
43242         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
43243         Clean up HAS_* macros.
43244         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
43245         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
43246         possible.
43247         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
43248         HAS_AVX.
43249         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43250         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43251         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43252         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43253         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43254
43255 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
43256
43257         * elf/tst-unique3.cc (gets): Remove declaration.
43258         * elf/tst-unique3lib.cc (gets): Likewise.
43259         * elf/tst-unique3lib2.cc (gets): Likewise.
43260         * elf/tst-unique4.cc (gets): Likewise.
43261
43262 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
43263
43264         * include/stdio.h: Add C++ protection.  Add gets declarations and
43265         definitions.
43266         * debug/tst-chk1.c: Don't declare gets here.
43267         * stdio-common/tst-gets.c: Likewise.
43268
43269 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
43270
43271         * posix/glob: Remove directory.
43272
43273 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
43274
43275         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
43276
43277 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
43278
43279         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
43280         of the non-standard EPFNOSUPPORT.
43281
43282 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43283
43284         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
43285         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
43286         ANYWHERE set to 1 only on KERN_NO_SPACE error.
43287
43288 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
43289
43290         * wcsmbs/uchar.h: Test __STDC_VERSION__.
43291
43292 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
43293
43294         * nscd/aicache.c (addhstaiX): Do not cache negative results of
43295         transient errors.
43296         * nscd/grpcache.c (cache_addgr): Likewise.
43297         * nscd/hstcache.c (cache_addhst): Likewise.
43298         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43299         * nscd/pwdcache.c (cache_addpw): Likewise.
43300         * nscd/servicescache.c (cache_addserv): Likewise.
43301
43302 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
43303
43304         * malloc/malloc.c: Various cleanups.
43305         * malloc/hooks.c: Likewise.
43306
43307         * stdlib/Makefile (tests): Add bug-fmtmsg1.
43308         * stdlib/bug-fmtmsg1.c: New file.
43309
43310         * stdlib/fmtmsg.c (init): Add missing unlock.
43311         Patch by Peng Haitao <penght@cn.fujitsu.com>.
43312
43313 2012-01-12  Marek Polacek  <polacek@redhat.com>
43314
43315         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
43316         and _GNU_SOURCE.
43317
43318 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
43319
43320         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
43321         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
43322         macro to ensure uniqueness of label name.
43323         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43324         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43325
43326 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
43327
43328         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
43329
43330         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
43331         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43332         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43333         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
43334
43335 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
43336
43337         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
43338
43339         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
43340         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43341         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43342
43343         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
43344
43345         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
43346         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43347         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43348         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
43349
43350         * math/bits/math-finite.h: Add ldexp support.
43351
43352 2012-01-10  Marek Polacek  <polacek@redhat.com>
43353
43354         * locale/programs/localedef.h (show_archive_content): Add noreturn
43355         attribute.
43356
43357 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
43358
43359         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
43360
43361 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
43362
43363         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
43364
43365         * io/Makefile (headers): Add bits/poll2.h.
43366
43367 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
43368
43369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
43370         typo #include statement.
43371
43372 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
43373
43374         * include/sys/cdefs.h: Define __attribute_alloc_size.
43375         * catgets/gencat.c: Add alloc_size attribute and apply consistently
43376         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
43377         * elf/pldd.c: Likewise.
43378         * iconv/iconv_charmap.c: Likewise.
43379         * iconv/iconvconfig.c: Likewise.
43380         * iconv/strtab.c: Likewise.
43381         * locale/programs/locale.c: Likewise.
43382         * locale/programs/localedef.h: Likewise.
43383         * locale/programs/simple-hash.c: Likewise.
43384         * nscd/nscd.h: Likewise.
43385         * nss/makedb.c: Likewise.
43386         * sysdeps/generic/ldconfig.h: Likewise.
43387         * locale/programs/localedef.c: Remove xmalloc prototype.
43388         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
43389
43390 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
43391
43392         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
43393         appropriate.
43394
43395 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
43396
43397         * math/Makefile (tests): Add tst-CMPLX.
43398         * math/tst-CMPLX.c: New file.
43399
43400         * math/complex.h (CMPLXL): Fix typo.
43401
43402         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
43403         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
43404         GLIBC_2.16.
43405         * debug/tst-chk1.c: Add poll and ppoll tests.
43406         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
43407         * include/sys/poll.h: Add hidden proto for ppoll.
43408         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
43409         * sysdeps/mach/hurd/ppoll.c: Likewise.
43410         * io/ppoll.c: Likewise.
43411         * debug/poll_chk.c: New file.
43412         * debug/ppoll_chk.c: New file.
43413         * include/bits/poll2.h: New file.
43414         * io/bits/poll2.h: New file.
43415
43416         [BZ #1350]
43417         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
43418
43419         * configure.in: static is always set to yes.  Remove.
43420         * config.make.in: Don't set build-static.
43421         * Makeconfig: Remove use of build-static.
43422         * dlfcn/Makefile: Likewise.
43423         * elf/Makefile: Likewise.
43424         * math/Makefile: Likewise.
43425         * misc/Makefile: Likewise.
43426         * nptl/Makefile: Likewise.
43427         * sysdeps/mach/hurd/Makefile: Likewise.
43428
43429         * configure.in: PWD_P is not used anymore.
43430         * config.make.in: Remove PWD_P entry.
43431
43432         * configure.in: Remove last remnants of RANLIB.
43433         No need to check for signed size_t anymore.
43434         Don't set libc_commonpagesize and libc_relro_required here for Alpha
43435         and IA-64.
43436         Remove __builtin_expect test because we require at least gcc 3.4.
43437         * aclocal.m4: Likewise.
43438
43439         * wcsmbs/mbrtoc16.c: Implement using towc function.
43440         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
43441         * wcsmbs/wcsmbsload.c: Likewise.
43442         * iconv/gconv_simple.c: Likewise.
43443         * iconv/gconv_int.h: Likewise.
43444         * iconv/gconv_builtin.h: Likewise.
43445         * iconv/iconv_prog.c: Remove CHAR16 handling.
43446
43447         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
43448
43449         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
43450
43451         * configure.in: Remove --with-elf and --enable-bounded options.
43452         Dont set base_machine for ia64.  More non-ELF conditions removed.
43453         Remove testing and setting of leading underscore information.
43454         * config.make.in (build-bounded): Set to no.
43455         * config.h.in: Remove NO_UNDERSCORES entry.
43456         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
43457         them.
43458         * csu/start.c: Remove !NO_UNDERSCORE code.
43459         * locale/localeinfo.h: Likewise.
43460         * sysdeps/generic/machine-gmon.h: Likewise.
43461         * sysdeps/generic/sysdep.h: Likewise.
43462         * sysdeps/i386/sysdep.h: Likewise.
43463         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43464         * sysdeps/mach/sysdep.h: Likewise.
43465         * sysdeps/s390/s390-32/sysdep.h: Likewise.
43466         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43467         * sysdeps/sh/sysdep.h: Likewise.
43468         * sysdeps/sparc/sparc32/alloca.S: Likewise.
43469         * sysdeps/unix/i386/sysdep.S: Likewise.
43470         * sysdeps/unix/sparc/start.c: Likewise.
43471         * sysdeps/unix/sparc/sysdep.S: Likewise.
43472         * sysdeps/unix/sparc/sysdep.h: Likewise.
43473         * sysdeps/unix/start.c: Likewise.
43474         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43475         * sysdeps/x86_64/sysdep.h: Likewise.
43476
43477 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
43478
43479         [BZ #13553]
43480         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
43481         for non-gcc.
43482         * argp/argp-fmtstream.h: Use const instead __const.
43483         * argp/argp.h: Likewise.
43484         * assert/assert.h: Likewise.
43485         * bits/fenv.h: Likewise.
43486         * bits/sched.h: Likewise.
43487         * bits/sigset.h: Likewise.
43488         * bits/sigthread.h: Likewise.
43489         * catgets/nl_types.h: Likewise.
43490         * conform/data/pthread.h-data: Likewise.
43491         * crypt/crypt-private.h: Likewise.
43492         * crypt/crypt.h: Likewise.
43493         * crypt/crypt_util.c: Likewise.
43494         * ctype/ctype.h: Likewise.
43495         * debug/execinfo.h: Likewise.
43496         * debug/mbsnrtowcs_chk.c: Likewise.
43497         * debug/mbsrtowcs_chk.c: Likewise.
43498         * debug/wcsnrtombs_chk.c: Likewise.
43499         * debug/wcsrtombs_chk.c: Likewise.
43500         * debug/wcstombs_chk.c: Likewise.
43501         * dirent/dirent.h: Likewise.
43502         * dlfcn/dlfcn.h: Likewise.
43503         * elf/neededtest4.c: Likewise.
43504         * grp/grp.h: Likewise.
43505         * gshadow/gshadow.h: Likewise.
43506         * iconv/gconv.h: Likewise.
43507         * iconv/gconv_int.h: Likewise.
43508         * iconv/gconv_simple.c: Likewise.
43509         * iconv/iconv.h: Likewise.
43510         * iconv/loop.c: Likewise.
43511         * iconv/skeleton.c: Likewise.
43512         * include/aio.h: Likewise.
43513         * include/aliases.h: Likewise.
43514         * include/argz.h: Likewise.
43515         * include/arpa/inet.h: Likewise.
43516         * include/assert.h: Likewise.
43517         * include/dirent.h: Likewise.
43518         * include/dlfcn.h: Likewise.
43519         * include/execinfo.h: Likewise.
43520         * include/fcntl.h: Likewise.
43521         * include/fenv.h: Likewise.
43522         * include/glob.h: Likewise.
43523         * include/grp.h: Likewise.
43524         * include/libintl.h: Likewise.
43525         * include/mntent.h: Likewise.
43526         * include/netdb.h: Likewise.
43527         * include/pwd.h: Likewise.
43528         * include/rpc/netdb.h: Likewise.
43529         * include/sched.h: Likewise.
43530         * include/search.h: Likewise.
43531         * include/shadow.h: Likewise.
43532         * include/signal.h: Likewise.
43533         * include/stdio.h: Likewise.
43534         * include/stdlib.h: Likewise.
43535         * include/string.h: Likewise.
43536         * include/sys/socket.h: Likewise.
43537         * include/sys/stat.h: Likewise.
43538         * include/sys/statfs.h: Likewise.
43539         * include/sys/statvfs.h: Likewise.
43540         * include/sys/syslog.h: Likewise.
43541         * include/sys/time.h: Likewise.
43542         * include/sys/uio.h: Likewise.
43543         * include/time.h: Likewise.
43544         * include/unistd.h: Likewise.
43545         * include/utmp.h: Likewise.
43546         * include/wchar.h: Likewise.
43547         * include/wctype.h: Likewise.
43548         * inet/aliases.h: Likewise.
43549         * inet/arpa/inet.h: Likewise.
43550         * inet/netinet/ether.h: Likewise.
43551         * inet/netinet/in.h: Likewise.
43552         * intl/libintl.h: Likewise.
43553         * io/bits/fcntl2.h: Likewise.
43554         * io/fcntl.h: Likewise.
43555         * io/ftw.h: Likewise.
43556         * io/sys/poll.h: Likewise.
43557         * io/sys/stat.h: Likewise.
43558         * io/sys/statfs.h: Likewise.
43559         * io/sys/statvfs.h: Likewise.
43560         * io/utime.h: Likewise.
43561         * libio/bits/stdio.h: Likewise.
43562         * libio/bits/stdio2.h: Likewise.
43563         * libio/libio.h: Likewise.
43564         * libio/libioP.h: Likewise.
43565         * libio/stdio.h: Likewise.
43566         * locale/lc-ctype.c: Likewise.
43567         * locale/locale.h: Likewise.
43568         * login/utmp.h: Likewise.
43569         * malloc/arena.c: Likewise.
43570         * malloc/malloc.c: Likewise.
43571         * malloc/malloc.h: Likewise.
43572         * malloc/mcheck.c: Likewise.
43573         * malloc/mtrace.c: Likewise.
43574         * math/bits/mathcalls.h: Likewise.
43575         * math/fenv.h: Likewise.
43576         * math/math_private.h: Likewise.
43577         * misc/bits/error.h: Likewise.
43578         * misc/bits/syslog.h: Likewise.
43579         * misc/err.h: Likewise.
43580         * misc/error.h: Likewise.
43581         * misc/fstab.h: Likewise.
43582         * misc/mntent.h: Likewise.
43583         * misc/regexp.h: Likewise.
43584         * misc/search.h: Likewise.
43585         * misc/sgtty.h: Likewise.
43586         * misc/sys/mman.h: Likewise.
43587         * misc/sys/syslog.h: Likewise.
43588         * misc/sys/uio.h: Likewise.
43589         * misc/sys/xattr.h: Likewise.
43590         * misc/ttyent.h: Likewise.
43591         * nis/rpcsvc/ypclnt.h: Likewise.
43592         * nss/nss.h: Likewise.
43593         * posix/bits/unistd.h: Likewise.
43594         * posix/fnmatch.h: Likewise.
43595         * posix/glob.h: Likewise.
43596         * posix/sched.h: Likewise.
43597         * posix/spawn.h: Likewise.
43598         * posix/sys/wait.h: Likewise.
43599         * posix/unistd.h: Likewise.
43600         * posix/wordexp.h: Likewise.
43601         * pwd/pwd.h: Likewise.
43602         * resolv/netdb.h: Likewise.
43603         * resource/sys/resource.h: Likewise.
43604         * rt/aio.h: Likewise.
43605         * rt/bits/mqueue2.h: Likewise.
43606         * rt/mqueue.h: Likewise.
43607         * shadow/shadow.h: Likewise.
43608         * signal/signal.h: Likewise.
43609         * socket/send.c: Likewise.
43610         * socket/sendto.c: Likewise.
43611         * socket/sys/socket.h: Likewise.
43612         * stdio-common/printf.h: Likewise.
43613         * stdlib/bits/stdlib.h: Likewise.
43614         * stdlib/fmtmsg.h: Likewise.
43615         * stdlib/monetary.h: Likewise.
43616         * stdlib/stdlib.h: Likewise.
43617         * stdlib/ucontext.h: Likewise.
43618         * streams/stropts.h: Likewise.
43619         * string/argz.h: Likewise.
43620         * string/bits/string2.h: Likewise.
43621         * string/string.h: Likewise.
43622         * string/strings.h: Likewise.
43623         * sunrpc/rpc/auth.h: Likewise.
43624         * sunrpc/rpc/auth_des.h: Likewise.
43625         * sunrpc/rpc/clnt.h: Likewise.
43626         * sunrpc/rpc/netdb.h: Likewise.
43627         * sunrpc/rpc/pmap_clnt.h: Likewise.
43628         * sunrpc/rpc/xdr.h: Likewise.
43629         * sysdeps/generic/inttypes.h: Likewise.
43630         * sysdeps/generic/net/if.h: Likewise.
43631         * sysdeps/generic/sys/swap.h: Likewise.
43632         * sysdeps/gnu/net/if.h: Likewise.
43633         * sysdeps/gnu/utmpx.h: Likewise.
43634         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
43635         * sysdeps/i386/i486/bits/string.h: Likewise.
43636         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
43637         * sysdeps/s390/bits/string.h: Likewise.
43638         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
43639         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
43640         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
43641         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
43642         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
43643         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
43644         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
43645         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
43646         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
43647         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
43648         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
43649         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43650         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
43651         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43652         * sysdeps/unix/sysv/linux/readv.c: Likewise.
43653         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
43654         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43655         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43656         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
43657         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
43658         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43659         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
43660         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
43661         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
43662         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
43663         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
43664         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
43665         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43666         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
43667         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
43668         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
43669         * sysvipc/sys/ipc.h: Likewise.
43670         * sysvipc/sys/msg.h: Likewise.
43671         * sysvipc/sys/sem.h: Likewise.
43672         * sysvipc/sys/shm.h: Likewise.
43673         * termios/termios.h: Likewise.
43674         * time/sys/time.h: Likewise.
43675         * time/time.h: Likewise.
43676         * wcsmbs/bits/wchar2.h: Likewise.
43677         * wcsmbs/uchar.h: Likewise.
43678         * wcsmbs/wchar.h: Likewise.
43679         * wctype/wctype.h: Likewise.
43680
43681         [BZ #13551]
43682         * Makeconfig: Remove all but ELF support including AIX support.
43683         * Makerules: Likewise.
43684         * config.h.in: Likewise.
43685         * config.make.in: Likewise.
43686         * configure: Likewise.
43687         * configure.in: Likewise.
43688         * csu/Makefile: Likewise.
43689         * csu/version.c: Likewise.
43690         * debug/Makefile: Likewise.
43691         * dlfcn/Makefile: Likewise.
43692         * elf/Makefile: Likewise.
43693         * extra-lib.mk: Likewise.
43694         * iconv/Makefile: Likewise.
43695         * include/libc-symbols.h: Likewise.
43696         * include/shlib-compat.h: Likewise.
43697         * resolv/Makefile: Likewise.
43698         * resolv/res_libc.c: Likewise.
43699         * rt/Makefile: Likewise.
43700         * sysdeps/i386/asm-syntax.h: Likewise.
43701         * sysdeps/i386/sysdep.h: Likewise.
43702         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43703         * sysdeps/mach/sysdep.h: Likewise.
43704         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
43705         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
43706         * sysdeps/s390/asm-syntax.h: Likewise.
43707         * sysdeps/s390/s390-32/sysdep.h: Likewise.
43708         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43709         * sysdeps/sh/sysdep.h: Likewise.
43710         * sysdeps/unix/sparc/sysdep.h: Likewise.
43711         * sysdeps/wordsize-32/divdi3.c: Likewise.
43712         * sysdeps/x86_64/sysdep.h: Likewise.
43713
43714         * argp/Versions: Remove _argp_unlock_xxx.
43715
43716         [BZ #13559]
43717         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
43718         * abilist/libBrokenLocale.abilist: Likewise.
43719         * abilist/libanl.abilist: Likewise.
43720         * abilist/libc.abilist: Likewise.
43721         * abilist/libcrypt.abilist: Likewise.
43722         * abilist/libdl.abilist: Likewise.
43723         * abilist/libm.abilist: Likewise.
43724         * abilist/libnsl.abilist: Likewise.
43725         * abilist/libpthread.abilist: Likewise.
43726         * abilist/libresolv.abilist: Likewise.
43727         * abilist/librt.abilist: Likewise.
43728         * abilist/libthread_db.abilist: Likewise.
43729         * abilist/libutil.abilist: Likewise.
43730         * abilist/libnss_db.abilist: New file.
43731
43732         * scripts/abilist.awk: Add support for indirect functions.
43733
43734         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
43735
43736         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
43737
43738         * shlib-versions: Remove entries for ports architectures.
43739
43740         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
43741         files in ports.
43742         * elf/stackguard-macros.h: Remove support for IA-64.
43743         * elf/tst-auditmod1.c: Likewise.
43744         * sysdeps/generic/ldsodefs.h: Likewise.
43745
43746         * sysdeps/unix/sysv/linux/configure.in: Ports should define
43747         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
43748         configure files.
43749
43750         [BZ #13552]
43751         * configure.in: Remove --enable-omitfp support.
43752         * FAQ.in: Adjust.
43753         * config.make.in: Likewise.
43754         * Makeconfig: Likewise.
43755         * manual/install.texi: Likewise.
43756
43757         In case anyone cares, the IA-64 architecture could move to ports.
43758         * sysdeps/ia64/*: Removed.
43759         * sysdeps/unix/sysv/linux/ia64/*: Removed.
43760         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
43761
43762         [BZ #13555]
43763         * configure.in: Remove entries for unsupported architectures.
43764
43765         [BZ #13533]
43766         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
43767         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
43768         routines.
43769         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
43770         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
43771         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
43772         fall back to using wcrtomb.
43773         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
43774         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
43775         renaming.
43776         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
43777         * wcsmbs/tst-c16c32-1.c: New file.
43778
43779         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
43780         local variable.
43781
43782         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
43783
43784         * elf/tst-unique3.cc: Add explicit declaration of gets.
43785         * elf/tst-unique3lib.cc: Likewise.
43786         * elf/tst-unique3lib2.cc: Likewise.
43787         * elf/tst-unique4.cc: Likewise.
43788
43789         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
43790
43791 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
43792
43793         [BZ #13566]
43794         * assert/assert.h (static_assert): Don't define for C++.
43795         * libio/stdio.h (gets): Do declare for C++ <= C++11.
43796         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
43797
43798 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
43799
43800         * iconv/loop.c (single loop): Fix assertion in storing of
43801         remaining bytes.
43802
43803         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
43804
43805 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
43806
43807         * posix/getconf.c: Update copyright year.
43808         * nss/getent.c: Likewise.
43809         * nss/makedb.c: Likewise.
43810         * iconv/iconvconfig.c: Likewise.
43811         * iconv/iconv_prog.c: Likewise.
43812         * elf/ldconfig.c: Likewise.
43813         * elf/pldd.c: Likewise.
43814         * elf/sotruss.ksh: Likewise.
43815         * catgets/gencat.c: Likewise.
43816         * csu/version.c: Likewise.
43817         * elf/ldd.bash.in: Likewise.
43818         * elf/sprof.c (print_version): Likewise.
43819         * locale/programs/locale.c: Likewise.
43820         * locale/programs/localedef.c: Likewise.
43821         * login/programs/pt_chown.c: Likewise.
43822         * nscd/nscd.c (print_version): Likewise.
43823         * debug/xtrace.sh: Likewise.
43824         * malloc/memusage.sh: Likewise.
43825         * malloc/mtrace.pl: Likewise.
43826         * debug/catchsegv.sh: Likewise.
43827
43828 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
43829
43830         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43831         pure attribute.
43832
43833 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
43834
43835         [BZ #13533]
43836         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43837         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43838         transformations.
43839         * iconv/gconv_int.h: Likewise.
43840         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43841         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43842         from libc for GLIBC_2.16.
43843         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43844         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43845         * wcsmbs/uchar.h: Really define mbstate_t.
43846         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43847         * wcsmbs/c16rtomb.c: New file.
43848         * wcsmbs/mbrtoc16.c: New file.
43849         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43850         for C/POSIX locale.
43851         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43852         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43853
43854         * wcsmbs/wchar.h: Add missing __restrict.
43855
43856 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
43857
43858         [BZ #13532]
43859         * time/Makefile (routines): Add timespec_get.
43860         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43861         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
43862         timespec for ISO C11.
43863         * time/timespec_get.c: New file.
43864         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43865         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43866
43867         [BZ #13531]
43868         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43869         * stdlib/stdlib.h: Declare aligned_alloc.
43870         * Versions.def: Add GLIBC_2.16 for libc.
43871         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43872
43873         [BZ 13527]
43874         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43875         ISO C11.
43876
43877         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
43878         code.
43879
43880         [BZ #13528]
43881         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43882
43883         [BZ #13529]
43884         * assert/assert.h (static_assert): Define.
43885
43886         * version.h: Update for 2.16 development version.
43887
43888         [BZ #13526]
43889         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43890         _ISOC11_SOURCE.
43891
43892         * version.h (RELEASE): Bump for 2.15 release.
43893         * include/features.h (__GLIBC_MINOR__): Bump to 15.
43894
43895         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
43896         Patch by Marek Polacek <mpolacek@redhat.com>.
43897
43898         * bits/byteswap.h: Protect long long constants with __extension__.
43899         * sysdeps/i386/bits/byteswap.h: Likewise.
43900         * sysdeps/ia64/bits/byteswap.h: Likewise.
43901         * sysdeps/s390/bits/byteswap.h: Likewise.
43902         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43903
43904 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43905
43906         [BZ #13540]
43907         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43908         destination buffer.
43909         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43910
43911 2011-12-23  Marek Polacek  <polacek@redhat.com>
43912
43913         * elf/dl-addr.c (determine_info): Add inline keyword.
43914         * elf/tst-auditmod4b.c (check_avx): Likewise.
43915         * elf/tst-auditmod6b.c (check_avx): Likewise.
43916         * elf/tst-auditmod6c.c (check_avx): Likewise.
43917         * elf/tst-auditmod7b.c (check_avx): Likewise.
43918
43919 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
43920
43921         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43922         !__SSE_MATH__.
43923
43924 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43925
43926         [BZ #13540]
43927         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43928         processing for last bytes.
43929
43930 2011-08-06  Bruno Haible  <bruno@clisp.org>
43931
43932         [BZ #13061]
43933         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43934         U+0385, not to U+1FEE.
43935
43936         [BZ #13062]
43937         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43938         entry for U+00A5 U+0301.
43939
43940 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
43941
43942         [BZ #13166]
43943         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43944         buffer for the output is too small.
43945
43946         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43947         optimization.
43948
43949         [BZ #13185]
43950         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43951         SSE flags if possible.
43952
43953 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43954
43955         [BZ #13540]
43956         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43957         processing for last bytes.
43958
43959 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
43960
43961         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43962         (syscall-list-default-options, syscall-list-default-condition)
43963         (syscall-list-includes): Define.
43964         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43965         list of ABIs and options and #if conditions for each ABI.  Do not
43966         handle common syscalls between ABIs specially.
43967         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43968         Remove.
43969         (syscall-list-variants, syscall-list-32bit-options)
43970         (syscall-list-32bit-condition, syscall-list-64bit-options)
43971         (syscall-list-64bit-condition): Define.
43972         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43973         (syscall-list-variants, syscall-list-32bit-options)
43974         (syscall-list-32bit-condition, syscall-list-64bit-options)
43975         (syscall-list-64bit-condition): Define.
43976         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43977         Remove.
43978         (syscall-list-variants, syscall-list-32bit-options)
43979         (syscall-list-32bit-condition, syscall-list-64bit-options)
43980         (syscall-list-64bit-condition): Define.
43981         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43982         Remove.
43983         (syscall-list-variants, syscall-list-32bit-options)
43984         (syscall-list-32bit-condition, syscall-list-64bit-options)
43985         (syscall-list-64bit-condition): Define.
43986
43987 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
43988
43989         * locale/iso-639.def: Add brx entry.
43990
43991         [BZ #13328]
43992         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43993         Proposed by Mariusz_Cukr <marcukr@op.pl>.
43994
43995         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43996         __feraiseexcept_renamed.
43997
43998 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
43999
44000         [BZ #13538]
44001         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
44002         EPOLLET with unsigned values.
44003         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44004         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
44005
44006         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
44007         to large cancellation.
44008         * math/s_cacoshf.c: Likewise.
44009         * math/s_cacoshl.c: Likewise.
44010
44011 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
44012
44013         [BZ #13305]
44014         [BZ #12786]
44015         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
44016         * math/s_cacoshf.c: Likewise.
44017         * math/s_cacoshl.c: Likewise.
44018
44019 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
44020
44021         [BZ #13439]
44022         * iconv/gconv.h: Define __GCONV_SWAP.
44023         * iconvdata/unicode.c: The swap bit must be stored in __flags.
44024         * iconvdata/utf-16.c: Likewise.
44025         * iconvdata/utf-32.c: Likewise.
44026
44027 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
44028
44029         [BZ #13524]
44030         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
44031         numerator after shifting it by one limb.
44032
44033 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
44034
44035         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
44036         under [__USE_EXTERN_INLINES].
44037
44038 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
44039
44040         [BZ #13446]
44041         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
44042
44043 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44044
44045         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
44046         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
44047         optimized code.
44048         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
44049         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
44050         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
44051         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
44052         for strncasecmp/strncasecmp_l compilation.
44053         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
44054         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
44055
44056 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
44057
44058         [BZ #13484]
44059         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
44060         of __asm__.
44061
44062 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
44063
44064         [BZ #13506]
44065         * time/tzfile.c (__tzfile_read): Check values from file header.
44066
44067 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
44068
44069         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
44070         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
44071         * powerpc/powerpc32/dl-start.S: Likewise.
44072         * powerpc/powerpc32/elf/start.S: Likewise.
44073         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
44074         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
44075         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
44076         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
44077         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
44078         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
44079         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
44080         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
44081         * powerpc/powerpc32/fpu/s_round.S: Likewise.
44082         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
44083         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
44084         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
44085         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
44086         * powerpc/powerpc32/memset.S: Likewise.
44087         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
44088         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
44089         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
44090         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
44091         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
44092         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
44093         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
44094         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
44095         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
44096         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
44097         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
44098         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44099         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44100
44101 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44102
44103         * math/libm-test.inc: Added more nearbyint tests.
44104         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
44105         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
44106         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
44107         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
44108
44109 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
44110
44111         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
44112         FD_CLOEXEC.
44113
44114 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44115
44116         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
44117         Add wcscpy-ssse3 wcscpy-c.
44118         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
44119         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
44120         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
44121         * sysdeps/x86_64/wcschr.S: New file.
44122         * sysdeps/x86_64/wcsrchr.S: New file.
44123         * string/test-strcmp.c: Remove checking of wcscmp function for
44124         wrong alignments.
44125         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
44126         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
44127         wcsrchr-sse2 wcsrchr-c.
44128         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
44129         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
44130         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
44131         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
44132         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
44133         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
44134         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
44135         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
44136         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
44137         * wcsmbc/wcschr.c (WCSCHR): New macro.
44138
44139 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44140
44141         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
44142         * wcsmbs/test-wcsrchr.c: New file.
44143         * string/test-strrchr.c: Add wcsrchr support.
44144         (WIDE): New macro.
44145         * wcsmbs/test-wcscpy.c: New file.
44146         * string/test-strcpy.c: Add wcscpy support.
44147         (WIDE): New macro.
44148
44149 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
44150
44151         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
44152         the inner loop.
44153
44154 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
44155
44156         [BZ #13472]
44157         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
44158
44159 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
44160
44161         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
44162         Minor optimizations.
44163
44164         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
44165         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
44166         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
44167
44168 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
44169
44170         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
44171         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
44172         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
44173         for gcc to avoid warnings.
44174         * inet/Makefile (tests): Add tst-checks.
44175         * inet/tst-checks.c: New file.
44176
44177         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
44178         warning.
44179
44180         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
44181         __wmemcmp_sse2.
44182
44183         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
44184         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
44185
44186         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
44187
44188 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
44189
44190         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
44191         problem.
44192
44193         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
44194
44195 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
44196
44197         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
44198         conditional on GCC version.
44199         (__arch_compare_and_exchange_val_8_acq)
44200         (__arch_compare_and_exchange_val_16_acq)
44201         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
44202         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
44203         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
44204
44205 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
44206
44207         * sysdeps/sh/backtrace.c: New file.
44208
44209 2011-12-02  Andreas Schwab  <schwab@redhat.com>
44210
44211         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
44212         parenthesis.
44213
44214 2011-12-01  Andreas Schwab  <schwab@redhat.com>
44215
44216         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
44217         falling back to utime.
44218
44219 2011-11-30  Andreas Schwab  <schwab@redhat.com>
44220
44221         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
44222         expectations for float.
44223
44224 2011-11-29  Andreas Schwab  <schwab@redhat.com>
44225
44226         * locale/weight.h (findidx): Add parameter len.
44227         * locale/weightwc.h (findidx): Likewise.
44228         * posix/fnmatch_loop.c (FCT): Adjust caller.
44229         * posix/regcomp.c (build_equiv_class): Likewise.
44230         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
44231         * posix/regexec.c (check_node_accept_bytes): Likewise.
44232         * string/strcoll_l.c (STRCOLL): Likewise.
44233         * string/strxfrm_l.c (STRXFRM): Likewise.
44234
44235 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
44236
44237         * Makefile.in: Remove CVSOPT handling.
44238         * configure.in: Remove use of AC_REVISION.
44239         * iconvdata/Makefile (distribute): No need to filter out CVS.
44240         * scripts/list-sources.sh: Remove CVS, subversion and monotone
44241         handling.
44242
44243 2011-11-16  Andreas Schwab  <schwab@redhat.com>
44244
44245         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
44246         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
44247         [USE_AS_STRNCASECMP_L]: Likewise.
44248         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
44249         NO_TLS_DIRECT_SEG_REFS.
44250         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
44251         Fix argument offsets for non-PIC.
44252         [USE_AS_STRNCASECMP_L]: Likewise.
44253         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
44254         NO_TLS_DIRECT_SEG_REFS.
44255
44256 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
44257
44258         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
44259         O_CLOEXEC.
44260         * locale/loadlocale.c (_nl_load_locale): Likewise.
44261
44262 2011-11-15  Andreas Schwab  <schwab@redhat.com>
44263
44264         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
44265         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
44266         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
44267         (SYSCALL_GETTIME): Set errno on error.
44268
44269         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
44270         count references to noai6ai_cached.
44271
44272 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
44273
44274         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
44275
44276         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
44277         FD_CLOEXEC for /proc/self/maps.
44278
44279         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
44280         FD_CLOEXEC for /proc/meminfo.
44281
44282         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
44283         gai.conf.
44284
44285         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
44286         FD_CLOEXEC for given file.
44287
44288         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
44289
44290         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
44291         FD_CLOEXEC for /etc/hosts.
44292         (_gethtent): Likewise.
44293
44294         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
44295
44296         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
44297         cancellation and set FD_CLOEXEC for /etc/netgroup.
44298
44299         * nss/nss_files/files-key.c (search): Don't allow cancellation when
44300         reading /etc/publickey.
44301
44302         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
44303         allow cancellation when reading /etc/group.
44304
44305         * nss/nss_files/files-alias.c (internal_setent): Don't allow
44306         cancellation.
44307         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
44308
44309         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
44310         when using data file.
44311
44312         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
44313
44314         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
44315         (write_nis_obj): Use "c" and "e" in fopen.
44316
44317         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
44318
44319         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
44320
44321         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
44322
44323         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
44324
44325         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
44326         locale.alias.
44327
44328         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
44329
44330         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
44331
44332         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
44333
44334         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
44335         file parsing and set FD_CLOEXEC.
44336
44337 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
44338
44339         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
44340
44341 2011-11-14  Andreas Schwab  <schwab@redhat.com>
44342
44343         * malloc/arena.c (arena_get2): Don't call reused_arena when
44344         _int_new_arena failed.
44345
44346 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
44347
44348         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
44349         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
44350         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
44351         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44352         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44353         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
44354         to compile strcasecmp and strncasecmp.
44355         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
44356         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
44357
44358         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
44359
44360 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
44361
44362         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
44363         locale-defines.sym to gen-as-const-headers.
44364         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
44365         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
44366         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
44367         to compile strcasecmp and strncasecmp.
44368         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
44369         strcasecmp_l and strncasecmp_l.
44370         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
44371         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
44372         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
44373         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
44374         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
44375         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
44376         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
44377         * sysdeps/i386/i686/multiarch/strncase.S: New file.
44378         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
44379         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
44380         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
44381
44382 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
44383
44384         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
44385         result of SYSDEP_GETTIME_CPU to retval.
44386         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
44387         parameter list to macro.  Remove trailing semicolon.  Adjust users.
44388
44389         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
44390         variable.
44391
44392         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
44393         mantissa words.
44394         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
44395
44396         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
44397         from unused variable.
44398
44399         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
44400         DWARF definitions.
44401         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
44402         for assembling.
44403
44404         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
44405         over namespaces.
44406
44407         * sunrpc/rpc_prot.c (rejected): Fix case value.
44408
44409         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
44410         unsigned long long int to avoid warnings in shift.
44411
44412         * posix/regex_internal.c (re_string_reconstruct): Actually use result
44413         of use of trans.
44414         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
44415         variable tmp.
44416
44417         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
44418         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
44419         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
44420
44421         * nis/nis_table.c (nis_list): Use variable of correct type for
44422         result of __follow_path call.
44423
44424 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44425
44426         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
44427         of math functions ceil, trunc, floor, round, and sqrt, when
44428         avaliable on the platform.
44429         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
44430         name clash.
44431         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44432         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44433         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44434
44435 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
44436
44437         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
44438         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
44439
44440 2011-11-11  Roland McGrath  <roland@hack.frob.com>
44441
44442         * include/unistd.h: Fix __readlink return type.
44443         Reported by Chris Metcalf <cmetcalf@tilera.com>.
44444
44445 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
44446
44447         * stdlib/ucontext.h: Undo last change for makecontext.
44448
44449 2011-11-11  Andreas Schwab  <schwab@redhat.com>
44450
44451         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
44452
44453         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
44454         * setjmp/setjmp.h: Mark functions as non-leaf.
44455         * setjmp/bits/setjmp2.h: Likewise.
44456         * stdlib/ucontext.h: Likewise.
44457
44458 2011-11-10  Andreas Schwab  <schwab@redhat.com>
44459
44460         * malloc/arena.c (_int_new_arena): Don't increment narenas.
44461         (reused_arena): Don't check arena limit.
44462         (arena_get2): Atomically check arena limit.
44463
44464 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
44465
44466         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
44467         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
44468
44469         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
44470         instructions.
44471
44472 2011-11-07  Andreas Schwab  <schwab@redhat.com>
44473
44474         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
44475         handler when locking.
44476
44477         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44478         Fix size of allocated buffer.
44479
44480 2011-11-04  Andreas Schwab  <schwab@redhat.com>
44481
44482         [BZ #10103]
44483         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
44484         declarations for long double functions.
44485         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
44486
44487         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
44488
44489 2011-11-03  Andreas Schwab  <schwab@redhat.com>
44490
44491         * nscd/nscd.c (main): Don't start AVC thread until credentials are
44492         installed.
44493
44494         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
44495         is disabled.
44496
44497 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44498
44499         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
44500
44501 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
44502
44503         * include/alloca.h (stackinfo_alloca_round): Define.
44504         (extend_alloca): Use it.
44505         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
44506         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
44507         here.
44508
44509         * scripts/check-local-headers.sh: Ignore libaudit.h.
44510
44511         * nscd/Makefile (extra-objs): Make recursively expanded.
44512
44513 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
44514
44515         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
44516         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44517
44518         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
44519         * posix/tst-rfc3484-2.c: Likewise.
44520         * posix/tst-rfc3484-3.c: Likewise.
44521
44522         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44523         process_vm_writev.
44524         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
44525         process_vm_writev.
44526         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
44527         process_vm_writev from libc using GLIBC_2.15 version.
44528
44529         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
44530
44531 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
44532
44533         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
44534         stack usage.
44535
44536 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
44537
44538         [BZ #13367]
44539         * nss/getent.c (initgroups_keys): Show error message in case no group
44540         names are given.
44541
44542         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
44543         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
44544         __bump_nl_timestamp.
44545         * nscd/connections (nscd_init): When host database is served open
44546         netlink socket and request notification about configuration changes.
44547         (main_loop_poll): Track netlink file descriptor and bump timestamp
44548         in case data becomes available.
44549         (main_loop_epoll): Likewise.
44550         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
44551         (database_pers_head): Add extra_data fileds.
44552         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
44553         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
44554         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
44555         Adjust caller.
44556         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
44557         in6ai data, call __free_in6ai.
44558         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
44559         Add -DHAVE_NETLINK.
44560         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
44561         interface information.  Reuse previous data if netlink timestamp
44562         is not changed.
44563         (__bump_nl_timestamp): New function.
44564         (__free_in6ai): New function.
44565
44566 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
44567
44568         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
44569         close_not_cancel_no_status here.
44570         (__check_pf): Reorganize code a bit to not call close twice if OOM.
44571
44572 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
44573
44574         [BZ #13276]
44575         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
44576         return value.
44577
44578         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
44579         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
44580         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
44581
44582 2011-07-03  Andreas Jaeger  <aj@suse.de>
44583
44584         [BZ #10709]
44585         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
44586         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
44587         * math/libm-test.inc (sin_test): Add test case.
44588
44589 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
44590
44591         [BZ #13337]
44592         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
44593         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44594
44595         * elf/chroot_canon.c (chroot_canon): Cleanups.
44596
44597         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
44598
44599         [BZ #13335]
44600         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
44601         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44602
44603         * string/test-strchr.c: Make usable for strchrnul testing.
44604         * string/test-strchrnul.c: New file.
44605         * string/Makefile (strop-tests): Add strchrnul.
44606
44607         * po/it.po: Update from translation team.
44608         * po/es.po: Likewise.
44609
44610 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
44611
44612         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
44613         the three constants needed as parameters.  Drop the others.
44614         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
44615         __m128i_strloadu_tolower.
44616         Create and initialize variable zero and use it in all the places
44617         where _mm_setzero_si128 was used.
44618
44619         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
44620         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
44621         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
44622         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
44623         anymore.
44624         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
44625         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
44626         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
44627         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
44628         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
44629         __mpranred, __mptan.
44630         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
44631         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
44632         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
44633         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
44634         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
44635         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
44636         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
44637         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
44638         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
44639
44640 2011-10-28  Andreas Schwab  <schwab@redhat.com>
44641
44642         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
44643         redefine if SHARED.
44644         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
44645
44646         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
44647         wide char related routines to wcsmbs subdir.
44648
44649 2011-10-27  Andreas Schwab  <schwab@redhat.com>
44650
44651         [BZ #13344]
44652         * misc/sys/cdefs.h (__THROWNL): Define.
44653         * posix/unistd.h: Use __THREADNL instead of __THREAD
44654         for memory synchronization functions.
44655
44656 2011-10-26  Roland McGrath  <roland@hack.frob.com>
44657
44658         [BZ #13349]
44659         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
44660         doesn't exist.
44661         * manual/stdio.texi (Obstack Streams): Node removed.
44662
44663 2011-10-26  Andreas Schwab  <schwab@redhat.com>
44664
44665         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
44666         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44667         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44668
44669         * math/math_private.h (math_force_eval): Allow non-addressable
44670         arguments.
44671         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
44672
44673 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44674
44675         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
44676         file is not needed.
44677
44678         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
44679         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
44680         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44681         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44682         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44683         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44684         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44685         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
44686         Add AVX variants.
44687         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
44688         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
44689         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
44690         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
44691         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
44692         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
44693         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
44694         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
44695         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
44696         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
44697         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
44698         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
44699         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
44700         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
44701         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
44702         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
44703         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
44704         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
44705         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
44706
44707         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
44708         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
44709
44710         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
44711         place.  Use VEX encoding when compiling for AVX.
44712
44713 2011-10-25  Andreas Schwab  <schwab@redhat.com>
44714
44715         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
44716         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44717
44718         * string/test-strchr.c (do_test): Don't generate NUL bytes.
44719
44720 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44721
44722         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
44723         useless if() expression.
44724         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44725         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44726         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44727         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44728         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44729         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44730         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44731         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44732         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44733         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44734         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44735         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44736         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44737         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44738         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44739         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44740         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44741         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44742         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44743
44744         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
44745
44746 2011-10-25  Andreas Schwab  <schwab@redhat.com>
44747
44748         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
44749         condition.
44750         * elf/dl-fini.c (_dl_sort_fini): Likewise.
44751
44752 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44753
44754         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
44755         .text section.  Avoid duplicate constants.
44756         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44757         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44758         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44759         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44760         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44761         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44762         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44763         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44764         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44765         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
44766         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44767         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
44768         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
44769         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
44770         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
44771         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
44772         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
44773         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44774         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44775         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44776         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44777         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44778         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44779         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
44780         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
44781         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
44782         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
44783         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
44784         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
44785         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
44786         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
44787         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
44788         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44789         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
44790         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
44791         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
44792         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
44793         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
44794         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
44795         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
44796         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
44797         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
44798         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
44799         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
44800         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
44801
44802 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
44803
44804         * sysdeps/x86_64/dla.h: Move to ...
44805         * sysdeps/x86_64/fpu/dla.h: ...here.
44806         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
44807         situations.  Use __builtin_fma only for gcc 4.6 and up.
44808
44809         * config.make.in: Add have-mfma4 entry.
44810         * configure.in: Substitute libc_cv_cc_fma4.
44811         * math/Makefile (dbl-only-routines): Add sincostab.
44812         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
44813         Use __sincostab not sincos.
44814         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
44815         name is a macro.
44816         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44817         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44818         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44819         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
44820         using __copysign.
44821         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
44822         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
44823         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44824         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44825         and __inv.
44826         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44827         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44828         __copysign.
44829         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
44830         define aliases when function name is a macro.
44831         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44832         sysdeps/ieee754/dbl-64/sincos.tbl.
44833         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44834         fma4-enabled routines.
44835         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44836         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44837         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44838         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44839         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44840         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44841         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44842         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44843         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44844         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44845         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44846         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44847         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44848         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44849         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44850         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44851         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44852         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44853         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44854         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44855         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44856         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44857         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44858         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44859         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44860         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44861         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44862         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44863         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44864         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44865
44866         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44867         rename.
44868         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44869         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44870         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44871         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44872         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44873         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44874         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44875         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44876
44877 2011-10-24  Andreas Schwab  <schwab@redhat.com>
44878
44879         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44880
44881 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44882
44883         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44884
44885         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44886         prediction.
44887         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44888
44889         * string/strnlen.c: Don't define STRNLEN, reverse logic.
44890         Remove unused variable magic_bits.
44891         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44892
44893         * string/strnlen.c: Define and use STRNLEN macro.
44894         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
44895         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
44896         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
44897         * wcsmbs/wcslen.c: Define and use WCSLEN.
44898         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44899         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44900         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44901         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44902         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44903         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44904         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44905
44906 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44907
44908         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44909         strnlen-sse2-no-bsf.
44910         Rename strlen-no-bsf to strlen-sse2-no-bsf.
44911         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44912         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44913         Add strnlen support.
44914         (USE_AS_STRNLEN): New macro.
44915         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44916         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44917         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44918         * sysdeps/x86_64/wcslen.S: New file.
44919
44920 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
44921
44922         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44923         XMM-moves are used for copying on small sizes.
44924
44925 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44926
44927         * wcsmbs/Makefile (strop-tests): Add wcschr.
44928         * wcsmbs/test-wcschr.c: New file.
44929         * string/test-strchr.c: Update.
44930         Add wcschr support.
44931         (WIDE): New macro.
44932
44933 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44934
44935         * wcsmbs/Makefile (strop-tests): Add wcslen.
44936         * wcsmbs/test-wcslen.c: New file.
44937         * string/test-strlen.c: Update.
44938         Add wcslen support.
44939         (WIDE): New macro.
44940
44941 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44942
44943         * po/it.po: Update from translation team.
44944
44945 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44946
44947         * sysdeps/x86_64/wcscmp.S: Update.
44948         Fix wrong comparison semantics.
44949         wcscmp shall use signed comparison not unsigned.
44950         Don't use substraction to avoid overflow bug.
44951         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44952         * wcsmbc/wcscmp.c: Likewise.
44953         * string/test-strcmp.c: Likewise.
44954         Add new tests to check cases with negative values.
44955
44956 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44957
44958         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44959         * sysdeps/x86_64/dla.h: ...here.  New file.
44960         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44961         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44962         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44963         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44964         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44965         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44966         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44967         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44968         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44969
44970 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
44971
44972         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44973         __ynl_finite aliases.
44974
44975 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
44976
44977         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44978
44979         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44980         define DLA_FMA.
44981         [DLA_FMA] (EMULV): Use DLA_FMA.
44982         [DLA_FMA] (MUL12): Use EMULV.
44983         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44984         that are not needed.
44985         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44986         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44987         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44988         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44989         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44990         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44991         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44992
44993 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
44994
44995         * math/s_nan.c: Undef __nan.
44996         * math/s_nanf.c: Undef __nanf.
44997         * math/s_nanl.c: Undef __nanl.
44998         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44999         "math_private.h".
45000
45001 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
45002
45003         * math/s_catan.c: Add branch predictions.
45004         * math/s_catanf.c: Likewise.
45005         * math/s_catanh.c: Likewise.
45006         * math/s_catanhf.c: Likewise.
45007         * math/s_catanhl.c: Likewise.
45008         * math/s_catanl.c: Likewise.
45009         * math/s_cexp.c: Likewise.
45010         * math/s_cexpf.c: Likewise.
45011         * math/s_cexpl.c: Likewise.
45012         * math/s_clog.c: Likewise.
45013         * math/s_clog10.c: Likewise.
45014         * math/s_clog10f.c: Likewise.
45015         * math/s_clog10l.c: Likewise.
45016         * math/s_clogf.c: Likewise.
45017         * math/s_clogl.c: Likewise.
45018         * math/s_csqrt.c: Likewise.
45019         * math/s_csqrtf.c: Likewise.
45020         * math/s_csqrtl.c: Likewise.
45021         * math/s_ctanf.c: Likewise.
45022         * math/s_ctanh.c: Likewise.
45023         * math/s_ctanhf.c: Likewise.
45024         * math/s_ctanhl.c: Likewise.
45025         * math/s_ctanl.c: Likewise.
45026
45027         * math/math_private.h: Define __nan, __nanf, __nanl.
45028         * math/s_cacosh.c: Include <math_private.h>.
45029         * math/s_cacoshl.c: Likewise.
45030         * math/s_casinh.c: Likewise.
45031         * math/s_casinhf.c: Likewise.
45032         * math/s_casinhl.c: Likewise.
45033         * math/s_ccos.c: Rely entire on ccosh.
45034         * math/s_ccosf.c: Rely entire on ccoshf.
45035         * math/s_ccosl.c: Rely entirely on ccoshl.
45036         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
45037         Remove tests for FE_INVALID.
45038         * math/s_ccoshf.c: Likewise.
45039         * math/s_ccoshl.c: Likewise.
45040         * math/s_csin.c: Likewise.
45041         * math/s_csinf.c: Likewise.
45042         * math/s_csinh.c Likewise.
45043         * math/s_csinhf.c: Likewise.
45044         * math/s_csinhl.c: Likewise.
45045         * math/s_csinl.c: Likewise.
45046         * math/s_ctan.c: Likewise.
45047         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
45048         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
45049         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
45050
45051 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
45052
45053         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
45054         compilation problems.
45055
45056         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
45057         __builtin_expect.
45058
45059 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
45060
45061         * sysdeps/i386/configure.in: Test for -mfma4 option.
45062         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
45063         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
45064         COMMON_CPUID_INDEX_80000001.
45065         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
45066         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
45067         use it if FMA3 is not supported.
45068         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
45069
45070         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
45071         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45072
45073 2011-10-20  Andreas Schwab  <schwab@redhat.com>
45074
45075         [BZ #12892]
45076         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
45077         it would create a cycle with a link time dependency.
45078
45079 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
45080
45081         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
45082         instruction.
45083         * string/Makefile (strop-tests): Add rawmemchr.
45084         * string/test-rawmemchr.c: New file.
45085
45086         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
45087         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
45088         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
45089         when compiling str{,n}casecmp and when AVX is available.  Hook up
45090         new optimized code in initializers.
45091
45092 2011-10-19  Andreas Schwab  <schwab@redhat.com>
45093
45094         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
45095         __feraiseexcept instead of feraiseexcept.
45096
45097 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
45098
45099         * math/math_private.h: Define defaults for libc_fetestexcept and
45100         libc_feupdateenv.
45101         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
45102         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
45103         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45104         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45105         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45106         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45107         libc_fetestexcept and libc_feupdateenv.
45108
45109         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
45110         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
45111         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
45112         * sysdeps/x86_64/fpu/math_private.h: Define special version of
45113         libc_feholdexcept_setround.
45114
45115         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
45116         Add s_nearbyint-c and s_nearbyintf-c.
45117         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
45118         nearbyintf inlines.
45119         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
45120         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
45121         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
45122         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
45123
45124         * math/math_private.h: Define defaults for libc_fegetround,
45125         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
45126         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
45127         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
45128         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
45129         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
45130         standard functions.
45131         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45132         Remove comments and hacks for old compiler versions.
45133         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45134         libc_fegetround, libc_fesetround, libc_feholdexcept, and
45135         libc_feholdexceptl.
45136
45137 2011-10-18  Andreas Schwab  <schwab@redhat.com>
45138
45139         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
45140         (__feraiseexcept_renamed): Add __NTH.
45141         (feraiseexcept): Add __NTH.  Rename local variables to fix
45142         namespace violations.
45143
45144 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
45145
45146         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
45147
45148         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
45149
45150         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
45151         recently added interfaces.
45152         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
45153
45154         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
45155         about macro parameter expansion.
45156
45157         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
45158         __NO_MATH_INLINES is defined.  Cleanups.
45159
45160         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
45161         and __floorf is target has SSE4.1.
45162         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
45163         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
45164         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
45165         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
45166
45167         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
45168         name.
45169         (floorf): Likewise.
45170
45171         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
45172
45173 2011-10-17  Andreas Schwab  <schwab@redhat.com>
45174
45175         * misc/sys/cdefs.h: Fix last change.
45176
45177         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
45178         database lookup.
45179
45180 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
45181
45182         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
45183
45184         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
45185         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45186         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45187         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45188         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45189         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45190         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45191         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45192         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45193         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
45194         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
45195         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
45196         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
45197         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
45198         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
45199         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
45200         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
45201         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
45202         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
45203         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
45204         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
45205         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
45206
45207         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
45208         ceil, ceilf, floor, floorf.
45209
45210         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
45211         Perform IRELATIVE relocations last.
45212
45213         * elf/do-rel.h: Add another parameter nrelative, replacing the
45214         local variable with the same name.  Change name of the function
45215         to end in Rel or Rela (uppercase).
45216         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
45217         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
45218         elf_dynamic_do_##reloc function.
45219
45220 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
45221
45222         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
45223         is sufficient, at least on modern CPUs.
45224
45225         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
45226
45227         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
45228         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
45229
45230         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
45231         __expl_finite.
45232         * math/bits/math-finite.h: Add entries for exp.
45233         * math/e_expl.c: Add __*_finite alias.
45234         * sysdeps/i386/fpu/e_exp.S: Likewise.
45235         * sysdeps/i386/fpu/e_expf.S: Likewise.
45236         * sysdeps/i386/fpu/e_expl.c: Likewise.
45237         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45238         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45239         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45240         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45241         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
45242         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45243         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45244
45245         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
45246         is sufficient, at least on modern CPUs.
45247
45248         * ctype/ctype-info.c (__ctype_init): Define.
45249         * include/ctype.h (__ctype_init): Declare.
45250         (__ctype_b_loc): The variable is always initialized.
45251         (__ctype_toupper_loc): Likewise.
45252         (__ctype_tolower_loc): Likewise.
45253         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
45254         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
45255
45256 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
45257
45258         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
45259
45260         * configure.in: Also look in $cxxmachine/include for C++ system
45261         headers.
45262
45263 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45264
45265         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
45266         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
45267         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
45268         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
45269         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
45270         (USE_AS_WMEMCMP): New macro.
45271         Fixing indents.
45272         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
45273         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
45274         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
45275         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
45276         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45277         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
45278         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
45279         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
45280         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
45281         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
45282         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
45283         (USE_AS_WMEMCMP): New macro.
45284         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
45285         * sysdeps/string/test-memcmp.c: Update.
45286         Fix simple_wmemcmp.
45287         Add new tests.
45288         * wcsmbs/wmemcmp.c: Update.
45289         (WMEMCMP): New macro.
45290         Fix overflow bug.
45291
45292 2011-10-12  Andreas Jaeger  <aj@suse.de>
45293
45294         [BZ #13268]
45295         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
45296
45297 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
45298
45299         * libio/iofwide.c (do_length): Avoid warning.
45300
45301         * ctype/ctype.h (__isctype_f): Add missing __THROW.
45302
45303 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
45304
45305         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
45306
45307         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
45308         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
45309         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
45310         * sysdeps/i386/i686/fpu/e_log.S: New file.
45311         * sysdeps/i386/i686/fpu/e_logf.S: New file.
45312         * sysdeps/i386/i686/fpu/e_logl.S: New file.
45313
45314         * ctype/ctype.h: Add support for inlined isXXX functions when
45315         compiling C++ code.
45316
45317 2011-10-14  Andreas Schwab  <schwab@redhat.com>
45318
45319         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45320
45321         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
45322
45323 2011-10-13  Roland McGrath  <roland@hack.frob.com>
45324
45325         [BZ #13291]
45326         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
45327
45328 2011-10-13  Andreas Schwab  <schwab@redhat.com>
45329
45330         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
45331         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
45332         feraiseexcept.
45333
45334         * sysdeps/x86_64/memrchr.S: Check for zero size.
45335
45336         * string/stratcliff.c: Add memrchr tests.
45337
45338 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45339
45340         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45341         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
45342         rawmemchr-sse2 rawmemchr-sse2-bsf.
45343         * sysdeps/i386/i686/multiarch/memchr.S: New file.
45344         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
45345         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
45346         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
45347         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
45348         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
45349         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
45350         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
45351         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
45352         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
45353         * string/memrchr.c (MEMRCHR): New macro.
45354
45355 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
45356
45357         Add integration with gcc's -ffinite-math-only and optimize wrapper
45358         functions in libm.
45359         * Versions.def: Define GLIBC_2.15 version for libm.
45360         * math/Makefile (headers): Add bits/math-finite.h.
45361         * math/bits/math-finite.h: New file.
45362         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
45363         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
45364         * math/e_acoshl.c: Add __*_finite alias.
45365         * math/e_acosl.c: Likewise.
45366         * math/e_asinl.c: Likewise.
45367         * math/e_atan2l.c: Likewise.
45368         * math/e_atanhl.c: Likewise.
45369         * math/e_coshl.c: Likewise.
45370         * math/e_exp10.c: Likewise.
45371         * math/e_exp10f.c: Likewise.
45372         * math/e_exp10l.c: Likewise.
45373         * math/e_exp2l.c: Likewise.
45374         * math/e_fmodl.c: Likewise.
45375         * math/e_gammal_r.c: Likewise.
45376         * math/e_hypotl.c: Likewise.
45377         * math/e_j0l.c: Likewise.
45378         * math/e_j1l.c: Likewise.
45379         * math/e_jnl.c: Likewise.
45380         * math/e_lgammal_r.c: Likewise.
45381         * math/e_log10l.c: Likewise.
45382         * math/e_log2l.c: Likewise.
45383         * math/e_logl.c: Likewise.
45384         * math/e_powl.c: Likewise.
45385         * math/e_sinhl.c: Likewise.
45386         * math/e_sqrtl.c: Likewise.
45387         * math/e_scalb.c: Completely rewritten and optimized.
45388         * math/e_scalbf.c: Likewise.
45389         * math/e_scalbl.c: Likewise.
45390         * math/w_acos.c: Likewise.
45391         * math/w_acosf.c: Likewise.
45392         * math/w_acosl.c: Likewise.
45393         * math/w_acosh.c: Likewise.
45394         * math/w_acoshf.c: Likewise.
45395         * math/w_acoshl.c: Likewise.
45396         * math/w_asin.c: Likewise.
45397         * math/w_asinf.c: Likewise.
45398         * math/w_asinl.c: Likewise.
45399         * math/w_atan2.c: Likewise.
45400         * math/w_atan2f.c: Likewise.
45401         * math/w_atan2l.c: Likewise.
45402         * math/w_atanh.c: Likewise.
45403         * math/w_atanhf.c: Likewise.
45404         * math/w_atanhl.c: Likewise.
45405         * math/w_exp10.c: Likewise.
45406         * math/w_exp10f.c: Likewise.
45407         * math/w_exp10l.c: Likewise.
45408         * math/w_fmod.c: Likewise.
45409         * math/w_fmodf.c: Likewise.
45410         * math/w_fmodl.c: Likewise.
45411         * math/w_j0.c: Likewise.
45412         * math/w_j0f.c: Likewise.
45413         * math/w_j0l.c: Likewise.
45414         * math/w_j1.c: Likewise.
45415         * math/w_j1f.c: Likewise.
45416         * math/w_j1l.c: Likewise.
45417         * math/w_jn.c: Likewise.
45418         * math/w_jnf.c: Likewise.
45419         * math/w_log.c: Likewise.
45420         * math/w_logf.c: Likewise.
45421         * math/w_logl.c: Likewise.
45422         * math/w_log10.c: Likewise.
45423         * math/w_log10f.c: Likewise.
45424         * math/w_log10l.c: Likewise.
45425         * math/w_log2.c: Likewise.
45426         * math/w_log2f.c: Likewise.
45427         * math/w_log2l.c: Likewise.
45428         * math/w_pow.c: Likewise.
45429         * math/w_powf.c: Likewise.
45430         * math/w_powl.c: Likewise.
45431         * math/w_remainder.c: Likewise.
45432         * math/w_remainderf.c: Likewise.
45433         * math/w_remainderl.c: Likewise.
45434         * math/w_scalb.c: Likewise.
45435         * math/w_scalbf.c: Likewise.
45436         * math/w_scalbl.c: Likewise.
45437         * math/w_sqrt.c: Likewise.
45438         * math/w_sqrtf.c: Likewise.
45439         * math/w_sqrtl.c: Likewise.
45440         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
45441         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
45442         used.
45443         * math/math_private.h: Declare __kernel_standard_f.
45444         * math/w_cosh.c: Remove cruft and optimize a bit.
45445         * math/w_coshf.c: Likewise.
45446         * math/w_coshl.c: Likewise.
45447         * math/w_exp2.c: Likewise.
45448         * math/w_exp2f.c: Likewise.
45449         * math/w_exp2l.c: Likewise.
45450         * math/w_hypot.c: Likewise.
45451         * math/w_hypotf.c: Likewise.
45452         * math/w_hypotl.c: Likewise.
45453         * math/w_lgamma.c: Likewise.
45454         * math/w_lgamma_r.c: Likewise.
45455         * math/w_lgammaf.c: Likewise.
45456         * math/w_lgammaf_r.c: Likewise.
45457         * math/w_lgammal.c: Likewise.
45458         * math/w_lgammal_r.c: Likewise.
45459         * math/w_sinh.c: Likewise.
45460         * math/w_sinhf.c: Likewise.
45461         * math/w_sinhl.c: Likewise.
45462         * math/w_tgamma.c: Likewise.
45463         * math/w_tgammaf.c: Likewise.
45464         * math/w_tgammal.c: Likewise.
45465         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45466         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45467         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
45468         Minor optimizations.  Pretty printing.  Remove cruft.
45469         * sysdeps/i386/fpu/e_acosf.S: Likewise.
45470         * sysdeps/i386/fpu/e_acosh.S: Likewise.
45471         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45472         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45473         * sysdeps/i386/fpu/e_acosl.c: Likewise.
45474         * sysdeps/i386/fpu/e_asin.S: Likewise.
45475         * sysdeps/i386/fpu/e_asinf.S: Likewise.
45476         * sysdeps/i386/fpu/e_atan2.S: Likewise.
45477         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
45478         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
45479         * sysdeps/i386/fpu/e_atanh.S: Likewise.
45480         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45481         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45482         * sysdeps/i386/fpu/e_exp10.S: Likewise.
45483         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
45484         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
45485         * sysdeps/i386/fpu/e_exp2.S: Likewise.
45486         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
45487         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
45488         * sysdeps/i386/fpu/e_fmod.S: Likewise.
45489         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
45490         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
45491         * sysdeps/i386/fpu/e_hypot.S: Likewise.
45492         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
45493         * sysdeps/i386/fpu/e_log.S: Likewise.
45494         * sysdeps/i386/fpu/e_log10.S: Likewise.
45495         * sysdeps/i386/fpu/e_log10f.S: Likewise.
45496         * sysdeps/i386/fpu/e_log10l.S: Likewise.
45497         * sysdeps/i386/fpu/e_log2.S: Likewise.
45498         * sysdeps/i386/fpu/e_log2f.S: Likewise.
45499         * sysdeps/i386/fpu/e_log2l.S: Likewise.
45500         * sysdeps/i386/fpu/e_logf.S: Likewise.
45501         * sysdeps/i386/fpu/e_logl.S: Likewise.
45502         * sysdeps/i386/fpu/e_pow.S: Likewise.
45503         * sysdeps/i386/fpu/e_powf.S: Likewise.
45504         * sysdeps/i386/fpu/e_powl.S: Likewise.
45505         * sysdeps/i386/fpu/e_remainder.S: Likewise.
45506         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
45507         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
45508         * sysdeps/i386/fpu/e_scalb.S: Likewise.
45509         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45510         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45511         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
45512         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
45513         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
45514         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45515         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45516         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45517         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45518         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45519         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45520         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45521         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45522         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45523         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45524         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45525         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45526         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45527         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45528         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45529         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45530         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45531         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45532         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45533         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45534         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45535         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45536         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45537         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45538         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45539         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45540         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45541         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45542         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
45543         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45544         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45545         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45546         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45547         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45548         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45549         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45550         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45551         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45552         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45553         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45554         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45555         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45556         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45557         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45558         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45559         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45560         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45561         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45562         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45563         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
45564         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45565         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45566         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45567         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45568         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45569         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45570         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45571         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45572         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45573         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45574         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45575         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45576         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45577         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45578         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45579         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45580         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45581         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45582         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
45583         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45584         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45585         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45586         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45587         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45588         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45589         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45590         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
45591         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45592         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45593         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45594         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45595         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45596         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
45597         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45598         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45599         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45600         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45601         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45602         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45603         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45604         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45605         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45606         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45607         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45608         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45609         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45610         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45611         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
45612         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
45613         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
45614         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
45615         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
45616         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
45617         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
45618         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45619         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45620         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45621         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45622         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
45623         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45624         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
45625         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
45626         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
45627         (__isnanf): Likewise.
45628         (__isinf_ns): Likewise.
45629         (__isinf_nsf): Likewise.
45630         (__finite): Likewise.
45631         (__finitef): Likewise.
45632         (__ieee754_sqrt): Define as macro.
45633         (__ieee754_sqrtf): Define as macro.
45634         (__ieee754_sqrtl): Define as macro.
45635         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
45636         inlined copy.
45637         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
45638         __FINITE_MATH_ONLY__ consistent.
45639         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
45640
45641 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
45642
45643         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
45644         of rawmemchr.
45645
45646         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
45647
45648 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
45649
45650         * po/ja.po: Update from translation team.
45651
45652 2011-10-08  Roland McGrath  <roland@hack.frob.com>
45653
45654         * locale/programs/locarchive.c (prepare_address_space): New function.
45655         (create_archive, enlarge_archive, open_archive): Use it.
45656
45657         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
45658         inside [SHARED], where it is used.
45659
45660         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
45661
45662         * nss/getent.c (netgroup_keys): Remove unused variable.
45663         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45664
45665 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
45666
45667         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
45668         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
45669         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
45670         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
45671         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
45672         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
45673         * math/Makefile (libm-calls): Add s_isinf_ns.
45674         * math/divtc3.c: Use __isinf_nsl instead of isinf.
45675         * math/multc3.c: Likewise.
45676         * math/s_casin.c: Likewise.
45677         * math/s_casinf.c: Likewise.
45678         * math/s_casinl.c: Likewise.
45679         * math/s_ccos.c: Likewise.
45680         * math/s_ccosf.c: Likewise.
45681         * math/s_ccosl.c: Likewise.
45682         * math/s_ctan.c: Likewise.
45683         * math/s_ctanf.c: Likewise.
45684         * math/s_ctanh.c: Likewise.
45685         * math/s_ctanhf.c: Likewise.
45686         * math/s_ctanhl.c: Likewise.
45687         * math/s_ctanl.c: Likewise.
45688         * math/w_fmod.c: Likewise.
45689         * math/w_fmodf.c: Likewise.
45690         * math/w_fmodl.c: Likewise.
45691         * math/w_remainder.c: Likewise.
45692         * math/w_remainderf.c: Likewise.
45693         * math/w_remainderl.c: Likewise.
45694         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
45695         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
45696         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
45697         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
45698         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
45699         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
45700         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
45701         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
45702
45703         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
45704         of the number.
45705         * stdio-common/printf_fphex.c: Likewise.
45706         * stdio-common/printf_size.c: Likewise.
45707
45708         * math/e_exp10.c: Include math_private.h using <...> not "...".
45709         * math/e_exp10f.c: Likewise.
45710         * math/e_exp10l.c: Likewise.
45711         * math/e_exp2l.c: Likewise.
45712         * math/e_j0l.c: Likewise.
45713         * math/e_j1l.c: Likewise.
45714         * math/e_jnl.c: Likewise.
45715         * math/e_lgammal_r.c: Likewise.
45716         * math/e_rem_pio2l.c: Likewise.
45717         * math/e_scalb.c: Likewise.
45718         * math/e_scalbf.c: Likewise.
45719         * math/e_scalbl.c: Likewise.
45720         * math/k_cosl.c: Likewise.
45721         * math/k_sinl.c: Likewise.
45722         * math/k_tanl.c: Likewise.
45723         * math/s_cacoshf.c: Likewise.
45724         * math/s_catan.c: Likewise.
45725         * math/s_catanf.c: Likewise.
45726         * math/s_catanh.c: Likewise.
45727         * math/s_catanhf.c: Likewise.
45728         * math/s_catanhl.c: Likewise.
45729         * math/s_catanl.c: Likewise.
45730         * math/s_ccosh.c: Likewise.
45731         * math/s_ccoshf.c: Likewise.
45732         * math/s_ccoshl.c: Likewise.
45733         * math/s_cexp.c: Likewise.
45734         * math/s_cexpf.c: Likewise.
45735         * math/s_cexpl.c: Likewise.
45736         * math/s_clog.c: Likewise.
45737         * math/s_clog10.c: Likewise.
45738         * math/s_clog10f.c: Likewise.
45739         * math/s_clog10l.c: Likewise.
45740         * math/s_clogf.c: Likewise.
45741         * math/s_clogl.c: Likewise.
45742         * math/s_csin.c: Likewise.
45743         * math/s_csinf.c: Likewise.
45744         * math/s_csinh.c: Likewise.
45745         * math/s_csinhf.c: Likewise.
45746         * math/s_csinhl.c: Likewise.
45747         * math/s_csinl.c: Likewise.
45748         * math/s_csqrt.c: Likewise.
45749         * math/s_csqrtf.c: Likewise.
45750         * math/s_csqrtl.c: Likewise.
45751         * math/s_ctan.c: Likewise.
45752         * math/s_ctanf.c: Likewise.
45753         * math/s_ctanh.c: Likewise.
45754         * math/s_ctanhf.c: Likewise.
45755         * math/s_ctanhl.c: Likewise.
45756         * math/s_ctanl.c: Likewise.
45757         * math/s_ldexp.c: Likewise.
45758         * math/s_ldexpf.c: Likewise.
45759         * math/s_ldexpl.c: Likewise.
45760         * math/s_significand.c: Likewise.
45761         * math/s_significandf.c: Likewise.
45762         * math/s_significandl.c: Likewise.
45763         * math/w_acos.c: Likewise.
45764         * math/w_acosf.c: Likewise.
45765         * math/w_acosh.c: Likewise.
45766         * math/w_acoshf.c: Likewise.
45767         * math/w_acoshl.c: Likewise.
45768         * math/w_acosl.c: Likewise.
45769         * math/w_asin.c: Likewise.
45770         * math/w_asinf.c: Likewise.
45771         * math/w_asinl.c: Likewise.
45772         * math/w_atan2.c: Likewise.
45773         * math/w_atan2f.c: Likewise.
45774         * math/w_atan2l.c: Likewise.
45775         * math/w_atanh.c: Likewise.
45776         * math/w_atanhf.c: Likewise.
45777         * math/w_atanhl.c: Likewise.
45778         * math/w_cosh.c: Likewise.
45779         * math/w_coshf.c: Likewise.
45780         * math/w_coshl.c: Likewise.
45781         * math/w_dremf.c: Likewise.
45782         * math/w_exp10.c: Likewise.
45783         * math/w_exp10f.c: Likewise.
45784         * math/w_exp10l.c: Likewise.
45785         * math/w_exp2.c: Likewise.
45786         * math/w_exp2f.c: Likewise.
45787         * math/w_fmod.c: Likewise.
45788         * math/w_fmodf.c: Likewise.
45789         * math/w_fmodl.c: Likewise.
45790         * math/w_hypot.c: Likewise.
45791         * math/w_hypotf.c: Likewise.
45792         * math/w_hypotl.c: Likewise.
45793         * math/w_j0.c: Likewise.
45794         * math/w_j0f.c: Likewise.
45795         * math/w_j0l.c: Likewise.
45796         * math/w_j1.c: Likewise.
45797         * math/w_j1f.c: Likewise.
45798         * math/w_j1l.c: Likewise.
45799         * math/w_jn.c: Likewise.
45800         * math/w_jnf.c: Likewise.
45801         * math/w_jnl.c: Likewise.
45802         * math/w_lgamma.c: Likewise.
45803         * math/w_lgamma_r.c: Likewise.
45804         * math/w_lgammaf.c: Likewise.
45805         * math/w_lgammaf_r.c: Likewise.
45806         * math/w_lgammal.c: Likewise.
45807         * math/w_lgammal_r.c: Likewise.
45808         * math/w_log.c: Likewise.
45809         * math/w_log10.c: Likewise.
45810         * math/w_log10f.c: Likewise.
45811         * math/w_log10l.c: Likewise.
45812         * math/w_log2.c: Likewise.
45813         * math/w_log2f.c: Likewise.
45814         * math/w_log2l.c: Likewise.
45815         * math/w_logf.c: Likewise.
45816         * math/w_logl.c: Likewise.
45817         * math/w_pow.c: Likewise.
45818         * math/w_powf.c: Likewise.
45819         * math/w_powl.c: Likewise.
45820         * math/w_remainder.c: Likewise.
45821         * math/w_remainderf.c: Likewise.
45822         * math/w_remainderl.c: Likewise.
45823         * math/w_scalb.c: Likewise.
45824         * math/w_scalbf.c: Likewise.
45825         * math/w_scalbl.c: Likewise.
45826         * math/w_sinh.c: Likewise.
45827         * math/w_sinhf.c: Likewise.
45828         * math/w_sinhl.c: Likewise.
45829         * math/w_sqrt.c: Likewise.
45830         * math/w_sqrtf.c: Likewise.
45831         * math/w_sqrtl.c: Likewise.
45832         * math/w_tgamma.c: Likewise.
45833         * math/w_tgammaf.c: Likewise.
45834         * math/w_tgammal.c: Likewise.
45835
45836         * po/ja.po: Update from translation team.
45837
45838 2011-09-29  Andreas Jaeger  <aj@suse.de>
45839
45840         [BZ #13179]
45841         * sunrpc/netname.c (netname2host): Fix logic.
45842
45843         [BZ #6779]
45844         [BZ #6783]
45845         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45846         correctly.
45847         * math/w_remainder.c (__remainder): Likewise.
45848         * math/w_remainderf.c (__remainderf): Likewise.
45849         * math/libm-test.inc (remainder_test): Add test cases.
45850
45851 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45852
45853         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
45854         sdiv_qrnnd.
45855
45856 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45857
45858         * string/test-memcmp.c: Avoid unncessary #defines.
45859         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45860
45861 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45862
45863         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45864         Use new sse2 version for core i3 - i7 as it's faster
45865         than sse42 version.
45866         (bit_Prefer_PMINUB_for_stringop): New.
45867         * sysdeps/x86_64/rawmemchr.S: Update.
45868         Replace with faster SSE2 version.
45869         * sysdeps/x86_64/memrchr.S: New file.
45870         * sysdeps/x86_64/memchr.S: Update.
45871         Replace with faster SSE2 version.
45872
45873 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
45874
45875         * elf/dl-load.c (lose): Add cast to avoid warning.
45876
45877 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45878
45879         * po/ca.po: Update from translation team.
45880
45881         * inet/getnetgrent_r.c: Hook up nscd.
45882         * nscd/Makefile (routines): Add nscd_netgroup.
45883         (nscd-modules): Add netgroupcache.
45884         (CFLAGS-netgroupcache.c): Define.
45885         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45886         (cache_search): Add const to second parameter.
45887         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45888         INNETGR.
45889         (dbs): Add netgrdb entry.
45890         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45891         (verify_persistent_db): Handle netgrdb.
45892         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45893         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
45894         GETFDNETGR.
45895         (netgroup_response_header): Define.
45896         (innetgroup_response_header): Define.
45897         (datahead): Add netgroup_response_header and innetgroup_response_header
45898         elements.
45899         * nscd/nscd.conf: Add entries for netgroup cache.
45900         * nscd/nscd.h (dbtype): Add netgrdb.
45901         (_PATH_NSCD_NETGROUP_DB): Define.
45902         (netgroup_iov_disabled): Declare.
45903         (xmalloc, xcalloc, xrealloc): Move declarations here.
45904         (cache_search): Adjust prototype.
45905         Add netgroup-related prototypes.
45906         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45907         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45908         (__nscd_innetgr): Declare.
45909         * nscd/selinux.c (perms): Use access_vector_t as element type and
45910         add netgroup-related initializers.
45911         * nscd/netgroupcache.c: New file.
45912         * nscd/nscd_netgroup.c: New file.
45913         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45914         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45915         For four parameters use innetgr.
45916         * nss/nss_files/files-init.c: Add definition and callback for netgr.
45917         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45918         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45919         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45920
45921         * nscd/connections.c (register_traced_file): Don't register file
45922         for disabled databases.
45923
45924 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
45925
45926         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45927
45928         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45929         from tree and freeing node.
45930
45931 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
45932
45933         * nss/nsswitch.c (__nss_database_lookup): Handle
45934         nss_parse_service_list out of memory case.
45935
45936 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
45937
45938         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45939         out of memory case.
45940
45941 2011-10-04  Andreas Schwab  <schwab@redhat.com>
45942
45943         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45944         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45945         pass it down.
45946         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45947         elf_machine_rela, elf_machine_lazy_rel.
45948         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45949         (ELF_DYNAMIC_DO_REL): Likewise.
45950         (ELF_DYNAMIC_DO_RELA): Likewise.
45951         (ELF_DYNAMIC_RELOCATE): Likewise.
45952         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45953         to ELF_DYNAMIC_DO_REL.
45954         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45955         (dl_main): In trace mode always set __RTLD_NOIFUNC.
45956         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45957         elf_machine_rela.
45958         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45959         skip_ifunc, don't call ifunc function if non-zero.
45960         (elf_machine_rela): Likewise.
45961         (elf_machine_lazy_rel): Likewise.
45962         (elf_machine_lazy_rela): Likewise.
45963         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45964         (elf_machine_lazy_rel): Likewise.
45965         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45966         Likewise.
45967         (elf_machine_lazy_rel): Likewise.
45968         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45969         Likewise.
45970         (elf_machine_lazy_rel): Likewise.
45971         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45972         (elf_machine_lazy_rel): Likewise.
45973         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45974         (elf_machine_lazy_rel): Likewise.
45975         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45976         (elf_machine_lazy_rel): Likewise.
45977         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45978         (elf_machine_lazy_rel): Likewise.
45979         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45980         (elf_machine_lazy_rel): Likewise.
45981         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45982         (elf_machine_lazy_rel): Likewise.
45983
45984 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
45985
45986         * nss/nss_files/files-init.c (_nss_files_init): Use static
45987         initialization for all the *_traced_file variables.
45988
45989 2011-09-28  Andreas Schwab  <schwab@redhat.com>
45990
45991         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45992
45993 2011-09-27  Roland McGrath  <roland@hack.frob.com>
45994
45995         [BZ #13226]
45996         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45997
45998 2011-09-27  Andreas Schwab  <schwab@redhat.com>
45999
46000         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46001         Reread the line before reparsing it.
46002
46003 2011-09-26  Andreas Schwab  <schwab@redhat.com>
46004
46005         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
46006
46007 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
46008             Maxim Kuvyrkov  <maxim@codesourcery.com>
46009             Joseph Myers  <joseph@codesourcery.com>
46010
46011         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
46012         if needed for __stack_chk_guard.
46013
46014 2011-09-19  Roland McGrath  <roland@hack.frob.com>
46015
46016         * sysdeps/posix/spawni.c (script_execute): Always define it.
46017         It will be optimized away if unused.
46018         (maybe_script_execute): New function.
46019         (__spawni): Call it.
46020
46021         * Makerules: Don't include tls.make.
46022         (config-tls): Always set to thread.
46023         * tls.make.c: File removed.
46024
46025 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
46026
46027         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
46028         * config.make.in (CPPFLAGS-config): New substituted variable.
46029
46030 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
46031
46032         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
46033
46034         [BZ #13192]
46035         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
46036         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
46037
46038 2011-09-15  Roland McGrath  <roland@hack.frob.com>
46039
46040         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
46041         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
46042         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46043         (CALL_FAIL): Likewise.
46044         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
46045         (CALL_FAIL): Macro removed.
46046         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
46047
46048 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
46049
46050         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
46051         for __FINITE_MATH_ONLY__ == 1.
46052
46053 2011-09-15  Andreas Schwab  <schwab@redhat.com>
46054
46055         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
46056         __ieee754_sqrt instead of sqrt.
46057         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
46058         __ieee754_sqrtf instead of sqrtf.
46059         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
46060         __floorf instead of floorf.
46061         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
46062         __floorf, __truncf instead of floorf, truncf.
46063
46064 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
46065
46066         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
46067
46068         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
46069         __extern_always_inline.
46070         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
46071         32-bit.
46072
46073 2011-09-14  Andreas Schwab  <schwab@redhat.com>
46074
46075         * elf/rtld.c (dl_main): Also relocate in dependency order when
46076         doing symbol dependency testing.
46077
46078 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
46079
46080         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46081         Always define `refsym'.
46082
46083 2011-09-13  Andreas Schwab  <schwab@redhat.com>
46084
46085         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
46086         (__FD_ELT): Renamed from __FDELT.
46087         * misc/bits/select2.h (__FD_ELT): Likewise.
46088         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
46089         __FD_MASK instead of __FDELT, __FDMASK.
46090         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
46091         Likewise.
46092         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
46093         Likewise.
46094
46095         * elf/Makefile (gen-ldd): Fix pattern.
46096
46097         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
46098         (init_tls): Likewise.
46099
46100 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
46101
46102         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
46103
46104 2011-09-12  Andreas Schwab  <schwab@redhat.com>
46105
46106         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
46107         `struct cmsghdr *' instead of `void *'.
46108         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
46109         Likewise.
46110
46111 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
46112
46113         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
46114         if non-absolute.
46115         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
46116         ldd_rewrite_script.
46117
46118 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
46119
46120         * configure.in: Remove --with-tls option.
46121         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
46122         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
46123         out in case it is missing.
46124         * sysdeps/ia64/elf/configure.in: Likewise.
46125         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
46126         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
46127         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
46128         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
46129         * sysdeps/sh/elf/configure.in: Likewise.
46130         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
46131         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46132         * sysdeps/x86_64/elf/configure.in: Likewise.
46133         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
46134         * sysdeps/mach/hurd/tls.h: Likewise.
46135
46136         [BZ #13067]
46137         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
46138
46139         [BZ #13090]
46140         * configure.in: Fix use of AC_INIT.
46141
46142         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
46143
46144 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
46145
46146         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
46147         __set_errno.
46148         * malloc/hooks.c: Likewise.
46149
46150         [BZ #11929]
46151         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
46152         variables statically.
46153         (narenas): Initialize.
46154         (list_lock): Initialize.
46155         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
46156         initializtion of main_arena and list_lock.  Small cleanups.
46157         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
46158         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
46159         Add initializers to main_arena and mp_.
46160         (malloc_state): Remove pagesize member.  Change all users to use
46161         GLRO(dl_pagesize).
46162
46163         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
46164         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
46165         is always initialized.
46166
46167         * malloc/malloc.c: Removed unused configurations and dead code.
46168         * malloc/arena.c: Likewise.
46169         * malloc/hooks.c: Likewise.
46170         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
46171
46172         * include/tls.h: Removed.  USE___THREAD must always be defined.
46173         * bits/libc-tsd.h: Don't handle !USE___THREAD.
46174         * elf/dl-libc.c: Likewise.
46175         * elf/dl-tsd.c: Likewise.
46176         * include/errno.h: Likewise.
46177         * include/netdb.h: Likewise.
46178         * include/resolv.h: Likewise.
46179         * inet/herrno-loc.c: Likewise.
46180         * inet/herrno.c: Likewise.
46181         * malloc/arena.c: Likewise.
46182         * malloc/hooks.c: Likewise.
46183         * malloc/malloc.c: Likewise.
46184         * resolv/res-state.c: Likewise.
46185         * resolv/res_libc.c: Likewise.
46186         * sysdeps/i386/dl-machine.h: Likewise.
46187         * sysdeps/ia64/dl-machine.h: Likewise.
46188         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
46189         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46190         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
46191         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
46192         * sysdeps/sh/dl-machine.h: Likewise.
46193         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46194         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46195         * sysdeps/unix/i386/sysdep.S: Likewise.
46196         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46197         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
46198         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
46199         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46200         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
46201         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46202         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46203         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46204         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46205         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46206         * sysdeps/unix/x86_64/sysdep.S: Likewise.
46207         * sysdeps/x86_64/dl-machine.h: Likewise.
46208         * tls.make.c: Likewise.
46209
46210         * configure.in: Remove --with-__thread option.  Make tests for
46211         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
46212         tls_model attribute fail if no support is available.  Remove
46213         USE_IN_LIBIO.
46214         * Makeconfig: Adjust for dropped configure option.  All features are
46215         now mandatory.
46216         * Makerules: Likewise.
46217         * Versions.def: Likewise.
46218         * argp/argp-fmtstream.c: Likewise.
46219         * argp/argp-fmtstream.h: Likewise.
46220         * argp/argp-help.c: Likewise.
46221         * assert/assert.c: Likewise.
46222         * config.h.in: Likewise.
46223         * config.make.in: Likewise.
46224         * configure: Likewise.
46225         * configure.in: Likewise.
46226         * csu/Versions: Likewise.
46227         * csu/init.c: Likewise.
46228         * elf/tst-audit2.c: Likewise.
46229         * elf/tst-tls10.c: Likewise.
46230         * elf/tst-tls10.h: Likewise.
46231         * elf/tst-tls11.c: Likewise.
46232         * elf/tst-tls12.c: Likewise.
46233         * elf/tst-tls14.c: Likewise.
46234         * elf/tst-tlsmod11.c: Likewise.
46235         * elf/tst-tlsmod12.c: Likewise.
46236         * elf/tst-tlsmod13.c: Likewise.
46237         * elf/tst-tlsmod13a.c: Likewise.
46238         * elf/tst-tlsmod14a.c: Likewise.
46239         * elf/tst-tlsmod15b.c: Likewise.
46240         * elf/tst-tlsmod16a.c: Likewise.
46241         * elf/tst-tlsmod16b.c: Likewise.
46242         * elf/tst-tlsmod7.c: Likewise.
46243         * elf/tst-tlsmod8.c: Likewise.
46244         * elf/tst-tlsmod9.c: Likewise.
46245         * gmon/gmon.c: Likewise.
46246         * grp/fgetgrent_r.c: Likewise.
46247         * grp/putgrent.c: Likewise.
46248         * hurd/fopenport.c: Likewise.
46249         * include/libc-symbols.h: Likewise.
46250         * include/tls.h: Likewise.
46251         * intl/gettextP.h: Likewise.
46252         * intl/loadinfo.h: Likewise.
46253         * locale/global-locale.c: Likewise.
46254         * locale/localeinfo.h: Likewise.
46255         * mach/devstream.c: Likewise.
46256         * malloc/arena.c: Likewise.
46257         * malloc/set-freeres.c: Likewise.
46258         * misc/err.c: Likewise.
46259         * misc/getttyent.c: Likewise.
46260         * misc/mntent_r.c: Likewise.
46261         * posix/getopt.c: Likewise.
46262         * posix/wordexp.c: Likewise.
46263         * pwd/fgetpwent_r.c: Likewise.
46264         * resolv/Versions: Likewise.
46265         * resolv/res_hconf.c: Likewise.
46266         * shadow/fgetspent_r.c: Likewise.
46267         * shadow/putspent.c: Likewise.
46268         * stdio-common/printf_fphex.c: Likewise.
46269         * stdio-common/tmpfile.c: Likewise.
46270         * stdlib/abort.c: Likewise.
46271         * stdlib/fmtmsg.c: Likewise.
46272         * sunrpc/auth_unix.c: Likewise.
46273         * sunrpc/clnt_perr.c: Likewise.
46274         * sunrpc/clnt_tcp.c: Likewise.
46275         * sunrpc/clnt_udp.c: Likewise.
46276         * sunrpc/clnt_unix.c: Likewise.
46277         * sunrpc/openchild.c: Likewise.
46278         * sunrpc/svc_simple.c: Likewise.
46279         * sunrpc/svc_tcp.c: Likewise.
46280         * sunrpc/svc_udp.c: Likewise.
46281         * sunrpc/svc_unix.c: Likewise.
46282         * sunrpc/xdr.c: Likewise.
46283         * sunrpc/xdr_array.c: Likewise.
46284         * sunrpc/xdr_rec.c: Likewise.
46285         * sunrpc/xdr_ref.c: Likewise.
46286         * sunrpc/xdr_stdio.c: Likewise.
46287
46288 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
46289
46290         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46291
46292 2011-07-03  Andreas Jaeger  <aj@suse.de>
46293
46294         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
46295         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
46296         regenerate with gen-libm-tests.pl.
46297
46298 2010-05-12  Petr Baudis  <pasky@suse.cz>
46299
46300         [BZ #11589]
46301         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
46302         around j0() zero points by switching to j1().
46303         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46304         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46305         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46306         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46307
46308 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
46309
46310         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
46311         instead of 0.
46312         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
46313         instead of 0.
46314         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46315         Patch in part by Pavel Roskin <proski@gnu.org>.
46316
46317         [BZ #13138]
46318         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
46319         realloc.
46320         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
46321         Free memory block if necessary.
46322
46323         [BZ #12847]
46324         * libio/genops.c (INTDEF): For string streams the _lock pointer can
46325         be NULL.  Don't lock in this case.
46326
46327 2011-09-09  Roland McGrath  <roland@hack.frob.com>
46328
46329         * elf/elf.h (ELFOSABI_GNU): New macro.
46330         (ELFOSABI_LINUX): Define to that.
46331
46332 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
46333
46334         * string/strncat.c (strncat): Undef the symbol in case it has been
46335         defined in bits/string.h.
46336
46337 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
46338
46339         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
46340
46341         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
46342         link map.
46343
46344 2011-08-17  Andreas Jaeger  <aj@suse.de>
46345
46346         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
46347
46348 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
46349             Ian Lance Taylor  <iant@google.com>
46350
46351         * math/libm-test.inc (lround_test): New testcase.
46352         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
46353
46354 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
46355
46356         * Makefile: Remove support for automatic cvs check-ins.
46357         * Makerules: Likewise.
46358         * config.make.in: Likewise.
46359         * configure.in: Likewise.
46360         * intl/Makefile: Likewise.
46361         * locale/Makefile: Likewise.
46362         * po/Makefile: Likewise.
46363         * posix/Makefile: Likewise.
46364         * sysdeps/gnu/Makefile: Likewise.
46365         * sysdeps/mach/hurd/Makefile: Likewise.
46366         * sysdeps/sparc/sparc32/Makefile: Likewise.
46367
46368         [BZ #13118]
46369         * posix/Makefile (bug-regex32-ENV): Define.
46370         Patch by John Stanley <jpsinthemix@verizon.net>.
46371
46372         * misc/Makefile (headers): Add bits/select2.h.
46373         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
46374         * misc/bits/select2.h: New file.
46375         * include/bits/select2.h: New file.
46376         * debug/Makefile (routines): Add fdelt_chk.
46377         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
46378         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
46379         FD_ISSET.
46380         * debug/fdelt_chk.c: New file.
46381
46382         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
46383         * wcsmbs/test-wmemcmp.c: Likewise.
46384         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
46385         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
46386
46387 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46388
46389         * string/Makefile (strop-tests): Add memcmp.
46390         * string/test-wmemcmp.c: New file.
46391         * string/test-memcmp.c: Add wmemcmp support.
46392
46393 2011-09-08  Roland McGrath  <roland@hack.frob.com>
46394
46395         [BZ #13153]
46396         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
46397         2011-07-19 change.
46398
46399         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
46400         garbage value in a __mach_port_mod_refs call in the cases of the
46401         task-self and thread-self ports.
46402
46403 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46404
46405         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
46406
46407 2011-09-08  Andreas Schwab  <schwab@redhat.com>
46408
46409         * elf/dl-load.c (lose): Check for non-null L.
46410
46411 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
46412
46413         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
46414
46415         * elf/dl-libc.c (dlerror_run): Pass back error code from
46416         dl_catch_error.
46417
46418         [BZ #13123]
46419         * elf/dl-load.c (lose): Free l_origin if it is valid.
46420
46421         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
46422         names.
46423         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
46424         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46425         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46426         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46427         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
46428         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
46429
46430 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46431
46432         * sysdeps/powerpc/fpu/e_hypot.c: New file.
46433         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
46434         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
46435         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
46436         * sysdeps/powerpc/fpu/k_cosf.c: New file.
46437         * sysdeps/powerpc/fpu/k_sinf.c: New file.
46438         * sysdeps/powerpc/fpu/s_cosf.c: New file.
46439         * sysdeps/powerpc/fpu/s_sinf.c: New file.
46440         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
46441         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
46442
46443 2011-08-15  Alan Modra  <amodra@gmail.com>
46444
46445         [BZ #13092]
46446         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
46447         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
46448         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
46449         ppc_mcount to static-only-routines.
46450         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
46451         __mcount_internal.
46452         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
46453         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
46454
46455 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
46456
46457         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
46458         for finite and infinity parameters.
46459
46460 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
46461
46462         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
46463         and add nop instructions for throughput optimization.
46464         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46465
46466 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
46467
46468         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
46469         aligned copy for power7 with vector-scalar instructions.
46470         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46471
46472 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
46473
46474         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
46475         AVX check.
46476
46477 2011-09-07  Andreas Schwab  <schwab@redhat.com>
46478
46479         [BZ #13144]
46480         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
46481         last change.
46482
46483 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
46484
46485         * sysdeps/unix/sysv/linux/x86_64/init-first.c
46486         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
46487         syscall wrapper around clock_gettime in __vdso_clock_gettime.
46488         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
46489         clock_gettime.
46490
46491 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
46492
46493         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
46494         Forgot to demangle the pointer.
46495
46496         * sysdeps/i386/sysdep.h: Define atom_text_section.
46497         * sysdeps/x86_64/sysdep.h: Likewise.
46498         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
46499         section with atom_text_section.
46500         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46501         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46502         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
46503         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46504         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
46505
46506         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
46507         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
46508         already be defined.  Change to take two parameters and don't assign
46509         result to variable.  Adjust all users.
46510         Define INTERNAL_GETTIME if not already defined.
46511         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
46512         call.
46513         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
46514         HAVE_CLOCK_GETTIME_VSYSCALL.
46515         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
46516
46517         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
46518         gettimeofday vsyscall, just use time.
46519
46520 2011-09-06  Andreas Schwab  <schwab@redhat.com>
46521
46522         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
46523         <errno.h>.
46524
46525 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
46526
46527         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
46528         syscall on x86-64.
46529         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
46530         syscall.
46531         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
46532         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
46533         syscall if possible.
46534
46535 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46536
46537         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
46538         e_ident.  Don't pass to find_mapsXX.
46539         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
46540
46541 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46542
46543         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46544         strchr-sse2-no-bsf strrchr-sse2-no-bsf
46545         * sysdeps/x86_64/multiarch/strchr.S: Update.
46546         Check bit_slow_BSF bit.
46547         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46548         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
46549         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
46550
46551 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46552
46553         [BZ #13134]
46554         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
46555         before glibc 2.15.
46556         (tryshell): Define.
46557         (__spawni): Change last parameter to be flag.  Test
46558         SPAWN_XFLAGS_USE_PATH flag to use path or not.
46559         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
46560         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
46561         * posix/spawni.c: Likewise.
46562         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
46563         * posix/spawnp.c: Likewise.  Change normal version to use
46564         SPAWN_XFLAGS_USE_PATH.
46565         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
46566         SPAWN_XFLAGS_TRY_SHELL.
46567
46568         [BZ #13150]
46569         * posix/glob.h: Remove gcc 1.x support.
46570
46571         [BZ #13068]
46572         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
46573
46574 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46575
46576         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46577         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
46578         strrchr-sse2-bsf
46579         * sysdeps/i386/i686/multiarch/strchr.S: New file.
46580         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
46581         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
46582         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
46583         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
46584         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
46585
46586 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46587
46588         * sysdeps/x86_64/wcscmp.S: New file.
46589
46590         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
46591         wcscmp-c wcscmp-sse2
46592         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
46593         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
46594         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
46595         * wcsmbs/wcscmp.c: Allow renaming.
46596
46597 2011-09-05  David S. Miller  <davem@davemloft.net>
46598
46599         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
46600         stack slot, rather than the struct return pointer slot.
46601         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
46602         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
46603         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
46604         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
46605
46606 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46607
46608         * po/ja.po: Update from translation team.
46609
46610         [BZ #13144]
46611         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
46612         kernel in 64-bit binaries.
46613
46614 2011-09-01  David S. Miller  <davem@davemloft.net>
46615
46616         * elf/elf.h (HWCAP_SPARC_*): Move to..
46617         * sysdeps/sparc/sysdep.h: this new file and add new values.
46618         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
46619         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
46620         _DL_HWCAP_COUNT to 24.
46621         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46622         entries.
46623         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
46624         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
46625         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
46626         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
46627         instead of magic constants.
46628         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46629
46630 2011-08-31  David S. Miller  <davem@davemloft.net>
46631
46632         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
46633         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
46634         Reimplement to do errno handling inline.
46635         (SYSCALL_ERROR_HANDLER): New macro.
46636         (__SYSCALL_STRING): Do not do errno handling in asm.
46637         (__CLONE_SYSCALL_STRING): Delete.
46638         (__INTERNAL_SYSCALL_STRING): Delete.
46639         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
46640         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
46641         (PSEUDO): Reimplement to do errno handling inline.
46642         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
46643         (SYSCALL_ERROR_HANDLER): New macro.
46644         (__SYSCALL_STRING): Do not do errno handling in asm.
46645         (__CLONE_SYSCALL_STRING): Delete.
46646         (__INTERNAL_SYSCALL_STRING): Delete.
46647         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
46648         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
46649         i386.
46650         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
46651         (inline_syscall*): Add 'err' argument.
46652         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
46653         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
46654         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
46655         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
46656
46657         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
46658         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46659
46660 2011-08-30  Andreas Schwab  <schwab@redhat.com>
46661
46662         * elf/rtld.c (dl_main): Relocate objects in dependency order.
46663
46664 2011-08-29  Jiri Olsa <jolsa@redhat.com>
46665
46666         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
46667         directive.
46668
46669 2011-08-24  David S. Miller  <davem@davemloft.net>
46670
46671         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
46672
46673 2011-08-24  Andreas Schwab  <schwab@redhat.com>
46674
46675         * elf/Makefile: Add rules to build and run unload8 test.
46676         * elf/unload8.c: New file.
46677         * elf/unload8mod1.c: New file.
46678         * elf/unload8mod1x.c: New file.
46679         * elf/unload8mod2.c: New file.
46680         * elf/unload8mod3.c: New file.
46681
46682         * elf/dl-close.c (_dl_close_worker): Reset private search list if
46683         it wasn't used.
46684
46685 2011-08-23  David S. Miller  <davem@davemloft.net>
46686
46687         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
46688         subtract stack bias.
46689         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
46690         %sp not %fp in calculations.
46691         (_JMPBUF_UNWINDS_ADJ): Likewise.
46692
46693         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
46694         (aio_suspend): Call it to force an exception region around the
46695         AIO_MISC_WAIT() invocation.
46696
46697 2011-08-23  Andreas Schwab  <schwab@redhat.com>
46698
46699         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
46700         backslash.
46701
46702 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
46703
46704         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
46705         protection macro.
46706         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
46707         and <dl-machine.h>.
46708         (Elf64_FuncDesc): Remove.
46709
46710 2011-08-22  David S. Miller  <davem@davemloft.net>
46711
46712         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
46713         sigaltstack check, add missing cfi directives.
46714         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
46715         missing cfi directives, and sigaltstack handling.
46716
46717 2011-08-16  Andreas Schwab  <schwab@redhat.com>
46718
46719         [BZ #11724]
46720         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
46721         object is seen twice.
46722         * elf/dl-fini.c (_dl_sort_fini): Likewise.
46723
46724         * elf/Makefile (distribute): Add tst-initorder2.c.
46725         (tests): Add tst-initorder2.
46726         (modules-names): Add tst-initorder2a tst-initorder2b
46727         tst-initorder2c tst-initorder2d.  Add rules to build them.
46728         ($(objpfx)tst-initorder2.out): New rule.
46729         * elf/tst-initorder2.c: New file.
46730         * elf/tst-initorder2.exp: New file.
46731
46732 2011-08-22  Andreas Schwab  <schwab@redhat.com>
46733
46734         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
46735
46736         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
46737         dependencies back to end of function.
46738
46739         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46740         $(elfobjdir)/ld.so.
46741
46742 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
46743
46744         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
46745         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
46746         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
46747         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
46748         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
46749         of __vdso_gettimeofday.
46750         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
46751         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
46752         attribute_hidden.
46753         (_libc_vdso_platform_setup): Remove initialization of
46754         __vdso_gettimeofday and __vdso_time.
46755
46756 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
46757
46758         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
46759         and fgetc_unlocked.
46760         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
46761         getc_unlocked.
46762
46763         * elf/dl-open.c (add_to_global): Report additions to the global scope
46764         for LD_DEBUG=scopes.
46765         (dl_open_worker): Also print scope of newly loaded dependencies.
46766         (_dl_show_scope): Indicate if there is no scope.
46767
46768         [BZ #13114]
46769         * stdio-common/Makefile (tests): Add bug24.
46770         * stdio-common/bug24.c: New file.
46771
46772 2011-08-19  Andreas Jaeger  <aj@suse.de>
46773
46774         [BZ #13114]
46775         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
46776         non-existant file when using close-on-exec mode.
46777
46778 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
46779
46780         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
46781         the very first instruction.
46782
46783         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
46784         the CFI state in the end.
46785         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
46786         inclusion of dl-trampoline.h.
46787         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
46788
46789 2011-08-19  Andreas Schwab  <schwab@redhat.com>
46790
46791         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
46792         expectations for long double.
46793
46794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
46795         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
46796
46797 2011-08-14  David S. Miller  <davem@davemloft.net>
46798
46799         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
46800         artificual limit depends upon the system page size.
46801
46802 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
46803
46804         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
46805         * resolv/Makefile: Define CFLAGS-libresolv.
46806
46807 2011-08-17  Andreas Schwab  <schwab@redhat.com>
46808
46809         * nss/makedb.c (compute_tables): Make variables used in nested
46810         function static.
46811
46812 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
46813
46814         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
46815         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
46816         if buffer was too small.
46817
46818         * elf/pldd.c (main): Attach to all threads in the process.
46819         Rewrite /proc handling to use *at functions.
46820
46821 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
46822
46823         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46824         specifies first scope to show.
46825         (dl_open_worker): Update callers.  Move printing scope of new
46826         object to before the relocation.
46827         * elf/rtld.c (dl_main): Update _dl_show_scope call.
46828         * sysdeps/generic/ldsodefs.h: Update declaration.
46829
46830         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46831         string for the scope number.
46832
46833 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
46834
46835         * nscd/servicescache.c (cache_addserv): Make sure written is always
46836         initialized.
46837
46838 2011-08-14  Roland McGrath  <roland@hack.frob.com>
46839
46840         * sysdeps/i386/i486/bits/atomic.h
46841         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46842         statement expression, so as to suppress "set but not used" warning.
46843         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46844
46845         * string/strncat.c (STRNCAT): Use prototype definition.
46846
46847         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46848         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46849         -Iprograms here.
46850         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46851         (localedef-modules): Add localedef.
46852         (locale-modules): Add locale.
46853
46854         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46855         * elf/rtld.c (dl_main): Invert order of assignment in last change,
46856         to avoid a warning.
46857
46858 2011-08-14  David S. Miller  <davem@davemloft.net>
46859
46860         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46861         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46862
46863 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
46864
46865         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
46866         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46867         * elf/rtld.c (dl_main): Set l_name of vDSO.
46868         Call _dl_show_scope when DL_DEBUG_SCOPES.
46869         (process_dl_debug): Recognize scopes flag and also set it for all.
46870         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46871         Declare _dl_show_scope.
46872
46873         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46874         (do_dlopen): Pass caller_dlopen to dl_open.
46875         (__libc_dlopen_mode): Initialize caller_dlopen.
46876
46877         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46878         of libc.  Make tolower call locale-independent.  Optimize a bit by
46879         using isdigit instead of isalnum.
46880         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46881
46882 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
46883
46884         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46885         was a dependency or dynamically loaded.
46886
46887 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
46888
46889         * intl/l10nflist.c: Allow architecture-specific pop function.
46890         * sysdeps/x86_64/l10nflist.c: New file.
46891
46892         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46893         classification.
46894
46895 2011-08-10  Andreas Schwab  <schwab@redhat.com>
46896
46897         * include/dirent.h: Add libc_hidden_proto for scandirat and
46898         scandirat64.  Don't declare __scandirat64.
46899         * dirent/scandirat.c: Add libc_hidden_def.
46900         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46901         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46902
46903 2011-08-10  David S. Miller  <davem@davemloft.net>
46904
46905         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46906         enum.
46907         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46908         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46909         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46910
46911 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
46912
46913         * Versions.def [libc]: Add GLIBC_2.15.
46914         * dirent/Makefile (routines): Add scandirat and scandirat64.
46915         * dirent/Versions [libc]: Export scandirat and scandirat64 for
46916         GLIBC_2.15.
46917         * dirent/dirent.h: Declare scandirat and scandirat64.
46918         * dirent/scandirat.c: New file.
46919         * dirent/scandirat64.c: New file.
46920         * sysdeps/wordsize-64/scandirat.c: New file.
46921         * sysdeps/wordsize-64/scandirat64.c: New file.
46922         * dirent/opendir.c: Define opendirat.
46923         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
46924         using scandirat.
46925         * dirent/scandir64.c: Adjust for scandir.c change.
46926         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
46927         __scandirat64, and __scandir_cancel_handler.
46928         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
46929         additional parameter and use openat instead of open (outside of ld.so).
46930         Add new __opendir as wrapper around __opendirat.
46931         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46932         here without requiring old scandirat implementation.
46933
46934 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
46935
46936         * dirent/scandir.c (cancel_handler): Renamed to
46937         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
46938         defined.  Adjust users.
46939         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46940         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46941
46942 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
46943
46944         * string/test-string.h (IMPL): Use __STRING to expand name and then
46945         stringify it.
46946
46947         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
46948         of cleanups.
46949
46950 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46951
46952         * string/Makefile: Update.
46953         (strop-tests): Append strncat.
46954         * string/test-wcscmp.c: New file.
46955         New comprehensive test for wcscmp.
46956         * string/test-strcmp.c: Update.
46957         (WIDE): New define.
46958
46959 2011-07-22  Andreas Schwab  <schwab@redhat.com>
46960
46961         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46962         line.
46963
46964 2011-07-26  Andreas Schwab  <schwab@redhat.com>
46965
46966         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46967         encoding to ACE if AI_IDN.
46968
46969 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
46970
46971         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46972         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46973
46974 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46975
46976         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46977         Fix overflow bug in strncat.
46978         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46979
46980         * string/test-strncat.c: Update.
46981         Add new tests for checking overflow bugs.
46982
46983 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46984
46985         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46986         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46987         * sysdeps/i386/i686/multiarch/strcat.S: New file.
46988         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46989         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46990         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46991         * sysdeps/i386/i686/multiarch/strncat.S: New file.
46992         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46993         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46994
46995         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46996         (USE_AS_STRCAT): Define.
46997         Add strcat and strncat support.
46998         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46999
47000 2011-07-25  Andreas Schwab  <schwab@redhat.com>
47001
47002         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
47003         __n bigger than INT_MAX+1.
47004         (__strncmp_g): Likewise.
47005
47006 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
47007
47008         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
47009         * libio/stido.h: Likewise.
47010
47011         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
47012         (AF_NFC): Define.
47013         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
47014         (AF_NFC): Define.
47015
47016         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
47017         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47018         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47019         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
47020         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47021
47022         [BZ #13021]
47023         * scripts/test-installation.pl: Don't expect libnss_test1 to be
47024         installed.
47025
47026         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
47027         typo.
47028         (_dl_x86_64_save_sse): Likewise.
47029
47030 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
47031
47032         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
47033         OSXSAVE.
47034         (_dl_x86_64_save_sse): Likewise.
47035
47036         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
47037
47038         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
47039
47040 2011-07-21  Andreas Schwab  <schwab@redhat.com>
47041
47042         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
47043         change.
47044         (_dl_x86_64_save_sse): Use correct AVX check.
47045
47046 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47047
47048         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
47049         bug in strncpy/strncat.
47050         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
47051
47052 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
47053
47054         * string/tester.c (test_strcat): Add tests for different alignments
47055         of source and destination.
47056         (test_strncat): Likewise.
47057
47058 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
47059
47060         [BZ #12852]
47061         * posix/glob.c (glob): Check passed in values before using them in
47062         expressions to avoid some overflows.
47063         (glob_in_dir): Likewise.
47064
47065         [BZ #13007]
47066         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
47067         check for AVX enablement so that we don't crash with old kernels and
47068         new hardware.
47069         * elf/tst-audit4.c: Add same checks here.
47070         * elf/tst-audit6.c: Likewise.
47071
47072         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
47073
47074 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
47075
47076         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
47077
47078 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
47079
47080         * po/cs.po: Update from translation team.
47081         * po/bg.po: Likewise.
47082
47083 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
47084
47085         * misc/sys/cdefs.h: Add support for const attribute.
47086         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
47087         to gnu_dev_{major,minor,makedev} functions.
47088
47089 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
47090
47091         * intl/dcigettext.c (get_output_charset): Add missing bracket.
47092
47093 2011-07-20  Andreas Schwab  <schwab@redhat.com>
47094
47095         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
47096         strlen results.
47097
47098 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47099
47100         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
47101         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
47102         register in order to avoid conflicts with the soft frame pointer
47103         being held in r11 when necessary.
47104         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
47105         (INTERNAL_VSYSCALL_NCS): Likewise.
47106
47107 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
47108
47109         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
47110         * elf/dl-fini.c (_dl_fini): Adjust caller.
47111         * elf/dl-close.c (_dl_close_worker): Likewise.
47112         * sysdeps/generic/ldsodefs.h: Adjust declaration.
47113
47114 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
47115
47116         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
47117         "aux_cache->nlibs < 0".
47118
47119         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
47120         in the reload-count case.
47121
47122 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47123
47124         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47125         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
47126         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
47127         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
47128         * sysdeps/x86_64/multiarch/strcat.S: New file.
47129         * sysdeps/x86_64/multiarch/strncat.S: New file.
47130         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
47131         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
47132         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
47133         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
47134         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
47135         (USE_AS_STRCAT): Define.
47136         Add strcat and strncat support.
47137         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47138         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
47139         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
47140         * string/strncat.c: Update.
47141         (USE_AS_STRNCAT): Define.
47142         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47143         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
47144         and i7.
47145         * sysdeps/x86_64/multiarch/init-arch.h
47146         (bit_Prefer_PMINUB_for_stringop): New.
47147         (index_Prefer_PMINUB_for_stringop): Likewise.
47148         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
47149         bit_Prefer_PMINUB_for_stringop.
47150
47151 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
47152
47153         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
47154         buffer64.
47155         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
47156         of casting of buffer.
47157         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
47158         buffer32 and buffer64.
47159         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
47160         writes instead of casting of buffer.
47161         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
47162         buffer32.
47163         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
47164         casting of buffer.
47165
47166 2011-07-19  Andreas Schwab  <schwab@redhat.com>
47167
47168         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
47169
47170 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
47171
47172         * nscd/nscd.c (termination_handler): Don't do anything for a database
47173         if it has not yet been initialized.
47174
47175 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
47176
47177         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47178
47179 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
47180
47181         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47182
47183 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
47184
47185         * po/nl.po: Update from translation team.
47186         * po/sv.po: Likewise.
47187
47188 2011-07-16  Roland McGrath  <roland@hack.frob.com>
47189
47190         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
47191         now disallowed by GCC.
47192
47193         * configure.in (use-default-link): Default to yes if a test -shared
47194         link meets our qualifications.
47195         * configure: Regenerated.
47196
47197         * config.make.in (output-format): New variable.
47198         * configure.in: Check for ld --print-output-format support.
47199         * configure: Regenerated.
47200         * Makerules ($(common-objpfx)format.lds)
47201         [$(output-format) != unknown]: Just use $(output-format),
47202         instead of the linker-script munging.
47203
47204 2011-07-14  Roland McGrath  <roland@hack.frob.com>
47205
47206         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
47207         of $(common-objpfx)shlib.lds.
47208         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
47209
47210         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
47211         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
47212
47213         * configure.in (-z relro check): Adjust test code to add a large
47214         writable data section after it.
47215         * configure: Regenerated.
47216
47217 2011-07-11  Roland McGrath  <roland@hack.frob.com>
47218
47219         * configure.in (-z relro check): Fix test code to make the variable
47220         truly const.
47221         * configure: Regenerated.
47222
47223 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
47224
47225         * nscd/nscd.h (struct traced_file): Define.
47226         (struct database_dyn): Remove inotify_descr, reset_res, and filename
47227         elements.  Add traced_files.
47228         (inotify_fd): Declare.
47229         (register_traced_file): Declare.
47230         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
47231         (inotify_fd): Export.
47232         (resolv_conf_descr): Remove.
47233         (nscd_init): Move inotify descriptor creation to main.
47234         Don't register files for notification here.
47235         (register_traced_file): New function.
47236         (invalidate_cache): Don't use reset_res to determine whether to call
47237         res_init, go through the list of registered files.
47238         (main_loop_poll): The inotify descriptors are now stored in the
47239         structures for the traced files.
47240         (main_loop_epoll): Likewise
47241         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
47242         to __nss_disable_nscd.
47243         * nscd/cache.c (prune_cache): There is no single inotify descriptor
47244         for a database anymore.  Check the records for all the registered
47245         files instead.
47246         * nss/Makefile (libnss_files-routines): Add files-init.
47247         (libnss_db-routines): Add db-init.
47248         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
47249         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
47250         * nss/nss_db/db-init.c: New file.
47251         * nss/nss_files/files-init.c: New file.
47252         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
47253         __nss_lookup_function.
47254         (__nss_lookup_function): Call nss_load_library.
47255         (nss_load_all_libraries): New function.
47256         (__nss_disable_nscd): Take parameter with callback function for files
47257         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
47258         used for the cached services.
47259         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
47260         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
47261         options for features to all the files in nscd.
47262
47263         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
47264
47265 2011-07-10  Roland McGrath  <roland@hack.frob.com>
47266
47267         * csu/elf-init.c (__libc_csu_init): Comment typo.
47268
47269 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
47270
47271         * po/pl.po: Update from translation team.
47272         * po/ja.po: Likewise.
47273         * po/ru.po: Likewise.
47274         * po/ko.po: Likewise.
47275         * po/fr.po: Likewise.
47276
47277 2011-07-09  Roland McGrath  <roland@hack.frob.com>
47278
47279         * configure.in (.ctors/.dtors header and trailer check):
47280         Use an empirical test on a built program.
47281         * configure: Regenerated.
47282
47283         * configure.in (-z relro check): Use an empirical test on a built DSO.
47284         Detect, but do not require, on ia64.
47285         * configure: Regenerated.
47286
47287         * configure.in (READELF): Find it with AC_CHECK_TOOL.
47288         Update tests that use readelf to use $READELF instead.
47289         * configure: Regenerated.
47290
47291 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
47292
47293         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
47294         if the result is not used.
47295
47296 2011-07-05  Andreas Jaeger  <aj@suse.de>
47297
47298         [BZ#9696]
47299         * stdlib/tst-strtod.c: Add testcase.
47300
47301 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
47302
47303         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
47304         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
47305         The latter has a higher limit.  Take additional parameter to pass to
47306         the new function.
47307         (__pathconf): Pass file to __statfs_link_max.
47308         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
47309         __statfs_link_max.
47310         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
47311         __statfs_link_max.
47312
47313         [BZ #12868]
47314         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
47315         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47316         Handle Lustre.
47317         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
47318         (__statfs_filesize_max): Likewise.
47319         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
47320
47321 2011-07-05  Andreas Jaeger  <aj@suse.de>
47322
47323         * resolv/res_comp.c (dn_skipname): Remove unused variable.
47324
47325 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
47326
47327         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
47328         `status' variable.
47329         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
47330         Likewise.
47331
47332 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
47333
47334         * Makefile (strop-tests): Add strncat.
47335         * string/test-strncat.c: New file.
47336
47337 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
47338
47339         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
47340
47341 2011-06-21  Andreas Jaeger  <aj@suse.de>
47342
47343         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
47344         Copy rule from iconvdata/Makefile.
47345
47346 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
47347
47348         [BZ #12922]
47349         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
47350         but no long options are defined, just return 'W'.
47351
47352 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
47353
47354         [BZ #9696]
47355         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
47356
47357 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
47358
47359         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
47360         netgroups to read.
47361         (innetgr): Likewise.
47362
47363 2011-07-05  Roland McGrath  <roland@hack.frob.com>
47364
47365         * config.make.in (install_root): Default to $(DESTDIR).
47366
47367 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
47368
47369         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
47370
47371 2011-07-02  Roland McGrath  <roland@hack.frob.com>
47372
47373         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
47374
47375         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
47376         containing directory rather than embedding absolute directory names.
47377
47378         * scripts/check-local-headers.sh: Rewritten using awk.
47379         Match by word, not by line.  Print error messages for matches.
47380         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
47381
47382         * Makerules [shlib-lds-flags empty]:
47383         ($(common-objpfx)libc_pic.opts): New target.
47384         ($(common-objpfx)libc_pic.os.clean): New target.
47385         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
47386
47387         * config.make.in (OBJCOPY): New variable.
47388         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
47389         * configure: Regenerated.
47390
47391         * config.make.in (use-default-link): New variable.
47392         * configure.in (use_default_link): Grok --with-default-link to set it.
47393         * configure: Regenerated.
47394         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
47395         (shlib-lds, shlib-lds-flags): Define to empty.
47396
47397         * Makerules (shlib-lds): New variable.
47398         (shlib-lds-flags): New variable.
47399         (build-shlib, build-moduile, build-module-asneeded): Use it.
47400         ($(common-objpfx)libc.so): Use $(shlib-lds).
47401         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
47402         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
47403
47404         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
47405         DT_FLAGS/DT_FLAGS_1 with zero flags.
47406
47407         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
47408         linker script munging.
47409
47410 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
47411
47412         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
47413         as 128-bit value.
47414         * crypt/sha512.c (sha512_process_block): Perform total addition using
47415         128-bit if possible.
47416         (__sha512_finish_ctx): Likewise.
47417         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
47418         as 64-bit value.
47419         * crypt/sha256.c (SWAP64): Define.
47420         (sha256_process_block): Perform total addition using 64-bit if
47421         possible.
47422         (__sha256_finish_ctx): Likewise.
47423
47424 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
47425
47426         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
47427         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47428         * nscd/hstcache.c (cache_addhst): Likewise.
47429         * nscd/grpcache.c (cache_addgr): Likewise.
47430         * nscd/aicache.c (addhstaiX): Likewise
47431         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
47432
47433 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
47434
47435         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
47436         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47437         * nscd/hstcache.c (cache_addhst): Likewise.
47438         * nscd/grpcache.c (cache_addgr): Likewise.
47439         * nscd/aicache.c (addhstaiX): Likewise
47440
47441 2011-07-01  Andreas Schwab  <schwab@redhat.com>
47442
47443         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
47444         domain only when needed.
47445
47446 2011-06-30  Andreas Schwab  <schwab@redhat.com>
47447
47448         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
47449         is always restored.
47450
47451 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
47452
47453         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
47454         are re-adding the entry.
47455         * nscd/servicescache.c (cache_addserv): Likewise.
47456
47457 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
47458
47459         * sysdeps/generic/dl-irel.h: fix protection against multiple
47460         inclusions.
47461         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
47462
47463 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
47464
47465         [BZ #12935]
47466         * malloc/memusage.sh: Fix quoting in message.
47467         * debug/xtrace.sh: Likewise.
47468
47469         * configure.in: Remove support for --experimental-malloc option, make
47470         it the default.
47471         * config.make.in: Likewise.
47472         * malloc/Makefile: Likewise.
47473
47474 2011-06-27  Andreas Schwab  <schwab@redhat.com>
47475
47476         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
47477         two-byte characters.
47478
47479 2011-06-27  Roland McGrath  <roland@hack.frob.com>
47480
47481         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
47482         AC_CACHE_CHECK invocation.
47483         * configure: Regenerated.
47484
47485         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
47486
47487 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
47488
47489         [BZ #12350]
47490         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
47491         bit from old_res_options.
47492
47493         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
47494
47495         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
47496         value type for setfct.
47497
47498 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
47499
47500         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47501         __gettimeofday instead of gettimeofday.
47502
47503 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
47504
47505         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
47506
47507 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
47508
47509         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
47510
47511         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
47512         info.
47513
47514 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
47515
47516         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47517         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47518         strcpy-sse2-unaligned strncpy-sse2-unaligned
47519         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
47520         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
47521         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
47522         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
47523         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
47524         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
47525         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
47526         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
47527         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
47528         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
47529         (STRCPY): Support SSE2 and SSSE3 versions.
47530
47531 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
47532
47533         [BZ #12874]
47534         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
47535         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
47536         kernels which artificially limit size of requests.
47537
47538 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
47539
47540         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47541         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47542         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
47543         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
47544         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
47545         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
47546         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
47547         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
47548         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
47549         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
47550         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
47551         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
47552         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
47553         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
47554         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
47555         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47556         Enable unaligned load optimization for Intel Core i3, i5 and i7
47557         processors.
47558         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
47559         Define.
47560         (index_Fast_Unaligned_Load): Define.
47561         (HAS_FAST_UNALIGNED_LOAD): Define.
47562
47563 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
47564
47565         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
47566
47567 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
47568
47569         [BZ #12907]
47570         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
47571         until it is clear that the information is realy needed.
47572         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
47573
47574 2011-06-22  Andreas Schwab  <schwab@redhat.com>
47575
47576         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
47577
47578 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
47579
47580         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47581         /sys/devices/system/cpu/online if it is usable.
47582
47583         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
47584         reading the information from the /proc filesystem to once a second.
47585
47586 2011-06-21  Andreas Jaeger  <aj@suse.de>
47587
47588         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
47589         NULL after inclusion of kernel headers.
47590
47591 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
47592
47593         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
47594         calls to internal_setent.
47595
47596         [BZ #12885]
47597         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
47598         addresses using gethostbyname4_r ignore IPv4 addresses.
47599
47600         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
47601         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
47602
47603         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
47604
47605 2011-06-20  David S. Miller  <davem@davemloft.net>
47606
47607         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
47608         inclusions.
47609         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
47610
47611         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
47612         (elf_irel): Use it.
47613         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
47614         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
47615         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
47616         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
47617         * sysdeps/x86_64/dl-irel.h: Likewise.
47618
47619         * elf/dl-runtime.c: Use elf_ifunc_invoke.
47620         * elf/dl-sym.c: Likewise.
47621
47622 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
47623
47624         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
47625         need to dereference resplen2.
47626
47627 2011-06-14  Andreas Schwab  <schwab@redhat.com>
47628
47629         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
47630
47631 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
47632
47633         * Makeconfig: Define vardbdir and inst_vardbdir.
47634         * nss/Makefile: Add rules to install db-Makefile.
47635
47636         * nss/nss_db/db-XXX.c: Cleanup.
47637
47638         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
47639         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
47640         GLIBC_PRIVATE.
47641         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
47642         * nss/makedb.c: Implement -g option to specify that value strings
47643         are generated and should not be added to table iterated over for
47644         get*ent calls.
47645         * nss/nss_db/db-initgroups.c: New file.
47646
47647         * nss/getent.c: Add support for initgroups lookups through getgrouplist
47648         interface.
47649
47650         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
47651         (internal_getgrouplist): Adjust to name change.
47652         Update use_initgroups_entry if this is not the first call.
47653         * nss/databases.def: Add initgroups entry.
47654
47655         * nss/makedb.c (compute_tables): Check result of multiple hash table
47656         sizes to minimize maximum chain length.
47657
47658 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
47659
47660         * Versions.def: Add entry for libnss_db.
47661         * shlib-versions: Likewise.
47662         * nss/Makefile: Add rules to build libnss_db.
47663         * nss/Versions: Add libnss_db information.  Organize libnss_files
47664         entries better.
47665         * nss/db-Makefile: Add gshadow support.  Change rules for the new
47666         makedb progra.  Some minor improvements to generate smaller files.
47667         * nss/nss_db/nss_db.h: Move NSS database header data structures to
47668         here from...
47669         * nss/makedb.c: ...here.
47670         Improve database format to be smaller and require less memory at
47671         runtime.
47672         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
47673         db anymore.
47674         * nss/nss_db/db-netgrp.c: Likewise.
47675         * nss/nss_db/db-open.c: Likewise.
47676         * nss/nss_files/flies-XXX.x: Adjust comments.
47677         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
47678         * nss/nss_files/files-grp.c: Likewise.
47679         * nss/nss_files/files-hosts.c: Likewise.
47680         * nss/nss_files/files-network.c: Likewise.
47681         * nss/nss_files/files-proto.c: Likewise.
47682         * nss/nss_files/files-pwd.c: Likewise.
47683         * nss/nss_files/files-rpc.c: Likewise.
47684         * nss/nss_files/files-service.c: Likewise.
47685         * nss/nss_files/files-sgrp.c: Likewise.
47686         * nss/nss_files/files-spwd.c: Likewise.
47687         * nss/nss_db/db-alias.c: Removed.
47688         * nss/nss_db/dummy-db.h: Removed.
47689
47690 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
47691
47692         * nss/makedb.c: Rewritten to not use database library.
47693         * nss/Makefile: Update to build new makedb program.
47694
47695 2011-06-14  Andreas Jaeger  <aj@suse.de>
47696
47697         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
47698         memset declaration.
47699
47700 2011-06-10  Andreas Schwab  <schwab@redhat.com>
47701
47702         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
47703         tmpbuf.
47704
47705 2011-06-10  Roland McGrath  <roland@hack.frob.com>
47706
47707         * Makerules (shlib.lds): Fail if the linker script comes out empty.
47708         * elf/Makefile ($(objpfx)ld.so): Likewise.
47709
47710         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
47711         Don't list ld.so twice in dependencies.
47712
47713         * posix/bug-regex31.c: Include <stdlib.h>.
47714
47715         * nscd/hstcache.c (cache_addhst): Remove unused variable.
47716
47717         * nis/nss_compat/compat-spwd.c
47718         (getspent_next_nss_netgr): Remove unused variable.
47719         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
47720
47721         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
47722         nonmembers" output to use the right array.
47723
47724         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
47725
47726         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
47727
47728         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
47729         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
47730         * catgets/gencat.c (read_input_file): Likewise.
47731         * locale/programs/locarchive.c (enlarge_archive): Likewise.
47732
47733         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
47734         variable definition inside #if's controlling its use.
47735
47736         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
47737
47738         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
47739
47740         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
47741
47742         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
47743         unreachable code.
47744
47745         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
47746
47747         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
47748         * configure: Regenerated.
47749
47750         * Makerules: Revert last change.
47751         * elf/Makefile: Likewise.
47752
47753 2011-06-09  Roland McGrath  <roland@hack.frob.com>
47754
47755         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
47756         * elf/Makefile ($(objpfx)librtld.os): Likewise.
47757         (reloc-link): Likewise.
47758
47759 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
47760
47761         * elf/Makefile: Add rules to build pldd.
47762         * elf/pldd.c: New file.
47763         * elf/pldd-xx.c: New file.
47764
47765 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
47766
47767         * version.h: Update for 2.15 development version.
47768
47769 2011-06-07  David S. Miller  <davem@davemloft.net>
47770
47771         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
47772         ifuncs.
47773         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
47774         elf_machine_lazy_rel): Likewise.
47775         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47776         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
47777         elf_machine_lazy_rel): Likewise.
47778         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
47779         dl_hwcap via passed in argument.
47780         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
47781         Likewise.
47782
47783 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47784
47785         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
47786
47787 2011-06-06  Roland McGrath  <roland@hack.frob.com>
47788
47789         [BZ #12849]
47790         * manual/fdl-1.1.texi: New file, verbatim from:
47791         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
47792         * manual/lgpl-2.1.texi: New file, verbatim from:
47793         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
47794         * manual/Makefile (licenses): New variable, list those new file names.
47795         (texis): Use it.
47796         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
47797
47798         * manual/fdl.texi: File removed.
47799         * manual/lesser.texi: File removed.
47800         * manual/libc.texinfo (Copying, Documentation License):
47801         Use new @include file names, put @appendix directive before @include.
47802
47803 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
47804
47805         [BZ #12841]
47806         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
47807         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
47808         (mq_open): Add __NTH.
47809
47810 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
47811
47812         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47813         Assume Intel Core i3/i5/i7 processor if AVX is available.
47814
47815 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
47816
47817         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47818         typo.
47819
47820 2011-05-31  Andreas Schwab  <schwab@redhat.com>
47821
47822         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47823         memory.  Use alloca_account.  Fix memory leak when retrying.
47824
47825 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
47826
47827         * version.h (RELEASE): Bump for 2.14 release.
47828         * include/features.h (__GLIBC_MINOR__): Bump to 14.
47829
47830         * config.make.in (RANLIB): Remove entry.
47831
47832 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
47833
47834         * po/Makefile (po-sed-cmd): Add ksh to extensions.
47835         (libc.pot): Work around missing support for .ksh extension in xgettext.
47836
47837         [BZ #12684]
47838         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47839         if both request failed.
47840         (send_dg): In case of server errors clear resplen or *resplen2.
47841
47842         [BZ #12454]
47843         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47844         when there are multiple maps.
47845         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47846         (_dl_fini): Remove test here.
47847
47848         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47849
47850 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
47851
47852         [BZ #12350]
47853         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47854         bit from old_res_options.
47855         (gaih_inet): Likewise.
47856
47857         [BZ #11099]
47858         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
47859         as signed.
47860
47861         * resolv/res_init.c (res_setoptions): Make the code more compact.
47862
47863         [BZ #11558]
47864         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47865         set RES_USEVC.
47866
47867         [BZ #11634]
47868         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47869
47870         * malloc/malloc.h: Mark malloc hook variables as deprecated.
47871
47872         [BZ #11781]
47873         * malloc/malloc.h: Declare malloc hook variables as volatile.
47874
47875         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47876         in last patch.
47877
47878         [BZ #11799]
47879         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
47880         raise in the comment.
47881         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47882         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47883         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
47884
47885 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
47886
47887         [BZ #12811]
47888         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47889         grow the buffers more if it already has to be sufficient.
47890         (build_wcs_upper_buffer): Likewise.
47891         * posix/regexec.c (check_matching): Likewise.
47892         (clean_state_log_if_needed): Likewise.
47893         (extend_buffers): Don't enlarge buffers beyond size of the input
47894         buffer.
47895         Patches mostly by Emil Wojak <emil@wojak.eu>.
47896         * posix/bug-regex32.c: New file.
47897         * posix/Makefile (tests): Add bug-regex32.
47898
47899         * locale/findlocale.c (_nl_find_locale): Return right away if
47900         _nl_explode_name failed.
47901         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47902
47903         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47904
47905         * debug/xtrace.sh: Unify messages.
47906         * malloc/memusage.sh: Likewise.
47907
47908         [BZ #12813]
47909         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47910         time symbol from vDSO.  Substitute with vsyscall if not available.
47911         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47912         __vdso_time.
47913
47914         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47915         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47916         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47917         Add sendmmsg and internal_sendmmsg.
47918         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47919         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47920         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47921
47922         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47923         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47924         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47925
47926 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
47927
47928         [BZ #12813]
47929         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47930         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
47931         available.
47932         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47933         __vdso_getcpu.
47934
47935         [BZ #12814]
47936         * iconvdata/Makefile (tests): Add bug-iconv9.
47937         * iconvdata/bug-iconv9.c: New file.
47938
47939 2011-05-27  Andreas Schwab  <schwab@redhat.com>
47940
47941         [BZ #12814]
47942         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47943
47944 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
47945
47946         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47947         (struct user_regs_struct): Change intcs field back to cs.
47948
47949 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
47950
47951         * po/ja.po: Update from translation team.
47952
47953 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
47954
47955         [BZ #12795]
47956         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47957         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47958
47959 2011-05-20  Andreas Schwab  <schwab@redhat.com>
47960
47961         * stdlib/longlong.h: Update from GCC.
47962
47963 2011-05-23  Andreas Schwab  <schwab@redhat.com>
47964
47965         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47966         parameter name.
47967         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47968         Add parameter name.
47969         (__sysconf): Pass it down.
47970
47971 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
47972
47973         [BZ #12671]
47974         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47975         some situations.
47976         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47977         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47978         add in in __libc_use_alloca calls.  Adjust callers.
47979         (glob): Use malloc in some situations.
47980
47981         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47982         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47983         pltexit.
47984
47985 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
47986
47987         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47988         and CLOCK_BOOTTIME_ALARM.
47989
47990         [BZ #12782]
47991         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47992         is returned.
47993
47994         * string/_strerror.c (__strerror_r): Print negative errors as signed
47995         numbers.
47996
47997         [BZ #12777]
47998         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47999         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
48000         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
48001
48002         * configure.in: Fix typo in redirection and correct removal of test
48003         files in two cases.
48004
48005         [BZ #12788]
48006         * locale/setlocale.c (new_composite_name): Fix test to check for
48007         identical name of all categories.
48008
48009         [BZ #12792]
48010         * libio/filedoalloc.c (local_isatty): New function.
48011         (_IO_file_doallocate): Use local_isatty.
48012         * stdio-common/perror.c (perror): In case a new stream is used
48013         forward the stream error.
48014         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
48015         error flag.
48016
48017 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
48018
48019         [BZ #11869]
48020         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
48021         alloca.
48022         * include/alloca.h (extend_alloca_account): Define.
48023
48024         [BZ #11857]
48025         * posix/regex.h: Fix comments with documentation of user-accessible
48026         fields after compilation and describe correct free'ing of pattern
48027         after re_compile_pattern.
48028         Patch by Reuben Thomas <rrt@sc3d.org>.
48029
48030 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
48031
48032         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
48033         and -mno-altivec to prevent the compiler from using Altivec and/or
48034         VSX instructions when the corresponding registers are not available.
48035
48036 2011-05-19  Andreas Schwab  <schwab@redhat.com>
48037
48038         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
48039
48040 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
48041
48042         * libio/freopen.c (freopen): Use __dup2, not dup2.
48043         * libio/freopen64.c (freopen64): Likewise.
48044
48045 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48046
48047         [BZ #12775]
48048         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
48049         * math/Makefile (tests): Add test-powl.
48050         (CFLAGS-test-powl.c): Define.
48051         * math/test-powl.c: New file.
48052
48053 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48054
48055         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
48056
48057 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
48058
48059         [BZ #11837]
48060         * iconvdata/gb18030.c: Update to GB18020-2005.
48061
48062 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
48063
48064         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
48065         RE_SYNTAX_POSIX_AWK): Update to match recent development.
48066         Patch by Aharon Robbins <arnold@skeeve.com>.
48067
48068         [BZ #11892]
48069         * stdlib/putenv.c (putenv): Don't always create copy of the variable
48070         on the stack.
48071
48072         [BZ #11895]
48073         * misc/pselect.c (__pselect): Handle timeout value errors hidden
48074         through underflows.
48075
48076         [BZ #12766]
48077         * misc/error.c (error_at_line): Ensure file_name and old_file_name
48078         point to strings before performing equality test for error_one_per_line
48079         mode.
48080
48081         [BZ #11697]
48082         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
48083
48084         [BZ #11820]
48085         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
48086         (struct user_fpregs_struct): Avoid __uint*_t types.
48087
48088         [BZ #6420]
48089         * malloc/mtrace.c (tr_where): Add additional parameter to point to
48090         symbol info.  Use it instead of calling _dl_addr locally.
48091         (lock_and_info): New function.
48092         (tr_freehook): Call lock_and_info and pass symbol info as additional
48093         parameter to tr_where.
48094         (tr_mallochook): Likewise.
48095         (tr_reallochook): Likewise.
48096         (tr_memalignhook): Likewise.
48097
48098         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
48099         used and couldn't be at all thread-safe.
48100
48101 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
48102
48103         * libio/freopen.c (freopen): Don't close old file descriptor
48104         before the new one is opened.  Instead dup the new file descriptor
48105         to the old one after the new stream is created.
48106         * libio/freopen64.c (freopen64): Likewise.
48107         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
48108         * libio/fileops.c (_IO_new_file_close_it): Handle new
48109         _IO_FLAGS2_NOCLOSE flag.
48110         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
48111         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
48112         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
48113         _IO_FLAGS2_NOCLOSE flag.
48114         * include/unistd.h: Add hidden_proto for dup3.
48115         Define __have_dup3.
48116         * io/dup3.c: Define hidden symbol.
48117         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
48118
48119         [BZ #7101]
48120         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
48121         when an incomplete long option is used.
48122         * posix/tst-getopt_long1.c: New file.
48123         * posix/Makefile (tests): Add tst-getopt_long1.
48124
48125         [BZ #10138]
48126         * scripts/config.guess: Update from autoconf-2.68.
48127         * scripts/config.sub: Likewise.
48128
48129         [BZ #10157]
48130         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
48131         tests into ...
48132         (has_cpuclock): ...this.  New function.
48133         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
48134         macro here based on has_cpuclock code.
48135
48136         [BZ #10149]
48137         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48138         First byte (not low byte) is now always NUL.
48139         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
48140
48141         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48142         Use non-cancelable interfaces.
48143
48144         [BZ #9809]
48145         * locale/iso-639.def: Add entry for Sorani.
48146
48147         [BZ #11901]
48148         * include/stdlib.h: Move include protection to the right place.
48149         Define abort_msg_s.  Declare __abort_msg with it.
48150         * stdlib/abort.c (__abort_msg): Adjust type.
48151         * assert/assert.c (__assert_fail_base): New function.  Majority
48152         of code from __assert_fail.  Allocate memory for __abort_msg with
48153         mmap.
48154         (__assert_fail): Now call __assert_fail_base.
48155         * assert/assert-perr.c: Remove bulk of implementation.  Use
48156         __assert_fail_base.
48157         * include/assert.hL Declare __assert_fail_base.
48158         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
48159         mmap.
48160         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
48161
48162 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
48163
48164         [BZ #11952]
48165         [BZ #12453]
48166         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
48167         until all modules are registered in the DTV.
48168         * elf/Makefile: Add rules to build and run tst-tls19.
48169         * elf/tst-tls19.c: New file.
48170         * elf/tst-tls19mod1.c: New file.
48171         * elf/tst-tls19mod2.c: New file.
48172         * elf/tst-tls19mod3.c: New file.
48173         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
48174
48175         [BZ #12083]
48176         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
48177         correctly.
48178
48179         [BZ #12601]
48180         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
48181         two-byte sequence errors.
48182         * iconvdata/Makefile (tests): Add bug-iconv8.
48183         * iconvdata/bug-iconv8.c: New file.
48184
48185         [BZ #12626]
48186         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
48187         buf2 definition.
48188
48189         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
48190
48191         [BZ #12432]
48192         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
48193         (dummy_getcfa): New function.
48194         (init): Get _Unwind_GetCFA address, use dummy if not found.
48195         (backtrace_helper): In recursion check, also check whether CFA changes.
48196         (__backtrace): Completely initialize arg.
48197
48198         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
48199         storing incomplete byte sequence in state object.  Avoid testing for
48200         guaranteed too small input if we know there is enough data available.
48201
48202 2011-05-11  Andreas Schwab  <schwab@redhat.com>
48203
48204         * Makeconfig (+link-pie): Indent.
48205         * Rules (binaries-pie): Define if $(have-fpie) and
48206         $(build-shared).
48207         (binaries-shared): Also filter out $(binaries-pie).
48208         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
48209         * nscd/Makefile (others-pie): Add nscd.
48210         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
48211         ($(objpfx)nscd): Remove command override.
48212         * login/Makefile (others-pie): Add pt_chown.
48213         ($(objpfx)pt_chown): Remove command override.
48214         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
48215         remove command overrides.
48216
48217 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
48218
48219         * libio/tst_putwc.c: Fix error messages.
48220
48221         [BZ #12724]
48222         * libio/fileops.c (_IO_new_file_close_it): Always flush when
48223         currently writing and seek to current position when not.
48224         * libio/Makefile (tests): Add bug-fclose1.
48225         * libio/bug-fclose1.c: New file.
48226
48227 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
48228
48229         [BZ #12511]
48230         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
48231         don't set DF_1_NODELETE here.
48232         (do_lookup_x): When entering new entry test for copy relocation
48233         and if necessary set DF_1_NODELETE flag.
48234         * elf/tst-unique4.cc: New file.
48235         * elf/tst-unique4.h: New file.
48236         * elf/tst-unique4lib.cc: New file.
48237         * elf/Makefile: Add rules to build and run tst-unique4.
48238         Patch by Piotr Bury <pbury@goahead.com>.
48239
48240 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
48241
48242         [BZ #12052]
48243         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
48244
48245         [BZ #12625]
48246         * misc/mntent_r.c (addmntent): Flush the stream after the output
48247
48248         [BZ #12393]
48249         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
48250         (is_trusted_path_normalize): Skip initial colon.  Append slash
48251         to empty buffer.  Duplicate is_trusted_path code but allow
48252         constructed patch to be prefix.
48253         (is_dst): Allow $ORIGIN followed by /.
48254         (_dl_dst_substitute): Correct clearing of check_for_trusted.
48255         Correct testing of result of is_trusted_path_normalize
48256         (decompose_rpath): Fix warning.
48257
48258 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
48259
48260         [BZ #11257]
48261         * grp/initgroups.c (internal_getgrouplist): When we found the service
48262         list through the initgroups entry in nsswitch.conf do not always
48263         continue on a successful lookup.  Don't always use the
48264         __nss_group_database value if it is set.
48265         * nss/nsswitch.conf (initgroups): Change action for successful db
48266         lookup to continue for compatibility.
48267
48268 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
48269
48270         [BZ #11532]
48271         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
48272         and CP774 modules.
48273         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
48274         and CP774 modules.
48275         * iconvdata/tst-tables.sh: Likewise.
48276         * iconvdata/cp770.c: New file.
48277         * iconvdata/cp771.c: New file.
48278         * iconvdata/cp772.c: New file.
48279         * iconvdata/cp773.c: New file.
48280         * iconvdata/cp774.c: New file.
48281         * iconvdata/testdata/CP770: New file.
48282         * iconvdata/testdata/CP770..UTF8: New file.
48283         * iconvdata/testdata/CP771: New file.
48284         * iconvdata/testdata/CP771..UTF8: New file.
48285         * iconvdata/testdata/CP772: New file.
48286         * iconvdata/testdata/CP772..UTF8: New file.
48287         * iconvdata/testdata/CP773: New file.
48288         * iconvdata/testdata/CP773..UTF8: New file.
48289         * iconvdata/testdata/CP774: New file.
48290         * iconvdata/testdata/CP774..UTF8: New file.
48291
48292         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
48293         END CHARMAP line.
48294         * iconvdata/gen-8bit-gap.sh: Likewise.
48295         * iconvdata/gen-8bit.sh: Likewise.
48296
48297         * locale/iso-639.def: Add ary entry.
48298
48299         [BZ #11258]
48300         * locale/C-translit.h.in: Add U20A1 transliteration.
48301
48302         [BZ #12178]
48303         * locale/iso-639.def: Add wae entry.
48304         Patch by Kevin Bortis <bortis@translate-wae.ch>.
48305
48306         [BZ #12545]
48307         * locale/programs/localedef.c (construct_output_path): Use ssize_t
48308         for n.
48309
48310         [BZ #12711]
48311         * locale/C-translit.h.in: Add entry for U20B9.
48312         Patch by pravin.d.s@gmail.com.
48313
48314 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
48315
48316         [BZ #12713]
48317         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
48318         ENAMETOOLONG use generic getcwd.
48319         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
48320         in rtld.  Use *stat64.
48321         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
48322         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
48323         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
48324         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
48325         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
48326         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
48327         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
48328         __fstatat64 macros.
48329         * include/dirent.h: Add libc_hidden_proto for rewinddir.
48330         * dirent/rewinddir.c: Add libc_hidden_def.
48331         * sysdeps/mach/hurd/rewinddir.c: Likewise.
48332         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
48333
48334         * include/dirent.h (__alloc_dir): Add flags parameter.
48335         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
48336         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
48337         __alloc_dir.
48338         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
48339         from fdopendir if O_CLOEXEC is already set.
48340
48341 2011-03-15  Alan Modra  <amodra@gmail.com>
48342
48343         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
48344         l_tls_firstbyte_offset non-zero.  Save padding offset in
48345         l_tls_firstbyte_offset for later use.
48346         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
48347         freeing static tls block.
48348
48349 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
48350
48351         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
48352         where #ifdef was intended.  The intent is to prevent ARG_MAX from
48353         being defined by the kernel headers.
48354
48355 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
48356
48357         [BZ #12734]
48358         * resolv/resolv.h: Define RES_NOTLDQUERY.
48359         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
48360         no-tld-query and set RES_NOTLDQUERY.
48361         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
48362         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
48363         modern BIND to search name as TLD unless forbidden.
48364
48365 2011-05-07  Petr Baudis  <pasky@suse.cz>
48366             Ulrich Drepper  <drepper@gmail.com>
48367
48368         [BZ #12393]
48369         * elf/dl-load.c (fillin_rpath): Move trusted path check...
48370         (is_trusted_path): ...to here.
48371         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
48372         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
48373         using is_trusted_path_normalize() in setuid scripts.
48374
48375 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
48376
48377         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
48378         __BEGIN/__END_DECLS.
48379
48380 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
48381
48382         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
48383         NSS_STATUS_NOTFOUND if no record was found.
48384
48385 2011-05-05  Andreas Schwab  <schwab@redhat.com>
48386
48387         * sunrpc/Makefile (headers): Add rpc/netdb.h.
48388         (headers-not-in-tirpc): Remove rpc/netdb.h
48389         * resolv/netdb.h: Revert last change.
48390
48391 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
48392
48393         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
48394         circular dependency between libgcc.a and libc.a.
48395
48396 2011-05-05  Andreas Schwab  <schwab@redhat.com>
48397
48398         * resolv/netdb.h: Don't include <rpc/netdb.h>.
48399         * nis/Makefile: Don't install rpcsvc/*.
48400         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
48401         instead of <rpc/types.h>.
48402         (MAXHOSTNAMELEN): Define.
48403
48404 2011-05-03  Andreas Schwab  <schwab@redhat.com>
48405
48406         * elf/ldconfig.c (add_dir): Don't crash on empty path.
48407
48408 2011-04-28  Maciej Babinski  <mbabinski@google.com>
48409
48410         [BZ #12714]
48411         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
48412         gethostbyname4_r when IPv6 results are possible.
48413
48414 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
48415
48416         [BZ #12723]
48417         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
48418         _PC_PIPE_BUF handling.
48419
48420 2011-04-30  Bruno Haible  <bruno@clisp.org>
48421
48422         [BZ #12717]
48423         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
48424         * resolv/netdb.h (getnameinfo): Change type of flags parameter
48425         to 'int'.
48426         * inet/getnameinfo.c (getnameinfo): Likewise.
48427
48428 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
48429
48430         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
48431         to groups setting in database lookup.
48432         * nss/nsswitch.conf: Add initgroups entry.
48433
48434 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
48435
48436         [BZ #12685]
48437         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
48438         mode string.
48439         Patch by Eric Blake <eblake@redhat.com>.
48440
48441 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
48442
48443         * sunrpc/Makefile (need-export-routines): Add svc_run.
48444         (routines): Remove svc_run.
48445         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
48446         * sunrpc/clnt_perr.c (clnt_perrno): Export.
48447         * sunrpc/svc_run.c (svc_run): Likewise.
48448         * sunrpc/svc_udp.c (svcudp_create): Likewise.
48449
48450 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
48451
48452         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
48453         problem in reallocation in last patch.
48454
48455 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
48456
48457         * sunrpc/Makefile: Move inclusion of Rules.
48458
48459 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
48460
48461         * nss/nss_files/files-initgroups.c: New file.
48462         * nss/Makefile (libnss_files-routines): Add files-initgroups.
48463         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
48464         _nss_files_initgroups_dyn.
48465
48466 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
48467
48468         * elf/elf.h (R_ARM_IRELATIVE): Define.
48469
48470 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
48471
48472         * po/ru.po: Update from translation team.
48473
48474 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
48475
48476         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
48477         dependencies.
48478
48479 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
48480
48481         [BZ #12653]
48482         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
48483         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
48484         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48485         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48486         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48487
48488 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
48489
48490         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
48491         differing bytes.
48492         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48493         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48494         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48495
48496 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
48497
48498         [BZ #12420]
48499         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
48500         storing it.
48501         * stdlib/bug-getcontext.c: New file.
48502         * stdlib/Makefile: Add rules to build and run bug-getcontext.
48503
48504 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48505
48506         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
48507         instructions into .machine "z9-109".
48508         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
48509         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
48510
48511 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48512
48513         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
48514         between environment variables and auxiliary vector.
48515
48516 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
48517
48518         * Makefile: Add rules to build linkobj/libc.so.
48519         * include/libc-symbols.h: Define libc_hidden_nolink.
48520         * include/rpc/auth.h: Mark functions which are to be hidden.
48521         * include/rpc/auth_des.h: Likewise.
48522         * include/rpc/auth_unix.h: Likewise.
48523         * include/rpc/clnt.h: Likewise.
48524         * include/rpc/des_crypt.h: Likewise.
48525         * include/rpc/key_prot.h: Likewise.
48526         * include/rpc/pmap_clnt.h: Likewise.
48527         * include/rpc/pmap_prot.h: Likewise.
48528         * include/rpc/pmap_rmt.h: Likewise.
48529         * include/rpc/rpc_msg.h: Likewise.
48530         * include/rpc/svc.h: Likewise.
48531         * include/rpc/svc_auth.h: Likewise.
48532         * include/rpc/xdr.h: Likewise.
48533         * nis/Makefile: Link all DSOs against linkobj/libc.so.
48534         * nss/Makefile: Likewise.
48535         * sunrpc/Makefile: Don't install headers.  Build library with normal
48536         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
48537         * sunrpc/auth_des.c: Hide exported symbols by default, export some
48538         for the compat linking library.  Remove use of INTDEF/INTUSE.
48539         * sunrpc/auth_none.c: Likewise.
48540         * sunrpc/auth_unix.c: Likewise.
48541         * sunrpc/authdes_prot.c: Likewise.
48542         * sunrpc/authuxprot.c: Likewise.
48543         * sunrpc/clnt_gen.c: Likewise.
48544         * sunrpc/clnt_perr.c: Likewise.
48545         * sunrpc/clnt_raw.c: Likewise.
48546         * sunrpc/clnt_simp.c: Likewise.
48547         * sunrpc/clnt_tcp.c: Likewise.
48548         * sunrpc/clnt_udp.c: Likewise.
48549         * sunrpc/clnt_unix.c: Likewise.
48550         * sunrpc/des_crypt.c: Likewise.
48551         * sunrpc/des_soft.c: Likewise.
48552         * sunrpc/get_myaddr.c: Likewise.
48553         * sunrpc/key_call.c: Likewise.
48554         * sunrpc/key_prot.c: Likewise.
48555         * sunrpc/netname.c: Likewise.
48556         * sunrpc/pm_getmaps.c: Likewise.
48557         * sunrpc/pm_getport.c: Likewise.
48558         * sunrpc/pmap_clnt.c: Likewise.
48559         * sunrpc/pmap_prot.c: Likewise.
48560         * sunrpc/pmap_prot2.c: Likewise.
48561         * sunrpc/pmap_rmt.c: Likewise.
48562         * sunrpc/publickey.c: Likewise.
48563         * sunrpc/rpc_cmsg.c: Likewise.
48564         * sunrpc/rpc_common.c: Likewise.
48565         * sunrpc/rpc_dtable.c: Likewise.
48566         * sunrpc/rpc_prot.c: Likewise.
48567         * sunrpc/rpc_thread.c: Likewise.
48568         * sunrpc/rtime.c: Likewise.
48569         * sunrpc/svc.c: Likewise.
48570         * sunrpc/svc_auth.c: Likewise.
48571         * sunrpc/svc_authux.c: Likewise.
48572         * sunrpc/svc_raw.c: Likewise.
48573         * sunrpc/svc_run.c: Likewise.
48574         * sunrpc/svc_simple.c: Likewise.
48575         * sunrpc/svc_tcp.c: Likewise.
48576         * sunrpc/svc_udp.c: Likewise.
48577         * sunrpc/svc_unix.c: Likewise.
48578         * sunrpc/svcauth_des.c: Likewise.
48579         * sunrpc/xcrypt.c: Likewise.
48580         * sunrpc/xdr.c: Likewise.
48581         * sunrpc/xdr_array.c: Likewise.
48582         * sunrpc/xdr_float.c: Likewise.
48583         * sunrpc/xdr_intXX_t.c: Likewise.
48584         * sunrpc/xdr_mem.c: Likewise.
48585         * sunrpc/xdr_rec.c: Likewise.
48586         * sunrpc/xdr_ref.c: Likewise.
48587         * sunrpc/xdr_sizeof.c: Likewise.
48588         * sunrpc/xdr_stdio.c: Likewise.
48589
48590 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
48591
48592         [BZ #12650]
48593         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
48594         * sysdeps/ia64/dl-tls.h: Likewise.
48595         * sysdeps/powerpc/dl-tls.h: Likewise.
48596         * sysdeps/s390/dl-tls.h: Likewise.
48597         * sysdeps/sh/dl-tls.h: Likewise.
48598         * sysdeps/sparc/dl-tls.h: Likewise.
48599         * sysdeps/x86_64/dl-tls.h: Likewise.
48600         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
48601
48602 2011-03-14  Andreas Schwab  <schwab@redhat.com>
48603
48604         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
48605         rpath element also skip the following colon.
48606         (expand_dynamic_string_token): Add is_path parameter and pass
48607         down to DL_DST_REQUIRED and _dl_dst_substitute.
48608         (decompose_rpath): Call expand_dynamic_string_token with
48609         non-zero is_path.  Ignore empty rpaths.
48610         (_dl_map_object_from_fd): Call expand_dynamic_string_token
48611         with zero is_path.
48612
48613 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
48614
48615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
48616         Make cancelable.
48617
48618 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
48619
48620         [BZ #12655]
48621         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
48622         Patch by Filipe David Manana <fdmanana@apache.org>.
48623
48624 2011-04-07  Andreas Schwab  <schwab@redhat.com>
48625
48626         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
48627         Maintain aligned stack.
48628         (CHECK_RSP): Remove unused macro.
48629
48630 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
48631
48632         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
48633         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
48634
48635 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
48636
48637         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
48638
48639         * include/features.h: Mention __USE_XOPEN2K8 in comment.
48640
48641 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
48642
48643         [BZ #12518]
48644         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
48645         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
48646         * sysdeps/x86_64/memmove.c: New file.
48647         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
48648         (memcpy): Renamed to ...
48649         (__new_memcpy): This.
48650         (memcpy): Provide GLIBC_2_14 memcpy.
48651         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
48652         (memcpy): Provide GLIBC_2_2_5 memcpy.
48653
48654 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48655
48656         [BZ #12631]
48657         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
48658
48659 2011-03-30  Andreas Schwab  <schwab@redhat.com>
48660
48661         * misc/syncfs.c: New file.
48662         * misc/Makefile (routines): Add syncfs.
48663         * posix/unistd.h: Declare syncfs.
48664         * sysdeps/unix/syscalls.list: Add syncfs.
48665
48666 2011-04-01  Andreas Schwab  <schwab@redhat.com>
48667
48668         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
48669         open_by_handle_at.
48670         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48671         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48672         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48673         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48674         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48675         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
48676         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48677
48678 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48679
48680         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
48681         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48682         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
48683         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48684         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48685         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48686         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48687
48688         * io/Makefile: Compile fallocate.c, fallocate64.c, and
48689         sync_file_range.c with -fexceptions.
48690         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
48691         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
48692         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
48693         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
48694         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
48695         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
48696         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
48697         sync_file_range as cancellation point
48698         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
48699         now a wrapper around __call_sync_file_range with cancellation handling.
48700         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
48701         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
48702         function name to __call_sync_file_range.
48703         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
48704         Add call_sync_file_range.
48705
48706 2011-04-01  Andreas Schwab  <schwab@redhat.com>
48707
48708         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48709         bits/timex.h.
48710
48711 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48712
48713         * iconv/iconv.h: Fix typo in comment.
48714         * io/fcntl.h: Likewise.
48715         * libio/stdio.h: Likewise.
48716         * posix/spawn.h: Likewise.
48717         * posix/unistd.h: Likewise.
48718         * stdlib/stdlib.h: Likewise.
48719         * time/time.h: Likewise.
48720         * wcsmbs/wchar.h: Likewise.
48721
48722         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
48723         open_by_handle): Add.
48724         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
48725         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
48726         Augment a few comments.
48727         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48728         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48729         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48730         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48731         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48732         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
48733         open_by_handle.
48734
48735         * io/fcntl.h (AT_EMPTY_PATH): Define.
48736
48737 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
48738
48739         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
48740         * sysdeps/unix/sysv/linux/bits/time.h: New file.
48741         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
48742         to...
48743         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
48744         * Versions.def: Add GLIBC_2.14.
48745         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
48746         Export.
48747
48748 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
48749
48750         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
48751         round counter.
48752         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48753
48754 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
48755
48756         [BZ #12597]
48757         * string/test-strncmp.c (do_page_test): New function.
48758         (check2): Likewise.
48759         (test_main): Call check2.
48760         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
48761
48762 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
48763
48764         [BZ #12587]
48765         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
48766         Handle cache information in CPU leaf 4.
48767         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48768
48769 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
48770
48771         [BZ #12583]
48772         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
48773         character representation.
48774         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
48775
48776 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
48777
48778         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
48779         END(__isnan) to END(__isnanf) to match function entry point/label
48780         EALIGN(__isnanf,...).
48781
48782 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
48783
48784         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
48785
48786 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
48787
48788         [BZ #12510]
48789         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
48790         copy from the symbol referenced in the relocation to initialize the
48791         used variable.
48792         Patch by Piotr Bury <pbury@goahead.com>.
48793         * elf/Makefile: Add rules to build and tst-unique3.
48794         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
48795         * elf/tst-unique3.cc: New file.
48796         * elf/tst-unique3.h: New file.
48797         * elf/tst-unique3lib.cc: New file.
48798         * elf/tst-unique3lib2.cc: New file.
48799
48800         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
48801
48802 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
48803
48804         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
48805         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
48806         to _start.
48807
48808 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
48809
48810         * elf/dl-load.c (_dl_map_object): If we are looking for the first
48811         to-be-loaded object along a path to loader is ld.so.
48812
48813 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
48814             Ulrich Drepper  <drepper@gmail.com>
48815
48816         * sysdeps/x86_64/memset.S: After aligning destination, code
48817         branches to different locations depending on the value of
48818         misalignment, when multiarch is enabled. Fix this.
48819
48820 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
48821
48822         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48823         Set _x86_64_preferred_memory_instruction for AMD processsors.
48824         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48825         Set bit_Prefer_SSE_for_memop for AMD processors.
48826
48827 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
48828
48829         * libio/fmemopen.c (fmemopen): Optimize a bit.
48830
48831 2011-03-03  Andreas Schwab  <schwab@redhat.com>
48832
48833         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48834
48835 2011-03-03  Roland McGrath  <roland@redhat.com>
48836
48837         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48838
48839 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
48840
48841         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
48842         __bzero_ultra1 instead of __memset_ultra1.
48843
48844 2011-02-23  Andreas Schwab  <schwab@redhat.com>
48845             Ulrich Drepper  <drepper@gmail.com>
48846
48847         [BZ #12509]
48848         * include/link.h (struct link_map): Add l_orig_initfini.
48849         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48850         returning unsuccessfully.
48851         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48852         close of a file loaded at startup, restore the original l_initfini
48853         list.
48854         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48855         list, store the pointer.
48856         * elf/Makefile ($(objpfx)noload-mem): New rule.
48857         (noload-ENV): Define.
48858         (tests): Add $(objpfx)noload-mem.
48859         * elf/noload.c: Include <memcheck.h>.
48860         (main): Call mtrace.  Close all opened handles.
48861
48862 2011-02-17  Andreas Schwab  <schwab@redhat.com>
48863
48864         [BZ #12454]
48865         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48866         dependencies are missing.
48867
48868 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48869
48870         Fix __if_freereq crash: Unlike the generic version which uses free,
48871         Hurd needs munmap.
48872         * sysdeps/mach/hurd/ifreq.h: New file.
48873
48874 2011-01-27  Petr Baudis  <pasky@suse.cz>
48875             Ulrich Drepper  <drepper@gmail.com>
48876
48877         [BZ 12445]#
48878         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48879         to extend_alloca().
48880         * stdio-common/bug23.c: New file.
48881         * stdio-common/Makefile (tests): Add bug23.
48882
48883 2010-09-28  Andreas Schwab  <schwab@redhat.com>
48884             Ulrich Drepper  <drepper@gmail.com>
48885
48886         [BZ #12489]
48887         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48888         before performing relro protection.  At old place add assertion
48889         to make sure nothing changed.
48890
48891 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
48892             Glauber de Oliveira Costa  <glommer@gmail.com>
48893
48894         * elf/elf.h: Add new ARM TLS relocs.
48895
48896 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
48897
48898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48899         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48900         cast from r3.
48901         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
48902         'tests' variable.
48903         * sysdeps/wordsize-64/tst-writev.c: New file.
48904
48905 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
48906
48907         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48908         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48909         insns in _dl_start to prevent a TOC reference before relocs are
48910         resolved.
48911
48912 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
48913
48914         [BZ #12469]
48915         * Makeconfig: Remove RANLIB definition.
48916         * Makerules: Don't use RANLIB.
48917         * aclocal.m4: Remove ranlib test.
48918         * configure.in: No need to check for ranlib.
48919         * elf/rtld-Rules: Don't use RANLIB.
48920
48921 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48922
48923         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48924         protection macro.
48925         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48926         inclusion protection macro.
48927
48928         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48929         SIGRTMIN and SIGRTMAX and print information in that case only when
48930         SIGRTMIN is defined.
48931
48932 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
48933
48934         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48935         arginfo fn returning -1.
48936
48937         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48938         and thousands string is zero terminated.
48939
48940 2011-02-03  Andreas Schwab  <schwab@redhat.com>
48941
48942         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48943         sysdeps/unix/sysv/linux/bits/socket.h.
48944
48945 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48946
48947         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48948         (__CPU_COUNT): Remove old macros.
48949         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48950         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48951         (__CPU_ALLOC, __CPU_FREE): Add macros.
48952         (__sched_cpualloc, __sched_cpufree): Add declarations.
48953
48954 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
48955
48956         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48957         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48958         * nscd/aicache.c (addhstaiX): Return timeout of added value.
48959         (readdhstai): Return value of addhstaiX call.
48960         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48961         (addgrbyX): Return value returned by cache_addgr.
48962         (readdgrbyname): Return value returned by addgrbyX.
48963         (readdgrbygid): Likewise.
48964         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48965         (addpwbyX): Return value returned by cache_addpw.
48966         (readdpwbyname): Return value returned by addhstbyX.
48967         (readdpwbyuid): Likewise.
48968         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48969         (addservbyX): Return value returned by cache_addserv.
48970         (readdservbyname): Return value returned by addservbyX:
48971         (readdservbyport): Likewise.
48972         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48973         (addhstbyX): Return value returned by cache_addhst.
48974         (readdhstbyname): Return value returned by addhstbyX.
48975         (readdhstbyaddr): Likewise.
48976         (readdhstbynamev6): Likewise.
48977         (readdhstbyaddrv6): Likewise.
48978         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48979         (readdinitgroups): Return value returned by addinitgroupsX.
48980         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48981         (prune_cache): Keep track of timeout value of re-added entries.
48982         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48983         * nscd/nscd.h: Adjust prototypes of readd* functions.
48984
48985 2011-02-04  Roland McGrath  <roland@redhat.com>
48986
48987         * nis/nis_server.c (nis_servstate): Use the right name for 0.
48988         (nis_stats): Likewise.
48989         * nis/nis_modify.c (nis_modify): Likewise.
48990         * nis/nis_remove.c (nis_remove): Likewise.
48991         * nis/nis_add.c (nis_add): Likewise.
48992
48993         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48994
48995         * posix/fnmatch_loop.c: Add some consts.
48996
48997         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48998
48999 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
49000
49001         [BZ #12460]
49002         * config.make.in (config-cflags-novzeroupper): Define.
49003         * configure.in: Substitute libc_cv_cc_novzeroupper.
49004         * elf/Makefile (AVX-CFLAGS): Define.
49005         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
49006         (CFLAGS-tst-auditmod4a.c): Likewise.
49007         (CFLAGS-tst-auditmod4b.c): Likewise.
49008         (CFLAGS-tst-auditmod6b.c): Likewise.
49009         (CFLAGS-tst-auditmod6c.c): Likewise.
49010         (CFLAGS-tst-auditmod7b.c): Likewise.
49011         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
49012
49013 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
49014
49015         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
49016         function to the callback.
49017         Patch partly by Jiri Olsa <jolsa@redhat.com>.
49018
49019 2011-02-02  Andreas Schwab  <schwab@redhat.com>
49020
49021         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
49022         of errno.
49023
49024 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
49025
49026         [BZ #11724]
49027         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
49028         of constructors.
49029         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
49030         of destructors.
49031         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
49032
49033         [BZ #11724]
49034         * elf/Makefile: Add rules to build and run new test.
49035         * elf/tst-initorder.c: New file.
49036         * elf/tst-initorder.exp: New file.
49037         * elf/tst-initordera1.c: New file.
49038         * elf/tst-initordera2.c: New file.
49039         * elf/tst-initordera3.c: New file.
49040         * elf/tst-initordera4.c: New file.
49041         * elf/tst-initorderb1.c: New file.
49042         * elf/tst-initorderb2.c: New file.
49043         * elf/tst-order-a1.c: New file.
49044         * elf/tst-order-a2.c: New file.
49045         * elf/tst-order-a3.c: New file.
49046         * elf/tst-order-a4.c: New file.
49047         * elf/tst-order-b1.c: New file.
49048         * elf/tst-order-b2.c: New file.
49049         * elf/tst-order-main.c: New file.
49050         New test case by George Gensure <werkt0@gmail.com>.
49051
49052 2010-10-01  Andreas Schwab  <schwab@redhat.com>
49053
49054         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
49055         decoding ACE if AI_CANONIDN.
49056
49057 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
49058
49059         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
49060
49061 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
49062
49063         * version.h (RELEASE): Bump for 2.13 release.
49064         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
49065
49066         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
49067
49068         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
49069         MADV_NOHUGEPAGE.
49070         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
49071         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
49072         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49073         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
49074         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49075         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49076
49077         * posix/getconf.c: Update copyright year.
49078         * catgets/gencat.c: Likewise.
49079         * csu/version.c: Likewise.
49080         * debug/catchsegv.sh: Likewise.
49081         * debug/xtrace.sh: Likewise.
49082         * elf/ldconfig.c: Likewise.
49083         * elf/ldd.bash.in: Likewise.
49084         * elf/sprof.c (print_version): Likewise.
49085         * iconv/iconv_prog.c: Likewise.
49086         * iconv/iconvconfig.c: Likewise.
49087         * locale/programs/locale.c: Likewise.
49088         * locale/programs/localedef.c: Likewise.
49089         * malloc/memusage.sh: Likewise.
49090         * malloc/mtrace.pl: Likewise.
49091         * nscd/nscd.c (print_version): Likewise.
49092         * nss/getent.c: Likewise.
49093
49094         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
49095         PF_CAIF, and PF_ALG.
49096         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49097
49098 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
49099
49100         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
49101         (modules-names): Use them.
49102         (ifunc-test-modules, ifunc-pie-tests): Define.
49103         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
49104         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
49105         (test-extras): Likewise.
49106         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
49107         $(compile-command.c).
49108         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
49109         (all-built-dso): Define.
49110         (check-textrel.out, check-execstack.out): Depend on it.
49111
49112         * configure.in: Don't override --enable-multi-arch.
49113
49114 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
49115
49116         [BZ #6812]
49117         * nscd/hstcache.c (tryagain): Define.
49118         (cache_addhst): Return tryagain not notfound for temporary errors.
49119         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
49120         failed.
49121
49122 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
49123
49124         [BZ #10563]
49125         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
49126         to make the syscall.
49127         * sysdeps/unix/sysv/linux/setgroups.c: New file.
49128
49129         [BZ #12378]
49130         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
49131         and fall back to matching as normal character if the string ends before
49132         the matching ']' is found.  This is what POSIX requires.
49133         * posix/testfnm.c: Adjust test result.
49134         * posix/globtest.sh: Adjust test result.  Add new test.
49135         * posix/tst-fnmatch.input: Likewise.
49136         * posix/tst-fnmatch2.c: Add new test.
49137
49138 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
49139
49140         * elf/Makefile (check-execstack): Revert last change.  Depend on
49141         check-execstack.h.
49142         (check-execstack.h): New target.
49143         (generated): Add check-execstack.h.
49144         * elf/check-execstack.c: Include "check-execstack.h".
49145         (main): Revert last change.
49146         (handle_file): Return zero if GNU_STACK is absent and
49147         DEFAULT_STACK_PERMS doesn't include PF_X.
49148
49149 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
49150
49151         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
49152         in child fails because the descriptor is already closed.
49153         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
49154         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
49155         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
49156
49157         [BZ #12397]
49158         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
49159         syscall.
49160
49161         [BZ #10484]
49162         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
49163         temporary buffer used to handle multi lookups locally.
49164         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
49165
49166 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
49167
49168         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
49169         loader is ld.so.
49170
49171 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
49172
49173         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
49174         alignment for SSE2.
49175
49176 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
49177
49178         [BZ #12394]
49179         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
49180         characters.  When rounding increased number of integer digits recompute
49181         number of groups.
49182         * stdio-common/tst-grouping.c: New file.
49183         * stdio-common/Makefile: Add rules to build and run tst-grouping.
49184
49185 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
49186
49187         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
49188         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
49189
49190         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
49191         void.
49192         * bits/select.h: Likewise.
49193
49194 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
49195
49196         * po/ja.po: Update from translation team.
49197
49198 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
49199
49200         [BZ #11155]
49201         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
49202         implementation just like for lxstat, fxstatat, et al.
49203
49204 2010-12-27  Jim Meyering  <meyering@redhat.com>
49205
49206         [BZ #12348]
49207         * posix/regexec.c (build_trtable): Return failure indication upon
49208         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
49209
49210 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
49211
49212         [BZ #12201]
49213         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
49214         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
49215         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
49216         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
49217
49218         [BZ #12207]
49219         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
49220
49221         [BZ #12204]
49222         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
49223         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
49224
49225 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
49226
49227         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
49228         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
49229         script has SORT_BY_INIT_PRIORITY.
49230         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
49231         NO_CTORS_DTORS_SECTIONS is defined.
49232         * elf/soinit.c: Likewise.
49233         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
49234         NO_CTORS_DTORS_SECTIONS is defined.
49235         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
49236         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
49237         * sysdeps/sh/init-first.c: Likewise.
49238         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
49239
49240 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
49241
49242         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
49243         always use the slow path.
49244
49245 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
49246
49247         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
49248         similar rule which adds the sysdep directories to the header search in
49249         order to pick up the correct platform stackinfo.h.
49250         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
49251         perform test if it is, otherwise return successfully without testing.
49252         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
49253         DEFAULT_STACK_PERMS define in stackinfo.h.
49254         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
49255         defined in stackinfo.h.
49256         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
49257         DEFAULT_STACK_PERMS defined in stackinfo.h.
49258         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
49259         * sysdeps/ia64/stackinfo.h: Likewise.
49260         * sysdeps/s390/stackinfo.h: Likewise.
49261         * sysdeps/sh/stackinfo.h: Likewise.
49262         * sysdeps/sparc/stackinfo.h: Likewise.
49263         * sysdeps/x86_64/stackinfo.h: Likewise.
49264         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
49265         PF_X for powerpc64.  Retain PF_X for powerpc32.
49266
49267 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
49268
49269         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
49270         accurately.
49271         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
49272         GETDENTS_64BIT_ALIGNED.
49273
49274 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
49275
49276         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
49277
49278 2010-12-10  Andreas Schwab  <schwab@redhat.com>
49279
49280         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
49281         _GNU_SOURCE.
49282
49283         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
49284         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
49285         Remove __restrict.
49286         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
49287         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
49288
49289 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
49290
49291         [BZ #11655]
49292         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
49293         are initialized.
49294
49295 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
49296
49297         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
49298
49299 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
49300
49301         * po/it.po: Update from translation team.
49302
49303 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
49304
49305         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
49306         unused codes.
49307
49308 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
49309
49310         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
49311
49312 2010-11-24  Andreas Schwab  <schwab@redhat.com>
49313
49314         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
49315         specially.
49316         (gaih_getanswer_slice): Likewise.
49317
49318 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
49319
49320         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
49321
49322 2010-05-31  Petr Baudis  <pasky@suse.cz>
49323
49324         [BZ #11149]
49325         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
49326         silently even in the chroot mode.
49327
49328 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
49329
49330         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
49331         last patch a bit.  Pretty printing
49332
49333 2010-05-31  Petr Baudis <pasky@suse.cz>
49334
49335         [BZ #10085]
49336         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
49337         initialization of skip_initgroups_dyn.
49338
49339 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
49340
49341         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
49342         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49343
49344 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
49345
49346         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
49347
49348 2010-11-11  Andreas Schwab  <schwab@redhat.com>
49349
49350         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
49351         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
49352         (tst-fnmatch-ENV): Set MALLOC_TRACE.
49353         ($(objpfx)tst-fnmatch-mem): New rule.
49354         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
49355         * posix/tst-fnmatch.c (main): Call mtrace.
49356
49357 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
49358
49359         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49360         Support Intel processor model 6 and model 0x2c.
49361
49362 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
49363
49364         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
49365           signed comparison.
49366
49367 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
49368
49369         [BZ #12205]
49370         * string/test-strncasecmp.c (check_result): New function.
49371         (do_one_test): Use it.
49372         (check1): New function.
49373         (test_main): Use it.
49374         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
49375         Support strcasecmp and strncasecmp.
49376
49377 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
49378
49379         [BZ #12194]
49380         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
49381         * sysdeps/x86_64/bits/byteswap.h: Likewise.
49382
49383 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
49384
49385         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
49386         IFUNC support.
49387         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49388         memset-x86-64.
49389         * sysdeps/x86_64/multiarch/bzero.S: New file.
49390         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
49391         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
49392         * sysdeps/x86_64/multiarch/memset.S: New file.
49393         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
49394         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49395         Set bit_Prefer_SSE_for_memop for Intel processors.
49396         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
49397         Define.
49398         (index_Prefer_SSE_for_memop): Define.
49399         (HAS_PREFER_SSE_FOR_MEMOP): Define.
49400
49401 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
49402
49403         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
49404         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
49405
49406 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
49407
49408         [BZ #12191]
49409         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49410         (__x86_64_raw_data_cache_size_half): Likewise.
49411         (__x86_64_raw_shared_cache_size): Likewise.
49412         (__x86_64_raw_shared_cache_size_half): Likewise.
49413
49414         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49415         (__x86_64_raw_data_cache_size_half): Likewise.
49416         (__x86_64_raw_shared_cache_size): Likewise.
49417         (__x86_64_raw_shared_cache_size_half): Likewise.
49418         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
49419         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
49420         and __x86_64_raw_shared_cache_size_half.  Round
49421         __x86_64_data_cache_size_half, __x86_64_data_cache_size
49422         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
49423         to multiple of 256 bytes.
49424
49425 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
49426
49427         [BZ #12167]
49428         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
49429         of inacessible symlinks.  Verify result of symlink before returning it.
49430         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
49431         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
49432
49433 2010-10-28  Erich Ritz  <erichritz@gmail.com>
49434
49435         * math/math.h (isinf): Fix typo in comment.
49436
49437 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
49438
49439         * po/da.po: Update from translation team.
49440
49441 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
49442
49443         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
49444         is added to the list.
49445
49446 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49447             Ulrich Drepper  <drepper@gmail.com>
49448
49449         * elf/dl-object.c (_dl_new_object): Don't append the new object to
49450         the global list here.  Move code to...
49451         (_dl_add_to_namespace_list): ...here.  New function.
49452         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
49453         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
49454         * elf/dl-load.c (lose): Don't remove the element from the list.
49455         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
49456         (_dl_map_object): Likewise.
49457
49458 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
49459
49460         [BZ #12159]
49461         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
49462         into all bytes of SSE register.
49463         Patch by Richard Li <richardpku@gmail.com>.
49464
49465 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
49466
49467         [BZ #12140]
49468         * malloc/malloc.c (_int_free): Fill correct number of bytes when
49469         perturbing.
49470
49471 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
49472
49473         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
49474         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
49475         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
49476         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
49478         submachine.
49479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
49480
49481 2010-10-22  Andreas Schwab  <schwab@redhat.com>
49482
49483         * include/dlfcn.h (__RTLD_SECURE): Define.
49484         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
49485         mode & __RTLD_SECURE instead.
49486         (open_path): Rename preloaded parameter to secure.
49487         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
49488         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
49489         * elf/dl-deps.c (openaux): Likewise.
49490         * elf/rtld.c (struct map_args): Remove is_preloaded.
49491         (map_doit): Don't use it.
49492         (dl_main): Likewise.
49493         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
49494         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
49495
49496 2010-09-09  Andreas Schwab  <schwab@redhat.com>
49497
49498         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
49499         (sysd-rules-targets): Remove duplicates.
49500         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
49501         rtld-%.$o dependency.
49502
49503 2010-10-18  Andreas Schwab  <schwab@redhat.com>
49504
49505         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
49506         _dl_map_object do it.
49507
49508 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
49509
49510         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
49511         fast fma builtins, define the macros in the C99 standard.
49512         (FP_FAST_FMAF): Likewise.
49513         (FP_FAST_FMAL): Likewise.
49514         * sysdeps/x86_64/bits/mathdef.h: Likewise.
49515
49516         * bits/mathdef.h: Update copyright year.
49517         * sysdeps/powerpc/bits/mathdef.h: Likewise.
49518
49519 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
49520
49521         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
49522         builtins, define the macros in the C99 standard.
49523         (FP_FAST_FMAF): Likewise.
49524         (FP_FAST_FMAL): Likewise.
49525         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
49526         multiply/add.
49527         (FP_FAST_FMAF): Likewise.
49528
49529 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
49530
49531         [BZ #3268]
49532         * math/libm-test.inc (fma_test): Some new testcases.
49533         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
49534         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
49535         y and infinite z.  Do multiplication by C already in long double.
49536         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
49537         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
49538         y and infinite z.  Do bitwise or of inexact bit into u.d.
49539         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
49540         * sysdeps/i386/fpu/s_fmaf.S: Removed.
49541         * sysdeps/i386/fpu/s_fma.S: Removed.
49542         * sysdeps/i386/fpu/s_fmal.S: Removed.
49543
49544 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
49545
49546         [BZ #3268]
49547         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
49548         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
49549         computation is not scheduled after fetestexcept.  Fix value
49550         of minimum denormal long double.
49551
49552 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
49553
49554         [BZ #3268]
49555         * math/libm-test.inc (fma_test): Add some more tests.
49556         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
49557         correctly.
49558
49559 2010-10-15  Andreas Schwab  <schwab@redhat.com>
49560
49561         * scripts/data/localplt-s390-linux-gnu.data: New file.
49562         * scripts/data/localplt-s390x-linux-gnu.data: New file.
49563
49564 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
49565
49566         [BZ #3268]
49567         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
49568         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
49569         instead of dbl-64.
49570         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
49571         inlines.
49572         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
49573         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
49574         if one of x and y is very large and the other is subnormal.
49575         * sysdeps/s390/fpu/s_fmaf.c: New file.
49576         * sysdeps/s390/fpu/s_fma.c: New file.
49577         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
49578         * sysdeps/powerpc/fpu/s_fma.S: New file.
49579         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
49580         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
49581         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
49582
49583 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
49584
49585         [BZ #3268]
49586         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
49587         fma tests.
49588         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
49589         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
49590         * sysdeps/i386/i686/multiarch/s_fma.c: Include
49591         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
49592         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
49593         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
49594         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
49595
49596 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
49597
49598         [BZ #12078]
49599         * posix/regcomp.c (parse_branch): One more memory leak plugged.
49600         * posix/bug-regex31.input: Add test case.
49601
49602 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
49603
49604         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
49605         * posix/bug-regex31.input: New file.
49606
49607         [BZ #12078]
49608         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
49609         (parse_sub_exp): Fix last change, use postorder.
49610
49611         * posix/bug-regex31.c: New file.
49612         * posix/Makefile: Add rules to build and run bug-regex31.
49613
49614         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
49615
49616         [BZ #12078]
49617         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
49618
49619         [BZ #12108]
49620         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
49621         to have entries in sys_siglist.
49622
49623         [BZ #12093]
49624         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
49625         be NULL.
49626
49627 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
49628
49629         [BZ #3268]
49630         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
49631         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
49632         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
49633         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
49634         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49635         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
49636         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
49637         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
49638         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
49639         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
49640         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
49641         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
49642         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
49643         * math/ftestexcept.c (fetestexcept): Likewise.
49644         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
49645         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
49646         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
49647         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
49648         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
49649         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
49650         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49651
49652 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
49653
49654         [BZ #12107]
49655         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
49656         newline.
49657
49658 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
49659
49660         * string/bug-strstr1.c: New file.
49661         * string/Makefile: Add rules to build and run bug-strstr1.
49662
49663 2010-10-05  Eric Blake  <eblake@redhat.com>
49664
49665         [BZ #12092]
49666         * string/str-two-way.h (two_way_long_needle): Always clear memory
49667         when skipping input due to the shift table.
49668
49669 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
49670
49671         [BZ #12005]
49672         * malloc/mcheck.c: Handle large requests.
49673
49674         [BZ #12077]
49675         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
49676         for strncmp and strncasecmp.
49677         * string/stratcliff.c: Add tests for strcmp and strncmp.
49678         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
49679
49680 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49681
49682         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
49683         __set_fpscr.
49684
49685 2010-09-30  Andreas Jaeger  <aj@suse.de>
49686
49687         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
49688         (CGROUP_SUPER_MAGIC): Define.
49689         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49690         Handle btrfs and cgroup file systems.
49691         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49692         Likewise.
49693
49694 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
49695
49696         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
49697         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
49698
49699 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49700
49701         [BZ #12067]
49702         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
49703         trying to locate the ELF header.
49704
49705 2010-09-27  Andreas Schwab  <schwab@redhat.com>
49706
49707         [BZ #11611]
49708         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
49709         Mask out sign-bit copies when constructing f_fsid.
49710
49711 2010-09-24  Petr Baudis <pasky@suse.cz>
49712
49713         * debug/stack_chk_fail_local.c: Add missing licence exception.
49714         * debug/warning-nop.c: Likewise.
49715
49716 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
49717
49718         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
49719         implementing getdents64 using getdents syscall, set d_type if
49720         __ASSUME_GETDENTS32_D_TYPE.
49721
49722 2010-09-16  Andreas Schwab  <schwab@redhat.com>
49723
49724         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
49725         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
49726
49727 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
49728
49729         [BZ #12037]
49730         * posix/unistd.h: Undo change of feature selection for ftruncate from
49731         2010-01-11.
49732
49733 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
49734
49735         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
49736         detection.
49737
49738 2010-09-20  Andreas Schwab  <schwab@redhat.com>
49739
49740         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
49741         fanotify_mark.
49742         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49743
49744 2010-09-14  Andreas Schwab  <schwab@redhat.com>
49745
49746         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
49747         variables after CHECK_SP call.
49748         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
49749
49750 2010-09-13  Andreas Schwab  <schwab@redhat.com>
49751             Ulrich Drepper  <drepper@redhat.com>
49752
49753         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
49754         re-relocationg ld.so.
49755         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
49756         _dl_init_paths call.
49757         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
49758         here anymore.
49759
49760 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
49761
49762         * resolv/res_init.c (__res_vinit): Count the default server we added.
49763
49764 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
49765             Ulrich Drepper  <drepper@redhat.com>
49766
49767         [BZ #11968]
49768         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49769         (____longjmp_chk): Use %ebx for saving value across system call.
49770         Add unwind info.
49771
49772 2010-09-06  Andreas Schwab  <schwab@redhat.com>
49773
49774         * manual/Makefile: Don't mix pattern rules with normal rules.
49775
49776 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
49777
49778         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
49779         operation.
49780         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
49781         * libio/iofopncook.c (_IO_cookie_init): Likewise.
49782         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
49783         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
49784         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49785         Likewise.
49786
49787 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
49788
49789         [BZ #11979]
49790         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
49791         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
49792
49793 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
49794
49795         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
49796         * sysdeps/x86_64/addmul_1.S: Likewise.
49797         * sysdeps/x86_64/lshift.S: Likewise.
49798         * sysdeps/x86_64/mul_1.S: Likewise.
49799         * sysdeps/x86_64/rshift.S: Likewise.
49800         * sysdeps/x86_64/sub_n.S: Likewise.
49801         * sysdeps/x86_64/submul_1.S: Likewise.
49802
49803 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49804
49805         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
49806         Define __sched_param instead of SCHED_* and sched_param when
49807         <bits/sched.h> is included with __need_schedparam defined.
49808         * bits/sched.h [__need_schedparam]
49809         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
49810         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
49811         (__defined_schedparam): Define to 1.
49812         (__sched_param): New structure, identical to sched_param.
49813         (__need_schedparam): Undefine.
49814
49815 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
49816
49817         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49818         (epoll_create1): Declare.
49819
49820         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49821
49822 2010-08-31  Andreas Schwab  <schwab@redhat.com>
49823
49824         [BZ #7066]
49825         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49826         shifting retval into place.
49827
49828 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
49829
49830         * nis/rpcsvc/nis.h: Update copyright notice.
49831         * nis/rpcsvc/nis.x: Likewise.
49832         * nis/rpcsvc/nis_callback.h: Likewise.
49833         * nis/rpcsvc/nis_callback.x: Likewise.
49834         * nis/rpcsvc/nis_object.x: Likewise.
49835         * nis/rpcsvc/nis_tags.h: Likewise.
49836         * nis/rpcsvc/yp.h: Likewise.
49837         * nis/rpcsvc/yp.x: Likewise.
49838         * nis/rpcsvc/ypupd.h: Likewise.
49839         * nis/yp_xdr.c: Likewise.
49840         * nis/ypupdate_xdr.c: Likewise.
49841
49842         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
49843         mainly the body of pmap_getport.  Add parameters to specify timeouts.
49844         (pmap_getport): Use __libc_rpc_getport.
49845         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49846         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49847         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49848
49849 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
49850
49851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49852         fanotify_mark.
49853
49854 2010-08-27  Roland McGrath  <roland@redhat.com>
49855
49856         * sysdeps/i386/i686/multiarch/Makefile
49857         (CFLAGS-varshift.c): New variable.
49858
49859 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
49860
49861         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49862         * sysdeps/i386/i686/multiarch/varshift.c: New file.
49863
49864         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49865
49866         * sysdeps/x86_64/strlen.S: Minimal code improvement.
49867
49868 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
49869
49870         * sysdeps/x86_64/strlen.S: Unroll the loop.
49871         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49872         strlen-sse2 strlen-sse2-bsf.
49873         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49874         __strlen_no_bsf if bit_Slow_BSF is set.
49875         (__strlen_sse42): Removed.
49876         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49877         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49878
49879 2010-08-25  Roland McGrath  <roland@redhat.com>
49880
49881         * sysdeps/x86_64/multiarch/varshift.S: File removed.
49882         * sysdeps/x86_64/multiarch/varshift.c: New file.
49883         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49884         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49885         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49886         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49887
49888 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
49889
49890         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49891         strlen-sse2 strlen-sse2-bsf.
49892         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49893         __strlen_sse2_bsf if bit_Slow_BSF is unset.
49894         (__strlen_sse2): Removed.
49895         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
49896         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49897         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49898         bit_Slow_BSF for Atom.
49899         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49900         (index_Slow_BSF): Define.
49901         (HAS_SLOW_BSF): Define.
49902
49903 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
49904
49905         [BZ #10851]
49906         * resolv/res_init.c (__res_vinit): When no server address at all
49907         is given default to loopback.
49908
49909 2010-08-24  Roland McGrath  <roland@redhat.com>
49910
49911         * configure.in: Remove config-name.h generation.
49912         * configure: Regenerated.
49913         * config-name.in: File removed.
49914         * scripts/config-uname.sh: New file.
49915         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49916         ($(objdir)config-name.h): New target.
49917
49918         * sunrpc/rpc_parse.h: Avoid nested comment.
49919
49920 2010-08-24  Richard Henderson  <rth@redhat.com>
49921             Ulrich Drepper  <drepper@redhat.com>
49922             H.J. Lu  <hongjiu.lu@intel.com>
49923
49924         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49925         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49926         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49927         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
49928         _mm_alignr_epi8 with _mm_loadu_si128.
49929         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49930         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49931         (__m128i_shift_right): Removed.
49932         * sysdeps/i386/i686/multiarch/varshift.h: New file.
49933         * sysdeps/i386/i686/multiarch/varshift.S: New file.
49934         * sysdeps/x86_64/multiarch/varshift.h: New file.
49935         * sysdeps/x86_64/multiarch/varshift.S: New file.
49936
49937 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
49938
49939         * configure.in: Move assembler checks to before sysdep dir checking.
49940
49941 2010-08-20  Petr Baudis  <pasky@suse.cz>
49942
49943         * LICENSES: Sync the sunrpc license.
49944
49945 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
49946
49947         * sunrpc/auth_des.c: Update copyright notice once again.
49948         * sunrpc/auth_none.c: Likewise.
49949         * sunrpc/auth_unix.c: Likewise.
49950         * sunrpc/authdes_prot.c: Likewise.
49951         * sunrpc/authuxprot.c: Likewise.
49952         * sunrpc/bindrsvprt.c: Likewise.
49953         * sunrpc/clnt_gen.c: Likewise.
49954         * sunrpc/clnt_perr.c: Likewise.
49955         * sunrpc/clnt_raw.c: Likewise.
49956         * sunrpc/clnt_simp.c: Likewise.
49957         * sunrpc/clnt_tcp.c: Likewise.
49958         * sunrpc/clnt_udp.c: Likewise.
49959         * sunrpc/clnt_unix.c: Likewise.
49960         * sunrpc/des_crypt.c: Likewise.
49961         * sunrpc/des_soft.c: Likewise.
49962         * sunrpc/get_myaddr.c: Likewise.
49963         * sunrpc/getrpcport.c: Likewise.
49964         * sunrpc/key_call.c: Likewise.
49965         * sunrpc/key_prot.c: Likewise.
49966         * sunrpc/openchild.c: Likewise.
49967         * sunrpc/pm_getmaps.c: Likewise.
49968         * sunrpc/pm_getport.c: Likewise.
49969         * sunrpc/pmap_clnt.c: Likewise.
49970         * sunrpc/pmap_prot.c: Likewise.
49971         * sunrpc/pmap_prot2.c: Likewise.
49972         * sunrpc/pmap_rmt.c: Likewise.
49973         * sunrpc/rpc/auth.h: Likewise.
49974         * sunrpc/rpc/auth_unix.h: Likewise.
49975         * sunrpc/rpc/clnt.h: Likewise.
49976         * sunrpc/rpc/des_crypt.h: Likewise.
49977         * sunrpc/rpc/key_prot.h: Likewise.
49978         * sunrpc/rpc/netdb.h: Likewise.
49979         * sunrpc/rpc/pmap_clnt.h: Likewise.
49980         * sunrpc/rpc/pmap_prot.h: Likewise.
49981         * sunrpc/rpc/pmap_rmt.h: Likewise.
49982         * sunrpc/rpc/rpc.h: Likewise.
49983         * sunrpc/rpc/rpc_des.h: Likewise.
49984         * sunrpc/rpc/rpc_msg.h: Likewise.
49985         * sunrpc/rpc/svc.h: Likewise.
49986         * sunrpc/rpc/svc_auth.h: Likewise.
49987         * sunrpc/rpc/types.h: Likewise.
49988         * sunrpc/rpc/xdr.h: Likewise.
49989         * sunrpc/rpc_clntout.c: Likewise.
49990         * sunrpc/rpc_cmsg.c: Likewise.
49991         * sunrpc/rpc_common.c: Likewise.
49992         * sunrpc/rpc_cout.c: Likewise.
49993         * sunrpc/rpc_dtable.c: Likewise.
49994         * sunrpc/rpc_hout.c: Likewise.
49995         * sunrpc/rpc_main.c: Likewise.
49996         * sunrpc/rpc_parse.c: Likewise.
49997         * sunrpc/rpc_parse.h: Likewise.
49998         * sunrpc/rpc_prot.c: Likewise.
49999         * sunrpc/rpc_sample.c: Likewise.
50000         * sunrpc/rpc_scan.c: Likewise.
50001         * sunrpc/rpc_scan.h: Likewise.
50002         * sunrpc/rpc_svcout.c: Likewise.
50003         * sunrpc/rpc_tblout.c: Likewise.
50004         * sunrpc/rpc_util.c: Likewise.
50005         * sunrpc/rpc_util.h: Likewise.
50006         * sunrpc/rpcinfo.c: Likewise.
50007         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
50008         * sunrpc/rpcsvc/key_prot.x: Likewise.
50009         * sunrpc/rpcsvc/klm_prot.x: Likewise.
50010         * sunrpc/rpcsvc/mount.x: Likewise.
50011         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
50012         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
50013         * sunrpc/rpcsvc/rex.x: Likewise.
50014         * sunrpc/rpcsvc/rstat.x: Likewise.
50015         * sunrpc/rpcsvc/rusers.x: Likewise.
50016         * sunrpc/rpcsvc/sm_inter.x: Likewise.
50017         * sunrpc/rpcsvc/spray.x: Likewise.
50018         * sunrpc/rpcsvc/yppasswd.x: Likewise.
50019         * sunrpc/rtime.c: Likewise.
50020         * sunrpc/svc.c: Likewise.
50021         * sunrpc/svc_auth.c: Likewise.
50022         * sunrpc/svc_authux.c: Likewise.
50023         * sunrpc/svc_raw.c: Likewise.
50024         * sunrpc/svc_run.c: Likewise.
50025         * sunrpc/svc_simple.c: Likewise.
50026         * sunrpc/svc_tcp.c: Likewise.
50027         * sunrpc/svc_udp.c: Likewise.
50028         * sunrpc/svc_unix.c: Likewise.
50029         * sunrpc/svcauth_des.c: Likewise.
50030         * sunrpc/xcrypt.c: Likewise.
50031         * sunrpc/xdr.c: Likewise.
50032         * sunrpc/xdr_array.c: Likewise.
50033         * sunrpc/xdr_float.c: Likewise.
50034         * sunrpc/xdr_mem.c: Likewise.
50035         * sunrpc/xdr_rec.c: Likewise.
50036         * sunrpc/xdr_ref.c: Likewise.
50037         * sunrpc/xdr_sizeof.c: Likewise.
50038         * sunrpc/xdr_stdio.c: Likewise.
50039
50040         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
50041         handling.
50042
50043 2010-08-19  Andreas Schwab  <schwab@redhat.com>
50044
50045         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
50046
50047 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
50048
50049         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
50050         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
50051         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
50052         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
50053         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
50054         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
50055         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
50056         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
50057         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
50058         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
50059         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
50060         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
50061         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
50062         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
50063
50064 2010-07-26  Anton Blanchard  <anton@samba.org>
50065
50066         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
50067         * malloc/arena.c (heap_trim): Likewise.
50068
50069 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
50070
50071         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
50072         here.  Not...
50073         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
50074         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
50075
50076 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
50077
50078         * sysdeps/i386/elf/Makefile: New file.
50079
50080 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
50081
50082         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
50083         from fanotify_init.
50084         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
50085         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50086
50087 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
50088
50089         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
50090         of strncasecmp_l.
50091         * sysdeps/multiarch/strcmp.S: Likewise.
50092
50093 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
50094
50095         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50096         strncase_l-nonascii.
50097         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50098         Add strncase_l-ssse3.
50099         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
50100         * sysdeps/x86_64/strcmp.S: Likewise.
50101         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
50102         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
50103         * sysdeps/x86_64/strncase.S: New file.
50104         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
50105         * sysdeps/x86_64/strncase_l.S: New file.
50106         * string/Makefile (strop-tests): Add strncasecmp.
50107         * string/test-strncasecmp.c: New file.
50108
50109         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
50110         warning.
50111
50112         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
50113         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
50114
50115 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
50116
50117         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
50118
50119 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
50120
50121         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
50122         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
50123         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
50124
50125 2010-05-01  Alan Modra  <amodra@gmail.com>
50126
50127         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
50128         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
50129         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
50130         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
50131         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
50132         tidying.  Don't tail-call __sigjmp_save for static lib.
50133         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
50134         save location.
50135         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
50136         (CALL_MCOUNT): Add eh info, and nop after bl.
50137         (TAIL_CALL_SYSCALL_ERROR): New macro.
50138         (PSEUDO_RET): Use it.
50139         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
50140         Correct save location of integer regs and cr.
50141         (_dl_profile_resolve): Correct cr save location.  Delete nops
50142         after bl when SHARED.  Reduce cfi size a little by better
50143         placement of cfi directives.
50144         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
50145         make a stack frame.  Instead use parm save area as a temp.
50146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
50147         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
50148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
50149         Don't make a stack frame for parent, use parm save area.
50150         Increase child stack frame to 112 bytes.  Don't save unused reg,
50151         and adjust reg usage.  Set up cfi on error recovery and
50152         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
50153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
50154         (__makecontext): Add dummy nop after jump to exit.
50155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
50156         Use correct parm save area and cr save, reduce stack frame.
50157         Correct cfi for possible PSEUDO_RET frame setup.
50158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
50159         Branch to local label emitted by PSEUDO_RET rather than
50160         __syscall_error.
50161
50162 2010-08-12  Andreas Schwab  <schwab@redhat.com>
50163
50164         [BZ #11904]
50165         * locale/programs/locale.c (print_assignment): New function.
50166         (show_locale_vars): Use it.
50167
50168 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
50169
50170         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
50171         field.
50172         (struct statfs64): Likewise.
50173         (_STATFS_F_FLAGS): Define.
50174         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
50175         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50176         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
50177         (ST_VALID): Define locally.
50178         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
50179         __statvfs_getflags, use the provided value.
50180         * sysdeps/unix/sysv/linux/kernel-features.h: Define
50181         __ASSUME_STATFS_F_FLAGS.
50182
50183         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
50184
50185         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
50186         Add sys/fanotify.h.
50187         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
50188         fanotify_mask for GLIBC_2.13.
50189         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
50190         fanotify_init and fanotify_mark.
50191         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50192         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
50193
50194         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
50195         Add prlimit.
50196         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
50197         prlimit64 for GLIBC_2.13.
50198         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
50199         prlimit64.
50200         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
50201         syscall.
50202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
50203         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50204         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
50205         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
50206         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
50207         add prlimit alias.
50208         * sysdeps/unix/sysv/linux/prlimit.c: New file.
50209
50210         [BZ #11903]
50211         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
50212         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
50213
50214         * nss/Makefile: Add rules to build and run tst-nss-test1.
50215         * shlib-versions: Add entry for libnss_test1.
50216         * nss/nss_test1.c: New file.
50217         * nss/tst-nss-test1.c: New file.
50218
50219         * nss/nsswitch.c (__nss_database_custom): Define new variable.
50220         (__nss_configure_lookup): Set appropriate entry in
50221         __nss_configure_lookup to true.
50222         * nss/nsswitch.h: Define enum with indeces of databases in
50223         databases and __nss_database_custom arrays.  Declare
50224         __nss_database_custom.
50225         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
50226         to avoid using nscd when custom rules are installed.
50227         * nss/getXXbyYY_r.c: Likewise.
50228         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
50229
50230         * nss/nss_files/files-parse.c: Whitespace fixes.
50231
50232 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
50233
50234         [BZ #11883]
50235         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
50236         * posix/fnmatch_loop.c: Likewise.
50237
50238 2010-07-17  Andi Kleen  <ak@linux.intel.com>
50239
50240         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
50241         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
50242         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
50243         * Versions.def [GLIBC_2.13]: Add.
50244
50245 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
50246
50247         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50248         Also fail if tpwd after pwuid call is NULL.
50249
50250 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50251
50252         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
50253         when converting to ms.
50254
50255 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50256
50257         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
50258         EOPNOTSUPP errors with ENOTTY.
50259         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
50260         EOPNOTSUPP errors with ENOTTY.
50261
50262 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
50263
50264         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50265         Add strcasecmp_l-ssse3.
50266         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
50267         strcasecmp.
50268         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
50269         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
50270         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
50271
50272 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
50273
50274         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
50275
50276         * string/Makefile (strop-tests): Add strcasecmp.
50277         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50278         strcasecmp_l-nonascii.
50279         (gen-as-const-headers): Add locale-defines.sym.
50280         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
50281         * sysdeps/x86_64/strcasecmp.S: New file.
50282         * sysdeps/x86_64/strcasecmp_l.S: New file.
50283         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
50284         * sysdeps/x86_64/locale-defines.sym: New file.
50285         * string/test-strcasecmp.c: New file.
50286
50287         * string/test-strcasestr.c: Test both ends of the range of characters.
50288         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
50289
50290 2010-07-29  Roland McGrath  <roland@redhat.com>
50291
50292         [BZ #11856]
50293         * manual/locale.texi (Yes-or-No Questions): Fix example code.
50294
50295 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
50296
50297         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
50298         for ld.so.
50299
50300 2010-07-27  Andreas Schwab  <schwab@redhat.com>
50301
50302         * manual/memory.texi (Malloc Tunable Parameters): Document
50303         M_PERTURB.
50304
50305 2010-07-26  Roland McGrath  <roland@redhat.com>
50306
50307         [BZ #11840]
50308         * configure.in (-fgnu89-inline check): Set and substitute
50309         gnu89_inline, not libc_cv_gnu89_inline.
50310         * configure: Regenerated.
50311         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
50312
50313 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
50314
50315         * string/test-strnlen.c: New file.
50316         * string/Makefile (strop-tests): Add strnlen.
50317         * string/tester.c (test_strnlen): Add a few more test cases.
50318         * string/tst-strlen.c: Better error reporting.
50319
50320         * sysdeps/x86_64/strnlen.S: New file.
50321
50322 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
50323
50324         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
50325         lower-latency instructions.
50326
50327 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
50328
50329         * string/test-strcasestr.c: New file.
50330         * string/test-strstr.c: New file.
50331         * string/Makefile (strop-tests): Add strstr and strcasestr.
50332         * string/str-two-way.h: Don't undefine MAX.
50333         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
50334
50335 2010-07-21  Andreas Schwab  <schwab@redhat.com>
50336
50337         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50338         strcasestr-nonascii.
50339         (CFLAGS-strcasestr-nonascii.c): Define.
50340         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
50341         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
50342         Remove unused attribute.
50343
50344 2010-07-20  Roland McGrath  <roland@redhat.com>
50345
50346         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
50347         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
50348         ld.so.cache was broken.  With it, there is no way to disable dsocaps
50349         like LD_HWCAP_MASK can disable hwcaps.
50350
50351 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
50352
50353         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
50354
50355 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
50356
50357         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
50358         call in strcasestr.
50359         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
50360         __strcasestr_sse42_nonascii.
50361         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
50362         strcasestr-nonascii.c.
50363         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
50364
50365 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
50366
50367         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
50368         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
50369         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
50370         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
50371
50372 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
50373
50374         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
50375         fcntl.
50376
50377 2010-07-06  Andreas Schwab  <schwab@redhat.com>
50378
50379         [BZ #11577]
50380         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
50381         dl_signal_cerror.
50382
50383 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
50384
50385         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
50386         _PC_PIPE_BUF using F_GETPIPE_SZ.
50387
50388 2010-07-05  Roland McGrath  <roland@redhat.com>
50389
50390         * manual/arith.texi (Rounding Functions): Fix rint description
50391         implicit in round description.
50392
50393 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
50394
50395         * elf/Makefile: Fix linking for a few tests to make recent linker
50396         happy.
50397
50398 2010-06-30  Andreas Schwab  <schwab@redhat.com>
50399
50400         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50401         $(common-objpfx)libc_nonshared.a.
50402
50403 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
50404
50405         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
50406         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
50407         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50408         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50409         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
50410         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
50411         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50412         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
50414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
50415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
50416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
50418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
50420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
50421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
50422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
50423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
50425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
50427         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
50428         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
50429         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
50430         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
50431         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
50432         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
50433         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
50434         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
50435         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
50436         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
50437         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
50438         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
50439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
50440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
50441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
50442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
50443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
50444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
50445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
50446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
50447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
50448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
50449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
50450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
50451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
50452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
50453
50454 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
50455
50456         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
50457         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
50458         * string/memmove.c (memmove): Renamed to ...
50459         (MEMMOVE): ...this.  Default to memmove.
50460         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
50461         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
50462         (END_CHK): Define.
50463         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50464         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
50465         mempcpy-ssse3-back memmove-ssse3-back.
50466         * sysdeps/x86_64/multiarch/bcopy.S: New file .
50467         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
50468         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
50469         * sysdeps/x86_64/multiarch/memcpy.S: New file.
50470         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
50471         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
50472         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
50473         * sysdeps/x86_64/multiarch/memmove.c: New file.
50474         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
50475         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
50476         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
50477         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
50478         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
50479         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
50480         Define.
50481         (index_Fast_Copy_Backward): Define.
50482         (HAS_ARCH_FEATURE): Define.
50483         (HAS_FAST_REP_STRING): Define.
50484         (HAS_FAST_COPY_BACKWARD): Define.
50485
50486 2010-06-21  Andreas Schwab  <schwab@redhat.com>
50487
50488         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50489         Restore proper fallback handling.
50490
50491 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
50492
50493         [BZ #11701]
50494         * posix/group_member.c (__group_member): Correct checking loop.
50495
50496         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
50497         OOM in getpwuid_r correctly.  Return error number when the caller
50498         should return, otherwise -1.
50499         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
50500         call returning > 0 value.
50501         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
50502
50503 2010-06-07  Andreas Schwab  <schwab@redhat.com>
50504
50505         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
50506         libc_nonshared.a from targets in modules-names.
50507
50508 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
50509
50510         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
50511         requires it.
50512
50513 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
50514
50515         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
50516         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
50517         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
50518         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
50519
50520 2010-06-02  Andreas Schwab  <schwab@redhat.com>
50521
50522         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
50523
50524 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
50525
50526         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
50527         and F_GETPIPE_SZ.
50528         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50529         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50530         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50531         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50532         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50533         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
50534
50535 2010-06-14  Roland McGrath  <roland@redhat.com>
50536
50537         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
50538
50539 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
50540
50541         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
50542         __REDIRECT followed by __THROW.
50543         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
50544         * posix/getopt.h (getopt): Likewise.
50545
50546 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
50547
50548         * hurd/lookup-at.c (__file_name_lookup_at): Accept
50549         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
50550         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
50551         in AT_FLAGS.
50552         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
50553         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
50554
50555 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
50556
50557         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
50558
50559 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
50560
50561         [BZ #11640]
50562         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50563         Properly check family and model.
50564
50565 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
50566
50567         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
50568
50569 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
50570
50571         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
50572
50573 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
50574
50575         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
50576         symbol reference.
50577
50578 2010-05-19  Andreas Schwab  <schwab@redhat.com>
50579
50580         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
50581         symbol reference.
50582
50583 2010-05-21  Andreas Schwab  <schwab@redhat.com>
50584
50585         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
50586         and internal_recvmmsg.
50587         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
50588         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
50589         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
50590         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
50591
50592         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
50593         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50594         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50595
50596 2010-05-20  Andreas Schwab  <schwab@redhat.com>
50597
50598         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
50599
50600 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
50601
50602         POWER7 optimizations.
50603         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
50604         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
50605
50606 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
50607
50608         * version.h: Update for 2.13 development version.
50609
50610 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
50611
50612         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
50613         exceptions.  Return 0.
50614
50615 2010-05-07  Roland McGrath  <roland@redhat.com>
50616
50617         * elf/ldconfig.c (main): Add a const.
50618
50619 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
50620
50621         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
50622         (args_options): Add no-idn option.
50623         (ahosts_keys_int): Add idn_flags to ai_flags.
50624         (parse_option): Handle 'i' option to clear idn_flags.
50625
50626         * malloc/malloc.c (_int_free): Possible race in the most recently
50627         added check.  Only act on the data if no current modification
50628         happened.
50629
50630 See ChangeLog.17 for earlier changes.