soft-fp: Make extensions of subnormals from XFmode to TFmode signal underflow if...
[platform/upstream/glibc.git] / ChangeLog
1 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
2
3         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
4         a subnormal result, set the underflow exception if trapping on
5         underflow is enabled.
6         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
7         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
8         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
9         redefine to 0.
10         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
11         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
12         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13         * soft-fp/extendxftf2.c (__extendxftf2): Use
14         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
15
16         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
17         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
18         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
19         FP_HANDLE_EXCEPTIONS.
20         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
21         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22         FP_HANDLE_EXCEPTIONS.
23         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
24         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25         FP_HANDLE_EXCEPTIONS.
26         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
27         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28         FP_HANDLE_EXCEPTIONS.
29
30 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
31
32         [BZ #14132]
33         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
34         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
35         use INTUSE.
36         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
37         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
38         Remove alias.
39         (__adjtimex): Define using libc_hidden_ver.
40         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
41         Remove declaration.
42         (ntp_gettime): Call __adjtimex directly.
43         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
44         Remove declaration.
45         (ntp_gettimex): Call __adjtimex directly.
46         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
47         __adjtimex_internal alias.
48
49 2014-10-08  Roland McGrath  <roland@hack.frob.com>
50
51         [BZ #17460]
52         * nscd/nscd.c (more_help): Rewrite list of tables collection
53         using xstrdup and asprintf.
54
55         * nscd/nscd_conf.c: Remove local xstrdup declaration.
56
57 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
58             Roland McGrath  <roland@hack.frob.com>
59
60         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
61         (do_lookup_unique): ... local function 'enter' here; update callers.
62
63 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
64
65         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
66         compat_symbol calls on [SHARED].
67         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
68         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
69         Remove.
70         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
71         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
72         (oldsetrlimit): Remove.
73         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
74         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
75         (lchown): New syscall entry.
76         (oldsetrlimit): Remove.
77         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
78         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
79         (oldsetrlimit): Remove.
80         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
81
82         [BZ #14138]
83         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
84         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
85         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
86         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
87         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
88         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
89         (fchown): Likewise.
90         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
91         (fchown): Likewise.
92         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
93         Likewise.
94
95 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
96
97         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
98         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
99         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
100         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
101         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
102         Likewise.
103         (__old_sem_post): Likewise.
104
105 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
106
107         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
108         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
109         HAVE_CLOCK_GETTIME_VSYSCALL macros.
110         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
111         Use INLINE_VSYSCALL macro.
112         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
113         __vdso_clock_gettime.
114         * sysdeps/unix/sysv/linux/tile/init-first.c
115         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
116         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
117         __vdso_clock_gettime.
118
119         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
120         to set up frame more cleanly.
121
122         * sysdeps/tile/memcmp.c: New file.
123
124         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
125
126         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
127         * sysdeps/tile/tilegx/strcasestr.c: New file.
128         * sysdeps/tile/tilegx/strnlen.c: New file.
129         * sysdeps/tile/tilegx/strstr.c: New file.
130
131         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
132
133 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
134
135         * nptl/tst-setuid3.c: Write errors to stdout.
136
137 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
138
139         * elf/dl-deps.c
140         (preload): New functions broken out of _dl_map_object_deps.
141         (_dl_map_object_deps):  Remove a nested function. Update call sites.
142
143 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
144
145         [BZ #14138]
146         * sysdeps/unix/sysv/linux/execve.c: Remove file.
147         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
148
149 2014-10-01  Steve Ellcey  <sellcey@mips.com>
150
151         * sysdeps/mips/strcmp.S: New.
152
153 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
154
155         [BZ #14138]
156         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
157         (linkat): Likewise.
158         (mkdirat): Likewise.
159         (readlinkat): Likewise.
160         (renameat): Likewise.
161         (symlinkat): Likewise.
162         (unlinkat): Likewise.
163         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
164         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
165         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
166         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
167         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
168         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
169         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
170
171 2014-09-30  Will Newton  <will.newton@linaro.org>
172
173         * math/math.h: Define long double math functions if
174         _LIBC_TEST is defined.
175         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
176
177         * localedata/Makefile: Move assignment to tests-special
178         into an ifdef testing run-built-tests.
179         * timezone/Makefile: Likewise.
180
181 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
182
183         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
184         with $(BASH) not $(SHELL).
185
186 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
187             Matthew LeGendre  <legendre1@llnl.gov>
188
189         [BZ #17411]
190         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
191         l_reloc_result.
192
193 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
194
195         * stdio-common/printf_fp.c
196         (hack_digit): New function, broken out of ...
197         (__printf_fp): ... local function here.  Update call sites.
198         hack_digit now takes an additional parameter that is a pointer
199         to a struct of the referenced locals.  Those locals moved inside
200         the struct and references updated.
201
202 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
203
204         * aclocal.m4: Require autoconf 2.69.
205         * configure: Regenerated.
206         * sysdeps/aarch64/configure: Likewise.
207         * sysdeps/alpha/configure: Likewise.
208         * sysdeps/arm/armv7/configure: Likewise.
209         * sysdeps/arm/configure: Likewise.
210         * sysdeps/ia64/configure: Likewise.
211         * sysdeps/mach/configure: Likewise.
212         * sysdeps/mips/configure: Likewise.
213         * sysdeps/s390/configure: Likewise.
214         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
216
217         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
218         file.
219         * sysdeps/ia64/configure.ac: Likewise.
220
221 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
222
223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
224         specify symbol version for ld.so.  Do not include entry for
225         libpthread.
226         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
227         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
228         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
229
230         [BZ #14171]
231         * Makeconfig [$(build-shared) = yes]
232         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
233         makefiles.
234         [$(build-shared) = yes && $(soversions.mk-done) = t]
235         ($(common-objpfx)gnu/lib-names.h): Remove rule.
236         [$(build-shared) = yes && $(soversions.mk-done) = t]
237         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
238         to Makerules.
239         [$(build-shared) = yes && $(soversions.mk-done) = t]
240         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
241         here.
242         [$(build-shared) = yes && $(soversions.mk-done) = t]
243         (common-generated): Don't append gnu/lib-names.h and
244         gnu/lib-names.stmp here.
245         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
246         (lib-names-h-abi): New variable.
247         [$(build-shared) = yes && $(soversions.mk-done) = t]
248         (lib-names-stmp-abi): Likewise.
249         [$(build-shared) = yes && $(soversions.mk-done) = t &&
250         abi-variants] (before-compile): Append
251         $(common-objpfx)$(lib-names-h-abi).
252         [$(build-shared) = yes && $(soversions.mk-done) = t &&
253         abi-variants] (common-generated): Append gnu/lib-names.h.
254         [$(build-shared) = yes && $(soversions.mk-done) = t &&
255         abi-variants] (install-others-nosubdir): Depend on
256         $(inst_includedir)/$(lib-names-h-abi).
257         [$(build-shared) = yes && $(soversions.mk-done) = t &&
258         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
259         [$(build-shared) = yes && $(soversions.mk-done) = t]
260         ($(common-objpfx)$(lib-names-h-abi)): New rule.
261         [$(build-shared) = yes && $(soversions.mk-done) = t]
262         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
263         [$(build-shared) = yes && $(soversions.mk-done) = t]
264         (common-generated): Append $(lib-names-h-abi) and
265         $(lib-names-stmp-abi).
266         * scripts/lib-names.awk: Do not handle multi being set.
267         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
268         Remove variable.
269         (abi-lp64_be-ld-soname): Likewise.
270         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
271         Likewise.
272         (abi-hard-ld-soname): Likewise.
273         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
274         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
275         Remove variable.
276         (abi-o32_hard-ld-soname): Likewise.
277         (abi-o32_soft_2008-ld-soname): Likewise.
278         (abi-o32_hard_2008-ld-soname): Likewise.
279         (abi-n32_soft-ld-soname): Likewise.
280         (abi-n32_hard-ld-soname): Likewise.
281         (abi-n32_soft_2008-ld-soname): Likewise.
282         (abi-n32_hard_2008-ld-soname): Likewise.
283         (abi-n64_soft-ld-soname): Likewise.
284         (abi-n64_hard-ld-soname): Likewise.
285         (abi-n64_soft_2008-ld-soname): Likewise.
286         (abi-n64_hard_2008-ld-soname): Likewise.
287         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
288         Likewise.
289         (abi-64-v2-ld-soname): Likewise.
290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
291         ld.so entries.
292         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
293         variable.
294         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
295         entry.
296         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
297         variable.
298         (abi-64-ld-soname): Likewise.
299         (abi-x32-ld-soname): Likewise.
300         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
301         entry.
302         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
303
304 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
305
306         [BZ #14138]
307         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
308         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
309         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
310         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
311         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
312         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
313         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
314         syscall entry for GLIBC_2.2 symbol version.
315         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
316         Likewise.
317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
318         (setrlimit): Likewise.
319         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
320         Likewise.
321
322 2014-09-23  Will Newton  <will.newton@linaro.org>
323
324         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
325         _LINUX_ARM_SYSDEP_H include guard too.
326         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
327         define.
328
329 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
330
331         * sysdeps/unix/sysv/linux/eventfd.c:
332         Make first argument unsigned.
333         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
334         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
335
336 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
337
338         * socket/recvmmsg.c (recvmmsg): Drop const argument.
339         * socket/sys/socket.h: Likewise
340         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
341
342 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
343
344         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
345
346 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
347
348         * time/tst-ftime.c: New test.
349         * time/Makefile (tests): Add tst-ftime.
350
351 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
352
353         * soft-fp/extended.h: Fix comment formatting.
354         * soft-fp/op-1.h: Likewise.
355         * soft-fp/op-2.h: Likewise.
356         * soft-fp/op-4.h: Likewise.
357         * soft-fp/op-8.h: Likewise.
358         * soft-fp/op-common.h: Likewise.
359         * soft-fp/soft-fp.h: Likewise.
360
361         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
362
363 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
364
365         [BZ #6652]
366         * Makeconfig (soversions-default-setname): Remove variable.
367         ($(common-objpfx)soversions.i): Don't pass default_setname to
368         soversions.awk.
369         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
370         oldest_abi to abi-versions.awk.
371         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
372         * config.make.in (oldest-abi): Remove variable.
373         * configure.ac (--enable-oldest-abi): Remove configure option.
374         * configure: Regenerated.
375         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
376         text.
377         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
378         * scripts/soversions.awk: Do not handle default_setname variable.
379         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
380         variable.
381         * sysdeps/mach/hurd/configure: Regenerated.
382         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
383         variable.
384         * sysdeps/unix/sysv/linux/configure: Regenerated.
385
386 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
387
388         * elf/Makefile (CFLAGS-interp.c): Remove.
389         ($(elf-objpfx)runtime-linker.h): Generate header with linker
390         path string.
391         * elf/interp.c: Include generated runtime-linker.h
392
393         * Makerules (lib%.so): Don't include $(+interp) in
394         prerequisites.
395         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
396         * dlfcn/eval.c: Remove file.
397
398         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
399         macros.
400
401         [BZ #17266]
402         * misc/sys/cdefs.h: Define __extern_always_inline for clang
403         4.2 and newer.
404
405         [BZ #17370]
406         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
407
408 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
409             Jakub Jelinek  <jakub@redhat.com>
410
411         [BZ #17266]
412         * libio/stdio.h: Check definition of __fortify_function
413         instead of __extern_always_inline to include bits/stdio2.h.
414         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
415         check if __extern_always_inline is defined.
416         [__USE_MISC || __USE_XOPEN]: Likewise.
417         [__USE_ISOC99] Likewise.
418         * misc/sys/cdefs.h (__fortify_function): Define only if
419         __extern_always_inline is defined.
420         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
421         __extern_always_inline and __extern_inline only for g++-4.3
422         and newer or a compatible gcc.
423
424 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
425
426         [BZ #17371]
427         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
428         last change to handle zero prefix length.
429
430 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
431
432         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
433         _SC_REGEX_VERSION.
434
435         * posix/getconf.c (vars): Add _POSIX_IPV6 and
436         _POSIX_RAW_SOCKETS.
437
438 2014-09-13  Allan McRae  <allan@archlinux.org>
439
440         * po/ru.po: Update Russian translation from translation project.
441
442 2014-09-12  Roland McGrath  <roland@hack.frob.com>
443
444         * locale/programs/locale.c (show_locale_vars): Inline local function
445         into its sole call site.  Clean up some style nits.
446         (print_item): New function, broken out of ...
447         (show_info): ... local function here.  Clean up style nits.
448
449         * locale/programs/ld-ctype.c (set_one_default): New function, broken
450         out of ...
451         (set_class_defaults): ... local function set_default here.
452         Define set_default as a macro locally to pass constant parameters.
453         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
454         rather than a shared local.
455
456         * stdlib/rpmatch.c (try): New function, broken out of ...
457         (rpmatch): ... local function here.  Also, prototypify definition.
458
459 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
460
461         * scripts/soversions.awk: Do not handle configuration names.
462         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
463         vendor and os variables to soversions.awk.
464         * configure.ac: Do not modify gnu-* host_os.
465         * configure: Regenerated
466         * shlib-versions: Remove first column with configuration names.
467         * nptl/shlib-versions: Likewise.
468         * nptl_db/shlib-versions: Likewise.
469         * sysdeps/hppa/shlib-versions: Likewise.
470         * sysdeps/m68k/shlib-versions: Likewise.
471         * sysdeps/mach/hurd/shlib-versions: Likewise.
472         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
473         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
474         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
475         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
476         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
477         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
478         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
479         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
481         Likewise.
482         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
483         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
484         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
485         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
486         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
487         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
488         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
489         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
490
491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
492         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
494         Regenerated.
495         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
497         Condition symbol version definitions on [HAVE_ELFV2_ABI].
498
499         * shlib-versions: Remove OS-specific entries.  Moved to files in
500         sysdeps.
501         * sysdeps/mach/hurd/shlib-versions: New file.
502         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
503
504         * nptl/shlib-versions: Remove architecture-specific entries.
505         Moved to files in sysdeps.
506         * shlib-versions: Likewise.
507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
508         file.
509         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
510         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
511         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
512         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
513
514         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
515         (UDP_NO_CHECK6_RX): Likewise.
516
517 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
518
519         * sysdeps/posix/sysconf.c (__sysconf): Spell
520         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
521
522 2014-08-12  Florian Weimer  <fweimer@redhat.com>
523
524         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
525         loading.
526         * iconv/Versions (__gconv_transliterate): Export for use from
527         gconv modules.
528         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
529         (struct __gconv_trans_data, __gconv_trans_fct,
530         __gconv_trans_context_fct, __gconv_trans_query_fct,
531         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
532         definitions.
533         (struct __gconv_step_data): Remove __trans member.
534         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
535         longer hidden.  Remove unused trans_data argument.
536         * iconv/gconv_int.h (struct trans_struct): Remove definition.
537         (__gconv_translit_find): Remove declaration.
538         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
539         prototype.
540         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
541         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
542         trans_data argument.  Add hidden definition.
543         (__gconv_translit_find): Remove.
544         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
545         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
546         * iconv/skeleton.c: Remove transliteration initialization.
547         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
548         __gconv_step_data initialization.
549         * libio/iofwide.c (__libio_translit_): Remove.
550         (_IO_fwide): Adjust struct __gconv_step_data initialization.
551         * wcsmbs/btowc.c (__btowc): Likewise.
552         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
553         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
554         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
555         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
556         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
557         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
558         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
559         * wcsmbs/wctob.c (wctob): Likewise.
560
561 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
562
563         [BZ #16194]
564         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
565         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
566         register usage.
567         * sysdeps/x86/Makefile: Adjust.
568
569 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
570             Roland McGrath  <roland@hack.frob.com>
571
572         * locale/weight.h: Add include guard.
573         (findidx): Make static rather than auto; take new parameters
574         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
575         * locale/weightwc.h: Likewise.
576         * posix/fnmatch_loop.c
577         (FCT): Change type of EXTRA from int32_t to wint_t.
578         Don't include either header inside the function.
579         Call FINDIDX rather than findidx, and pass new arguments.
580         #undef FINDIDX at the end of the file.
581         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
582         FINDIDX before including fnmatch_loop.c for the non-wide version.
583         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
584         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
585         for the wide version.
586         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
587         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
588         Pass new arguments to findidx.
589         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
590         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
591         Don't #include it inside the function.  Pass new arguments to findidx.
592         * posix/regex_internal.h
593         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
594         (re_string_elem_size_at): Don't #include it inside the function.
595         Pass new arguments to findidx.
596         * string/strcoll_l.c: #include WEIGHT_H at top level.
597         (get_next_seq): Don't #include it inside the function.
598         Pass new arguments to findidx.
599         (get_next_seq_nocache): Likewise.
600         * string/strxfrm_l.c: #include WEIGHT_H at top level.
601         (STRXFRM): Don't #include it inside the function.
602         Pass new arguments to findidx.
603
604 2014-09-11  Florian Weimer  <fweimer@redhat.com>
605
606         [BZ #17344]
607         * malloc/malloc.c (unlink): Turn asserts into a call to
608         malloc_printerr.
609
610 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
611
612         [BZ #17370]
613         * libio/wfileops (do_ftell_wide): Free OUT.
614
615 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
616
617         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
618
619 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
620
621         [BZ #17363]
622         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
623         group if the current group is empty.
624
625 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
626
627         * benchtests/bench-memset.c (test_main): Add more test from size
628         from 32 to 512 bytes.
629         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
630         Add POWER8 memset object.
631         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
632         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
633         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
634         implementation.
635         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
636         Likewise.
637         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
638         multiarch POWER8 memset optimization.
639         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
640         POWER8 memset optimization.
641
642         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
643         Remove bzero multiarch objects.
644         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
645         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
646         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
647         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
648         Remove define.
649         [__bzero]: Redefine to specific name.
650         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
651         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
652         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
653         define.
654         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
655         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
656
657 2014-09-10  Florian Weimer  <fweimer@redhat.com>
658
659         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
660         warnings into errors.
661
662         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
663         __cxa_thread_atexit_impl prototype.
664
665 2014-09-09  Steve Ellcey  <sellcey@mips.com>
666
667         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
668         Fix capitalization of error message.
669
670 2014-09-09  Steve Ellcey  <sellcey@mips.com>
671
672         * sysdeps/mips/preconfigure: Modify ABI tests.
673
674 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
675
676         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
677
678 2014-09-07  Roland McGrath  <roland@hack.frob.com>
679             Carlos O'Donell  <carlos@systemhalted.org>
680
681         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
682         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
683         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
684         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
685         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
686         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
687         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
688         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
689         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
690         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
691         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
692         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
693         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
694         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
695         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
696         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
697         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
698         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
699         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
700         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
701         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
702         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
703         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
704         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
705         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
706         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
707         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
708         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
709         Deconditionalize the code that was previously under [RESET_PID].
710         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
711         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
712         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
713         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
714         include sysdep.h.
715
716 2014-09-08  Allan McRae  <allan@archlinux.org>
717
718         * version.h (RELEASE): Set to "development".
719         (VERSION): Set to "2.20.90"
720
721 2014-09-07  Allan McRae  <allan@archlinux.org
722
723         * version.h (RELEASE): Set to "stable".
724         (VERSION): Set to "2.20"
725         * include/features.h (__GLIBC_MINOR__): Set to 20.
726
727         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
728         Liebler.
729
730         * po/ko.po: Update Korean translation from translation project.
731
732 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
733
734         [BZ #17354]
735         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
736         macro for handling signed relocations.
737
738 2014-09-03  Florian Weimer  <fweimer@redhat.com>
739
740         [BZ #17325]
741         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
742         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
743         assert.
744         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
745         * iconvdata/ibm935.c (BODY): Likewise.
746         * iconvdata/ibm937.c (BODY): Likewise.
747         * iconvdata/ibm939.c (BODY): Likewise.
748         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
749         assert.
750         * iconvdata/Makefile (iconv-test.out): Pass module list to test
751         script.
752         * iconvdata/run-iconv-test.sh: New test loop for checking for
753         decoder crashers.
754
755 2014-09-02  Khem Raj  <raj.khem@gmail.com>
756
757         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
758         libm_hidden_ver.
759
760 2014-09-01  Allan McRae  <allan@archlinux.org>
761
762         * po/eo.po: Update Esperanto translation from translation project.
763
764         * po/ca.po: Update Catalan translation from translation project.
765
766 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
767
768         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
769         __proc_dostop call.
770
771 2014-08-27  Mark Wielaard  <mjw@redhat.com>
772
773         [BZ #17319]
774         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
775         to call set_thread_area instead of hand written asm.
776         (__NR_set_thread_area): Removed define.
777         (TLS_FLAG_WRITABLE): Likewise.
778         (__ASSUME_SET_THREAD_AREA): Remove check.
779         (TLS_EBX_ARG): Remove define.
780         (TLS_LOAD_EBX): Likewise.
781
782 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
783
784         Simplify atomicity of socket creation in bind.
785
786         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
787         looking up the name after linking the file.
788
789 2014-08-27  Allan McRae  <allan@archlinux.org>
790
791         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
792
793 2014-08-26  Florian Weimer  <fweimer@redhat.com>
794
795         [BZ #17187]
796         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
797         trans_compare, open_translit, __gconv_translit_find):
798         Remove module loading code.
799
800 2014-08-26  Allan McRae  <allan@archlinux.org>
801
802         * po/vi.po: Update Vietnamese translation from translation project.
803
804         * po/uk.po: Update Ukrainian translation from translation project.
805
806         * po/fr.po: Update French translation from translation project.
807
808         * po/ru.po: Update Russian translation from translation project.
809
810         * po/pl.po: Update Polish translation from translation project.
811
812         * po/cs.po: Update Czech translation from translation project.
813
814         * po/de.po: Update German translation from translation project.
815
816         * po/bg.po: Update Bulgarian translation from translation project.
817
818         * po/sv.po: Update Sweedish translation from translation project.
819
820         * po/nl.po: Update Dutch translation from translation project.
821
822         * po/es.po: Update Spanish translation from translation project.
823
824 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
825
826         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
827
828         * catgets/Makefile (CPPFLAGS-gencat): Remove.
829         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
830         (CPPFLAGS-iconvconfig): Likewise.
831         * timezone/Makefile (CPPFLAGS-zic): Likewise.
832
833         * include/libc-symbols.h: Remove unnecessary check for
834         NOT_IN_libc.
835         * nptl/pthreadP.h: Likewise.
836         * sysdeps/aarch64/setjmp.S: Likewise.
837         * sysdeps/alpha/setjmp.S: Likewise.
838         * sysdeps/arm/sysdep.h: Likewise.
839         * sysdeps/i386/setjmp.S: Likewise.
840         * sysdeps/m68k/setjmp.c: Likewise.
841         * sysdeps/posix/getcwd.c: Likewise.
842         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
843         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
844         * sysdeps/s390/s390-32/setjmp.S: Likewise.
845         * sysdeps/s390/s390-64/setjmp.S: Likewise.
846         * sysdeps/sh/sh3/setjmp.S: Likewise.
847         * sysdeps/sh/sh4/setjmp.S: Likewise.
848         * sysdeps/unix/alpha/sysdep.h: Likewise.
849         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
850         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
851         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
852         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
855         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
856         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
857         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
858         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
859         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
860         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
861         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
862         * sysdeps/x86_64/setjmp.S: Likewise.
863
864 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
865
866         [BZ #17263]
867         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
868         <stdint.h>.
869         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
870         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
871
872 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
873
874         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
875
876         [BZ #17262]
877         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
878         and __x86_64__ when disabling x87 inline functions.
879
880 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
881
882         [BZ #17259]
883         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
884         asm statement with __cpuid_count.
885
886 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
887
888         * configure.ac: Change __ehdr_start code to dereference the struct.
889         Run readelf on the output to look for relocations.
890         * configure: Regenerated.
891
892 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
893
894         [BZ #17261]
895         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
896         value to 0.
897         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
898
899 2014-08-12  Roland McGrath  <roland@hack.frob.com>
900
901         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
902
903 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
904
905         [BZ #16892]
906         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
907         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
908
909 2014-08-12  Sean Anderson  <seanga2@gmail.com>
910
911         * malloc/malloc.c: Fix typo in comment.
912
913 2014-08-09  Allan McRae  <allan@archlinux.org>
914
915         * Regenerate libc.po.
916
917 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
918
919         * intl/tst-gettext2.sh: Check every lang file for creation.
920
921 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
922
923         * sysdeps/aarch64/fpu/math_private.h
924         (libc_feholdsetround_noex_aarch64_ctx): New function.
925
926 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
927
928         * sysdeps/arm/armv6/strcpy.S (strcpy):
929         Fix performance issue in misaligned cases.
930
931 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
932
933         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
934         Move definition from termios.h.
935         (struct termio): Likewise.
936         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
937         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
938         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
939         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
940         Likewise.
941         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
942         Move definition to ioctl-types.h
943         (struct termio): Likewise.
944         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
945         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
946         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
947         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
948         Likewise.
949
950 2014-08-05  Richard Henderson  <rth@redhat.com>
951
952         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
953         exceptions.
954         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
955         Add fraiseexcpt.
956         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
957         Use __feraiseexcept.
958         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
959         Protect libm symbols with IS_IN_libm.
960
961         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
962
963 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
964
965         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
966
967 2014-08-04  Will Newton  <will.newton@linaro.org>
968
969         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
970         file.
971
972 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
973
974         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
975         variants for each function.
976
977 2014-08-04  Roland McGrath  <roland@hack.frob.com>
978
979         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
980         appended ...
981         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
982         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
983         appended ...
984         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
985         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
986         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
987         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
988         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
989         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
990         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
991         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
992         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
993         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
994         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
995         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
996         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
997         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
998         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
999         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
1000         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
1001         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
1002         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
1003         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
1004         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
1005         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
1006         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
1007         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
1008         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
1009         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
1010         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
1011         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
1012         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
1013         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
1014         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
1015         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
1016         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
1017         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
1018         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
1019         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
1020         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
1021         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
1022         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
1023         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
1024         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
1025         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
1026         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
1027         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
1028         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
1029         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
1030         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
1031         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
1032         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
1033         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
1034         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
1035         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
1036         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
1037         Update #include.
1038         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
1039         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
1040
1041 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1042
1043         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
1044         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
1045         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
1046         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
1047         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
1048         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
1049
1050 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1051
1052         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
1053         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
1054         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1055         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
1056
1057 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1058
1059         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
1060         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
1061         (__libc_vfork): Define function under this name.
1062         (__vfork): Define as an alias.
1063         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
1064         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
1065
1066 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1067
1068         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
1069         that was previously under [RESET_PID].
1070         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
1071
1072 2014-08-04  Andreas Schwab  <schwab@suse.de>
1073
1074         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
1075
1076 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
1077
1078         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
1079         (main): Likewise.
1080
1081 2014-08-01  Roland McGrath  <roland@hack.frob.com>
1082
1083         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
1084
1085 2014-08-01  Richard Henderon  <rth@redhat.com>
1086
1087         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
1088         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
1089         typo in exact zero test.
1090         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1091         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1092         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1093
1094 2014-08-01  Roland McGrath  <roland@hack.frob.com>
1095
1096         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
1097         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
1098         * sysdeps/arm/sysdep.h: ... here.
1099         [!__ASSEMBLER__]: Include <stdint.h>.
1100
1101 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1102
1103         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
1104         (HAVE_WCTYPE_H): Likewise.
1105         (HAVE_ISWCTYPE): Likewise.
1106         (ENABLE_NLS): Likewise.
1107         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
1108         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
1109
1110         * posix/regex_internal.c: Check if DEBUG is defined and is
1111         set.
1112
1113         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
1114         (HAVE_MBSRTOWCS): Likewise.
1115         * posix/fnmatch.c: Include string.h unconditionally.
1116
1117 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
1118
1119         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
1120         reversal.
1121
1122 2014-07-31  Roland McGrath  <roland@hack.frob.com>
1123
1124         * sysdeps/generic/safe-fatal.h: New file.
1125         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
1126         * nptl/forward.c: Include it.
1127         (__pthread_unwind): Use __safe_fatal as default action, rather
1128         than a bogus use of INTERNAL_SYSCALL that could never work.
1129
1130         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
1131         * configure.ac (libc_cv_builtin_trap): New test.
1132         * configure: Regenerated.
1133         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
1134         (ABORT_INSTRUCTION): Define using __builtin_trap.
1135
1136         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
1137         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
1138         * sysdeps/nptl/nptl-signals.h: New file.
1139         * nptl/pthreadP.h: Include <nptl-signals.h>.
1140
1141 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1142
1143         * sysdeps/s390/s390-64/utf16-utf32-z9.c
1144         (ONE_DIRECTION): Define.
1145         * sysdeps/s390/s390-64/utf8-utf16-z9.c
1146         (ONE_DIRECTION): Define.
1147         * sysdeps/s390/s390-64/utf8-utf32-z9.c
1148         (ONE_DIRECTION): Define.
1149
1150 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1151
1152         * sysdeps/s390/Makefile: Delete file.
1153         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
1154         * sysdeps/s390/__longjmp.c: Delete file.
1155         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
1156         Remove fields __flags and __reserved.
1157         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
1158         and add versioning.
1159         * sysdeps/s390/rtld-__longjmp.c: Delete file.
1160         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
1161         * sysdeps/s390/rtld-setjmp.S: Likewise.
1162         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
1163         * sysdeps/s390/s390-32/__longjmp.c: ... here.
1164         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
1165         * sysdeps/s390/s390-32/setjmp.S: ... here.
1166         Add versioning.
1167         (__sigsetjmp): Remove setting __flags field.
1168         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
1169         * sysdeps/s390/s390-64/__longjmp.c: ... here.
1170         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
1171         * sysdeps/s390/s390-64/setjmp.S: ... here.
1172         Add versioning.
1173         (__sigsetjmp): Remove setting __flags field.
1174         * sysdeps/s390/setjmp.S: Delete file.
1175         * sysdeps/s390/sigjmp.c: Likewise.
1176         * sysdeps/s390/v1-longjmp.c: Likewise.
1177         * sysdeps/s390/v1-setjmp.h: Likewise.
1178         * sysdeps/s390/v1-sigjmp.c: Likewise.
1179         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
1180         Remove v1-longjmp_chk.
1181         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
1182         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
1183         Include debug/longjmp_chk.c and add versioning.
1184         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
1185         Include nptl/pt-longjmp.c and add versioning.
1186         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
1187         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
1188         Include __longjmp.c.
1189         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1190         Move to ...
1191         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
1192         (__getcontext): Remove setting __flags field.
1193         Add versioning.
1194         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1195         Don't restore upper high grps.
1196         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
1197         Likewise.
1198         (__swapcontext): Remove setting uc_flags field.
1199         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
1200         Delete file.
1201         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1202         Include __longjmp.c.
1203         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1204         Move to ...
1205         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
1206         (__getcontext): Remove setting __flags field.
1207         Add versioning.
1208         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
1209         (__swapcontext): Remove setting uc_flags field.
1210         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
1211         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
1212         Remove fields uc_high_gprs and __reserved.
1213         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
1214         New file with reverted content.
1215         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
1216         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
1217         Regenerated.
1218         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
1219         Regenerated.
1220
1221 2014-07-31  Andreas Schwab  <schwab@suse.de>
1222
1223         * config.h.in (HAVE_IFUNC): Define to 0.
1224         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
1225         definedness.
1226
1227 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
1228
1229         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1230         memmove-avx-unaligned, memcpy-avx-unaligned and
1231         mempcpy-avx-unaligned.
1232         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1233         Add tests for AVX memcpy functions.
1234         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
1235         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
1236         memcpy_chk.
1237         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
1238         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
1239         memmove_chk.
1240         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
1241         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
1242         mempcpy_chk.
1243         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
1244         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
1245         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
1246
1247 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1248
1249         [BZ #17213]
1250         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
1251         powerpc64le.
1252
1253 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
1254
1255         [BZ #16839]
1256         * manual/llio.texi: Add section about open file description locks.
1257         * manual/examples/ofdlocks.c: Example of open file description
1258         lock usage.
1259         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
1260         F_OFD_SETLK, and F_OFD_SETLKW.
1261
1262 2014-07-23  Allan McRae  <allan@archlinux.org>
1263
1264         * po/es.po: Update Spanish translation from translation project.
1265
1266 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
1267
1268         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
1269
1270 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
1271
1272         [BZ #17078]
1273         * sysdeps/arm/dl-machine.h (elf_machine_rela)
1274         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
1275         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
1276
1277 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
1278
1279         [BZ #17088]
1280         * math/fesetenv.c (__fesetenv)
1281         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
1282         * math/feupdateenv.c (__feupdateenv)
1283         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
1284
1285         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
1286         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1287         (__ASSUME_SOCKETCALL): Do not define.
1288
1289         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
1290         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
1291         (__ASSUME_SOCKETCALL): Do not define.
1292         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
1293         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1294         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1295         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1296         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1297         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
1298         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1299         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1300
1301         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
1302         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
1303         (__ASSUME_SOCKETCALL): Do not define.
1304         (__ASSUME_IPC64): Define unconditionally.
1305         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1306         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1307         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1308         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1309         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
1310         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1311         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
1312         Likewise.
1313
1314         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
1315         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
1316         (__ASSUME_SOCKETCALL): Do not define.
1317         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
1318         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1319         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1320         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
1321         (__ASSUME_REQUEUE_PI): Define unconditionally.
1322         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
1323         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
1324         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1325         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
1326         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1327         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1328
1329         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
1330         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
1331         (__ASSUME_SOCKETCALL): Do not define.
1332         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
1333         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1334         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1335         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
1336         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1337         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1338
1339         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
1340         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
1341         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1342         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
1343         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1344         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
1345         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1346         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
1347         (__ASSUME_GETCPU_SYSCALL): Likewise.
1348
1349         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
1350         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
1351         cases for individual architectures.
1352         * sysdeps/gnu/configure: Regenerated.
1353         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
1354         LIBC_SLIBDIR_RTLDDIR.
1355         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
1356         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
1357         LIBC_SLIBDIR_RTLDDIR.
1358         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
1360         LIBC_SLIBDIR_RTLDDIR.
1361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1362         Regenerated.
1363         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
1364         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
1365         file.
1366         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
1367         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
1368         file.
1369         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
1370         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
1371         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
1372         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
1373
1374         * sysdeps/aarch64/shlib-versions: Move to ...
1375         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
1376         * sysdeps/alpha/shlib-versions: Move to ...
1377         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
1378         * sysdeps/arm/shlib-versions: Move to ...
1379         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
1380         * sysdeps/hppa/shlib-versions: Move all contents except for
1381         libgcc_s entry to ...
1382         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
1383         entry from ...
1384         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
1385         * sysdeps/ia64/shlib-versions: Move to ...
1386         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
1387         entry from ...
1388         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
1389         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
1390         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
1391         * sysdeps/microblaze/shlib-versions: Move to ...
1392         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
1393         * sysdeps/mips/shlib-versions: Move to ...
1394         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
1395         entry from ...
1396         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
1397         * sysdeps/tile/shlib-versions: Move to ...
1398         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
1399         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
1400         from ...
1401         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
1402         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
1403         entry from ...
1404         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
1405
1406 2014-07-17  Will Newton  <will.newton@linaro.org>
1407
1408         * sysdeps/arm/bits/atomic.h
1409         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
1410         (__arch_compare_and_exchange_bool_16_int): Likewise.
1411         (__arch_compare_and_exchange_bool_64_int): Likewise.
1412
1413         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
1414         into an #else block.
1415
1416 2014-07-16  Roland McGrath  <roland@hack.frob.com>
1417
1418         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
1419         just Linux configurations.  Test empirically that the compiler sets
1420         __ARM_EABI__, rather than using the tuple to decide.
1421         * sysdeps/arm/preconfigure: Regenerated.
1422         * sysdeps/unix/sysv/linux/arm/configure: File removed.
1423         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
1424         contents appended ...
1425         * sysdeps/arm/configure.ac: ... here.
1426         * sysdeps/arm/configure: Regenerated.
1427
1428 2014-07-15  Roland McGrath  <roland@hack.frob.com>
1429
1430         * nptl/pthread_kill.c: New file.
1431         * nptl/pthread_sigmask.c: New file.
1432         * nptl/pthread_sigqueue.c: New file.
1433
1434         * sysdeps/nptl/lowlevellock.h: New file.
1435         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
1436         * sysdeps/nptl/lowlevellock-futex.h: New file.
1437
1438         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
1439         Remove dead declarations.
1440
1441 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
1442
1443         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
1444         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
1445         config-cflags-avx2.
1446         * sysdeps/x86_64/configure.ac: Likewise.
1447         * sysdeps/i386/configure: Regenerated.
1448         * sysdeps/x86_64/configure: Likewise.
1449         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1450         memset-avx2 only if config-cflags-avx2 is yes.
1451         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1452         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
1453         defined.
1454         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
1455         only if HAVE_AVX2_SUPPORT is defined.
1456         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1457
1458 2014-07-14  Alan Modra  <amodra@gmail.com>
1459
1460         [BZ #17153]
1461         * elf/elf.h (DT_PPC64_NUM): Correct value.
1462         * NEWS: Add to fixed bug list.
1463
1464 2014-07-13  Jim Meyering  <meyering@fb.com>
1465
1466         [BZ 17150]
1467         regex: don't deref NULL upon heap allocation failure
1468         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
1469         failure in one more place.
1470         To trigger the segfault, configure grep -with-included-regex,
1471         build it, and run these commands:
1472         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
1473
1474 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
1475
1476         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1477
1478 2014-07-11  Richard Henderson  <rth@redhat.com>
1479
1480         * sysdeps/aarch64/libm-test-ulps: Update.
1481
1482 2014-07-10  Florian Weimer  <fweimer@redhat.com>
1483
1484         [BZ #17135]
1485         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
1486         * nptl/allocatestack.c (__nptl_setxid_error): New function.
1487         (__nptl_setxid): Initialize error member.  Call
1488         __nptl_setxid_error.
1489         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
1490         * nptl/descr.h (struct xid_command): Add error member.
1491         * nptl/tst-setuid3.c: New file.
1492         * nptl/Makefile (tests): Add it.
1493
1494 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1495
1496         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
1497         New define.
1498         (__lll_trylock): Use __lll_base_trylock.
1499         (__lll_cond_trylock): Likewise.
1500
1501 2014-07-10  Roland McGrath  <roland@hack.frob.com>
1502
1503         * nptl/pthread_create.c (start_thread): Use atomic_or and
1504         lll_futex_wake directly rather than lll_robust_dead.
1505         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1506         (lll_robust_dead): Macro removed.
1507         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
1508         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1509         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1510         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1511         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1512         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1513         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1514         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1515         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1516         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1517         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1518         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1519         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1520         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1521         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1522
1523         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1524         Use atomic_compare_and_exchange_val_acq directly rather than
1525         lll_robust_trylock.
1526         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1527         (__lll_robust_trylock, lll_robust_trylock): Removed.
1528         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1529         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1530         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1531         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1532         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1533         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1534         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1535         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1536         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1537         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1538         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1539         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1540         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1541         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1542
1543 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1544
1545         * manual/locale.texi (Locale Names): New section documenting
1546         locale name syntax.  Adjust menu and node chaining accordingly.
1547         (Choosing Locale): Reference Locale Names, Locale Categories.
1548         Mention setting LC_ALL=C.  Reflect that name syntax is now
1549         documented.
1550         (Locale Categories): New section title.  Reference Locale Names.
1551         LC_ALL is an environment variable, but not a category.
1552         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
1553         description, now in Locale Name.  Reference that section.  Locale
1554         name syntax is now documented.
1555
1556 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1557
1558         [BZ #17137]
1559         * locale/findlocale.c (name_present, valid_locale_name): New
1560         functions.
1561         (_nl_find_locale): Use the loc_name variable to store name
1562         candidates.  Call name_present and valid_locale_name to check and
1563         validate locale names.  Return an error if the locale is invalid.
1564
1565 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1566
1567         * locale/setlocale.c (setlocale): Use strdup for allocating
1568         composite name copy.
1569
1570 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1571
1572         Sync up with gnulib.
1573         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
1574         [!_LIBC && ENABLE_NLS]: Include gettext.h.
1575         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
1576         and _GL_ARG_NONNULL.
1577         [USE_UNLOCKED_IO]: Include unlocked-io.h.
1578         [!_LIBC]: Include code for Windows and Cygwin.
1579         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
1580         Include prototype for int strerror_r.
1581         [!_LIBC] (is_open): New function.
1582         (flush_stdout): New function.
1583         (print_errno_message): Use it.
1584         (error): Likewise.
1585         (error_at_line): Likewise.
1586         (error_tail) Add function attribute macros.  Use
1587         __builtin_expect.
1588
1589         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
1590
1591         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
1592
1593         * io/ftw.c: Include sys/param.h unconditionally.
1594
1595         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
1596
1597         [BZ #17125]
1598         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
1599         libc_freeres_ptr.
1600         (freecache): New function to free CACHE on exit.
1601
1602         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
1603         initialization.
1604
1605 2014-07-09  David S. Miller  <davem@davemloft.net>
1606
1607         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1608
1609         * sysdeps/sparc/nptl/internaltypes.h: Delete.
1610         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
1611         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
1612         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
1613         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
1614         * sysdeps/sparc/nptl/sem_init.c: Likewise.
1615         * sysdeps/sparc/nptl/sem_post.c: Likewise.
1616         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
1617         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
1618         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
1619         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
1620         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
1621         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
1622
1623 2014-07-09  Andreas Schwab  <schwab@suse.de>
1624
1625         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
1626         output.
1627         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
1628         (do_test): Likewise.
1629
1630         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1631
1632 2014-07-09  Will Newton  <will.newton@linaro.org>
1633
1634         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
1635         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
1636         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
1637         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
1638         * sysdeps/hppa/start.S (_start): Likewise.
1639
1640 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
1641
1642         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
1643
1644         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
1645         defined.
1646
1647 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1648
1649         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
1650         after checking that it is non-NULL.
1651
1652         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
1653
1654 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1655
1656         * sysdeps/powerpc/memmove.c: Remove file.
1657         * sysdeps/powerpc/powerpc32/power4/memcopy.h
1658         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
1659         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1660         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
1661         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
1662         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
1663         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
1664         string memmove instead of removed powerpc one.
1665
1666         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1667         [weak_alias]: Fix compiler warning due trailing data.
1668         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
1669         [weak_alias]: Likewise.
1670         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
1671         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
1672
1673         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1674         (__libc_ifunc_impl_list): Add memmove functions.
1675
1676 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1677
1678         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
1679         Remove code.
1680         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
1681         Likewise
1682         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
1683         Likewise
1684         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
1685         Likewise
1686         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
1687         Likewise
1688         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
1689         Likewise
1690         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
1691         Likewise
1692         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
1693         Likewise
1694         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
1695         Likewise
1696         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
1697         Likewise
1698         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
1699         Likewise
1700         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
1701         Likewise
1702         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
1703         Likewise
1704         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
1705         Likewise
1706         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
1707         Likewise
1708         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
1709         Likewise
1710         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
1711         Likewise
1712
1713 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1714
1715         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
1716         to avoid alignment traps in non-cacheable memory.
1717         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1718
1719         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
1720         multiarch objects.
1721         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
1722         file: multiarch power7 memmove.
1723         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
1724         multiarch default memmove.
1725         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
1726         multiarch memove for powerpc32/power4.
1727
1728         * string/bcopy.c: Use full path to include memmove.c.
1729         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
1730         multiarch objects.
1731         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
1732         bcopy for powerpc64.
1733         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
1734         bcopy for powerpc64.
1735         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
1736         and memmove implementations.
1737         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
1738         optimized multiarch memmove for POWER7/powerpc64.
1739         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
1740         default multiarch memmove for powerpc64.
1741         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
1742         multiarch for powerpc64.
1743         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
1744         for POWER7/powerpc64.
1745         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
1746         memmove for POWER7/powerpc64.
1747
1748         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
1749         glibc default one.
1750
1751         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
1752         __ELF_NATIVE_CLASS equal to 64.
1753
1754 2014-07-07  Roland McGrath  <roland@hack.frob.com>
1755
1756         * sysdeps/nptl/lowlevellock.h: File removed.
1757
1758         * NEWS: NPTL is no longer an add-on!
1759         * nptl/internaltypes.h: Moved ...
1760         * sysdeps/nptl/internaltypes.h: ... here.
1761         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
1762         * sysdeps/nptl/fork.c: Likewise.
1763         * sysdeps/nptl/gai_misc.h: Likewise.
1764         * sysdeps/nptl/librt-cancellation.c: Likewise.
1765         * sysdeps/nptl/jmp-unwind.c: Likewise.
1766         * sysdeps/nptl/setxid.h: Likewise.
1767         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
1768         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
1769         * sysdeps/unix/sysv/linux/arm/Implies: New file.
1770         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
1771         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
1772         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
1773         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
1774         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
1775         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
1776         * sysdeps/unix/sysv/linux/mips/Implies: New file.
1777         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
1778         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
1779         * sysdeps/unix/sysv/linux/sh/Implies: New file.
1780         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
1781         * sysdeps/unix/sysv/linux/tile/Implies: New file.
1782         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
1783         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
1784         * nptl/Makeconfig: Moved ...
1785         * sysdeps/nptl/Makeconfig: ... here.
1786         * nptl/configure: File removed.
1787         * nptl/ANNOUNCE: File removed.
1788         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
1789         * sysdeps/unix/sysv/linux/configure: Regenerated.
1790
1791         * nptl/Makefile (routines): Add libc_pthread_init,
1792         libc_multiple_threads, register-atfork and unregister-atfork.
1793         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
1794         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
1795         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
1796         pthread-pi-defines.sym, structsem.sym.
1797         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
1798         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
1799         [$(subdir) = nptl] (tests): Add tst-setgetname.
1800         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
1801         * sysdeps/unix/sysv/linux/sigaction.c: Just include
1802         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
1803         [!LIBC_SIGACTION]: Remove aliases.
1804         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1805         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1806         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1807         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1808         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1809         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
1810         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1811         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1812         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1813         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
1814         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
1815         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
1816         __libc_allocate_rtsig_private.
1817         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
1818         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
1819         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1820         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1821         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1822         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
1823         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
1824         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
1825         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
1826         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
1827         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
1828         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
1829         * nptl/internaltypes.h: ... here.
1830         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1831         * sysdeps/nptl/jmp-unwind.c: ... here.
1832         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1833         * nptl/libc-lowlevellock.c: ... here.
1834         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1835         * nptl/libc_multiple_threads.c: ... here.
1836         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1837         * nptl/libc_pthread_init.c: ... here.
1838         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1839         * nptl/lowlevelbarrier.sym: ... here.
1840         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1841         * nptl/lowlevelcond.sym: ... here.
1842         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1843         * nptl/lowlevellock.c: ... here.
1844         * nptl/lowlevellock.h: Moved ...
1845         * sysdeps/nptl/lowlevellock.h: ... here.
1846         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1847         * nptl/lowlevelrobustlock.c: ... here.
1848         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1849         * nptl/lowlevelrobustlock.sym: ... here.
1850         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1851         * nptl/lowlevelrwlock.sym: ... here.
1852         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1853         * nptl/pt-fork.c: ... here.
1854         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1855         * nptl/pthread-pi-defines.sym: ... here.
1856         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1857         * nptl/pthread_attr_getaffinity.c: ... here.
1858         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1859         * nptl/pthread_attr_setaffinity.c: ... here.
1860         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1861         * nptl/pthread_mutex_cond_lock.c: ... here.
1862         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1863         Update #include.
1864         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1865         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1866         * nptl/pthread_once.c: ... here, replacing old file.
1867         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1868         * nptl/pthread_yield.c: ... here.
1869         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1870         * nptl/register-atfork.c: ... here.
1871         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1872         * nptl/sem_post.c: ... here.
1873         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1874         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1875         * nptl/sem_timedwait.c: ... here.
1876         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1877         * nptl/sem_trywait.c: ... here.
1878         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1879         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1880         * nptl/sem_wait.c: ... here.
1881         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1882         * nptl/structsem.sym: ... here.
1883         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1884         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1885         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1886         * nptl/unregister-atfork.c: ... here.
1887         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1888         * nptl/unwindbuf.sym: ... here.
1889         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1890         * sysdeps/nptl/fork.c: ... here.
1891         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1892         * sysdeps/nptl/fork.h: ... here.
1893         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1894         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1895         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1896         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1897         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1898         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1899         * sysdeps/unix/sysv/linux/getpid.c: ... here.
1900         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1901         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1902         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1903         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1904         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1905         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1906         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
1907         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1908         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1909         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1910         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1911         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1912         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1913         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1914         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1915         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1916         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1917         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1918         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1919         * sysdeps/unix/sysv/linux/raise.c: ... here.
1920         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1921         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1922         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1923         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1924         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1925         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1926         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1927         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1928         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1929         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1930         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1931         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1932         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1933         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1934         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1935
1936 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1937
1938         * sysdeps/generic/memcopy.h: Add comment for
1939         MEMCPY_OK_FOR_FWD_MEMMOVE.
1940
1941 2014-07-04  Will Newton  <will.newton@linaro.org>
1942
1943         * string/memchr.c: Merge from gnulib.
1944         [_LIBC]: Remove conditionals.
1945         (__ptr_t): Remove define.
1946         (LONG_MAX_32_BITS): Likewise.
1947         (LONG_MAX): Likewise.
1948         (MEMCHR): Use ANSI prototype and optimize algorithm.
1949
1950         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1951
1952 2014-07-03  Roland McGrath  <roland@hack.frob.com>
1953
1954         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1955         (lll_futex_timed_wait_bitset): Fix syscall argument count.
1956
1957         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1958         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1959         in a bare environment with no <stdlib.h> installed.
1960         * sysdeps/nptl/configure: Regenerated.
1961
1962         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1963
1964         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1965         AC_EGREP_CPP for kernel header checks, so they only succeed if
1966         including <linux/version.h> actually works right.
1967         * sysdeps/unix/sysv/linux/configure: Regenerated.
1968
1969         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1970         value so it's not diagnosed as unused.
1971
1972         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1973         thing) with "ifeq ($(subdir),rt)".
1974
1975 2014-07-03  Richard Henderson  <rth@redhat.com>
1976
1977         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1978         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1979         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1980
1981         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1982         (math_force_eval): New.
1983
1984         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1985         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1986
1987         * sysdeps/alpha/fpu/s_round.c: Remove file.
1988         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1989
1990         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1991         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1992         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1993         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1994         (_dl_start, print_statistics): Likewise.
1995         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1996         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1997
1998         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1999         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2000         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2001         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2002         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2003         (HP_SMALL_TIMING_AVAIL): Define.
2004         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2005         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
2006         (HP_SMALL_TIMING_AVAIL): Define.
2007         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2008         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2009
2010         * sysdeps/aarch64/hp-timing.h: New file.
2011
2012         * sysdeps/generic/hp-timing.h: Remove dead comment.
2013         * sysdeps/generic/hp-timing-common.h: New file.
2014         * sysdeps/alpha/hp-timing.h: Include it.
2015         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
2016         * sysdeps/i386/i686/hp-timing.h: Likewise.
2017         * sysdeps/ia64/hp-timing.h: Likewise.
2018         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2019         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2020         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2021         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2022         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
2023         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
2024         (hp_timing_t): New.
2025
2026         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
2027         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
2028         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
2029         * elf/rtld.c (_dl_start_final): Likewise.
2030         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
2031         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2032         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2033         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2034         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2035         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2036         (HP_TIMING_DIFF_INIT): Remove.
2037         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2038         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
2039         (HP_TIMING_DIFF_INIT): Remove.
2040         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2041         * sysdeps/i386/i686/hp-timing.c: Remove file.
2042         * sysdeps/x86_64/hp-timing.c: Remove file.
2043         * sysdeps/ia64/hp-timing.c: Remove file.
2044         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
2045         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
2046         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
2047         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
2048
2049         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
2050         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
2051         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
2052         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2053         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2054         (HP_TIMING_ACCUM): Remove.
2055         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2056         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
2057         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2058
2059         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
2060         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
2061         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
2062         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
2063         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
2064         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2065         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
2066         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2067
2068         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
2069
2070 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
2071
2072         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
2073
2074 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2075
2076         Sync up with gettext.
2077         * intl/loadmsgcat.c: Define O_BINARY if not defined.
2078         [_MSC_VER]: Include malloc.h
2079         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
2080         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
2081         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
2082         TEMP_FAILURE_RETRY.  Cast return of alloca.
2083         [!_LIBC] Call gl_rwlock_init.
2084         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
2085
2086 2014-07-02  Roland McGrath  <roland@hack.frob.com>
2087
2088         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
2089         before checking its value.
2090
2091 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2092
2093         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
2094
2095         * debug/memcpy_chk.c: Don't include pagecopy.h.
2096         * debug/mempcpy_chk.c: Likewise.
2097         * string/memcpy.c: Likewise.
2098         * string/memmove.c: Likewise.
2099         * sysdeps/powerpc/memmove.c: Likewise.
2100         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
2101         definition of PAGE_COPY_FWD_MAYBE here...
2102         * sysdeps/generic/pagecopy.h: ... from here.
2103         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
2104
2105 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2106             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2107
2108         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
2109         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
2110         optimizations.
2111         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2112         (__libc_ifunc_impl_list): Likewise.
2113         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
2114         multiarch strcat for PPC64.
2115         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
2116         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
2117
2118 2014-07-02  Roland McGrath  <roland@hack.frob.com>
2119
2120         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
2121
2122 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2123
2124         * intl/loadmsgcat.c: Remove declaration of
2125         get_sysdep_segment_value.
2126         (get_sysdep_segment_value): Use ISO C style.
2127         (_nl_load_domain): Use ISO C style.  Get rid of redundant
2128         semicolon.  Fix typo and formatting in comment.
2129         (_nl_unload_domain): Use ISO C style.
2130
2131         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
2132
2133 2014-07-02  Will Newton  <will.newton@linaro.org>
2134
2135         * malloc/obstack.c: Merge from gnulib master.
2136         [HAVE_CONFIG_H]: Remove conditional code.
2137         [!_LIBC]: Include config.h.
2138         [!ELIDE_CODE]: Don't include inttypes.h, include
2139         stdint.h unconditionally.
2140         (print_and_abort): Mark as _Noreturn.
2141         (_obstack_allocated_p): Mark as __attribute_pure__.
2142         (obstack_free): Rename to __obstack_free.
2143         [!__attribute__]: Remove conditional code.
2144         * malloc/obstack.h: Merge from gnulib master.
2145         [__cplusplus]: Move conditional down.
2146         [!__attribute_pure__]: Define __attribute_pure__ here
2147         if it is not already defined.
2148         (_obstack_memory_used): Mark as __attribute_pure__.
2149         [!__obstack_free]: Define as obstack_free.
2150         [__GNUC__]: Remove check for ancient NeXT gcc.
2151
2152 2014-07-02  Will Newton  <will.newton@linaro.org>
2153             Paul Eggert  <eggert@cs.ucla.edu>
2154
2155         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
2156
2157 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2158
2159         * resolv/gethnamaddr.c: Add comment warning that the file is
2160         not maintained.
2161
2162 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
2163
2164         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
2165         entries.
2166
2167         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
2168         entry for aio_cancel and aio_cancel64.
2169         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
2170         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
2171         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
2172         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
2173         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
2174         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
2175         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
2176         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
2177         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
2178         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
2179         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
2180         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
2181         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
2182
2183 2014-07-01  Roland McGrath  <roland@hack.frob.com>
2184
2185         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
2186         * nptl/pthread_mutex_lock.c: Likewise.
2187         * nptl/pthread_mutex_timedlock.c: Likewise.
2188         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
2189
2190 2014-07-01  Richard henderson  <rth@redhat.com>
2191
2192         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
2193         (__isnan, __isnanl): Remove.
2194         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
2195
2196         * sysdeps/alpha/fpu/libm-test-ulps: Update.
2197
2198 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
2199
2200         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2201
2202 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
2203
2204         * resolv/nss_dns/dns-host.c (getanswer_r)
2205         [MULTI_PTRS_ARE_ALIASES]: Remove code.
2206
2207 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
2208
2209         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2210         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
2211         undefine.
2212         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
2213         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
2214
2215 2014-07-01  Roland McGrath <roland@hack.frob.com>
2216
2217         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
2218         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
2219
2220         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
2221         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
2222
2223         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
2224         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
2225         ... here.
2226         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
2227         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
2228
2229         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
2230         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
2231         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
2232         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
2233
2234         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
2235         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
2236         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
2237         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
2238         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
2239         Moved ...
2240         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
2241         ... here.
2242         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
2243         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
2244         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
2245         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
2246         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
2247         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
2248         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
2249         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
2250         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
2251         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
2252         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
2253         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
2254         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
2255         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
2256         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
2257         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
2258         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
2259         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
2260         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
2261         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
2262         ... here.
2263         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
2264         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
2265         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
2266         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
2267         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
2268         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
2269         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
2270         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
2271
2272 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
2273
2274         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
2275         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
2276         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
2277         Add sysdep.
2278
2279 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2280
2281         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2282
2283 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
2284
2285         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2286         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2287
2288         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2289
2290         * sysdeps/arm/libm-test-ulps: Regenerated.
2291
2292 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
2293             Roland McGrath <roland@hack.frob.com>
2294
2295         * test-skeleton.c (signal_handler): Kill the whole process group
2296         before killing the child individually.
2297         (main): Report any failure on `setpgid'.
2298
2299 2014-06-30  Roland McGrath  <roland@hack.frob.com>
2300
2301         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
2302         from _TLS_H to _ARM_NPTL_TLS_H.
2303         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
2304         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
2305
2306 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
2307
2308         [BZ #16539]
2309         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
2310         (__expm1l): Return argument unchanged when small but not
2311         subnormal.
2312
2313         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
2314         include macro name.
2315         (_FP_UNPACK_RAW_1_P): Likewise.
2316         (_FP_PACK_RAW_1): Likewise.
2317         (_FP_PACK_RAW_1_P): Likewise.
2318         (_FP_MUL_MEAT_1_wide): Likewise.
2319         (_FP_MUL_MEAT_DW_1_hard): Likewise.
2320         (_FP_MUL_MEAT_1_hard): Likewise.
2321         (_FP_DIV_MEAT_1_imm): Likewise.
2322         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
2323         (_FP_DIV_MEAT_1_udiv): Likewise.
2324         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
2325         (_FP_UNPACK_RAW_2): Likewise.
2326         (_FP_UNPACK_RAW_2_P): Likewise.
2327         (_FP_PACK_RAW_2): Likewise.
2328         (_FP_PACK_RAW_2_P): Likewise.
2329         (_FP_MUL_MEAT_DW_2_wide): Likewise.
2330         (_FP_MUL_MEAT_2_wide): Likewise.
2331         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
2332         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
2333         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
2334         (_FP_MUL_MEAT_2_gmp): Likewise.
2335         (_FP_DIV_MEAT_2_udiv): Likewise.
2336         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
2337         (_FP_FRAC_SRL_4): Likewise.
2338         (_FP_FRAC_SRST_4): Likewise.
2339         (_FP_FRAC_SRS_4): Likewise.
2340         (_FP_UNPACK_RAW_4): Likewise.
2341         (_FP_UNPACK_RAW_4_P): Likewise.
2342         (_FP_PACK_RAW_4): Likewise.
2343         (_FP_PACK_RAW_4_P): Likewise.
2344         (_FP_MUL_MEAT_DW_4_wide): Likewise.
2345         (_FP_MUL_MEAT_4_wide): Likewise.
2346         (_FP_MUL_MEAT_4_gmp): Likewise.
2347         (umul_ppppmnnn): Likewise.
2348         (_FP_DIV_MEAT_4_udiv): Likewise.
2349         (__FP_FRAC_ADD_4): Likewise.
2350         (__FP_FRAC_SUB_3): Likewise.
2351         (__FP_FRAC_SUB_4): Likewise.
2352         (__FP_FRAC_DEC_3): Likewise.
2353         (__FP_FRAC_DEC_4): Likewise.
2354         (__FP_FRAC_ADDI_4): Likewise.
2355         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
2356         (_FP_FRAC_SRL_8): Likewise.
2357         (_FP_FRAC_SRS_8): Likewise.
2358
2359         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
2360         include macro name.
2361         (FP_UNPACK_RAW_EP): Likewise.
2362         (FP_PACK_RAW_E): Likewise.
2363         (FP_PACK_RAW_EP): Likewise.
2364         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
2365         (_FP_ISSIGNAN): Likewise.
2366         (_FP_ADD_INTERNAL): Likewise.
2367         (_FP_FMA): Likewise.
2368         (_FP_CMP): Likewise.
2369         (_FP_SQRT): Likewise.
2370         (_FP_TO_INT): Likewise.
2371         (_FP_FROM_INT): Likewise.
2372         (FP_EXTEND): Likewise.
2373         (_FP_DIV_MEAT_N_loop): Likewise.
2374
2375 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
2376
2377         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
2378         throughout.
2379
2380 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
2381
2382         [BZ #17097]
2383         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
2384         result with correct sign in case of exponents that produce
2385         overflow except for X very close to 1.
2386
2387 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
2388
2389         mktime: merge #if/#ifdef usage from glibc
2390         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
2391         as that works with both Glibc's and Gnulib's style.
2392         See thread starting at Siddhesh Poyarekar's bug report at:
2393         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
2394
2395 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2396
2397         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
2398         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
2399         * sysdeps/tile/tilegx/memmove.c: Remove file.
2400
2401 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
2402
2403         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
2404         abi-name definition.
2405         * scripts/soversions.awk: Do not handle or generate ABI lines.
2406         * shlib-versions: Remove ABI entries.
2407         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
2408         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
2409
2410 2014-06-27  Roland McGrath  <roland@hack.frob.com>
2411
2412         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
2413         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
2414         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
2415         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
2416         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
2417         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
2418         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
2419         Moved ...
2420         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
2421         ... here.
2422         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
2423         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
2424         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
2425         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
2426         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
2427         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
2428         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
2429         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
2430         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
2431         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
2432         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
2433         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
2434         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
2435         Moved ...
2436         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
2437         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
2438         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
2439         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
2440         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
2441         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
2442         Moved ...
2443         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
2444         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
2445         Moved ...
2446         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
2447         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
2448         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
2449         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
2450         Moved ...
2451         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
2452         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
2453         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
2454         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
2455         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
2456         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
2457         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
2458         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
2459         Moved ...
2460         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
2461         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
2462         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
2463         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
2464         Moved ...
2465         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
2466         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
2467         Moved ...
2468         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
2469         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
2470         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
2471         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
2472         Moved ...
2473         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
2474         ... here.
2475         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
2476         Identical file removed.
2477         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
2478         Moved ...
2479         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
2480         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
2481         Identical file removed.
2482         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
2483         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
2484         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
2485         Moved ...
2486         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
2487         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
2488         Identical file removed.
2489         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
2490         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
2491         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
2492         Identical file removed.
2493         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
2494         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
2495         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
2496         Identical file removed.
2497         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
2498         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
2499         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
2500         Identical file removed.
2501         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
2502         Moved ...
2503         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
2504         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
2505         Identical file removed.
2506         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
2507         Moved ...
2508         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
2509         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
2510         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
2511         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
2512         Identical file removed.
2513         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
2514         Moved ...
2515         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
2516         ... here.
2517         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
2518         Identical file removed.
2519         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
2520         Moved ...
2521         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
2522         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
2523         Identical file removed.
2524         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
2525         Moved ...
2526         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
2527         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
2528         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
2529         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
2530         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
2531         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
2532         Moved ...
2533         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
2534         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
2535         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
2536
2537         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
2538         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
2539         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
2540         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
2541         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
2542
2543 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
2544
2545         [BZ #17092]
2546         * nscd/nscd.c (monitor_child): Return exit status of child
2547         instead of return value from wait syscall.
2548
2549 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
2550
2551         * configure.ac (libc_commonpagesize): Remove variable.
2552         (libc_relro_required): Likewise.
2553         (libc_cv_z_relro): Remove configure test.
2554         * configure: Regenerated.
2555         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
2556         variable.
2557         (libc_relro_required): Likewise.
2558         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
2559         (libc_relro_required): Likewise.
2560         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
2561         (libc_relro_required): Likewise.
2562         * sysdeps/arm/preconfigure: Regenerated.
2563         * sysdeps/ia64/preconfigure: Remove file.
2564         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
2565         variable.
2566         (libc_relro_required): Likewise.
2567
2568         [BZ #16561]
2569         [BZ #16562]
2570         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
2571         (__ieee754_yn): Set FE_TONEAREST mode internally and then
2572         recompute overflowing results in original rounding mode.
2573         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
2574         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
2575         recompute overflowing results in original rounding mode.
2576         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
2577         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2578         recompute overflowing results in original rounding mode.
2579         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
2580         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2581         recompute overflowing results in original rounding mode.
2582         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
2583         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2584         recompute overflowing results in original rounding mode.
2585         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
2586         (libc_feholdsetround_ctx): New macro.
2587         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
2588         * sysdeps/i386/fpu/libm-test-ulps: Update.
2589         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
2590
2591 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2592
2593         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
2594         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
2595         corresponding .cpsetup call.
2596
2597 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2598
2599         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
2600         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
2601         * sysdeps/arm/Makefile [$(subdir) = csu]
2602         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
2603         (static-only-routines): Add aeabi_read_tp here.
2604         (shared-only-routines): Add libc-aeabi_read_tp here.
2605         (CFLAGS-libc-start.c): Add -fexceptions here.
2606         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
2607         (sysdep_routines, static-only-routines, shared-only-routines):
2608         Don't add to these here.
2609         (CFLAGS-libc-start.c): Likewise.
2610
2611         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
2612         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2613         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
2614         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2615         * sysdeps/arm/Makefile [$(subdir) = rt]
2616         (librt-sysdep_routines, librt-shared-only-routines):
2617         Append rt-aeabi_unwind_cpp_pr1 here.
2618         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
2619         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
2620         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
2621         (libpthread-sysdep_routines, libpthread-shared-only-routines):
2622         Append nptl-aeabi_unwind_cpp_pr1 here.
2623         (tests): Filter out tst-cleanupx4 here.
2624         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
2625         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
2626         Don't do those here.
2627
2628 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2629
2630         * scripts/list-sources.sh: Do not handle ports specially.
2631
2632 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2633
2634         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
2635         * sysdeps/arm/feupdateenv.c: Likewise.
2636
2637         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
2638
2639 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2640
2641         * manual/texinfo.tex: Update to version 2014-05-05.10 with
2642         trailing whitespace removed.
2643         * scripts/config.guess: Update to version 2014-03-23.
2644         * scripts/config.sub: Update to version 2014-05-01
2645         * scripts/install-sh: Update to version 2013-12-25.23.
2646         * scripts/move-if-change: Update from gnulib.
2647
2648 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2649
2650         * debug/memmove_chk.c: Remove pagecopy.h include.
2651
2652 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
2653
2654         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
2655         identical to gnulib mktime.
2656
2657 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2658
2659         * configure.ac: Do not test for machine being rs6000.  Do not test
2660         for powerpc*-*soft.
2661         * configure: Regenerated.
2662
2663         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
2664         test.
2665         * configure: Regenerated.
2666         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
2667         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
2668         Remove configure test.
2669         * sysdeps/arm/configure: Regenerated.
2670         * sysdeps/nptl/configure.ac: Do not check
2671         libc_cv_asm_cfi_directives.
2672         * sysdeps/nptl/configure: Regenerated.
2673         * sysdeps/x86_64/nptl/configure.ac: Remove file.
2674         * sysdeps/x86_64/nptl/configure: Remove generated file.
2675         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
2676         unconditional.
2677         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
2678
2679 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2680
2681         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
2682         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
2683         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
2684         it is defined.
2685
2686         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
2687         instead of whether it is defined.
2688         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
2689         * sysdeps/hppa/dl-machine.h: Likewise.
2690         * sysdeps/ia64/dl-machine.h: Likewise.
2691         * sysdeps/m68k/dl-machine.h: Likewise.
2692         * sysdeps/microblaze/dl-machine.h: Likewise.
2693         * sysdeps/mips/dl-machine.: Likewise.
2694         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
2695         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2696         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2697         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2698         * sysdeps/sh/dl-machine.h: Likewise.
2699         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2700         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2701         * sysdeps/tile/dl-machine.h: Likewise.
2702         * sysdeps/x86_64/dl-machine.h: Likewise.
2703
2704         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
2705         code.
2706         (verify_persistent_db): Likewise.
2707
2708 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2709
2710         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
2711         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
2712         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
2713         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
2714         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2715         Moved ...
2716         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
2717         ... here.
2718         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
2719         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
2720         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
2721         Identical file removed.
2722         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
2723         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
2724         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
2725         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
2726         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
2727         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
2728         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
2729         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
2730         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
2731         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
2732         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2733         Moved ...
2734         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
2735         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
2736         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
2737         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
2738         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
2739         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2740         Moved ...
2741         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
2742         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
2743         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
2744         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
2745         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
2746         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2747         Identical file removed.
2748         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
2749         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
2750         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
2751         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
2752         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2753         Moved ...
2754         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
2755         ... here.
2756         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
2757         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
2758         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
2759         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
2760         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
2761         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
2762         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
2763         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
2764         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
2765         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
2766         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2767         Moved ...
2768         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
2769         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
2770         Moved ...
2771         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
2772         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
2773         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
2774         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2775         Moved ...
2776         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
2777         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
2778         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
2779
2780         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
2781         folded into ...
2782         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
2783         * sysdeps/unix/sysv/linux/s390/Versions
2784         (libpthread: GLIBC_2.19): New version set.
2785         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
2786         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
2787         (librt: GLIBC_2.3.3): New version set.
2788         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
2789         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
2790         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
2791         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
2792         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
2793         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
2794         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
2795         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
2796         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
2797         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
2798         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
2799         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
2800         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
2801         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
2802         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
2803         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
2804         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
2805         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
2806         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
2807         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
2808         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
2809         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
2810         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
2811         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
2812         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
2813         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
2814         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
2815         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
2816         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
2817         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
2818         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
2819         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
2820         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
2821         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
2822         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
2823         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
2824         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
2825         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
2826         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
2827         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
2828         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
2829         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2830         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2831         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2832         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2833
2834         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2835         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2836         (__libc_vfork): Define the function under this name.
2837         [!NOT_IN_libc] (__vfork): Make this an alias.
2838         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2839         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2840         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
2841         (__libc_vfork): Define the function under this name.
2842         [!NOT_IN_libc] (__vfork): Make this an alias.
2843         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2844         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2845         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2846         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2847         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2848         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2849
2850         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2851         code that was previously under [RESET_PID].
2852         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2853         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2854         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2855
2856         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2857         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2858         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2859         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2860         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2861         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2862         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2863         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2864         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2865         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2866         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2867         Moved ...
2868         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2869         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2870         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2871         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2872         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2873         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2874         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2875         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2876         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2877         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2878         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2879         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2880         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2881         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2882         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2883         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2884         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2885         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2886         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2887         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2888         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2889         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2890         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2891         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2892         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2893         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2894         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2895         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2896         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2897
2898 2014-06-25  Roland McGrath  <roland@hack.frob.com>
2899
2900         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2901         that was previously under [RESET_PID].
2902         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2903
2904 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2905
2906         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
2907         not undefine and redefine.
2908         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2909         [O_CLOEXEC]: Make code unconditional.
2910         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2911         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2912         <kernel-features.h>.
2913         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2914         conditional variable definition.
2915         (shm_open) [O_CLOEXEC]: Make code unconditional.
2916         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2917         code.
2918
2919         * configure.ac (USE_REGPARMS): Don't define here.
2920         * configure: Regenerated.
2921         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2922         * sysdeps/i386/configure: Regenerated.
2923
2924         * nptl/createthread.c: Don't include kernel-features.h.
2925         * nptl/pthread_cancel.c: Likewise.
2926         * nptl/pthread_condattr_setclock.c: Likewise.
2927         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2928         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2929         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2930         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2931         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2932         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2933         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2934         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2935         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2936         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2937         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2938         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2939         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2940         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2941         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2942         * nscd/gai.c: Likewise.
2943         * nss/nss_db/db-open.c: Likewise.
2944         * sysdeps/generic/ldsodefs.h: Likewise.
2945         * sysdeps/sh/nptl/tls.h: Likewise.
2946         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2947         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2948         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2949         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2950         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2951         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2952         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2953         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2954         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2955         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2956         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2957         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2958         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2959         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2960         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2961         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2962         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2963         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2964         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2965         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2966         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2967         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2968         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2969         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2970         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2971         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2972         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2973         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2974         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2975         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2976         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2977         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2978         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2979         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2980         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2981         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2982         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2983         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2984         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2985         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2986         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2987         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2988         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2989         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2990         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2991         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2992         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2993         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2994         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2995         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2996         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2997         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2998         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2999         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3000         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
3001         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3002         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3003         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
3004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
3006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
3007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
3008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
3009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
3010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
3011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
3012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
3015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
3016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
3017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
3018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
3024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
3025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
3026         * sysdeps/unix/sysv/linux/pread.c: Likewise.
3027         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
3028         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
3029         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
3030         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
3031         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
3032         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
3033         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
3034         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
3035         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
3036         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
3037         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
3038         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
3039         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
3040         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3041         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
3042         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3043         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
3044         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
3045         * sysdeps/unix/sysv/linux/system.c: Likewise.
3046         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
3047         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
3048         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3049         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3050         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3051         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3052         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3053
3054         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
3055         * configure: Regenerated.
3056         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
3057
3058         * configure.ac (base_machine): Do not set specially for particular
3059         machines here.
3060         * configure: Regenerated.
3061         * sysdeps/powerpc/preconfigure: Move machine and base_machine
3062         settings from configure.ac.
3063         * sysdeps/i386/preconfigure: New file.
3064         * sysdeps/s390/preconfigure: Likewise.
3065         * sysdeps/sh/preconfigure: Likewise.
3066         * sysdeps/sparc/preconfigure: Likewise.
3067
3068 2014-06-25  Roland McGrath  <roland@hack.frob.com>
3069
3070         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
3071         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
3072         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
3073         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
3074         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
3075         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
3076         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
3077         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
3078         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
3079         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
3080         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
3081         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
3082         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
3083         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
3084         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
3085         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
3086         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
3087         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
3088         * sysdeps/sparc/sparc64/Makefile: ... appended here.
3089
3090         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
3091         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
3092         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
3093         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
3094         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
3095         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
3096         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
3097         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
3098         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
3099         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
3100         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
3101         * sysdeps/sparc/sparc32/sem_post.c: ... here.
3102         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
3103         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
3104         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
3105         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
3106         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
3107         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
3108         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
3109         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
3110         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
3111         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
3112         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
3113         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
3114         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
3115         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
3116         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
3117         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
3118         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
3119         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
3120         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
3121         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
3122         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
3123         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
3124         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
3125         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
3126         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
3127         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
3128
3129         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
3130         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
3131         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
3132         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
3133         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3134         Moved ...
3135         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
3136         ... here.
3137         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
3138         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
3139         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
3140         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
3141         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
3142         Moved ...
3143         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
3144         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
3145         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
3146         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
3147         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
3148         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
3149         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
3150         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3151         Moved ...
3152         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
3153         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3154         Moved ...
3155         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
3156         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
3157         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
3158         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3159         Moved ...
3160         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
3161         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
3162         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
3163         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
3164         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
3165         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
3166         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
3167         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
3168         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
3169         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3170         Moved ...
3171         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
3172         ... here.
3173         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
3174         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
3175         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
3176         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
3177         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
3178         Moved ...
3179         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
3180         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
3181         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
3182         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
3183         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
3184         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
3185         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
3186         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3187         Moved ...
3188         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
3189         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3190         Moved ...
3191         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
3192         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
3193         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
3194         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3195         Moved ...
3196         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
3197         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
3198         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
3199         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
3200         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
3201
3202 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
3203
3204         * timezone/checktab.awk: Update from tzcode 2014e.
3205         * timezone/private.h: Likewise.
3206         * timezone/tzfile.h: Likewise.
3207         * timezone/zdump.c: Likewise.
3208         * timezone/zic.c: Likewise.
3209
3210         * sysdeps/unix/sysv/linux/kernel-features.h
3211         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
3212         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
3213         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
3214         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3215         Remove conditional code.
3216
3217 2014-06-25  Will Newton  <will.newton@linaro.org>
3218
3219         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
3220         (_dl_arm_cap_flags): Add HWCAP2 values.
3221         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
3222         (_DL_HWCAP_COUNT): Increase to 37.
3223         (_DL_HWCAP_LAST): New define.
3224         (_DL_HWCAP2_LAST): New define.
3225         (_dl_procinfo): Add support for printing
3226         AT_HWCAP2 entries.
3227         (_dl_string_hwcap): Use _dl_hwcap_string.
3228
3229 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3230
3231         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3232
3233 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
3234
3235         * README: Do not mention ports directory.
3236
3237         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
3238         Remove macro.
3239         * sysdeps/unix/sysv/linux/futimes.c: Do not include
3240         <kernel-features.h>.
3241         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
3242         conditional variable definition.
3243         (__futimes): Update comment.
3244         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
3245         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
3246
3247         [BZ #16560]
3248         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
3249         arguments close to 0.
3250         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
3251         Likewise.
3252         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
3253         Likewise.
3254         * math/auto-libm-test-in: Add more tests of exp10.
3255         * math/auto-libm-test-out: Regenerated.
3256         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3257
3258         * sysdeps/unix/sysv/linux/kernel-features.h
3259         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
3260         * sysdeps/unix/sysv/linux/readv.c: Do not include
3261         <kernel-features.h>.
3262         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3263         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3264         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3265         unconditional.
3266         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3267         conditional code.
3268         * sysdeps/unix/sysv/linux/writev.c: Do not include
3269         <kernel-features.h>.
3270         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3271         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3272         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3273         unconditional.
3274         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3275         conditional code.
3276
3277 2014-06-25  Will Newton  <will.newton@linaro.org>
3278
3279         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
3280         comment changes throughout the file.  Remove checks
3281         for HAVE_*_H definitions that are not required.
3282         (__gen_tempname): Call abort if an unknown kind value is
3283         passed.
3284
3285 2014-06-25  Andreas Schwab  <schwab@suse.de>
3286
3287         [BZ #17086]
3288         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
3289         scalbln, scalblnf, scalblnl in libc.
3290
3291 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
3292
3293         [BZ #17086]
3294         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
3295         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3296         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3297
3298 2014-06-24  Roland McGrath  <roland@hack.frob.com>
3299
3300         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
3301         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
3302         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
3303         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
3304         Update #include.
3305         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
3306         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
3307         Update #include.
3308         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
3309         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
3310         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
3311         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
3312         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
3313         * sysdeps/x86/bits/pthreadtypes.h: ... here.
3314         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
3315         * sysdeps/x86/bits/semaphore.h: ... here.
3316         * sysdeps/x86/nptl/elide.h: Moved ...
3317         * sysdeps/x86/elide.h: ... here.
3318         * sysdeps/x86_64/nptl/Implies: File removed.
3319         * sysdeps/i386/nptl/Implies: File removed.
3320
3321 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
3322
3323         [BZ #16539]
3324         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
3325         return the argument for normal arguments with exponent below -64.
3326         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
3327         Likewise.
3328         * math/auto-libm-test-in: Add another test of expm1.
3329         * math/auto-libm-test-out: Regenerated.
3330
3331         [BZ #16287]
3332         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
3333         calling __erfcl for arguments at least 16.
3334         * math/auto-libm-test-in: Add more tests of erf.
3335         * math/auto-libm-test-out: Regenerated.
3336
3337         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
3338         individual architectures.
3339         * sysdeps/unix/sysv/linux/configure: Regenerated.
3340         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
3341         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
3342         * sysdeps/unix/sysv/linux/powerpc/configure.ac
3343         (ldd_rewrite_script): Define variable.
3344         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
3346         file.
3347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
3348         generated file.
3349         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
3350         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
3351         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
3352         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
3353         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
3354         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
3355         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
3356         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
3357
3358 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3359
3360         [BZ #17084]
3361         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
3362         Rename member __data.d to __data.__elision_data.
3363
3364 2014-06-24  Wilco  <wdijkstr@arm.com>
3365
3366         * NEWS: Add 16918 to fixed bug list.
3367
3368 2014-06-24  Wilco  <wdijkstr@arm.com>
3369
3370         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
3371
3372 2014-06-24  Wilco  <wdijkstr@arm.com>
3373
3374         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
3375         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
3376         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
3377         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
3378         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
3379         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
3380         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
3381         Use _FPU_MASK_RM.
3382
3383 2014-06-24  Wilco  <wdijkstr@arm.com>
3384
3385         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
3386
3387 2014-06-24  Wilco  <wdijkstr@arm.com>
3388
3389         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
3390         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
3391         * sysdeps/arm/fesetround.c (fesetround): Remove space.
3392         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
3393
3394 2014-06-24  Wilco  <wdijkstr@arm.com>
3395
3396         [BZ #16918]
3397         * sysdeps/arm/feupdateenv.c (feupdateenv):
3398         Rewrite to reduce FPSCR accesses and fix return value.
3399
3400 2014-06-24  Wilco  <wdijkstr@arm.com>
3401
3402         * sysdeps/arm/fclrexcpt.c (feclearexcept):
3403         Optimize to avoid unnecessary FPSCR writes.
3404         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
3405         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
3406         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
3407         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
3408
3409 2014-06-24  Wilco  <wdijkstr@arm.com>
3410
3411         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
3412         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
3413         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
3414         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
3415         Call libc_fetestexcept_vfp.
3416         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
3417         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
3418         __SOFTFP__ ifdef so that they can be built for softfp.
3419
3420 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3421
3422         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
3423         argument type signed char.
3424
3425         * Makerules (check-abi): Dump diff of symlist if the test
3426         fails.
3427
3428 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3429
3430         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
3431         using abort.
3432
3433         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3434         Remove unused variable ST.
3435
3436 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
3437
3438         [BZ #16354]
3439         [BZ #17061]
3440         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
3441         small arguments before calling __expm1.
3442         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
3443         small arguments before calling __expm1f.
3444         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
3445         small arguments before calling __expm1l.
3446         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3447         Likewise.
3448         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
3449         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
3450         spurious underflow for some cosh tests.
3451         * math/auto-libm-test-out: Regenerated.
3452         * sysdeps/i386/fpu/libm-test-ulps: Update.
3453
3454         [BZ #17050]
3455         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
3456         (__ieee754_y1): Set errno if return value overflows.
3457         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
3458         (__ieee754_y1f): Set errno if return value overflows.
3459         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
3460         (__ieee754_y1l): Set errno if return value overflows.
3461         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
3462         (__ieee754_y1l): Set errno if return value overflows.
3463         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
3464         * math/auto-libm-test-out: Regenerated.
3465
3466         * math/gen-auto-libm-tests.c: Document use of
3467         ignore-zero-inf-sign.
3468         (input_flag_type): Add value flag_ignore_zero_inf_sign.
3469         (input_flags): Add ignore-zero-inf-sign.
3470         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
3471         * math/gen-libm-test.pl (generate_testfile): Handle
3472         ignore-zero-inf-sign.
3473         * math/auto-libm-test-in: Mark some cpow tests with
3474         ignore-zero-inf-sign and some with xfail-rounding.
3475         * math/auto-libm-test-out: Regenerated.
3476         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
3477         * sysdeps/i386/fpu/libm-test-ulps: Update.
3478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3479
3480         [BZ #16315]
3481         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
3482         overflowing or underflowing operations take place with sign of
3483         result.
3484         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3485         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3486         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
3487         (__ieee754_pow): Recompute overflowing and underflowing results in
3488         original rounding mode.
3489         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
3490         (__powl_helper): Allow negative argument X and scale negated value
3491         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
3492         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
3493         overflowing or underflowing operations take place with sign of
3494         result.
3495         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
3496         Include <math.h>.
3497         * math/auto-libm-test-in: Add more tests of pow.
3498         * math/auto-libm-test-out: Regenerated.
3499         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
3500         (pow_tonearest_test_data): Remove.
3501         (pow_test_tonearest): Likewise.
3502         (pow_towardzero_test_data): Likewise.
3503         (pow_test_towardzero): Likewise.
3504         (pow_downward_test_data): Likewise.
3505         (pow_test_downward): Likewise.
3506         (pow_upward_test_data): Likewise.
3507         (pow_test_upward): Likewise.
3508         (main): Don't call removed functions.
3509         * sysdeps/i386/fpu/libm-test-ulps: Update.
3510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3511
3512 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3513
3514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
3515         Moved ...
3516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
3517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3518         Moved ...
3519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
3520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3521         Moved ...
3522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
3523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3524         Moved ...
3525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
3526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3527         File removed.
3528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3529         File removed.
3530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
3531         File removed.
3532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
3533         File removed.
3534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
3535         File removed.
3536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
3537         File removed.
3538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
3539         File removed.
3540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3541         File removed.
3542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
3543         File removed.
3544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3545         File removed.
3546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
3547         File removed.
3548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
3549         File removed.
3550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
3551         Moved ...
3552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
3553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
3554         Moved ...
3555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
3556         ... here.
3557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
3558         Moved ...
3559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
3560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
3561         Moved ...
3562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
3563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
3564         Moved ...
3565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
3566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
3567         Moved ...
3568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
3569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
3570         Moved ...
3571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
3572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
3573         Moved ...
3574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
3575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
3576         Moved ...
3577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
3578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
3579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
3580         ... here.
3581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
3582         Moved ...
3583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
3584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3585         Moved ...
3586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3587         ... here.
3588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
3589         Moved ...
3590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3591         ... here.
3592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3593         Moved ...
3594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3595         ... here.
3596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3597         Moved ...
3598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
3599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
3600         Moved ...
3601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
3602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
3603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
3604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3605         Moved ...
3606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
3607         ... here.
3608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3609         Moved ...
3610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
3611         ... here.
3612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
3613         Moved ...
3614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
3615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3616         Moved ...
3617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
3618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
3619         Moved ...
3620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
3621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3622         Moved ...
3623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
3624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3625         Moved ...
3626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
3627         ... here.
3628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3629         Moved ...
3630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
3631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
3632         Moved ...
3633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
3634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3635         Moved ...
3636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
3637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
3638         Moved ...
3639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
3640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
3641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
3642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3643         Moved ...
3644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
3645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3646         Moved ...
3647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
3648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3649         Moved ...
3650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
3651         ... here.
3652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3653         Moved ...
3654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
3655         ... here.
3656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3657         Moved ...
3658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
3659         ... here.
3660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3661         Moved ...
3662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
3663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3664         Moved ...
3665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
3666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3667         Moved ...
3668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
3669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3670         Moved ...
3671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
3672         ... here.
3673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3674         Moved ...
3675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
3676         ... here.
3677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3678         Moved ...
3679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
3680         ... here.
3681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3682         Moved ...
3683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
3684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3685         Moved ...
3686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
3687
3688 2014-06-23  Will Newton  <will.newton@linaro.org>
3689             Wilco  <wdijkstr@arm.com>
3690
3691         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
3692         implementation.  Include get-rounding-mode.h.
3693         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
3694         [!libc_feholdsetround_noex_ctx]: Define
3695         libc_feholdsetround_noex_ctx.
3696         [!libc_feholdsetround_noexf_ctx]: Define
3697         libc_feholdsetround_noexf_ctx.
3698         [!libc_feholdsetround_noexl_ctx]: Define
3699         libc_feholdsetround_noexl_ctx.
3700         (libc_feholdsetround_ctx): New function.
3701         (libc_feresetround_ctx): New function.
3702         (libc_feholdsetround_noex_ctx): New function.
3703         (libc_feresetround_noex_ctx): New function.
3704
3705 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3706
3707         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
3708         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
3709         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
3710         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
3711         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
3712         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
3713
3714         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
3715         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
3716         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
3717         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
3718         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
3719         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
3720         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
3721         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
3722         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
3723         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
3724         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
3725         Moved ...
3726         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
3727         ... here.
3728         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
3729         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
3730         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
3731         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
3732         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
3733         Moved ...
3734         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
3735         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
3736         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
3737         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
3738         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
3739         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
3740         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
3741         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
3742         Moved ...
3743         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
3744         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
3745         Moved ...
3746         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
3747         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
3748         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
3749         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
3750         Moved ...
3751         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
3752         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
3753         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
3754         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
3755         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
3756         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
3757         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
3758         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
3759         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
3760         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
3761         Moved ...
3762         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
3763         ... here.
3764         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
3765         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
3766         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
3767         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
3768         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
3769         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
3770         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
3771         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
3772         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
3773         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
3774         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
3775         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
3776         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
3777         Moved ...
3778         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
3779         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
3780         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
3781         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
3782         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
3783         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
3784         Moved ...
3785         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
3786         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
3787         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
3788         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
3789         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
3790
3791         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
3792         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
3793         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
3794         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
3795         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
3796         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
3797         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
3798         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
3799         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
3800         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
3801         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
3802         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
3803         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
3804         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
3805         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
3806         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
3807         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
3808         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
3809         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
3810         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
3811         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
3812         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
3813         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
3814         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
3815         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
3816         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
3817         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
3818         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
3819
3820 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
3821
3822         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3823         (FALLOC_FL_COLLAPSE_RANGE): New macro.
3824         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
3825         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
3826         (IPV6_PMTUDISC_INTERFACE): Likewise.
3827         (IPV6_PMTUDISC_OMIT): Likewise.
3828
3829 2014-06-23  Andreas Schwab  <schwab@suse.de>
3830
3831         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3832         Remove unused errout label.
3833
3834 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3835
3836         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3837         macro: hardware supports Vector Crypto instructions.
3838
3839 2014-06-23  Will Newton  <will.newton@linaro.org>
3840
3841         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3842         rather than __builtin_expect.
3843
3844         * elf/dl-lookup.c (undefined_msg): Remove variable.
3845         (_dl_lookup_symbol_x): Replace undefined_msg with string
3846         literal.
3847
3848         * elf/dl-lookup.c (do_lookup_unique): New function.
3849         (do_lookup_x): Move STB_GNU_UNIQUE handling code
3850         to a separate function.
3851
3852 2014-06-23  Andreas Schwab  <schwab@suse.de>
3853
3854         [BZ #17079]
3855         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3856         before reading the next line.
3857
3858 2014-06-23  Will Newton  <will.newton@linaro.org>
3859
3860         * test-skeleton.c (signal_handler): Use printf and %m
3861         rather than perror.  Use printf rather than fprintf to
3862         stderr.  Use puts rather than fputs to stderr.
3863         (main): Likewise.
3864
3865 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
3866
3867         * nscd/nscd.c (thread_info_t): Remove typedef.
3868         (thread_info): Remove variable.
3869
3870 2014-06-21  Allan McRae  <allan@archlinux.org>
3871
3872         * NEWS: Mention CVE-2014-4043.
3873
3874 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3875
3876         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3877         * nptl/smp.h: ... here.
3878
3879         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3880
3881         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3882         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3883         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3884         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3885
3886         * nptl/allocatestack.c: Include <stack-aliasing.h>.
3887         * nptl/stack-aliasing.h: New file.
3888         * sysdeps/i386/i686/stack-aliasing.h: New file.
3889         * sysdeps/i386/i686/nptl/Makefile: File removed.
3890         * sysdeps/x86_64/stack-aliasing.h: New file.
3891         * sysdeps/x86_64/nptl/Makefile
3892         (CFLAGS-pthread_create.c): Variable removed.
3893
3894         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3895         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3896         old file.
3897         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3898         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3899         old file.
3900
3901 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
3902
3903         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3904         (__ASSUME_SIGFRAME_V2): Remove macro.
3905         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3906         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
3907         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3908         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3909         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3910         Declare as function.  Remove conditional macro definitions.
3911         (__default_rt_sa_restorer): Likewise.
3912         (__default_sa_restorer_v1): Remove declaration.
3913         (__default_sa_restorer_v2): Likewise.
3914         (__default_rt_sa_restorer_v1): Likewise.
3915         (__default_rt_sa_restorer_v2): Likewise.
3916         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3917         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3918         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3919
3920 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3921
3922         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3923         (libpthread-routines): Add sysdep.
3924         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3925         * sysdeps/unix/sysv/linux/sparc/Versions
3926         (libpthread: GLIBC_2.3.3): New version set.
3927         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3928         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3929         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3930         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3931         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
3932         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3933         Moved ...
3934         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3935         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3936         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3937         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3938         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3939         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3940         * sysdeps/sparc/nptl/sem_init.c: ... here.
3941         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3942         * sysdeps/sparc/nptl/sem_post.c: ... here.
3943         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3944         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3945         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3946         * sysdeps/sparc/nptl/sem_wait.c: ... here.
3947         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3948         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3949         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3950         (libpthread-routines): Add cpu_relax.
3951         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3952         File removed.
3953         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3954         (librt: GLIBC_2.3.3): New version set.
3955         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3956         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3957         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3958         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3959         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3960         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3961         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3962         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3963         Moved ...
3964         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3965         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3966         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3967         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3968         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3969         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3970         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3971         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3972         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3973         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3974         Moved ...
3975         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3976         Update #include.
3977         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3978         Moved ...
3979         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3980         Update #include.
3981         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3982         Moved ...
3983         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3984         Update #include.
3985         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3986         Moved ...
3987         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3988         Update #include.
3989         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3990         Moved ...
3991         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3992         Update #include.
3993         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3994         Moved ...
3995         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3996         Update #include.
3997         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3998         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3999         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
4000         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
4001         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
4002         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
4003         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
4004         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
4005         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
4006         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
4007         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4008         Moved ...
4009         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
4010         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
4011         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
4012         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
4013         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
4014
4015 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
4016
4017         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
4018         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
4019         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4020         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
4021         * nscd/nscd.c: Likewise.
4022         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
4023         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
4024         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
4025         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
4026
4027         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
4028         <kernel-features.h>.
4029         (init_mq_netlink): Remove conditional have_sock_cloexec
4030         definitions.  Remove code conditional on have_sock_cloexec < 0.
4031         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
4032         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
4033         * sysdeps/unix/sysv/linux/opensock.c: Do not include
4034         <kernel-features.h>.
4035         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
4036         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
4037
4038 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
4039
4040         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4041         Add tests for memset_chk and memset.
4042
4043         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
4044         with AVX2_Usable.
4045
4046 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
4047
4048         [BZ #16046]
4049         * elf/tst-dl-iter-static.c: New file.
4050         * elf/Makefile (tests-static): Add tst-dl-iter-static.
4051
4052         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
4053         error.
4054
4055 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
4056
4057         * sysdeps/unix/sysv/linux/kernel-features.h
4058         (__ASSUME_F_GETOWN_EX): Remove macro.
4059         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
4060         <kernel-features.h>.
4061         (miss_F_GETOWN_EX): Remove variable or macro.
4062         (do_fcntl): Do not check miss_F_GETOWN_EX.
4063         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
4064
4065         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
4066         Remove macro.
4067         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
4068         [!__ASSUME_AT_RANDOM]: Remove conditional code.
4069         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
4070
4071         * sysdeps/unix/sysv/linux/kernel-features.h
4072         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
4073         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
4074         [ADJ_OFFSET_SS_READ]: Make code unconditional.
4075         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
4076
4077 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
4078
4079         [BZ #17075]
4080         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
4081         Fix calculation of the symbol's value.
4082         * sysdeps/arm/tst-armtlsdescloc.c: New file.
4083         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
4084         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
4085         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
4086         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
4087         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
4088         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
4089         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
4090         (modules-names): Add `tst-armtlsdescmod',
4091         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
4092         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
4093         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
4094         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
4095         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
4096         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
4097         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
4098         ($(objpfx)tst-armtlsdescloc): New dependency.
4099         ($(objpfx)tst-armtlsdescextnow): Likewise.
4100         ($(objpfx)tst-armtlsdescextlazy): Likewise.
4101         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
4102         TLS scheme support.
4103         * sysdeps/arm/configure: Regenerate.
4104
4105 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
4106
4107         * include/fcntl.h (__atfct_seterrno): Remove prototype.
4108         (__atfct_seterrno_2): Likewise.
4109         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
4110         <kernel-features.h>.
4111         (__ASSUME_ATFCTS): Do not undefine and redefine.
4112         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
4113         (__have_atfcts): Remove conditional definition.
4114         (__fxstatat([__NR_fstatat64]: Make code unconditional.
4115         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
4116         unreachable if [__ASSUME_ATFCTS].
4117         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
4118         not undefine and redefine.
4119         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
4120         <kernel-features.h>.
4121         (faccessat) [__NR_faccessat]: Make code unconditional.
4122         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
4123         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
4124         <kernel-features.h>.
4125         (fchmodat) [__NR_fchmodat]: Make code unconditional.
4126         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4127         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
4128         <kernel-features.h>.
4129         (fchownat) [__NR_fchownat]: Make code unconditional.
4130         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
4131         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
4132         <kernel-features.h>.
4133         (futimesat) [__NR_futimesat]: Make code unconditional.
4134         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
4135         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
4136         <kernel-features.h>.
4137         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4138         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4139         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
4140         <kernel-features.h>.
4141         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
4142         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4143         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
4144         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
4145         <kernel-features.h>.
4146         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
4147         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4148         * sysdeps/unix/sysv/linux/linkat.c: Do not include
4149         <kernel-features.h>.
4150         (linkat) [__NR_linkat]: Make code unconditional.
4151         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4152         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
4153         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
4154         <kernel-features.h>.
4155         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
4156         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4157         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
4158         <kernel-features.h>.
4159         (mkdirat) [__NR_mkdirat]: Make code unconditional.
4160         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
4161         * sysdeps/unix/sysv/linux/openat.c: Do not include
4162         <kernel-features.h>.
4163         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
4164         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
4165         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
4166         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
4167         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
4168         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
4169         <kernel-features.h>.
4170         (readlinkat) [__NR_readlinkat]: Make code unconditional.
4171         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
4172         result of INLINE_SYSCALL directly, not via int variable.
4173         * sysdeps/unix/sysv/linux/renameat.c: Do not include
4174         <kernel-features.h>.
4175         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
4176         (renameat) [__NR_renameat]: Make code unconditional.
4177         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
4178         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
4179         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
4180         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
4181         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
4182         (__ASSUME_ATFCTS): Do not undefine and redefine.
4183         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
4184         <kernel-features.h>.
4185         (symlinkat) [__NR_symlinkat]: Make code unconditional.
4186         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4187         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
4188         <kernel-features.h>.
4189         (unlinkat) [__NR_unlinkat]: Make code unconditional.
4190         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4191         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
4192         (__ASSUME_ATFCTS): Do not undefine and redefine.
4193         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
4194         <kernel-features.h>.
4195         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4196         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4197         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
4198         <kernel-features.h>.
4199         (__xmknodat) [__NR_mknodat]: Make code unconditional.
4200         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4201
4202 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
4203
4204         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
4205
4206 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
4207
4208         [BZ #17069]
4209         * posix/regcomp.c (parse_reg_exp): Deallocate partially
4210         constructed tree before returning error.
4211         * posix/bug-regexp36.c: Expand test case.
4212
4213 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4214
4215         [BZ #6803]
4216         * math/libm-test.inc (scalbln_test_date):
4217         Add errno expectations.
4218         * math/w_scalblnf.c: New File.
4219         Add wrapper which checks for setting errno to ERANGE.
4220         Add weak_alias for corresponding scalbln function.
4221         * math/w_scalbln.c: Likewise.
4222         * math/w_scalblnl.c: Likewise.
4223         * math/Makefile (libm-calls): Add w_scalbln.
4224         * sysdeps/ieee754/flt-32/s_scalblnf.c:
4225         Remove weak_alias for corresponding scalbln function.
4226         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4227         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4228         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4229         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4230         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
4231         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4232         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
4233         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4234         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
4235         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
4236         Remove long_double_symbol for scalblnl function in libm, libc.
4237         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
4238         Add wrapper which checks for setting errno to ERANGE.
4239         Add long_double_symbol for scalblnl function in libm, libc.
4240         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
4241         Remove long_double_symbol for scalblnl in libm.
4242         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
4243         Add wrapper which checks for setting errno to ERANGE.
4244         Add long_double_symbol for scalblnl function in libm.
4245         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
4246         Do not use wrapper because of own implementation.
4247
4248 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
4249
4250         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
4251         3 bytes for __pad1 for x32.
4252         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
4253
4254 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
4255             H.J. Lu  <hongjiu.lu@intel.com>
4256
4257         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
4258         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
4259         * sysdeps/x86_64/multiarch/memset.S: Likewise.
4260         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4261         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
4262
4263 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
4264
4265         [BZ #17069]
4266         * posix/regcomp.c (parse_expression): Deallocate partially
4267         constructed tree before returning error.
4268         * posix/Makefile.c (tests): Add bug-regex36.
4269         (generated): Add bug-regex36.mtrace.
4270         (tests-special): Add $(objpfx)bug-regex36-mem.out
4271         (bug-regex36-ENV): New variable.
4272         ($(objpfx)bug-regex36-mem.out): New rule.
4273         * posix/bug-regex36.c: New file.
4274
4275 2014-06-19  Will Newton  <will.newton@linaro.org>
4276
4277         * malloc/malloc.c (systrim): If extra is zero then return
4278         early.
4279
4280 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4281
4282         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
4283
4284 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
4285
4286         * sysdeps/aarch64/strchr.S: New file.
4287
4288 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
4289
4290         [BZ #17022]
4291         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
4292         from arguments -2 or below.
4293         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4294         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
4295
4296 2014-06-18  Andreas Schwab  <schwab@suse.de>
4297
4298         [BZ #17062]
4299         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
4300         of a bracket expr not to run off the end of the string.
4301         * posix/Makefile (tests): Add tst-fnmatch3.
4302         * posix/tst-fnmatch3.c: New file.
4303
4304 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
4305
4306         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
4307         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4308         [$(cross-compiling) = no]: Likewise.
4309         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4310         [$(cross-compiling) = no]: Likewise.
4311
4312 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4313
4314         [BZ #17031]
4315         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
4316         double, adjusted for any remainder from the high double.
4317         * math/libm-test.inc (nearbyint): Add tests.
4318         (rint): Likewise.
4319
4320 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4321
4322         * nptl/sysdeps/powerpc/Makefile: Moved ...
4323         * sysdeps/powerpc/nptl/Makefile: ... here.
4324         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
4325         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
4326         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
4327         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
4328         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
4329         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
4330         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
4331         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
4332         * nptl/sysdeps/powerpc/tls.h: Moved ...
4333         * sysdeps/powerpc/nptl/tls.h: ... here.
4334
4335 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
4336
4337         [BZ #16681]
4338         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
4339         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
4340         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
4341         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
4342         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
4343         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
4344         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
4345         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
4346         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
4347
4348 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
4349
4350         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4351
4352 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
4353
4354         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
4355         defined operator.
4356
4357         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
4358         $TIMEOUTFACTOR.
4359
4360 2014-06-16  Florian Weimer  <fweimer@redhat.com>
4361
4362         [BZ #17058]
4363         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
4364         non-executed part of the test.
4365
4366 2014-06-16  Andreas Schwab  <schwab@suse.de>
4367
4368         * string/bits/string2.h (strdup, strndup): Update feature guard.
4369
4370 2014-06-14  David S. Miller  <davem@davemloft.net>
4371
4372         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4373
4374 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
4375
4376         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
4377         that was previously under [RESET_PID].
4378         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
4379
4380         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
4381         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
4382         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
4383         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4384         (__libc_vfork): New strong alias.
4385         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
4386
4387 2014-06-14 Andi Kleen  <ak@linux.intel.com>
4388
4389         * sysdeps/generic/elide.h: New file.
4390
4391 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4392
4393         * Makefile (installed-headers): Adjust path of pthread.h header.
4394
4395 2014-06-13  Roland McGrath  <roland@hack.frob.com>
4396
4397         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
4398         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
4399         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
4400         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
4401
4402         * nptl/sysdeps/s390/Makefile: Moved ...
4403         * sysdeps/s390/nptl/Makefile: ... here.
4404         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
4405         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
4406         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
4407         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
4408         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
4409         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
4410         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
4411         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
4412         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
4413         * sysdeps/s390/nptl/pthreaddef.h: ... here.
4414         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
4415         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
4416         * nptl/sysdeps/s390/tls.h: Moved ...
4417         * sysdeps/s390/nptl/tls.h: ... here.
4418
4419         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
4420         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
4421
4422 2014-06-13  David S. Miller  <davem@davemloft.net>
4423
4424         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
4425         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
4426         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
4427         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
4428         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
4429         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
4430         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
4431         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
4432         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
4433         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
4434         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
4435         Remove RESET_PID cpp guards.
4436         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
4437         Remove RESET_PID cpp guards.
4438         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
4439
4440 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
4441
4442         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
4443         __sp to uintptr_t.
4444
4445 2014-06-13  Andi Kleen  <ak@linux.intel.com>
4446
4447         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
4448         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
4449         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
4450         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
4451         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
4452         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
4453         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
4454         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
4455         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
4456         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
4457         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
4458         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
4459         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
4460         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
4461         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
4462         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
4463         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
4464         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
4465         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
4466         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
4467
4468         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4469         (pthread_rwlock_rdlock): Add elision.
4470         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
4471         (pthread_rwlock_wrlock): Add elision.
4472         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
4473         (pthread_rwlock_trywrlock): Add elision.
4474         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
4475         (pthread_rwlock_tryrdlock): Add elision.
4476         * nptl/pthread_rwlock_unlock.c: Include elide.h.
4477         (pthread_rwlock_tryrdlock): Add elision unlock.
4478         * nptl/sysdeps/pthread/pthread.h:
4479         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
4480         (PTHREAD_RWLOCK_INITIALIZER,
4481         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
4482         Handle new elision field.
4483         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
4484         * sysdeps/arm/nptl/bits/pthreadtypes.h
4485         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4486         * sysdeps/sh/nptl/bits/pthreadtypes.h
4487         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4488         * sysdeps/tile/nptl/bits/pthreadtypes.h
4489         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4490         * sysdeps/a/nptl/bits/pthreadtypes.h
4491         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4492         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4493         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4494         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4495         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4496         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
4497         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4498         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4499         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4500         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4501         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4502         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4503         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4504         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4505         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4506         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
4507         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4508         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
4509         (elision_init): Set try_xbegin to zero when no RTM.
4510         * sysdeps/x86/nptl/bits/pthreadtypes.h
4511         (pthread_rwlock_t): Change __pad1 to __rwelision.
4512         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4513
4514 2014-06-13  Andi Kleen  <ak@linux.intel.com>
4515
4516         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
4517         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
4518         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
4519         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
4520
4521 2014-06-13  Meador Inge  <meadori@codesourcery.com>
4522
4523         [BZ #16996]
4524         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
4525         that the cached result has been set before returning it.
4526
4527 2014-06-12  Roland McGrath  <roland@hack.frob.com>
4528
4529         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
4530         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
4531         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
4532         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
4533         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
4534         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
4535
4536         * nptl/sysdeps/sparc/Makefile: Moved ...
4537         * sysdeps/sparc/nptl/Makefile: ... here.
4538         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
4539         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
4540         * nptl/sysdeps/sparc/tls.h: Moved ...
4541         * sysdeps/sparc/nptl/tls.h: ... here.
4542         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
4543         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
4544         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
4545         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
4546         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
4547         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
4548         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
4549         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
4550         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
4551         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
4552         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
4553         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
4554         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
4555         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
4556         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
4557         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
4558         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
4559         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
4560         Update #include.
4561         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
4562         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
4563         Update #include.
4564         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
4565         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
4566         Update #include.
4567         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
4568         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
4569         Update #include.
4570
4571         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4572
4573         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
4574         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
4575
4576         * sysdeps/pthread/posix-timer.h: Include <list.h>.
4577         (struct list_links): Type removed.
4578         (struct thread_node, struct timer_node): Replace struct list_links
4579         with struct list_head.
4580         (list_unlink_ip): Likewise.
4581         * sysdeps/pthread/timer_routines.c
4582         (timer_free_list, thread_free_list, thread_active_list): Likewise.
4583         (list_append, list_insbefore): Likewise.
4584         (list_init): Function removed.
4585         (thread_init, init_module): Use INIT_LIST_HEAD instead.
4586         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
4587         * sysdeps/pthread/Makefile: ... here, new file.
4588
4589         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
4590         * sysdeps/nptl/Implies: ... here.
4591         * sysdeps/unix/sysv/linux/Implies: Add nptl.
4592         * nptl/sysdeps/pthread/list.h: Moved ...
4593         * include/list.h: ... here.
4594         * nptl/sysdeps/pthread/createthread.c: Moved ...
4595         * nptl/createthread.c: ... here.
4596         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
4597         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
4598         * nptl/pt-longjmp.c: ... here.
4599         * nptl/sysdeps/pthread/Makefile: Moved ...
4600         * sysdeps/nptl/Makefile: ... here.
4601         * nptl/sysdeps/pthread/Subdirs: Moved ...
4602         * sysdeps/nptl/Subdirs: ... here.
4603         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
4604         * sysdeps/nptl/aio_misc.h: ... here.
4605         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
4606         * sysdeps/nptl/bits/libc-lock.h: ... here.
4607         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
4608         * sysdeps/nptl/bits/libc-lockP.h: ... here.
4609         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
4610         * sysdeps/nptl/bits/stdio-lock.h: ... here.
4611         * nptl/sysdeps/pthread/configure: Moved ...
4612         * sysdeps/nptl/configure: ... here.
4613         * nptl/sysdeps/pthread/configure.ac: Moved ...
4614         * sysdeps/nptl/configure.ac: ... here.
4615         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
4616         * sysdeps/nptl/gai_misc.h: ... here.
4617         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
4618         * sysdeps/nptl/librt-cancellation.c: ... here.
4619         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
4620         * sysdeps/nptl/malloc-machine.h: ... here.
4621         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
4622         * sysdeps/nptl/pthread-functions.h: ... here.
4623         * nptl/sysdeps/pthread/pthread.h: Moved ...
4624         * sysdeps/nptl/pthread.h: ... here.
4625         * nptl/sysdeps/pthread/setxid.h: Moved ...
4626         * sysdeps/nptl/setxid.h: ... here.
4627         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
4628         * sysdeps/nptl/sigfillset.c: ... here.
4629         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
4630         * sysdeps/nptl/tcb-offsets.h: ... here.
4631         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
4632         * sysdeps/nptl/tst-mqueue8x.c: ... here.
4633         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
4634         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
4635         * nptl/sysdeps/pthread/allocalim.h: Moved ...
4636         * sysdeps/pthread/allocalim.h: ... here.
4637         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
4638         * sysdeps/pthread/bits/sigthread.h: ... here.
4639         * nptl/sysdeps/pthread/flockfile.c: Moved ...
4640         * sysdeps/pthread/flockfile.c: ... here.
4641         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
4642         * sysdeps/pthread/ftrylockfile.c: ... here.
4643         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
4644         * sysdeps/pthread/funlockfile.c: ... here.
4645         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
4646         * sysdeps/pthread/posix-timer.h: ... here.
4647         * nptl/sysdeps/pthread/timer_create.c: Moved ...
4648         * sysdeps/pthread/timer_create.c: ... here.
4649         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
4650         * sysdeps/pthread/timer_delete.c: ... here.
4651         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
4652         * sysdeps/pthread/timer_getoverr.c: ... here.
4653         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
4654         * sysdeps/pthread/timer_gettime.c: ... here.
4655         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
4656         * sysdeps/pthread/timer_routines.c: ... here.
4657         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
4658         * sysdeps/pthread/timer_settime.c: ... here.
4659         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
4660         * sysdeps/pthread/tst-timer.c: ... here.
4661         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
4662         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
4663
4664         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
4665         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
4666
4667         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
4668         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
4669         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
4670         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
4671         Update #include target.
4672         * nptl/sysdeps/i386/i686/Makefile: Moved ...
4673         * sysdeps/i386/i686/nptl/Makefile: ... here.
4674         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
4675         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
4676         Update #include target.
4677         * nptl/sysdeps/i386/i686/tls.h: Moved ...
4678         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
4679         * nptl/sysdeps/i386/Makefile: Moved ...
4680         * sysdeps/i386/nptl/Makefile: ... here.
4681         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
4682         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
4683         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
4684         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
4685         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
4686         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
4687         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
4688         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
4689         * sysdeps/i386/nptl/pthreaddef.h: ... here.
4690         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
4691         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
4692         * nptl/sysdeps/i386/tls.h: Moved ...
4693         * sysdeps/i386/nptl/tls.h: ... here.
4694
4695         * sysdeps/sh/Makefile [$(subdir) = csu]
4696         (gen-as-const-headers): Add tcb-offsets.sym.
4697         * nptl/sysdeps/sh/Makefile: File removed.
4698         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
4699         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
4700         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
4701         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
4702         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
4703         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
4704         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
4705         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
4706         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
4707         * sysdeps/sh/nptl/pthreaddef.h: ... here.
4708         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
4709         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
4710         * nptl/sysdeps/sh/tls.h: Moved ...
4711         * sysdeps/sh/nptl/tls.h: ... here.
4712         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
4713         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
4714         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
4715         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
4716         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
4717         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
4718         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
4719         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
4720         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
4721         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
4722         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
4723         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
4724         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
4725         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
4726         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
4727         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
4728         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
4729         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
4730         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
4731         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
4732         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
4733         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
4734         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
4735         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
4736         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
4737         Moved ...
4738         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
4739         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
4740         Moved ...
4741         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
4742         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
4743         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
4744         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
4745         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
4746         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
4747         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
4748         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
4749         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
4750         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
4751         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
4752         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
4753         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
4754         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
4755         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
4756         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
4757         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
4758         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
4759         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
4760
4761 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4762
4763         * posix/spawn_faction_addopen.c: Include string.h.
4764
4765 2014-06-11  Roland McGrath  <roland@hack.frob.com>
4766
4767         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
4768         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
4769         * nptl/sysdeps/x86_64/Makefile: Moved ...
4770         * sysdeps/x86_64/nptl/Makefile: ... here.
4771         * nptl/sysdeps/x86_64/configure: Moved ...
4772         * sysdeps/x86_64/nptl/configure: ... here.
4773         * nptl/sysdeps/x86_64/configure.ac: Moved ...
4774         * sysdeps/x86_64/nptl/configure.ac: ... here.
4775         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
4776         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
4777         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
4778         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
4779         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
4780         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
4781         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
4782         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
4783         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
4784         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
4785         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
4786         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
4787         * nptl/sysdeps/x86_64/tls.h: Moved ...
4788         * sysdeps/x86_64/nptl/tls.h: ... here.
4789         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
4790         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
4791         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
4792         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
4793
4794         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
4795
4796 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4797
4798         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4799
4800 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
4801
4802         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
4803         type.
4804         [POSIX] (off_t): Likewise.
4805         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
4806         [POSIX] (S_ISBLK): Require macro.
4807         [POSIX] (S_ISCHR): Likewise.
4808         [POSIX] (S_ISDIR): Likewise.
4809         [POSIX] (S_ISFIFO): Likewise.
4810         [POSIX] (S_ISREG): Likewise.
4811         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
4812         optional-macro.
4813         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
4814         type.
4815         [POSIX] (time_t): Likewise.
4816         [POSIX] (timer_t): Likewise.
4817
4818 2014-06-11  Florian Weimer  <fweimer@redhat.com>
4819
4820         [BZ #17048]
4821         * posix/spawn_int.h (struct __spawn_action): Make the path string
4822         non-const to support deallocation.
4823         * posix/spawn_faction_addopen.c
4824         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
4825         * posix/spawn_faction_destroy.c
4826         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
4827         path in all spawn_do_open actions.
4828         * posix/tst-spawn.c (do_test): Exercise the copy operation in
4829         posix_spawn_file_actions_addopen.
4830
4831 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
4832
4833         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4834         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4835         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4836         conditional code always true.
4837         (__libc_vfork): New alias.
4838
4839 2014-06-11  Roland McGrath  <roland@hack.frob.com>
4840
4841         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4842         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4843
4844         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4845
4846         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4847         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4848
4849         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4850         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4851
4852         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4853         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4854
4855 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4856
4857         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4858         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4859         multiarch strcmp for PPC64.
4860         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4861         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4862         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4863         multiarch optimizations.
4864         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4865         (__libc_ifunc_impl_list): Likewise.
4866
4867 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4868
4869         * benchtests/scripts/validate_benchout.py: New script.
4870         * benchtests/Makefile (bench-func): Call it.
4871         * benchtests/scripts/benchout.schema.json: New file.
4872
4873 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
4874
4875         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4876         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4877         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4878         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4879         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4880         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4881         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4882         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4883         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4884         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4885         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4886         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4887         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4888         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4889         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4890         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4891         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
4892         Moved ...
4893         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
4894         ... here.
4895         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
4896         Moved ...
4897         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4898         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
4899         Moved ...
4900         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
4901         ... here.
4902         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
4903         Moved ...
4904         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
4905         ... here.
4906         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
4907         Moved ...
4908         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4909         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
4910         Moved ...
4911         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
4912         ... here.
4913         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
4914         Moved ...
4915         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
4916         ... here.
4917         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
4918         Moved ...
4919         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4920         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
4921         Moved ...
4922         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
4923         ... here.
4924         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
4925         Moved ...
4926         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
4927         ... here.
4928         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
4929         Moved ...
4930         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
4931         ... here.
4932         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
4933         Moved ...
4934         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4935         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
4936         Moved ...
4937         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
4938         ... here.
4939         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
4940         Moved ...
4941         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
4942         ... here.
4943         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
4944         Moved ...
4945         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
4946         ... here.
4947         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
4948         Moved ...
4949         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4950         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
4951         Moved ...
4952         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
4953         ... here.
4954         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
4955         Moved ...
4956         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
4957         ... here.
4958         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
4959         Moved ...
4960         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4961         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
4962         Moved ...
4963         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
4964         ... here.
4965         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
4966         Moved ...
4967         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4968         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
4969         Moved ...
4970         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4971         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
4972         Moved ...
4973         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
4974         ... here.
4975         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
4976         Moved ...
4977         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
4978         ... here.
4979         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
4980         Moved ...
4981         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
4982         ... here.
4983         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
4984         Moved ...
4985         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4986         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
4987         Moved ...
4988         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
4989         ... here.
4990         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
4991         Moved ...
4992         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
4993         ... here.
4994         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4995         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4996         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4997         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4998         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
4999         Moved ...
5000         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
5001         ... here.
5002         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
5003         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
5004         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
5005         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
5006         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
5007         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
5008         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
5009         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
5010         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
5011         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
5012         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
5013         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
5014         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
5015         Moved ...
5016         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
5017         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
5018         Moved ...
5019         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
5020         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
5021         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
5022         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
5023         Moved ...
5024         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
5025         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
5026         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
5027         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
5028         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
5029         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
5030         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
5031
5032 2014-06-10  Wilco  <wdijkstr@arm.com>
5033
5034         * math/test-fenv-return.c: New file.
5035         * math/Makefile: Add new test test-fenv-return.
5036
5037 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
5038
5039         [BZ #17042]
5040         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
5041         when x - 1 is zero.
5042         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
5043         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
5044         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
5045         0.0L for an argument of 1.0L.
5046         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
5047         Likewise.
5048         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
5049         value when x - 1 is zero.
5050         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
5051         * sysdeps/i386/fpu/libm-test-ulps: Update.
5052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5053
5054 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
5055
5056         [BZ #15119]
5057         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
5058
5059 2014-06-09  Roland McGrath  <roland@hack.frob.com>
5060
5061         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
5062         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
5063
5064 2014-06-09  Roland McGrath  <roland@hack.frob.com>
5065
5066         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5067         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
5068
5069         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5070         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
5071
5072         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5073         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
5074
5075         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5076         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
5077
5078         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
5079         if not already defined.
5080         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
5081         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
5082         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
5083         (TLS_INIT_TP): Use it.
5084         (TLS_DEFINE_INIT_TP): New macro.
5085         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
5086
5087 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
5088
5089         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
5090         constant.
5091         [POSIX] (IXANY): Likewise.
5092         [POSIX] (OLCUC): Likewise.
5093         [POSIX || POSIX2008] (CBAUD): Do not allow.
5094         [POSIX || POSIX2008] (DEFECHO): Likewise.
5095         [POSIX || POSIX2008] (ECHOCTL): Likewise.
5096         [POSIX || POSIX2008] (ECHOKE): Likewise.
5097         [POSIX || POSIX2008] (ECHOPRT): Likewise.
5098         [POSIX || POSIX2008] (EXTA): Likewise.
5099         [POSIX || POSIX2008] (EXTB): Likewise.
5100         [POSIX || POSIX2008] (FLUSHO): Likewise.
5101         [POSIX || POSIX2008] (LOBLK): Likewise.
5102         [POSIX || POSIX2008] (PENDIN): Likewise.
5103         [POSIX || POSIX2008] (SWTCH): Likewise.
5104         [POSIX || POSIX2008] (VDISCARD): Likewise.
5105         [POSIX || POSIX2008] (VDSUSP): Likewise.
5106         [POSIX || POSIX2008] (VLNEXT): Likewise.
5107         [POSIX || POSIX2008] (VREPRINT): Likewise.
5108         [POSIX || POSIX2008] (VSTATUS): Likewise.
5109         [POSIX || POSIX2008] (VWERASE): Likewise.
5110         (B*): Change to B[0123456789]*.
5111         * conform/data/time.h-data [POSIX || UNIX98]
5112         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
5113         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5114         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
5115         [POSIX] (tm_*): Do not allow.
5116
5117 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
5118
5119         * Makefile (install): Don't set LANGUAGE.
5120         * Makefile.in (install): Likewise.
5121         * assert/Makefile (test-assert-ENV): Remove variable.
5122         (test-assert-perr-ENV): Likewise.
5123         * elf/Makefile (neededtest4-ENV): Likewise.
5124         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5125         [$(cross-compiling) = no]: Don't set LANGUAGE.
5126         * io/ftwtest-sh (LANG): Remove variable.
5127         * libio/Makefile (tst-widetext-ENV): Likewise.
5128         * manual/install.texi (Running make install): Don't refer to
5129         environment settings for make install.
5130         * INSTALL: Regenerated.
5131         * nptl/tst-tls6.sh: Don't set LANG.
5132         * posix/globtest.sh (LANG): Remove variable.
5133         * string/Makefile (tester-ENV): Likewise.
5134         (inl-tester-ENV): Likewise.
5135         (noinl-tester-ENV): Likewise.
5136         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5137         [$(cross-compiling) = no]: Don't set LANGUAGE.
5138         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
5139         without explicit environment settings.
5140
5141 2014-06-06  Roland McGrath  <roland@hack.frob.com>
5142
5143         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
5144         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
5145         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
5146         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
5147
5148 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
5149
5150         * crypt/crypt-private.h [DOS]: Add some includes taken from the
5151         other files in the crypt directory.
5152         * crypt/crypt.c: Remove duplicate includes.
5153         * crypt/crypt-entry.c: Likewise.
5154         * crypt/crypt_util.c: Likewise.
5155
5156 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
5157
5158         * Makeconfig (run-program-env): New variable.
5159         (run-program-prefix-before-env): Likewise.
5160         (run-program-prefix-after-env): Likewise.
5161         (run-program-prefix): Define in terms of new variables.
5162         (built-program-cmd-before-env): New variable.
5163         (built-program-cmd-after-env): Likewise.
5164         (built-program-cmd): Define in terms of new variables.
5165         (test-program-prefix-before-env): New variable.
5166         (test-program-prefix-after-env): Likewise.
5167         (test-program-prefix): Define in terms of new variables.
5168         (test-program-cmd-before-env): New variable.
5169         (test-program-cmd-after-env): Likewise.
5170         (test-program-cmd): Define in terms of new variables.
5171         * Rules (make-test-out): Use $(run-program-env).
5172         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
5173         (help): Do not mention environment variables.  Mention
5174         --timeoutfactor option.
5175         (timeoutfactor): New variable.
5176         (blacklist_exports): Remove function.
5177         (exports): Remove variable.
5178         (command): Do not include ${exports}.
5179         * manual/install.texi (Configuring and compiling): Do not mention
5180         test wrappers preserving environment variables.  Mention that last
5181         assignment to a variable must take precedence.
5182         * INSTALL: Regenerated.
5183         * benchtests/Makefile (run-bench): Use $(run-program-env).
5184         * catgets/Makefile ($(objpfx)test1.cat): Use
5185         $(built-program-cmd-before-env), $(run-program-env) and
5186         $(built-program-cmd-after-env).
5187         ($(objpfx)test2.cat): Do not specify environment variables
5188         explicitly.
5189         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
5190         $(run-program-env) and $(built-program-cmd-after-env).
5191         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
5192         $(run-program-env) and $(test-program-cmd-after-env).
5193         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
5194         explicitly.
5195         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
5196         run_program_env and test_program_cmd_after_env arguments.
5197         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
5198         * elf/tst-pathopt.sh: Use run_program_env argument.
5199         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
5200         $(test-wrapper-env) and $(run-program-env).
5201         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
5202         run_program_env arguments.
5203         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
5204         * intl/Makefile ($(objpfx)tst-gettext.out): Use
5205         $(test-program-prefix-before-env), $(run-program-env) and
5206         $(test-program-prefix-after-env).
5207         ($(objpfx)tst-gettext2.out): Likewise.
5208         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
5209         run_program_env and test_program_prefix_after_env arguments.
5210         * intl/tst-gettext2.sh: Likewise.
5211         * intl/tst-gettext4.sh: Do not set environment variables
5212         explicitly.
5213         * intl/tst-gettext6.sh: Likewise.
5214         * intl/tst-translit.sh: Likewise.
5215         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
5216         $(test-program-prefix-before-env), $(run-program-env) and
5217         $(test-program-prefix-after-env).
5218         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
5219         run_program_env and test_program_prefix_after_env arguments.
5220         * math/Makefile (run-regen-ulps): Use $(run-program-env).
5221         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
5222         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
5223         explicitly with each use of ${test_wrapper_env}.
5224         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
5225         $(test-program-prefix-before-env), $(run-program-env) and
5226         $(test-program-prefix-after-env).
5227         * posix/tst-getconf.sh: Do not set environment variables
5228         explicitly.
5229         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
5230         run_program_env and test_program_prefix_after_env arguments.
5231         * stdio-common/tst-printf.sh: Do not set environment variables
5232         explicitly.
5233         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
5234         $(test-program-prefix-before-env), $(run-program-env) and
5235         $(test-program-prefix-after-env).
5236         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
5237         run_program_env and test_program_prefix_after_env arguments.
5238         Split $test calls into $test_pre and $test.
5239         * timezone/Makefile (build-testdata): Use
5240         $(built-program-cmd-before-env), $(run-program-env) and
5241         $(built-program-cmd-after-env).
5242
5243 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5244
5245         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
5246         strlen for non SHARED builds.
5247
5248 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
5249
5250         * nptl/allocatestack.c (check_list): Inlined function...
5251         (__reclaim_stacks): ... here.
5252
5253 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
5254
5255         [BZ #15698]
5256         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5257         memory overrun.
5258
5259 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
5260
5261         * Rules (make-test-out): Include
5262         LOCPATH=$(common-objpfx)localedata in default environment.
5263         * debug/Makefile (tst-chk1-ENV): Remove variable.
5264         (tst-chk2-ENV): Likewise.
5265         (tst-chk3-ENV): Likewise.
5266         (tst-chk4-ENV): Likewise.
5267         (tst-chk5-ENV): Likewise.
5268         (tst-chk6-ENV): Likewise.
5269         (tst-lfschk1-ENV): Likewise.
5270         (tst-lfschk2-ENV): Likewise.
5271         (tst-lfschk3-ENV): Likewise.
5272         (tst-lfschk4-ENV): Likewise.
5273         (tst-lfschk5-ENV): Likewise.
5274         (tst-lfschk6-ENV): Likewise.
5275         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
5276         (tst-iconv7-ENV): Likewise.
5277         * intl/Makefile (LOCPATH-ENV): Likewise.
5278         (tst-codeset-ENV): Likewise.
5279         (tst-gettext3-ENV): Likewise.
5280         (tst-gettext5-ENV): Likewise.
5281         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
5282         (tst-fopenloc-ENV): Likewise.
5283         (tst-fgetws-ENV): Remove variable.
5284         (tst-ungetwc1-ENV): Likewise.
5285         (tst-ungetwc2-ENV): Likewise.
5286         (bug-ungetwc2-ENV): Likewise.
5287         (tst-swscanf-ENV): Likewise.
5288         (bug-ftell-ENV): Likewise.
5289         (tst-fgetwc-ENV): Likewise.
5290         (tst-fseek-ENV): Likewise.
5291         (tst-ftell-partial-wide-ENV): Likewise.
5292         (tst-ftell-active-handler-ENV): Likewise.
5293         (tst-ftell-append-ENV): Likewise.
5294         * posix/Makefile (tst-fnmatch-ENV): Likewise.
5295         (tst-regexloc-ENV): Likewise.
5296         (bug-regex1-ENV): Likewise.
5297         (tst-regex-ENV): Likewise.
5298         (tst-regex2-ENV): Likewise.
5299         (bug-regex5-ENV): Likewise.
5300         (bug-regex6-ENV): Likewise.
5301         (bug-regex17-ENV): Likewise.
5302         (bug-regex18-ENV): Likewise.
5303         (bug-regex19-ENV): Likewise.
5304         (bug-regex20-ENV): Likewise.
5305         (bug-regex22-ENV): Likewise.
5306         (bug-regex23-ENV): Likewise.
5307         (bug-regex25-ENV): Likewise.
5308         (bug-regex26-ENV): Likewise.
5309         (bug-regex30-ENV): Likewise.
5310         (bug-regex32-ENV): Likewise.
5311         (bug-regex33-ENV): Likewise.
5312         (bug-regex34-ENV): Likewise.
5313         (bug-regex35-ENV): Likewise.
5314         (tst-rxspencer-ENV): Likewise.
5315         (tst-rxspencer-no-utf8-ENV): Likewise.
5316         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
5317         (tst-sscanf-ENV): Likewise.
5318         (tst-swprintf-ENV): Likewise.
5319         (tst-swscanf-ENV): Likewise.
5320         (test-vfprintf-ENV): Likewise.
5321         (scanf13-ENV): Likewise.
5322         (bug14-ENV): Likewise.
5323         (tst-grouping-ENV): Likewise.
5324         * stdlib/Makefile (tst-strtod-ENV): Likewise.
5325         (tst-strtod3-ENV): Likewise.
5326         (tst-strtod4-ENV): Likewise.
5327         (tst-strtod5-ENV): Likewise.
5328         (testmb2-ENV): Likewise./
5329         * string/Makefile (tst-strxfrm-ENV): Likewise.
5330         (tst-strxfrm2-ENV): Likewise.
5331         (bug-strcoll1-ENV): Likewise.
5332         (test-strcasecmp-ENV): Likewise.
5333         (test-strncasecmp-ENV): Likewise.
5334         * time/Makefile (tst-strptime-ENV): Likewise.
5335         (tst-ftime_l-ENV): Likewise.
5336         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
5337         (tst-mbrtowc-ENV): Likewise.
5338         (tst-wcrtomb-ENV): Likewise.
5339         (tst-mbrtowc2-ENV): Likewise.
5340         (tst-c16c32-1-ENV): Likewise.
5341         (tst-mbsnrtowcs-ENV): Likewise.
5342
5343 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
5344
5345         * manual/resource.texi (How to get information about the memory
5346         subsystem?): Fix typo.
5347         Reported by Peon de la Parra Ivan <peon@keba.com>
5348
5349 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
5350
5351         [BZ #16882]
5352         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
5353         (pthread_spin_lock): Branch out of spin loop to proper location.
5354         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
5355         (pthread_spin_lock): Likewise.
5356
5357         * nptl/tst-spin4.c: New test.
5358         * nptl/Makefile (tests): Add tst-spin4.
5359
5360 2014-06-03  Andreas Schwab  <schwab@suse.de>
5361
5362         [BZ #15946]
5363         * resolv/res_send.c (send_dg): Reload file descriptor after
5364         calling reopen.
5365
5366 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
5367
5368         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5369
5370 2014-06-03  Richard Henderson  <rth@redhat.com>
5371
5372         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
5373         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
5374         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
5375         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
5376         in the SAVE_PID block.
5377         (__libc_vfork): New alias.
5378         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
5379
5380         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
5381         child in registers, not on the stack.  Remove RESET_PID conditionals.
5382         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
5383
5384 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5385
5386         * sysdeps/aarch64/libm-test-ulps: Regenerate.
5387
5388 2014-06-03  Wilco  <wdijkstr@arm.com>
5389
5390         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
5391         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
5392         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5393         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
5394         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
5395         Likewise.
5396
5397 2014-06-03  Wilco  <wdijkstr@arm.com>
5398
5399         * sysdeps/aarch64/fpu/math_private.h
5400         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
5401         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
5402         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
5403         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5404         Fix declarations.
5405
5406 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5407
5408         * crypt/crypt-private.h: Include ufc-crypt.h.
5409         (__b64_from_24bit): Declare extern.
5410         * crypt/crypt_util.c(__b64_from_24bit): New function.
5411         (b64t): New static const variable.
5412         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
5413         (b64t): Remove variable.
5414         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
5415         * crypt/sha256-crypt.c: Include crypt-private.h.
5416         (b64t): Remove variable.
5417         (__sha256_crypt_r): Remove b64_from_24bit and replace
5418         with __b64_from_24bit.
5419         * crypt/sha512-crypt.c: Likewise.
5420
5421 2014-06-02  Roland McGrath  <roland@hack.frob.com>
5422
5423         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
5424         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
5425         Label the code __libc_vfork rather than __vfork.
5426         [!NOT_IN_libc] (vfork): Define as weak alias.
5427         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
5428         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
5429         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
5430
5431 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5432
5433         * malloc/malloc.c (malloc_info): Fix format specifier for
5434         n_mmaps.
5435
5436 2014-06-02  Wilco  <wdijkstr@arm.com>
5437
5438         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
5439         FPCR write.
5440
5441 2014-06-02  Wilco  <wdijkstr@arm.com>
5442
5443         [BZ #17009]
5444         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
5445         Rewrite to reduce FPCR/FPSR accesses.
5446
5447 2014-06-01  David S. Miller  <davem@davemloft.net>
5448
5449         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5450
5451 2014-05-31  David S. Miller  <davem@davemloft.net>
5452
5453         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
5454         to occur in round to nearest mode when |x| >= 2.0
5455
5456 2014-05-30  Richard Henderson  <rth@twiddle.net>
5457
5458         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
5459         (PSEUDO_RET_NOERRNO): Remove.
5460         (ret): Don't redefine.
5461         (ret_NOERRNO): Define in terms of ret.
5462         (ret_ERRVAL): Likewise.
5463
5464         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
5465         use of PSEUDO_RET; perform the error check directly.
5466
5467 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
5468
5469         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
5470         with __int128_t.
5471
5472 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5473
5474         * malloc/malloc (malloc_info): Fix formatting.
5475
5476 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5477             Roland McGrath  <roland@hack.frob.com>
5478
5479         * malloc/malloc (malloc_info): Also print mmapped statistics.
5480
5481 2014-05-30  Roland McGrath  <roland@hack.frob.com>
5482
5483         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
5484         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
5485
5486 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
5487
5488         * malloc/malloc.c (malloc_info): Inline mi_arena.
5489
5490 2014-05-29  Richard Henderson  <rth@twiddle.net>
5491
5492         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
5493         Remove comma before expanding ASM_ARGS_##nr.
5494         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
5495         Make _x0 a strict output; make _x8 a strict input; adjust expansion
5496         of ASM_ARGS_##nr.
5497         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
5498         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
5499         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
5500         (ASM_ARGS_1): Add leading comma.
5501
5502         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
5503         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
5504         to __errno_location.
5505         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
5506         Remove the expected plt for __errno_location.
5507
5508         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5509         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
5510         call to __read_tp.
5511
5512         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5513         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
5514         it and break it down.
5515         (DOCARGS_0, DOCARGS_1): Do nothing.
5516         (DOCARGS_2): Update to store into the new stack frame.
5517         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
5518         (UNDOCARGS_1): Update to restore from the new stack frame.
5519         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
5520         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
5521
5522         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5523         (SINGLE_THREAD_P): New parameter for result regno.
5524         (PSEUDO): Update to match; use cbz instead of beq.
5525
5526         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5527         Use ENTRY to define the _nocancel entry point.  Share the syscall
5528         and syscall error check paths with the cancel path.
5529         (PSEUDO_END): New.
5530
5531         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
5532         whitespace; tabs before and after asm mnemonics.
5533
5534 2014-05-29  Eric Wong  <normalperson@yhbt.net>
5535
5536         [BZ #15132]
5537         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5538         Call fstat64 or stat64 internally, depending on arguments passed.
5539         Replace stat buffer argument with file descriptor argument.
5540         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
5541         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5542         Pass fd to __internal_statvfs instead of calling fstat64.
5543         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
5544         Pass fd to __internal_statvfs64 instead of calling fstat64.
5545         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
5546         Pass -1 to __internal_statvfs instead of calling stat64.
5547         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
5548         Pass -1 to __internal_statvfs64 instead of calling stat64.
5549
5550 2014-05-28  Roland McGrath  <roland@hack.frob.com>
5551
5552         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
5553         that was previously under [RESET_PID].
5554         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
5555
5556         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
5557         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
5558
5559 2014-05-27  Roland McGrath  <roland@hack.frob.com>
5560
5561         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
5562
5563         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
5564         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
5565
5566 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
5567
5568         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
5569
5570 2014-05-27  Andreas Schwab  <schwab@suse.de>
5571
5572         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
5573         TLS_INIT_TP macro.
5574         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5575         * elf/rtld.c (init_tls, dl_main): Likewise.
5576         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
5577         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
5578         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
5579         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
5580         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
5581         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
5582         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
5583         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
5584         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
5585         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
5586         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
5587         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
5588         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
5589         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
5590         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
5591         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
5592         * sysdeps/generic/tls.h: Update description.
5593
5594 2014-05-27  Will Newton  <will.newton@linaro.org>
5595
5596         [BZ #16990]
5597         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
5598         and restore r2 rather than just restoring.
5599
5600 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5601
5602         [BZ #16724]
5603         * libio/tst-ftell-append.c: New test case.
5604         * libio/Makefile (tests): Add test case.
5605         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
5606         append mode.
5607         * libio/wfileops.c (do_ftell_wide): Likewise.
5608
5609 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5610
5611         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5612
5613         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
5614         ...
5615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
5616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5617         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
5618         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
5619         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
5620         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
5621         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
5622         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
5623         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5624         Moved ...
5625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
5626         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5627         Moved ...
5628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
5629         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
5630         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
5631         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
5632         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
5633         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
5634         ...
5635         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
5636         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
5637         Moved ...
5638         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
5639         here.
5640         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
5641         ...
5642         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
5643         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
5644         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
5645
5646         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
5647         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
5648         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
5649         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
5650
5651         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
5652         merge into ...
5653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
5654         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
5655         ...
5656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
5657         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
5658         ...
5659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
5660         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5661         Moved ...
5662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
5663         here.
5664         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5665         Moved ...
5666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
5667         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5668         Moved ...
5669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
5670
5671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
5672         conditional [RESET_PID].
5673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
5674         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
5675         removed.
5676         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
5677         removed.
5678
5679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
5680         <tcb-offsets.h>.
5681         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5682         (__libc_vfork): New strong alias.
5683         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
5684         removed.
5685         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
5686         Removed.
5687
5688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
5689         <tcb-offsets.h>.
5690         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
5691         (__libc_vfork): New strong alias.
5692         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
5693         removed.
5694         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
5695         removed.
5696
5697 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
5698
5699         * malloc/malloc.c (mi_arena): New function.
5700         (malloc_info): Remove nested function mi_arena. Call non-nosted
5701         function mi_arena.
5702
5703 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5704
5705         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
5706         by insrwi.
5707         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
5708         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
5709         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
5710         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
5711         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
5712         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
5713         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
5714
5715 2014-05-26  Andreas Schwab  <schwab@suse.de>
5716
5717         [BZ #16984]
5718         * locale/programs/repertoire.c (repertoire_read): Add slash
5719         between I18NPATH element and file name.
5720         * locale/programs/locfile.c (locfile_read): Likewise.
5721
5722 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5723
5724         * nptl/pthread_mutexattr_settype.c
5725         (__pthread_mutexattr_settype):
5726         Disable lock elision for PTHREAD_MUTEX_NORMAL.
5727
5728 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5729
5730         * nptl/tst-mutex5 (do_test):
5731         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
5732
5733 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5734
5735         * benchtests/README: Document 'init' directive.
5736         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
5737         BENCH_INIT.
5738         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
5739         (parse_file): Recognize 'init' directive.
5740
5741 2014-05-26  Kyle McMartin  <kyle@redhat.com>
5742
5743         [BZ #16796]
5744         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
5745         alignment of struct pthread.
5746
5747 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5748
5749         [BZ #16878]
5750         * nscd/netgroupcache.c (addgetnetgrentX): Look for
5751         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5752         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
5753         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5754
5755 2014-05-25  Richard Henderson  <rth@twiddle.net>
5756
5757         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5758         (SINGLE_THREAD_P_PIC): Remove.
5759         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
5760         (SINGLE_THREAD_P_PIC): Remove.
5761
5762         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
5763         branch to syscall error ...
5764         (PSEUDO): ... here.
5765         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
5766         from __local_syscall_error to .Lsyscall_error.
5767         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
5768         (SYSCALL_ERROR): Update label name.
5769
5770         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5771         Do not use DOARGS/UNDOARGS.
5772         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
5773         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
5774         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
5775         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
5776         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
5777
5778         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
5779         block comment.
5780
5781         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
5782         define if !NOT_IN_libc.
5783         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
5784         define with non-default symbol versions.
5785
5786 2014-05-23  Richard Henderson  <rth@twiddle.net>
5787
5788         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
5789         (vfork, __vfork): Define via compat_symbol.
5790
5791         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
5792         [!HAVE_IFUNC] (vfork_compat): Remove.
5793         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
5794
5795 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
5796
5797         [BZ #16978]
5798         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
5799         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
5800         variable.
5801
5802 2014-05-23  Richard Henderson  <rth@twiddle.net>
5803
5804         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
5805         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
5806         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
5807         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
5808
5809         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
5810         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
5811         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
5812         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
5813         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
5814         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
5815         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
5816         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
5817         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
5818         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
5819         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
5820         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
5821         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
5822         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
5823         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
5824         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
5825         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
5826         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
5827         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
5828         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
5829         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5830         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5831         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5832         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5833         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5834         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5835         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5836         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5837         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5838         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5839         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5840         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5841         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5842         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5843         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5844         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5845         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5846         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5847         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5848         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5849         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5850         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5851         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5852         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5853         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5854         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5855         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5856         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5857         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5858         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5859         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5860         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5861         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5862         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5863         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5864         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5865
5866         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5867         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5868         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
5869         before exiting on error.
5870         (__libc_vfork): New strong alias.
5871         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5872         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5873
5874         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5875         that was previously under [RESET_PID].
5876         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5877
5878         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5879
5880 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
5881
5882         [BZ #16977]
5883         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5884         value when x - 1 is zero.
5885         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5886         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5887         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5888         0.0L for an argument of 1.0L.
5889         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5890         Likewise.
5891         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5892         value when x - 1 is zero.
5893         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5894         * sysdeps/i386/fpu/libm-test-ulps: Update.
5895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5896
5897 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
5898
5899         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5900         alphasort and versionsort.
5901
5902 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5903
5904         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5905         macro.
5906         [copysignf]: Likewise.
5907
5908 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5909
5910         * crypt/md5-crypt.c: Fix formatting.
5911
5912 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5913
5914         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5915         (b64_from_24bit): New function.
5916
5917 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5918
5919         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5920         libc_hidden_builtin_def to ifunc.
5921         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5922         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5923
5924 2014-05-21  Roland McGrath  <roland@hack.frob.com>
5925
5926         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5927         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5928
5929 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
5930
5931         * nscd/Depend (linuxthreads): Remove.
5932         (nptl): Add.
5933         * resolv/Depend (linuxthreads): Remove.
5934         * rt/Depend (linuxthreads): Remove.
5935
5936         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5937         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5938         $(common-objpfx)elf/.
5939         (link-libc-before-gnulib): Likewise.
5940         (elfobjdir): Remove variable.
5941         * Makefile (install): Use $(elf-objpfx) instead of
5942         $(common-objpfx)elf/.
5943         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5944         $(elfobjdir)/.
5945         (link-libc-deps): Likewise.
5946         ($(common-objpfx)libc.so): Likewise.
5947         ($(common-objpfx)linkobj/libc.so): Likewise.
5948         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5949         instead of $(common-objpfx)elf/.
5950         (symbolic-link-list): Likewise.
5951         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5952         [$(cross-compiling) = no]: Likewise.
5953         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5954         $(elfobjdir)/.
5955         (static-gnulib-arch): Likewise.
5956         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5957         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5958         $(common-objpfx)elf/.
5959
5960 2014-05-21  Richard Henderson  <rth@redhat.com>
5961
5962         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5963         (SINGLE_THREAD_P): Use the correct width load.  Fold
5964         into the ldr offset.
5965
5966         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5967         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5968
5969 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
5970
5971         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5972         (libgcc_s_resume): Use __attribute_used__.
5973         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5974         Likewise.
5975
5976 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5977
5978         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5979         optimization when used with float constants.
5980
5981         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5982
5983 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
5984
5985         [BZ #16915]
5986         * locale/nl_langinfo_l.c: Make direct reference to every
5987         _nl_current_CATEGORY symbol.
5988         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5989         (tests-static): Add tst-langinfo-static.
5990         (tests-special): Add tst-langinfo-static.out.
5991         ($(objpfx)tst-langinfo.out): Redirect output.
5992         ($(objpfx)tst-langinfo-static.out): New.
5993         * localedata/tst-langinfo.sh: Send output to stdout.
5994         * localedata/tst-langinfo-static.c: New file.
5995
5996         [BZ #16965]
5997         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5998         when the shift amount is modulo the limb size.
5999
6000 2014-05-20  Richard Henderson  <rth@redhat.com>
6001
6002         [BZ #16967]
6003         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
6004         Change type of sa_flags from unsigned int to int.
6005
6006         [BZ #16966]
6007         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
6008
6009         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
6010
6011 2014-05-20  Will Newton  <will.newton@linaro.org>
6012
6013         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6014         Test the return value of the system call in the nocancel case.
6015
6016 2014-05-20  Will Newton  <will.newton@linaro.org>
6017             Yvan Roux  <yvan.roux@linaro.org>
6018
6019         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
6020         #include of asm/ptrace.h.
6021         (PTRACE_GET_THREAD_AREA): Remove #undef.
6022         (PTRACE_GETHBPREGS): Likewise.
6023         (PTRACE_SETHBPREGS): Likewise.
6024         (struct user_regs_struct): New structure.
6025         (struct user_fpsimd_struct): New structure.
6026         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
6027         #include of asm/ptrace.h and second #include of sys/user.h.
6028         (PTRACE_GET_THREAD_AREA): Remove #undef.
6029         (PTRACE_GETHBPREGS): Likewise.
6030         (PTRACE_SETHBPREGS): Likewise.
6031         (ELF_NGREG): Use new struct user_regs_struct.
6032         (elf_fpregset_t): Use new struct user_fpsimd_struct.
6033
6034 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6035
6036         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
6037         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
6038
6039 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
6040
6041         [BZ #16958]
6042         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
6043         membar to avoid block loads/stores to overlap previous stores.
6044
6045 2014-05-17  Richard Henderson  <rth@redhat.com>
6046
6047         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
6048         Create the __##syscall_name##_nocancel entry point.
6049         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
6050         Remove; let the sysdep-cancel.h code create it.
6051
6052 2014-05-17  David S. Miller  <davem@davemloft.net>
6053
6054         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
6055         Protect with __USE_GNU.
6056         (TIOCSET_TEMPT): Likewise.
6057         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6058         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
6059         these are already provided in bits/ioctl-types.h
6060
6061 2014-05-16  Roland McGrath  <roland@hack.frob.com>
6062
6063         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
6064         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
6065
6066         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
6067         Use wait4 regardless of [__NR_waitpid].
6068
6069 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
6070
6071         PR libgcc/60166
6072         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6073         (_FP_NANSIGN_Q): Set the quiet bit.
6074
6075 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
6076
6077         * benchtests/Makefile
6078         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
6079         not $(common-objpfx)math/libm.so.
6080         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
6081         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
6082         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
6083         $(common-objpfx)dlfcn/libdl.so.
6084         ($(objpfx)tst-audit8): Depend on $(libm), not
6085         $(common-objpfx)math/libm.so.
6086         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
6087         not $(common-objpfx)dlfcn/libdl.so.
6088         * math/Makefile
6089         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
6090         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
6091         [$(build-shared) = yes].
6092         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
6093         $(common-objpfx)nptl/libpthread.so.
6094         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
6095         $(common-objpfx)math/libm.so$(libm.so-version) or
6096         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
6097         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
6098         $(common-objpfx)dlfcn/libdl.so.
6099         * setjmp/Makefile (link-libm): Remove variable.
6100         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
6101         * stdio-common/Makefile (link-libm): Remove variable.
6102         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
6103         * stdlib/Makefile (link-libm): Remove variable.
6104         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
6105         ($(objpfx)tst-strtod-round): Likewise.
6106         ($(objpfx)tst-tininess): Likewise.
6107         ($(objpfx)tst-strtod-underflow): Likewise.
6108         ($(objpfx)tst-strtod6): Likewise.
6109         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
6110         $(libdl), not $(common-objpfx)nptl/libpthread.so and
6111         $(common-objpfx)dlfcn/libdl.so.
6112
6113 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6114
6115         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
6116         BSD terminal modes definitions.
6117
6118 2014-05-16  Roland McGrath  <roland@hack.frob.com>
6119
6120         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
6121         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
6122
6123         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
6124         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
6125         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
6126         Don't do #include_next.
6127         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
6128         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
6129         Don't do #include_next.
6130         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
6131         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
6132         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
6133         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
6134
6135 2014-05-16  Allan McRae  <allan@archlinux.org>
6136
6137         * po/sv.po: Update Swedish translation from translation project.
6138
6139         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
6140         in sed expression.
6141
6142 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
6143
6144         [BZ #16917]
6145         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
6146         errno if the TIOCGPTN ioctl fails with an error different than
6147         EINVAL.
6148         * login/tst-ptsname.c: New file.
6149         * login/Makefile (tests): Add tst-ptsname.
6150
6151         [BZ #16943]
6152         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
6153         and prlimit64.
6154
6155 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6156
6157         [BZ #16849]
6158         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
6159         herrno to return EAI_AGAIN.
6160
6161 2014-05-14  Roland McGrath  <roland@hack.frob.com>
6162
6163         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
6164         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
6165         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
6166         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
6167         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
6168         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
6169         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
6170         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
6171         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
6172         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
6173         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
6174         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
6175         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
6176         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
6177         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
6178         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
6179         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
6180         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
6181         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
6182         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
6183         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
6184         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
6185         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
6186         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
6187         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
6188         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
6189         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
6190         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
6191         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
6192         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
6193         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
6194         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
6195         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
6196         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
6197         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6198         Moved ...
6199         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
6200         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
6201         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
6202         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
6203         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
6204         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
6205         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
6206         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
6207         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
6208         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
6209         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
6210         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
6211         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
6212         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
6213         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
6214         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
6215         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
6216         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
6217         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
6218         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
6219         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
6220         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
6221         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
6222         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
6223         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
6224         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
6225         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
6226         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
6227         Moved ...
6228         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
6229         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
6230         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
6231         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
6232         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
6233         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
6234         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
6235         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
6236         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
6237         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
6238         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
6239         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
6240         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
6241         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
6242         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
6243         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
6244         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
6245         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
6246         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
6247         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
6248         Moved ...
6249         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
6250         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
6251         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
6252
6253         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
6254         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
6255         (libpthread-sysdep_routines): Add elision-related stuff here instead.
6256         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
6257         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
6258         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
6259         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
6260         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
6261         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
6262         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
6263         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
6264         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
6265         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
6266         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
6267         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
6268         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
6269         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
6270         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
6271         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
6272         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
6273         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
6274         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
6275         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
6276         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
6277         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
6278         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
6279         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
6280         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
6281         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
6282         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
6283         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
6284
6285         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
6286         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
6287
6288         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
6289         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
6290         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
6291         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
6292         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
6293         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
6294         Moved ...
6295         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
6296         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
6297         Moved ...
6298         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
6299         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
6300         Moved ...
6301         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
6302         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
6303         Moved ...
6304         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
6305         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
6306         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
6307         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
6308         Moved ...
6309         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
6310         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
6311         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
6312         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
6313         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
6314         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
6315         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
6316         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
6317         Moved ...
6318         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
6319         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6320         Moved ...
6321         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6322         ... here.
6323         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
6324         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
6325         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
6326         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
6327         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6328         Moved ...
6329         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6330         ... here.
6331         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
6332         Moved ...
6333         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
6334         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
6335         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
6336         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
6337         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
6338         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
6339         Moved ...
6340         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
6341         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
6342         Moved ...
6343         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
6344         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
6345         Moved ...
6346         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
6347         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
6348         Moved ...
6349         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
6350         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
6351         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
6352         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
6353         Moved ...
6354         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
6355         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
6356         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
6357         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
6358         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
6359         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
6360         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
6361         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
6362         Moved ...
6363         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
6364         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6365         Moved ...
6366         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6367         ... here.
6368         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
6369         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
6370         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
6371         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
6372         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6373         Moved ...
6374         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6375         ... here.
6376         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
6377         Moved ...
6378         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
6379         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
6380         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
6381         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
6382         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
6383         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
6384         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
6385         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
6386         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
6387         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
6388         Moved ...
6389         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
6390         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
6391         Moved ...
6392         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
6393         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
6394         Moved ...
6395         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
6396         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
6397         Moved ...
6398         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
6399         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
6400         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
6401         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
6402         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
6403         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
6404         Moved ...
6405         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
6406         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
6407         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
6408         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
6409         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
6410         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
6411         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
6412         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
6413         Moved ...
6414         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
6415         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6416         Moved ...
6417         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6418         ... here.
6419         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
6420         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
6421         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
6422         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
6423         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6424         Moved ...
6425         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6426         ... here.
6427         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
6428         Moved ...
6429         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
6430         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
6431         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
6432         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
6433         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
6434         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
6435         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
6436         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
6437         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
6438         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
6439         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
6440
6441         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
6442         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
6443
6444         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
6445         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
6446
6447         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
6448         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
6449         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
6450         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
6451         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
6452         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
6453         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
6454         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
6455         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
6456         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
6457         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
6458         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
6459         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
6460         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
6461         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
6462         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
6463         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
6464         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
6465         Moved ...
6466         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
6467         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
6468         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
6469         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
6470         Moved ...
6471         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
6472         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
6473         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
6474         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
6475         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
6476         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
6477         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
6478         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
6479         Moved ...
6480         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
6481         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
6482         Moved ...
6483         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
6484         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
6485         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
6486         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
6487         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
6488         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
6489         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
6490         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
6491         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
6492         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
6493         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
6494         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
6495         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
6496         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
6497         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
6498         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
6499         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
6500
6501         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
6502         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
6503         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
6504         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
6505         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
6506
6507         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
6508         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
6509         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
6510         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
6511         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
6512         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
6513         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
6514         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
6515         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
6516         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
6517
6518         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
6519         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
6520
6521         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
6522         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
6523         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
6524         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
6525         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
6526         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
6527         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
6528         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
6529         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
6530         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
6531         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
6532         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
6533         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
6534         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
6535         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
6536         Update #include.
6537         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
6538         Likewise.
6539         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6540         Likewise.
6541         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6542         Likewise.
6543         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6544         Likewise.
6545         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
6546         Likewise.
6547         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
6548         Likewise.
6549         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6550         Likewise.
6551         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
6552         Likewise.
6553         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
6554         Likewise.
6555         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
6556         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
6557         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
6558         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
6559         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
6560         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
6561         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
6562         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
6563         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
6564         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
6565         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
6566         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
6567         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
6568         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
6569         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
6570
6571         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
6572         that was previously under [RESET_PID].
6573         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6574         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
6575         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
6576
6577         * sysdeps/i386/nptl/Implies: New file.
6578         * sysdeps/x86_64/nptl/Implies: New file.
6579         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
6580         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6581         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
6582         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
6583
6584         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
6585         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6586         (__libc_vfork): New strong alias.
6587         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
6588         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
6589
6590         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
6591         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6592         (__libc_vfork): New strong alias.
6593         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
6594         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
6595
6596         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
6597         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6598         (__libc_vfork): New strong alias.
6599         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
6600         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
6601         * nptl/pt-vfork.c: New file.
6602         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
6603         (libpthread: GLIBC_2.20): New version set (empty).
6604
6605 2014-05-14  Will Newton  <will.newton@linaro.org>
6606
6607         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
6608         rather than #if.
6609
6610 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
6611
6612         [BZ #16564]
6613         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
6614         arguments with exponent 65 or above.
6615         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
6616         arguments 0x1p113L or above.
6617         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
6618         to arguments 0x1p107L or above.
6619         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
6620         positive arguments with exponent 65 or above.
6621         * math/auto-libm-test-in: Add more tests of log1p.
6622         * math/auto-libm-test-out: Regenerated.
6623
6624         [BZ #16928]
6625         * math/s_cacos.c (__cacos): Ensure zero real part of result from
6626         non-finite arguments is +0.
6627         * math/s_cacosf.c (__cacosf): Likewise.
6628         * math/s_cacosl.c (__cacosl): Likewise.
6629         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
6630         * sysdeps/i386/fpu/libm-test-ulps: Update.
6631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6632
6633         [BZ #16927]
6634         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
6635         value.
6636         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6637         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
6638         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
6639         for explicit high bit of mantissa when testing for argument equal
6640         to 1.
6641         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
6642         * sysdeps/i386/fpu/libm-test-ulps: Update.
6643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6644
6645         [BZ #16516]
6646         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
6647         (__erf): Scale by 16 instead of 8 in potentially underflowing
6648         case.  Ensure exception if result actually underflows.
6649         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
6650         (__erff): Scale by 16 instead of 8 in potentially underflowing
6651         case.  Ensure exception if result actually underflows.
6652         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
6653         (efx8): Remove variable.
6654         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6655         case.  Ensure exception if result actually underflows.
6656         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
6657         (efx8): Remove variable.
6658         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6659         case.  Ensure exception if result actually underflows.
6660         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
6661         (efx8): Remove variable.
6662         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6663         case.  Ensure exception if result actually underflows.
6664         * math/auto-libm-test-in: Add more tests of erf.
6665         * math/auto-libm-test-out: Regenerated.
6666
6667 2014-05-14  Andreas Schwab  <schwab@suse.de>
6668
6669         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
6670         Remove code conditionalized on USE___THREAD.
6671
6672         * config.h.in (HAVE_PT_CHOWN): Define as 0.
6673         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
6674         not definedness.
6675
6676 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
6677
6678         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
6679         Define unconditionally.
6680         (__ASSUME_O_CLOEXEC): Likewise.
6681         (__ASSUME_SOCK_CLOEXEC): Likewise.
6682         (__ASSUME_IN_NONBLOCK): Likewise.
6683         (__ASSUME_PIPE2): Likewise.
6684         (__ASSUME_EVENTFD2): Likewise.
6685         (__ASSUME_SIGNALFD4): Likewise.
6686         (__ASSUME_DUP3): Likewise.
6687         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6688         (__ASSUME_DUP3): Do not define.
6689         (__ASSUME_EVENTFD2): Likewise.
6690         (__ASSUME_IN_NONBLOCK): Likewise.
6691         (__ASSUME_O_CLOEXEC): Likewise.
6692         (__ASSUME_PIPE2): Likewise.
6693         (__ASSUME_SIGNALFD4): Likewise.
6694         (__ASSUME_SOCK_CLOEXEC): Likewise.
6695         (__ASSUME_UTIMES): Undefine.
6696         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6697         (__ASSUME_UTIMES): Do not define.
6698         (__ASSUME_O_CLOEXEC): Likewise.
6699         (__ASSUME_SOCK_CLOEXEC): Likewise.
6700         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
6701         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
6702         0x020621].
6703         (__ASSUME_PIPE2): Likewise.
6704         (__ASSUME_EVENTFD2): Likewise.
6705         (__ASSUME_SIGNALFD4): Likewise.
6706         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
6707         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
6708         Do not define.
6709         (__ASSUME_EVENTFD2): Likewise.
6710         (__ASSUME_SIGNALFD4): Likewise.
6711         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6712         (__ASSUME_32BITUIDS): Likewise.
6713         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6714         (__ASSUME_IPC64): Likewise.
6715         (__ASSUME_ST_INO_64_BIT): Likewise.
6716         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
6717         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
6718         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6719         (__ASSUME_UTIMES): Do not define.
6720         (__ASSUME_PSELECT): Likewise.
6721         (__ASSUME_PPOLL): Likewise.
6722         (__ASSUME_O_CLOEXEC): Likewise.
6723         (__ASSUME_SOCK_CLOEXEC): Likewise.
6724         (__ASSUME_IN_NONBLOCK): Likewise.
6725         (__ASSUME_PIPE2): Likewise.
6726         (__ASSUME_EVENTFD2): Likewise.
6727         (__ASSUME_SIGNALFD4): Likewise.
6728         (__ASSUME_DUP3): Likewise.
6729         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6730         (__ASSUME_UTIMES): Likewise.
6731         (__ASSUME_O_CLOEXEC): Likewise.
6732         (__ASSUME_SOCK_CLOEXEC): Likewise.
6733         (__ASSUME_IN_NONBLOCK): Likewise.
6734         (__ASSUME_PIPE2): Likewise.
6735         (__ASSUME_EVENTFD2): Likewise.
6736         (__ASSUME_SIGNALFD4): Likewise.
6737         (__ASSUME_DUP3): Likewise.
6738         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6739         (__ASSUME_UTIMES): Likewise.
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         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
6748         Likewise.
6749         (__ASSUME_UTIMES): Likewise.
6750         (__ASSUME_EVENTFD2): Likewise.
6751         (__ASSUME_SIGNALFD4): Likewise.
6752         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6753         (__ASSUME_O_CLOEXEC): Likewise.
6754         (__ASSUME_SOCK_CLOEXEC): Likewise.
6755         (__ASSUME_IN_NONBLOCK): Likewise.
6756         (__ASSUME_PIPE2): Likewise.
6757         (__ASSUME_EVENTFD2): Likewise.
6758         (__ASSUME_SIGNALFD4): Likewise.
6759         (__ASSUME_DUP3): Likewise.
6760         (__ASSUME_UTIMES): Undefine.
6761
6762         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
6763         feclearexcept.  Remove symbol versioning code.
6764         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
6765         symbol versioning code.
6766         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
6767         symbol versioning code.
6768         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
6769         feupdateenv.  Remove symbol versioning code.
6770         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
6771         fegetexceptflag.  Remove symbol versioning code.
6772         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
6773         fesetexceptflag.  Remove symbol versioning code.
6774         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
6775         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
6776         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
6777         (__posix_fadvise64_l32): Remove prototype.
6778         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
6779         code.
6780
6781 2014-05-13  Roland McGrath  <roland@hack.frob.com>
6782
6783         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
6784         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
6785         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
6786         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
6787
6788 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
6789
6790         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
6791         current working directory
6792
6793 2014-05-13  Roland McGrath  <roland@hack.frob.com>
6794
6795         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
6796         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
6797         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
6798         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
6799         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
6800         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
6801         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
6802         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
6803         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
6804         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
6805         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
6806         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
6807         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
6808         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
6809         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
6810         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
6811         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
6812         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
6813         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
6814         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
6815         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
6816         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
6817         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
6818         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
6819         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
6820         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
6821         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
6822         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
6823         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
6824         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
6825         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
6826         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
6827         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
6828         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
6829         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6830         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6831         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6832         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6833         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6834         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6835         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6836         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6837
6838         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6839         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6840
6841         * sysdeps/unix/sysv/linux/arm/Makefile
6842         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6843         Add rt-aeabi_unwind_cpp_pr1.
6844         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6845         Add nptl-aeabi_unwind_cpp_pr1.
6846         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6847         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6848         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6849         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6850         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6851         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6852
6853         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6854         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6855         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6856         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6857
6858         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6859         Deconditionalize the code that was previously under [RESET_PID].
6860         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6861
6862         * sysdeps/generic/exit-thread.h: New file.
6863         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6864         * include/unistd.h (__exit_thread): Remove declaration.
6865         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6866         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6867         * csu/libc-start.c: Include <exit-thread.h>.
6868         (LIBC_START_MAIN): Pass no argument to __exit_thread.
6869         * nptl/pthread_create.c: Include <exit-thread.h>.
6870         (start_thread): Call __exit_thread in place of __exit_thread_inline.
6871         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6872         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6873         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6874         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6875         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6876         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6877         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6878         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6879         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6880         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6881         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6882         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6883         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6884         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6885         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6886         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6887
6888 2014-05-13  Andreas Schwab  <schwab@suse.de>
6889
6890         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6891
6892 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
6893
6894         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6895         (__ASSUME_UTIMES): Do not condition on kernel version.
6896         (__ASSUME_PSELECT): Define unconditionally.
6897         (__ASSUME_PPOLL): Likewise.
6898         (__ASSUME_ATFCTS): Likewise.
6899         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6900         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6901         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6902         (__ASSUME_UTIMENSAT): Define unconditionally.
6903         (__ASSUME_PRIVATE_FUTEX): Likewise.
6904         (__ASSUME_FALLOCATE): Likewise.
6905         (__ASSUME_O_CLOEXEC): Likewise.
6906         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
6907         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6908         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6909         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6910         (__ASSUME_IN_NONBLOCK): Likewise.
6911         (__ASSUME_PIPE2): Likewise.
6912         (__ASSUME_EVENTFD2): Likewise.
6913         (__ASSUME_SIGNALFD4): Likewise.
6914         (__ASSUME_DUP3): Likewise.
6915         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6916         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6917         (__ASSUME_AT_RANDOM): Likewise.
6918         (__ASSUME_PREADV): Likewise.
6919         (__ASSUME_PWRITEV): Likewise.
6920         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6921         (__ASSUME_F_GETOWN_EX): Define unconditionally.
6922         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6923         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6924         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6925         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6926         (__ASSUME_O_CLOEXEC): Define unconditionally.
6927         (__ASSUME_PSELECT): Do not undefine conditionally.
6928         (__ASSUME_PPOLL): Likewise.
6929         (__ASSUME_ATFCTS): Likewise.
6930         (__ASSUME_SET_ROBUST_LIST): Likewise.
6931         (__ASSUME_UTIMENSAT): Likewise.
6932         (__ASSUME_FDATASYNC): Define unconditionally.
6933         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6934         (__ASSUME_SIGFRAME_V2): Likewise.
6935         )__ASSUME_EVENTFD2): Likewise.
6936         (__ASSUME_SIGNALFD4): Likewise.
6937         (__ASSUME_PSELECT): Do not undefine conditionally.
6938         (__ASSUME_PPOLL): Likewise.
6939         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6940         (__ASSUME_PSELECT): Define unconditionally.
6941         (__ASSUME_PPOLL): Likewise.
6942         (__ASSUME_O_CLOEXEC): Likewise.
6943         (__ASSUME_SOCK_CLOEXEC): Likewise.
6944         (__ASSUME_IN_NONBLOCK): Likewise.
6945         (__ASSUME_PIPE2): Likewise.
6946         (__ASSUME_EVENTFD2): Likewise.
6947         (__ASSUME_SIGNALFD4): Likewise.
6948         (__ASSUME_DUP3): Likewise.
6949         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6950         (__ASSUME_O_CLOEXEC): Likewise.
6951         (__ASSUME_SOCK_CLOEXEC): Likewise.
6952         (__ASSUME_IN_NONBLOCK): Likewise.
6953         (__ASSUME_PIPE2): Likewise.
6954         (__ASSUME_EVENTFD2): Likewise.
6955         (__ASSUME_SIGNALFD4): Likewise.
6956         (__ASSUME_DUP3): Likewise.
6957         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6958         (__ASSUME_EVENTFD2): Likewise.
6959         (__ASSUME_SIGNALFD4): Likewise.
6960         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6961
6962 2014-05-12  Andreas Schwab  <schwab@suse.de>
6963
6964         [BZ #16932]
6965         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6966         (_nss_nis_gethostbyname4_r): Return error if item length is larger
6967         than maximum RPC packet size.
6968         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6969         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6970         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6971         (_nss_nis_getservbyport_r): Likewise.
6972
6973 2014-05-12  Will Newton  <will.newton@linaro.org>
6974
6975         * malloc/Makefile (tests): Add tst-mallopt.
6976         * malloc/tst-mallopt.c: New file.
6977
6978 2014-05-09  Roland McGrath  <roland@hack.frob.com>
6979
6980         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6981         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6982
6983 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6984
6985         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6986         (tst-tlsmod6.so): Likewise.
6987
6988 2014-05-09  Roland McGrath  <roland@hack.frob.com>
6989
6990         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6991
6992 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
6993
6994         [BZ #16064]
6995         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6996         and <dl-procinfo.h>.
6997         (__fegetenv): Save SSE state in envp->__eip if supported.
6998         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6999         envp->__eip if supported.
7000         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
7001         and <dl-procinfo.h>.
7002         (__fesetenv): Always set __eip, __cs_selector, __opcode,
7003         __data_offset and __data_selector in environment to 0.  Set SSE
7004         state if supported.
7005         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7006         test-fenv-sse.
7007         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
7008         -mfpmath=sse.
7009         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
7010
7011 2014-05-09  Will Newton  <will.newton@linaro.org>
7012
7013         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
7014         and libc_relro_required for ARM.
7015         * sysdeps/arm/preconfigure: Regenerate.
7016
7017 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
7018             Stefan Liebler  <stli@linux.vnet.ibm.com>
7019
7020         * config.make.in (enable-lock-elision): New Makefile variable.
7021         * configure.ac: Likewise.
7022         * configure: Regenerate.
7023         * sysdeps/s390/configure.ac:
7024         Add check for gcc transactions support.
7025         * sysdeps/s390/configure: Regenerate.
7026         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
7027         Build elision files if enabled.
7028         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
7029         Add lock elision support for s390.
7030         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
7031         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
7032         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
7033         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
7034         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
7035         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
7036         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7037         Likewise.
7038         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
7039         Likewise.
7040         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
7041         Likewise.
7042         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
7043         Likewise.
7044         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
7045         (__lll_timedlock_elision, __lll_lock_elision)
7046         (__lll_unlock_elision, __lll_trylock_elision)
7047         (lll_timedlock_elision, lll_lock_elision)
7048         (lll_unlock_elision, lll_trylock_elision): Add.
7049         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7050         (pthread_mutex_t): Add lock elision support for s390.
7051
7052 2014-05-14  Wilco  <wdijkstr@arm.com>
7053
7054         * sysdeps/arm/fclrexcpt.c: Cleanup.
7055         * sysdeps/arm/fedisblxcpt.c: Cleanup.
7056         * sysdeps/arm/feenablxcpt.c: Cleanup.
7057         * sysdeps/arm/fegetenv.c: Cleanup.
7058         * sysdeps/arm/fegetexcept.c: Cleanup.
7059         * sysdeps/arm/fegetround.c: Cleanup.
7060         * sysdeps/arm/feholdexcpt.c: Cleanup.
7061         * sysdeps/arm/fesetenv.c: Cleanup.
7062         * sysdeps/arm/fesetround.c: Cleanup.
7063         * sysdeps/arm/feupdateenv.c: Cleanup.
7064         * sysdeps/arm/fgetexcptflg.c: Cleanup.
7065         * sysdeps/arm/fraiseexcpt.c: Cleanup.
7066         * sysdeps/arm/fsetexcptflg.c: Cleanup.
7067         * sysdeps/arm/ftestexcept.c: Cleanup.
7068         * sysdeps/arm/get-rounding-mode.h: Cleanup.
7069         * sysdeps/arm/setfpucw.c: Cleanup.
7070
7071 2014-05-09  Will Newton  <will.newton@linaro.org>
7072
7073         * sysdeps/arm/armv7/strcmp.S: New file.
7074         * NEWS: Mention addition of ARMv7 optimized strcmp.
7075
7076 2014-05-08  Roland McGrath  <roland@hack.frob.com>
7077
7078         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
7079         look for %.ac rather than %.in.
7080
7081         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
7082         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
7083         * sysdeps/mach/hurd/configure: Regenerated.
7084         * sysdeps/unix/sysv/linux/configure: Regenerated.
7085
7086         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
7087
7088 2014-05-07  Steve Ellcey  <sellcey@mips.com>
7089
7090         [BZ# 16922]
7091         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
7092         (LONG_SUB): Ditto.
7093         (PTR_SUB): Ditto.
7094
7095 2014-05-07  Andreas Schwab  <schwab@suse.de>
7096
7097         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
7098         when skipping over non-matching result from nscd.
7099
7100 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
7101
7102         [BZ #16876]
7103         * nptl/sockperf.c (client): Check socket return value.
7104
7105         [BZ #16877]
7106         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
7107         nscd security class.
7108
7109 2014-05-06  Roland McGrath  <roland@hack.frob.com>
7110
7111         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
7112         * sysdeps/arm/unwind.h: ... here.
7113
7114 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
7115
7116         [BZ# 16916]
7117         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
7118         Define.
7119
7120 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7121
7122         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
7123         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
7124         multiarch strncpy for PPC64.
7125         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
7126         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
7127         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
7128         multiarch optimizations.
7129         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7130         (__libc_ifunc_impl_list): Likewise.
7131         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
7132         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
7133         multiarch stpncpy for PPC64.
7134         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
7135         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
7136
7137 2014-05-06  Andreas Schwab  <schwab@suse.de>
7138
7139         [BZ #16912]
7140         * gmon/mcount.c (_MCOUNT_DECL): Use
7141         atomic_compare_and_exchange_bool_acq instead of
7142         catomic_compare_and_exchange_bool_acq.
7143
7144 2014-05-05  Roland McGrath  <roland@hack.frob.com>
7145
7146         * elf/Makefile (others, install-bin): Remove pldd.
7147         (pldd-modules): Variable removed.
7148         ($(objpfx)pldd): Target removed.
7149         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
7150         (others, install-bin): Append pldd here.
7151         ($(objpfx)pldd): New target.
7152
7153         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
7154         to 0, so the first #if test emitted later doesn't see it undefined.
7155         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
7156         * sysdeps/gnu/errlist.c: Regenerated.
7157
7158 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7159
7160         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7161         [libc_hidden_builtin_def]: Define to empty value.
7162         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
7163         [libc_hidden_builtin_def]: Likewise.
7164         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
7165         [libc_hidden_builtin_def]: Likewise.
7166         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
7167         [libc_hidden_builtin_def]: Likewise.
7168         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
7169         __redirect_memcpy and define ifunc as default hidden symbol.
7170         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
7171         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
7172
7173 2014-05-04  Adam Conrad  <adconrad@0c3.net>
7174
7175         * locale/iso-4217.def: Reintroduce XDR currency.
7176
7177 2014-05-04  Allan McRae  <allan@archlinux.org>
7178
7179         * po/eo.po: Update Esperanto translation from translation project.
7180
7181 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
7182
7183         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
7184         and FEATURE_INDEX_MAX to 1.
7185         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
7186
7187 2014-05-01  Steve Ellcey  <sellcey@mips.com>
7188
7189         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
7190         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
7191         * iconvdata/big5.c (ONE_DIRECTION): Define.
7192         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
7193         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
7194         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
7195         * iconvdata/cp932.c (ONE_DIRECTION): Define.
7196         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
7197         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
7198         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
7199         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
7200         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
7201         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
7202         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
7203         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
7204         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
7205         * iconvdata/gbk.c (ONE_DIRECTION): Define.
7206         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
7207         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
7208         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
7209         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
7210         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
7211         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
7212         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
7213         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
7214         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
7215         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
7216         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
7217         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
7218         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
7219         * iconvdata/iso646.c (ONE_DIRECTION): Define.
7220         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
7221         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
7222         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
7223         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
7224         * iconvdata/johab.c (ONE_DIRECTION): Define.
7225         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
7226         * iconvdata/sjis.c (ONE_DIRECTION): Define.
7227         * iconvdata/t.61.c (ONE_DIRECTION): Define.
7228         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
7229         * iconvdata/tscii.c (ONE_DIRECTION): Define.
7230         * iconvdata/uhc.c (ONE_DIRECTION): Define.
7231         * iconvdata/unicode.c (ONE_DIRECTION): Define.
7232         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
7233         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
7234         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
7235
7236 2014-05-01  Roland McGrath  <roland@hack.frob.com>
7237
7238         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
7239         (_IO_JUMPS_OFFSET): Define to 0.
7240
7241         * nptl/sysdeps/pthread/bits/libc-lock.h
7242         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7243         (__libc_lock_define_initialized_recursive): Always define using
7244         initializer.  Modern compilers treat uninitialized (implicit zero) and
7245         explicit zero initializers the same (i.e. put the datum in bss).
7246
7247 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
7248
7249         * nscd/nscd-client.h: Include <string.h>.
7250
7251 2014-05-01  David S. Miller  <davem@davemloft.net>
7252
7253         [BZ #16885]
7254         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
7255         multiple zero bytes exist at the end of a string.
7256         Reported by Aurelien Jarno <aurelien@aurel32.net>
7257
7258         * string/test-strcmp.c (check): Add explicit test for situations where
7259         there are multiple zero bytes after the first.
7260
7261 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
7262
7263         [BZ #16890]
7264         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
7265         when compiling wprintf.
7266         * stdio-common/tstdiomisc.c (t3): New function.
7267         (main): Call it.
7268
7269 2014-05-01  Steve Ellcey  <sellcey@mips.com>
7270
7271         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
7272         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
7273         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
7274         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
7275
7276 2014-05-01  Steve Ellcey  <sellcey@mips.com>
7277
7278         * stdlib/longlong.h: Updated from GCC.
7279
7280 2014-05-01  Will Newton  <will.newton@linaro.org>
7281             Bernard Ogden  <bernie.ogden@linaro.org>
7282
7283         * NEWS: Update fixed bug list.
7284
7285         [BZ #15119]
7286         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
7287
7288 2014-04-30  David S. Miller  <davem@davemloft.net>
7289
7290         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
7291         (libc_feholdexcept_setround_sparc_ctx): New function.
7292         (libc_fesetenv_sparc_ctx): Likewise.
7293         (libc_feupdateenv_sparc_ctx): Likewise.
7294         (libc_feholdsetround_sparc_ctx): Likewise.
7295         (libc_feholdexcept_setround_ctx): Define.
7296         (libc_feholdexcept_setroundf_ctx): Likewise.
7297         (libc_feholdexcept_setroundl_ctx): Likewise.
7298         (libc_fesetenv_ctx): Likewise.
7299         (libc_fesetenvf_ctx): Likewise.
7300         (libc_fesetenvl_ctx): Likewise.
7301         (libc_feupdateenv_ctx): Likewise.
7302         (libc_feupdateenvf_ctx): Likewise.
7303         (libc_feupdateenvl_ctx): Likewise.
7304         (libc_feresetround_ctx): Likewise.
7305         (libc_feresetroundf_ctx): Likewise.
7306         (libc_feresetroundl_ctx): Likewise.
7307         (libc_feholdsetround_ctx): Likewise.
7308         (libc_feholdsetroundf_ctx): Likewise.
7309         (libc_feholdsetroundl_ctx): Likewise.
7310
7311         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7312         with __USE_GNU instead of XOPEN cpp guards.
7313
7314         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
7315         0.
7316
7317         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7318         with XOPEN cpp guards.
7319
7320 2014-04-30  Julian Brown  <julian@codesourcery.com>
7321
7322         [BZ #16888]
7323         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
7324         handling.
7325
7326 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
7327
7328         [BZ #9894]
7329         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7330         Change to 2.6.32.
7331         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
7332         * sysdeps/unix/sysv/linux/configure: Regenerated.
7333         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
7334         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
7335         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
7336         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
7337         * README: Update reference to required Linux kernel version.
7338         * manual/install.texi (Linux): Update reference to required Linux
7339         kernel headers version.
7340         * INSTALL: Regenerated.
7341
7342         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
7343         header inclusion.
7344         [POSIX] (limits.h): Likewise.
7345         [POSIX] (math.h): Likewise.
7346         [POSIX] (sys/wait.h): Likewise.
7347         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
7348         function.
7349         [POSIX] (stddef.h): Do not allow header inclusion.
7350
7351 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7352
7353         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
7354
7355 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
7356
7357         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
7358         Return immediately after lll_futex_wake.
7359
7360 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7361
7362         [BZ #16791]
7363         * nscd/nscd-client.h (datahead_init_common): Initialize entire
7364         structure.
7365         (datahead_init_pos): Call datahead_init_common early.
7366         (datahead_init_neg): Likewise.
7367
7368         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
7369         datahead_init_neg): New functions.
7370         * nscd/aicache.c (addhstaiX): Use them.
7371         * nscd/grpcache.c (cache_addgr): Likewise.
7372         * nscd/hstcache.c (cache_addhst): Likewise.
7373         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7374         * nscd/netgroupcache.c (do_notfound): Likewise.
7375         (addgetnetgrentX): Likewise.
7376         (addinnetgrX): Likewise.
7377         * nscd/pwdcache.c (cache_addpw): Likewise.
7378         * nscd/servicescache.c (cache_addserv): Likewise.
7379
7380 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7381             Atsushi Onoe  <atsushi@onoe.org>
7382
7383         [BZ #14308]
7384         [BZ #12994]
7385         [BZ #13651]
7386         * resolv/res_query.c (__libc_res_nsearch): Return if at least
7387         one response is valid.
7388         * resolv/res_send.c (send_dg): Check for validity of other
7389         response if the current response is a referral.
7390
7391 2014-04-29  Steve Ellcey  <sellcey@mips.com>
7392
7393         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
7394
7395 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
7396
7397         [BZ #16823]
7398         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
7399         Always divide by positive zero when computing -Inf result.
7400         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7401         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
7402
7403 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7404
7405         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
7406         FPSCR if value do not change.
7407         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7408         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
7409         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7410         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7411         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
7412         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
7413         function.
7414
7415 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
7416
7417         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
7418         * sysdeps/unix/sysv/linux/hppa: Move directory from
7419         ports/systeps/unix/sysv/linux/hppa.
7420         * README: Update listing for hppa-*-linux-gnu.
7421
7422 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
7423
7424         [BZ #16754]
7425         * manual/stdio.texi (Hook functions): Fix types of stream hook
7426         functions.
7427         [BZ #16854]
7428         * socket/sys/socket.h: Fix typo in comment.
7429
7430 2014-04-28  Wilco  <wdijkstr@arm.com>
7431
7432         * sysdeps/arm/fenv_private.h: New file.
7433         * sysdeps/arm/math_private.h: New file.
7434         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
7435
7436 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
7437
7438         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
7439         with __int128_t.
7440         (La_x86_64_retval): Likewise.
7441
7442 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
7443
7444         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
7445         fpsr if value didn't change.
7446         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
7447         to fpcr if value didn't change.
7448         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
7449         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
7450         fpsr or fpcr if value didn't change.
7451         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7452         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
7453         fpcr if value didn't change.
7454         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
7455         to fpsr if value didn't change.
7456
7457 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
7458
7459         * nptl/tst-sem3.c: Use test-skeleton.c
7460         (main): Rename to do_test.  Use return instead of
7461         exit.
7462         * nptl/tst-sem4.c: Use test-skeleton.c
7463         (main): Rename to do_test.
7464
7465 2014-04-22  David S. Miller  <davem@davemloft.net>
7466
7467         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
7468         (struct sigaction): New struct member __glibc_reserved0, change
7469         type of sa_flags to int.
7470
7471 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
7472
7473         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
7474         (COUNT_LEADING_ZEROS_0): Define for AArch64.
7475
7476 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7477
7478         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
7479         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
7480
7481 2014-04-22  Will Newton  <will.newton@linaro.org>
7482             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
7483
7484         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
7485         (__longjmp): Add longjmp and longjmp_target SystemTap
7486         probes.
7487         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
7488         (__sigsetjmp): Add setjmp SystemTap probe.
7489
7490 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
7491
7492         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
7493         match manual order.
7494
7495 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7496
7497         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
7498
7499         * sysdeps/powerpc/fpu/fenv_private.h
7500         (libc_feholdexcept_setroundl_ctx): Define to
7501         libc_feholdexcept_setround_ppc_ctx.
7502         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
7503         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
7504         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
7505         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
7506
7507 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
7508
7509         * sysdeps/aarch64/math-tests.h: New file.
7510
7511 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
7512
7513         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
7514         New.
7515         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7516         Check and set bit_AVX2_Usable.
7517         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
7518         macro.
7519         (bit_AVX2): Likewise.
7520         (index_AVX2_Usable): Likewise.
7521         (CPUID_AVX2): Likewise.
7522         (HAS_AVX2): Likewise.
7523
7524 2014-04-17  Will Newton  <will.newton@linaro.org>
7525
7526         * manual/setjmp.texi (System V contexts): Add note that
7527         calling setcontext on a context created by a call to a
7528         signal handler is undefined.  Update text to note that
7529         setcontext from a signal handler is possible but not
7530         recommended.
7531
7532         [BZ #16629]
7533         * stdlib/tst-setcontext.c: Include signal.h.
7534         (main): Check that the signal stack before and
7535         after swapcontext is the same.
7536
7537         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
7538         Re-implement to restore registers in user code and avoid
7539         rt_sigreturn system call.
7540
7541 2014-04-17  Wilco  <wdijkstr@arm.com>
7542
7543         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
7544         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
7545         * math/test-fenv.c: Skip exception trap tests on targets which only
7546         support non-stop mode.
7547
7548 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
7549             Wilco Dijkstra  <wilco.dijkstra@arm.com>
7550
7551         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
7552         (libc_feholdsetround_aarch64_ctx)
7553         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
7554         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
7555         (libc_feresetround_ctx, libc_feresetroundf_ctx)
7556         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
7557         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
7558         (libc_feresetround_noexl_ctx): Define.
7559
7560 2014-04-16  Richard Henderson  <rth@redhat.com>
7561
7562         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
7563
7564         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
7565         unwind tables.
7566
7567         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
7568         const from the non-libc, non-ldso copy.
7569
7570         * sysdeps/alpha/libm-test-ulps: Regenerate.
7571
7572 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
7573             Wilco Dijkstra  <wilco.dijkstra@arm.com>
7574
7575         * sysdeps/aarch64/fpu/math_private.h: New file.
7576
7577 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7578
7579         * sysdeps/aarch64/libm-test-ulps: Regenerate.
7580
7581 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
7582
7583         [BZ #16275]
7584         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
7585         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
7586         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
7587         Intel MPX bound registers before _dl_profile_fixup.
7588         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
7589         registers after _dl_profile_fixup.  Save and restore bound
7590         registers bnd0/bnd1 when calling _dl_call_pltexit.
7591         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
7592         (LR_BND_OFFSET): Likewise.
7593         (LRV_BND0_OFFSET): Likewise.
7594         (LRV_BND1_OFFSET): Likewise.
7595
7596 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7597
7598         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
7599         to...
7600         * sysdeps/mach/hurd/i386/tls.h: ... here.
7601         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
7602         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
7603         fields.
7604
7605 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7606
7607         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
7608
7609 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7610
7611         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7612
7613 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7614
7615         [BZ #14770]
7616         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
7617         * sysdeps/s390/configure: Regenerate.
7618
7619         [BZ #16824]
7620         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
7621         Set round-to-nearest internally to reduce error accumulation.
7622
7623 2014-04-16  Alan Modra  <amodra@gmail.com>
7624
7625         [BZ #16740]
7626         [BZ #16619]
7627         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
7628         * math/libm-test.inc (frexp_test_data): Add tests.
7629         * NEWS: Update fixed bug list.
7630
7631 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7632
7633         * benchtests/Makefile: Depend on libraries in build directory.
7634         (bench-math): Separate out math tests.
7635         (bench-pthread): Separate out pthread tests.
7636         (bench): Include math and pthread tests.
7637
7638 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
7639
7640         [BZ #16831]
7641         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
7642         _dl_debug_initialize.
7643
7644         * configure.ac: Remove SELinux header check.
7645         * configure: Regenerate.
7646         * nscd/selinux.c (perms): Array of const char* to permission names.
7647         (nscd_request_avc_has_perm): Call security_deny_unknown to find
7648         default policy. Call string_to_security_class and string_to_av_perm to
7649         translate strings. Enforce default policy and call avs_has_perm with
7650         results of translated strings.
7651
7652 2014-04-13  David S. Miller  <davem@davemloft.net>
7653
7654         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7655
7656 2014-04-12  Allan McRae  <allan@archlinux.org>
7657
7658         [BZ #16838]
7659         * manual/string.texi (Collation Functions): Fix qsort argument
7660         order in example.
7661         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7662
7663 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
7664
7665         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
7666         Make the test a no-op if there are no exceptions defined.
7667
7668 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
7669
7670         * elf/Makefile (tests): make tst-dlopen-aout conditional on
7671         enable-hardcoded-path-in-tests
7672
7673 2014-04-11  Will Newton  <will.newton@linaro.org>
7674
7675         * benchtests/Makefile (extra-objs): Add json-lib.o.
7676         (bench-func): Tidy up JSON output.
7677         * benchtests/bench-skeleton.c: Include json-lib.h.
7678         (main): Use JSON library functions to do output of
7679         benchmark results.
7680         * benchtests/bench-timing-type.c (main): Output the
7681         timing type simply, leaving formatting to the user.
7682         * benchtests/json-lib.c: New file.
7683         * benchtests/json-lib.h: Likewise.
7684
7685 2014-04-11  Torvald Riegel  <triegel@redhat.com>
7686
7687         [BZ #15215]
7688         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
7689         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
7690         memory barriers.  Add comments.
7691         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
7692         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
7693         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
7694         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
7695         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
7696         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
7697
7698 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7699
7700         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
7701         * sysdeps/s390/s390-64/configure.ac: ... this ...
7702         * sysdeps/s390/configure.ac: ... to here.
7703         * sysdeps/s390/s390-32/configure: Delete file.
7704         * sysdeps/s390/s390-64/configure: Delete file.
7705         * sysdeps/s390/configure: Regenerate.
7706
7707 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
7708
7709         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
7710
7711 2014-04-11  Will Newton  <will.newton@linaro.org>
7712
7713         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
7714         to zero if it is not defined elsewhere.  (mtrim): Test
7715         the value of MALLOC_DEBUG with #if rather than #ifdef.
7716
7717 2014-04-10 Torvald Riegel  <triegel@redhat.com>
7718
7719         * benchtests/pthread_once-inputs: New file.
7720         * benchtests/pthread_once-source.c: New file.
7721         * benchtests/README: Update documentation.
7722
7723 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
7724             H.J. Lu  <hongjiu.lu@intel.com>
7725
7726         [BZ #16275]
7727         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
7728         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
7729         * sysdeps/x86_64/configure: Regenerated.
7730         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
7731         macro.
7732         (REGISTER_SAVE_RAX): Likewise.
7733         (REGISTER_SAVE_RCX): Likewise.
7734         (REGISTER_SAVE_RDX): Likewise.
7735         (REGISTER_SAVE_RSI): Likewise.
7736         (REGISTER_SAVE_RDI): Likewise.
7737         (REGISTER_SAVE_R8): Likewise.
7738         (REGISTER_SAVE_R9): Likewise.
7739         (REGISTER_SAVE_BND0): Likewise.
7740         (REGISTER_SAVE_BND1): Likewise.
7741         (REGISTER_SAVE_BND2): Likewise.
7742         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
7743         bound registers when calling _dl_fixup.
7744
7745 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7746
7747         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
7748         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
7749         of its definition.
7750         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
7751         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
7752         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
7753         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
7754         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
7755         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
7756         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
7757
7758 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
7759
7760         [BZ #15514]
7761         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
7762         pathconf(_PC_NAME_MAX).
7763
7764 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7765
7766         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
7767         Remove macro usage.
7768         (__PTHREAD_SPINS): Move definition to ...
7769         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7770         (__PTHREAD_SPINS): ... here.
7771         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7772         (__PTHREAD_SPIN): Likewise.
7773         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
7774         (__PTHREAD_SPIN): Likewise.
7775         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
7776         (__PTHREAD_SPIN): Likewise.
7777         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
7778         (__PTHREAD_SPIN): Likewise.
7779         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7780         (__PTHREAD_SPIN): Likewise.
7781         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7782         (__PTHREAD_SPIN): Likewise.
7783         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
7784         (__PTHREAD_SPIN): Likewise.
7785         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7786         (__PTHREAD_SPIN): Likewise.
7787         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7788         (__PTHREAD_SPIN): Likewise.
7789         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7790         (__PTHREAD_SPIN): Likewise.
7791         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7792         (__PTHREAD_SPIN): Likewise.
7793         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
7794         (__PTHREAD_SPIN): Likewise.
7795
7796         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
7797         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
7798         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
7799         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
7800         imply folder.
7801         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
7802         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
7803         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
7804         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
7805         correct imply path.
7806         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
7807         strlen symbol for non multi-arch builds.
7808         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
7809         missing hidden_def and weak_alias.
7810
7811 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
7812
7813         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
7814
7815 2014-04-07  Will Newton  <will.newton@linaro.org>
7816
7817         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
7818         and contents.  [!_LIBC] Remove #ifndef and contents.
7819         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
7820         * string/memccpy.c (__memccpy): Use ANSI prototype.
7821         * string/memfrob.c (memfrob): Likewise.
7822         * string/strcoll.c (STRCOLL): Likewise.
7823         * string/strlen.c (strlen): Likewise.
7824         * string/strtok.c (STRTOK): Likewise.
7825         * string/strcat.c: Remove unused #include of memcopy.h.
7826         (strcat): Use ANSI prototype.
7827         * string/strchr.c: Remove unused #include of memcopy.h.
7828         (strchr): Use ANSI prototype.
7829         * string/strcmp.c: Remove unused #include of memcopy.h.
7830         (strcmp): Use ANSI prototype.
7831         * string/strcpy.c: Remove unused #include of memcopy.h.
7832         (strcpy): Use ANSI prototype.
7833
7834 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7835
7836         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7837         * config.make.in (config-extra-cppflags): Set it from
7838         libc_extra_cppflags.
7839         * configure.ac (libc_extra_cflags): Make it accumulate over
7840         configure fragments.
7841         (libc_extra_cppflags): New flag.
7842         * configure. Regenerate.
7843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7844         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7845         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7847
7848         [BZ #16815]
7849         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7850         result for FE_DOWNWARD rounding mode.
7851         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7852         Likewise.
7853         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7854
7855 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
7856
7857         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7858         in function argument name.
7859
7860 2014-04-03  David Svoboda  <svoboda@cert.org>
7861
7862         [BZ #5666]
7863         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7864         explicitly.
7865
7866 2014-04-03  Roland McGrath  <roland@hack.frob.com>
7867
7868         * elf/dl-unmap-segments.h: New file.
7869         * sysdeps/generic/ldsodefs.h
7870         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7871         * elf/dl-close.c: Include <dl-unmap-segments.h>.
7872         * elf/dl-fptr.c: Likewise.
7873         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7874         * sysdeps/aarch64/tlsdesc.c: Likewise.
7875         * sysdeps/arm/tlsdesc.c: Likewise.
7876         * sysdeps/i386/tlsdesc.c: Likewise.
7877         * sysdeps/tile/dl-runtime.c: Likewise.
7878         * sysdeps/x86_64/tlsdesc.c: Likewise.
7879         * elf/dl-load.h: New file.
7880         * elf/dl-load.c: Include it.
7881         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7882         Macros moved to dl-load.h.
7883         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7884         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7885         Use _dl_unmap_segments in place of __munmap.
7886         Break out segment-mapping loop into ...
7887         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7888
7889 2014-04-03  Will Newton  <will.newton@linaro.org>
7890
7891         * elf/dl-lookup.c (do_lookup_x): Remove comment
7892         referring to nested function and move variable
7893         declarations down to before first use.
7894
7895 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
7896
7897         [BZ #16799]
7898         [BZ #16800]
7899         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7900         with 0 numerator.
7901         * math/s_catanf.c (__catanf): Likewise.
7902         * math/s_catanh.c (__catanh): Likewise.
7903         * math/s_catanhf.c (__catanhf): Likewise.
7904         * math/s_catanhl.c (__catanhl): Likewise.
7905         * math/s_catanl.c (__catanl): Likewise.
7906         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
7907         by positive zero when computing -Inf result.
7908         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
7909         (catanh_test): Likewise.
7910         * sysdeps/i386/fpu/libm-test-ulps: Update.
7911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7912
7913         [BZ #16789]
7914         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7915         instead of using underflowing value in computing result.
7916         * math/s_clog10.c (__clog10): Likewise.
7917         * math/s_clog10f.c (__clog10f): Likewise.
7918         * math/s_clog10l.c (__clog10l): Likewise.
7919         * math/s_clogf.c (__clogf): Likewise.
7920         * math/s_clogl.c (__clogl): Likewise.
7921         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7922         (clog10_test): Likewise.
7923         * sysdeps/i386/fpu/libm-test-ulps: Update.
7924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7925
7926 2014-04-02  Alan Modra  <amodra@gmail.com>
7927
7928         [BZ #16739]
7929         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7930         output when value is near a power of two.  Use int64_t for lx and
7931         remove casts.  Use decimal rather than hex exponent constants.
7932         Don't use long double multiplication when double will suffice.
7933         * math/libm-test.inc (nextafter_test_data): Add tests.
7934         * NEWS: Add 16739 and 16786 to bug list.
7935
7936         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7937
7938         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7939
7940 2014-04-01  Will Newton  <will.newton@linaro.org>
7941
7942         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7943         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
7944
7945 2014-04-01  Florian Weimer  <fweimer@redhat.com>
7946
7947         [BZ #13347]
7948         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7949         * nptl/tst-setuid2.c: New file.
7950         * nptl/Makefile (xtests): Add tst-setuid2.
7951
7952 2014-04-01  Alan Modra  <amodra@gmail.com>
7953
7954         [BZ #16786]
7955         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7956
7957 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
7958
7959         [BZ #6803]
7960         [BZ #6804]
7961         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7962         set errno as appropriate.
7963         * math/w_scalbf.c (__scalbf): Likewise.
7964         * math/w_scalbl.c (__scalbl): Likewise.
7965         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7966         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7967         * math/libm-test.inc (scalb_test_data): Add errno expectations.
7968         Add more NaN tests.
7969
7970         [BZ #16349]
7971         * math/w_atan2.c: Include <errno.h>.
7972         (__atan2): Set errno for result underflowing to zero.
7973         * math/w_atan2f.c: Include <errno.h>.
7974         (__atan2f): Set errno for result underflowing to zero.
7975         * math/w_atan2l.c: Include <errno.h>.
7976         (__atan2l): Set errno for result underflowing to zero.
7977         * math/auto-libm-test-in: Don't allow missing errno for some atan2
7978         tests.
7979         * math/auto-libm-test-out: Regenerated.
7980
7981 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7982
7983         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7984         Encode instruction correctly in little endian.
7985         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7986         Likewise.
7987         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7988         Likewise.
7989         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7990         Likewise.
7991         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7992         Likewise.
7993
7994 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
7995
7996         [BZ #9894]
7997         * sysdeps/unix/sysv/linux/kernel-features.h
7998         [__sparc__ && !__arch64__ && !__sparc_v9__]
7999         (__ASSUME_SET_ROBUST_LIST): Do not define.
8000         [__sparc__ && !__arch64__ && !__sparc_v9__]
8001         (__ASSUME_FUTEX_LOCK_PI): Likewise.
8002         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
8003         Likewise.
8004         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8005         (__ASSUME_FUTEX_LOCK_PI): Undefine.
8006         (__ASSUME_REQUEUE_PI): Likewise.
8007         (__ASSUME_SET_ROBUST_LIST): Likewise.
8008         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8009         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
8010         Undefine.
8011         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8012         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
8013         Likewise.
8014         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
8015         Likewise.
8016         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
8017         Likewise.
8018         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8019         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
8020         Undefine.
8021         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
8022         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
8023         Likewise.
8024
8025         [BZ #16648]
8026         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8027         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
8028         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
8029
8030 2014-03-31  Will Newton  <will.newton@linaro.org>
8031
8032         * benchtests/Makefile (bench): Add ffs and ffsll to list
8033         of tests.
8034         * benchtests/ffs-inputs: New file.
8035         * benchtests/ffsll-inputs: Likewise.
8036
8037 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
8038
8039         [BZ #16770]
8040         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
8041         too large before casting to int.
8042         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
8043         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
8044         * math/libm-test.inc (scalb_test_data): Add more tests.
8045
8046 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8047
8048         * benchtests/Makefile (DETAILED_OPT): New make option.
8049         (bench-func): Run benchmark program with -d if DETAILED_OPT is
8050         set.
8051         * benchtests/bench-skeleton.c: Include stdbool.h.
8052         (main): Store and print timings per input.
8053         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
8054         member to each argument value.
8055         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
8056         (_print_arg_data): Initialize per-input timing to 0.
8057
8058         * benchtests/Makefile (timing-type): New binary.
8059         (bench-clean): Also remove bench-timing-type.
8060         (bench): New target for timing-type.
8061         (bench-func): Print output in JSON format.
8062         * benchtests/bench-skeleton.c (main): Print output in JSON
8063         format.
8064         * benchtests/bench-timing-type.c: New file.
8065         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
8066         (TIMING_PRINT_STATS): Remove.
8067         * benchtests/scripts/bench.py (_print_arg_data): Store variant
8068         name separately.
8069
8070         * benchtests/bench-modf.c: Remove.
8071         * benchtests/modf-inputs: New inputs file.
8072
8073 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
8074
8075         [BZ #16362]
8076         * math/s_clog10.c (M_PI_LOG10E): New macro.
8077         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
8078         imaginary parts are 0.
8079         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
8080         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
8081         imaginary parts are 0.
8082         * math/s_clog10l.c (M_PI_LOG10El): New macro.
8083         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
8084         imaginary parts are 0.
8085         * math/libm-test.inc (clog10_test_data): Update expected results
8086         for when real and imaginary parts are 0.
8087
8088 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
8089
8090         * elf/dl-load.c: Finish conversion of __builtin_expect into
8091         __glibc_{un}likely.
8092
8093 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
8094
8095         [BZ #16348]
8096         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
8097         1+x for argument with exponent below -67.
8098         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
8099         Likewise.
8100         * math/auto-libm-test-in: Add more tests of exp.
8101         * math/auto-libm-test-out: Regenerated.
8102
8103 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8104
8105         [BZ #16759]
8106         * inet/getnetgrent_r.c (get_nonempty_val): New function.
8107         (nscd_getnetgrent): Use it.
8108
8109         [BZ #16760]
8110         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
8111         of stpcpy.
8112
8113 2014-03-27  Andi Kleen  <ak@linux.intel.com>
8114
8115         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
8116         (lll_robust_lock, lll_cond_lock, lll_timedlock)
8117         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
8118         (lll_robust_unlock): Remove out of line section. Use cfi
8119         intrinsics.
8120         (LLL_STUB_UNWIND_INFO*): Remove.
8121         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
8122         (lll_robust_lock, lll_cond_lock, lll_timedlock)
8123         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
8124         (lll_robust_unlock): Remove out of line section. Use cfi
8125         intrinsics.
8126         (LLL_STUB_UNWIND_INFO*): Remove.
8127
8128 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8129
8130         [BZ #16758]
8131         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
8132         blank values.
8133
8134 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
8135
8136         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
8137
8138 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
8139
8140         [BZ #16198]
8141         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
8142         fnstenv.
8143         * math/test-fenv-preserve.c: New file.
8144         * math/Makefile (tests): Add test-fenv-preserve.
8145
8146 2014-03-26  Will Newton <will.newton@linaro.org>
8147
8148         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
8149
8150 2014-03-25  Roland McGrath  <roland@hack.frob.com>
8151
8152         * scripts/versionlist.awk: Partition the version sets and emit all
8153         GLIBC_* (sorted) before all others (sorted).
8154
8155 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
8156
8157         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
8158         GLIBC_2.2.5 version.
8159
8160 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8161
8162         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
8163         calls.
8164
8165         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
8166         previous change.
8167
8168         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8169
8170 2014-03-25  Andreas Schwab  <schwab@suse.de>
8171
8172         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
8173         label to be used after in6ailist is initialized.
8174
8175 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8176
8177         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8178         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8179
8180 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
8181
8182         [BZ #16357]
8183         [BZ #16599]
8184         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
8185         min_plus_half.
8186         (fp_formats): Update initializers.
8187         (init_fp_formats): Initialize new field.
8188         (output_for_one_input_case): Allow underflow for results up to
8189         min_plus_half.
8190         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
8191         * math/auto-libm-test-in: Don't mark some underflows from asin and
8192         atanh as spurious.
8193         * math/auto-libm-test-out: Regenerated.
8194         * sysdeps/i386/fpu/libm-test-ulps: Update.
8195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8196
8197 2014-03-25  Andreas Schwab  <schwab@suse.de>
8198
8199         * libio/Makefile (tst-ftell-partial-wide-ENV)
8200         (tst-ftell-active-handler-ENV): Define.
8201
8202 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
8203
8204         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
8205
8206 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
8207
8208         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
8209
8210 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
8211
8212         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
8213         * sysdeps/x86_64/fpu/multiarch/e_exp.c
8214         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8215
8216 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
8217
8218         [BZ #16634]
8219         * elf/dl-load.c (open_verify): Add mode parameter.
8220         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
8221         (open_path): Change from boolean 'secure' to complete flag 'mode'
8222         (_dl_map_object): Adjust.
8223         * elf/Makefile (tests): Add tst-dlopen-aout.
8224         * elf/tst-dlopen-aout.c: New test.
8225
8226 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
8227
8228         [BZ #16714]
8229         * sysdeps/unix/sysv/linux/s390/bits/stat.h
8230         (struct stat): Rename member pad0 to __glibc_reserved0.
8231
8232         [BZ #16712]
8233         * sysdeps/s390/s390-32/bits/wordsize.h
8234         (__WORDSIZE32_SIZE_ULONG): New define.
8235         * sysdeps/s390/s390-64/bits/wordsize.h
8236         (__WORDSIZE32_SIZE_ULONG): Likewise.
8237         * sysdeps/generic/stdint.h (SIZE_MAX):
8238         Define as UL if __WORDSIZE32_SIZE_ULONG.
8239
8240         [BZ #16713]
8241         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
8242         (__glibc_reserved0): New variable.
8243         (sa_flags): Change type to int.
8244
8245         * posix/Makefile (before-compile): Use += before-compile instead
8246         of a :=.
8247
8248         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8249         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8250
8251 2014-03-20  Andreas Schwab  <schwab@suse.de>
8252
8253         [BZ #16743]
8254         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
8255         non-matching result from nscd.
8256
8257 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8258
8259         * scripts/bench.py: Moved to ...
8260         * benchtests/scripts/bench.py: ... here.
8261         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
8262
8263 2014-03-24  Andreas Schwab  <schwab@suse.de>
8264
8265         [BZ #16002]
8266         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
8267         alloca_account and account alloca use for struct in6ailist.
8268
8269 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
8270
8271         [BZ #16284]
8272         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
8273         rounding mode to recompute results that overflow to infinity or
8274         underflow to zero.
8275         * math/auto-libm-test-in: Don't mark tests as expected to fail for
8276         bug 16284.
8277         * math/auto-libm-test-out: Regenerated.
8278         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
8279         (ccosh_test): Likewise.
8280         (csin_test_data): Use plus_oflow.
8281         (csin_test): Use ALL_RM_TEST.
8282         (csinh_test_data): Use plus_oflow.
8283         (csinh_test): Use ALL_RM_TEST.
8284         * sysdeps/i386/fpu/libm-test-ulps: Update.
8285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8286
8287 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
8288
8289         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
8290         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
8291         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
8292
8293         [BZ #16731]
8294         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
8295         when x - 1 is zero.
8296         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
8297         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
8298         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8299         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
8300         argument is 1.
8301         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
8302         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
8303         zero.
8304         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
8305         * sysdeps/i386/fpu/libm-test-ulps: Update.
8306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8307
8308 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8309
8310         * scripts/bench.pl: Remove file.
8311         * scripts/bench.py: New benchmark script.
8312         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
8313         * benchtests/README: Mention python dependency.
8314         * scripts/pylintrc: New file.
8315         * scripts/pylint: New file.
8316
8317         * bits/mathdef.h: Use #ifdef instead of #if.
8318         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
8319         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8320         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
8321         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8322         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
8323         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8324
8325 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8326             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8327
8328         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
8329         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
8330         and strpbrk-ppc64 objects.
8331         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8332         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
8333         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
8334         multiarch strpbrk for POWER7.
8335         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
8336         multiarch strpbrk for PPC64.
8337         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
8338         ifunc selector.
8339         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
8340         strpbrk for POWER7.
8341
8342 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
8343
8344         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
8345         (atan_test): Likewise.
8346         (atanh_test_data): Use NO_TEST_INLINE for two tests.
8347         (atanh_test): Use ALL_RM_TEST.
8348         (atan2_test_data): Likewise.
8349         (cabs_test): Likewise.
8350         (cacosh_test): Likewise.
8351         (carg_test): Likewise.
8352         (casin_test): Likewise.
8353         (casinh_test): Likewise.
8354         (cbrt_test): Likewise.
8355         (csqrt_test): Likewise.
8356         (erf_test): Likewise.
8357         (erfc_test): Likewise.
8358         (pow10_test): Likewise.
8359         (exp2_test): Likewise.
8360         (hypot_test): Likewise.
8361         (j0_test): Likewise.
8362         (j1_test): Likewise.
8363         (lgamma_test): Likewise.
8364         (gamma_test): Likewise.
8365         (sincos_test): Likewise.
8366         (tanh_test): Likewise.
8367         (y0_test): Likewise.
8368         (y1_test): Likewise.
8369         * sysdeps/i386/fpu/libm-test-ulps: Update.
8370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8371
8372 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8373
8374         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
8375         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
8376         and strcspn-ppc64 objects.
8377         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8378         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
8379         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
8380         multiarch strcspn for POWER7.
8381         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
8382         multiarch strcspn for PPC64.
8383         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
8384         ifunc selector.
8385         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
8386         strcspn for POWER7.
8387
8388 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
8389
8390         * math/gen-libm-test.pl (generate_testfile): Expect only function
8391         name as argument to AUTO_TESTS_* and pass results for all rounding
8392         modes to parse_args.
8393         (parse_auto_input): Separate inputs of automatic tests from
8394         outputs before storing in %auto_tests.
8395         * math/libm-test.inc (acos_test_data): Update call to
8396         AUTO_TESTS_f_f.
8397         (acos_test): Use ALL_RM_TEST.
8398         (acos_tonearest_test_data): Remove.
8399         (acos_test_tonearest): Likewise.
8400         (acos_towardzero_test_data): Likewise.
8401         (acos_test_towardzero): Likewise.
8402         (acos_downward_test_data): Likewise.
8403         (acos_test_downward): Likewise.
8404         (acos_upward_test_data): Likewise.
8405         (acos_test_upward): Likewise.
8406         (acosh_test_data): Update call to AUTO_TESTS_f_f.
8407         (asin_test_data): Likewise.
8408         (asin_test): Use ALL_RM_TEST.
8409         (asin_tonearest_test_data): Remove.
8410         (asin_test_tonearest): Likewise.
8411         (asin_towardzero_test_data): Likewise.
8412         (asin_test_towardzero): Likewise.
8413         (asin_downward_test_data): Likewise.
8414         (asin_test_downward): Likewise.
8415         (asin_upward_test_data): Likewise.
8416         (asin_test_upward): Likewise.
8417         (asinh_test_data): Update call to AUTO_TESTS_f_f.
8418         (atan_test_data): Likewise.
8419         (atanh_test_data): Likewise.
8420         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
8421         (cabs_test_data): Update call to AUTO_TESTS_c_f.
8422         (carg_test_data): Likewise.
8423         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
8424         (ccos_test_data): Update call to AUTO_TESTS_c_c.
8425         (ccosh_test_data): Likewise.
8426         (cexp_test_data): Likewise.
8427         (clog_test_data): Likewise.
8428         (clog10_test_data): Likewise.
8429         (cos_test_data): Update call to AUTO_TESTS_f_f.
8430         (cos_test): Use ALL_RM_TEST.
8431         (cos_tonearest_test_data): Remove.
8432         (cos_test_tonearest): Likewise.
8433         (cos_towardzero_test_data): Likewise.
8434         (cos_test_towardzero): Likewise.
8435         (cos_downward_test_data): Likewise.
8436         (cos_test_downward): Likewise.
8437         (cos_upward_test_data): Likewise.
8438         (cos_test_upward): Likewise.
8439         (cosh_test_data): Update call to AUTO_TESTS_f_f.
8440         (cosh_test): Use ALL_RM_TEST.
8441         (cosh_tonearest_test_data): Remove.
8442         (cosh_test_tonearest): Likewise.
8443         (cosh_towardzero_test_data): Likewise.
8444         (cosh_test_towardzero): Likewise.
8445         (cosh_downward_test_data): Likewise.
8446         (cosh_test_downward): Likewise.
8447         (cosh_upward_test_data): Likewise.
8448         (cosh_test_upward): Likewise.
8449         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
8450         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
8451         (ctan_test_data): Likewise.
8452         (ctan_test): Use ALL_RM_TEST.
8453         (ctan_tonearest_test_data): Remove.
8454         (ctan_test_tonearest): Likewise.
8455         (ctan_towardzero_test_data): Likewise.
8456         (ctan_test_towardzero): Likewise.
8457         (ctan_downward_test_data): Likewise.
8458         (ctan_test_downward): Likewise.
8459         (ctan_upward_test_data): Likewise.
8460         (ctan_test_upward): Likewise.
8461         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
8462         (ctanh_test): Use ALL_RM_TEST.
8463         (ctanh_tonearest_test_data): Remove.
8464         (ctanh_test_tonearest): Likewise.
8465         (ctanh_towardzero_test_data): Likewise.
8466         (ctanh_test_towardzero): Likewise.
8467         (ctanh_downward_test_data): Likewise.
8468         (ctanh_test_downward): Likewise.
8469         (ctanh_upward_test_data): Likewise.
8470         (ctanh_test_upward): Likewise.
8471         (erf_test_data): Update call to AUTO_TESTS_f_f.
8472         (erfc_test_data): Likewise.
8473         (exp_test_data): Likewise.
8474         (exp_test): Use ALL_RM_TEST.
8475         (exp_tonearest_test_data): Remove.
8476         (exp_test_tonearest): Likewise.
8477         (exp_towardzero_test_data): Likewise.
8478         (exp_test_towardzero): Likewise.
8479         (exp_downward_test_data): Likewise.
8480         (exp_test_downward): Likewise.
8481         (exp_upward_test_data): Likewise.
8482         (exp_test_upward): Likewise.
8483         (exp10_test_data): Update call to AUTO_TESTS_f_f.
8484         (exp10_test): Use ALL_RM_TEST.
8485         (exp10_tonearest_test_data): Remove.
8486         (exp10_test_tonearest): Likewise.
8487         (exp10_towardzero_test_data): Likewise.
8488         (exp10_test_towardzero): Likewise.
8489         (exp10_downward_test_data): Likewise.
8490         (exp10_test_downward): Likewise.
8491         (exp10_upward_test_data): Likewise.
8492         (exp10_test_upward): Likewise.
8493         (exp2_test_data): Update call to AUTO_TESTS_f_f.
8494         (expm1_test_data): Likewise.
8495         (expm1_test): Use ALL_RM_TEST.
8496         (expm1_tonearest_test_data): Remove.
8497         (expm1_test_tonearest): Likewise.
8498         (expm1_towardzero_test_data): Likewise.
8499         (expm1_test_towardzero): Likewise.
8500         (expm1_downward_test_data): Likewise.
8501         (expm1_test_downward): Likewise.
8502         (expm1_upward_test_data): Likewise.
8503         (expm1_test_upward): Likewise.
8504         (fma_test_data): Update call to AUTO_TESTS_fff_f.
8505         (fma_test): Use ALL_RM_TEST.
8506         (fma_towardzero_test_data): Remove.
8507         (fma_test_towardzero): Likewise.
8508         (fma_downward_test_data): Likewise.
8509         (fma_test_downward): Likewise.
8510         (fma_upward_test_data): Likewise.
8511         (fma_test_upward): Likewise.
8512         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
8513         (j0_test_data): Update call to AUTO_TESTS_f_f.
8514         (j1_test_data): Likewise.
8515         (jn_test_data): Update call to AUTO_TESTS_if_f.
8516         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
8517         (log_test_data): Update call to AUTO_TESTS_f_f.
8518         (log10_test_data): Likewise.
8519         (log1p_test_data): Likewise.
8520         (log2_test_data): Likewise.
8521         (pow_test_data): Update call to AUTO_TESTS_ff_f.
8522         (pow_tonearest_test_data): Likewise.
8523         (sin_test_data): Update call to AUTO_TESTS_f_f.
8524         (sin_test): Use ALL_RM_TEST.
8525         (sin_tonearest_test_data): Remove.
8526         (sin_test_tonearest): Likewise.
8527         (sin_towardzero_test_data): Likewise.
8528         (sin_test_towardzero): Likewise.
8529         (sin_downward_test_data): Likewise.
8530         (sin_test_downward): Likewise.
8531         (sin_upward_test_data): Likewise.
8532         (sin_test_upward): Likewise.
8533         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
8534         (sinh_test_data): Update call to AUTO_TESTS_f_f.
8535         (sinh_test): Use ALL_RM_TEST.
8536         (sinh_tonearest_test_data): Remove.
8537         (sinh_test_tonearest): Likewise.
8538         (sinh_towardzero_test_data): Likewise.
8539         (sinh_test_towardzero): Likewise.
8540         (sinh_downward_test_data): Likewise.
8541         (sinh_test_downward): Likewise.
8542         (sinh_upward_test_data): Likewise.
8543         (sinh_test_upward): Likewise.
8544         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
8545         (sqrt_test): Use ALL_RM_TEST.
8546         (sqrt_tonearest_test_data): Remove.
8547         (sqrt_test_tonearest): Likewise.
8548         (sqrt_towardzero_test_data): Likewise.
8549         (sqrt_test_towardzero): Likewise.
8550         (sqrt_downward_test_data): Likewise.
8551         (sqrt_test_downward): Likewise.
8552         (sqrt_upward_test_data): Likewise.
8553         (sqrt_test_upward): Likewise.
8554         (tan_test_data): Update call to AUTO_TESTS_f_f.
8555         (tan_test): Use ALL_RM_TEST.
8556         (tan_tonearest_test_data): Remove.
8557         (tan_test_tonearest): Likewise.
8558         (tan_towardzero_test_data): Likewise.
8559         (tan_test_towardzero): Likewise.
8560         (tan_downward_test_data): Likewise.
8561         (tan_test_downward): Likewise.
8562         (tan_upward_test_data): Likewise.
8563         (tan_test_upward): Likewise.
8564         (tanh_test_data): Update call to AUTO_TESTS_f_f.
8565         (tgamma_test_data): Likewise.
8566         (y0_test_data): Likewise.
8567         (y1_test_data): Likewise.
8568         (yn_test_data): Update call to AUTO_TESTS_if_f.
8569         (main): Do not call removed functions.
8570
8571 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
8572
8573         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
8574         (ldexp_test_data): Remove.
8575         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
8576         scalbn_test_data.
8577         (scalb_test): Use ALL_RM_TEST.
8578
8579 2014-03-19  Andreas Schwab  <schwab@suse.de>
8580
8581         * nscd/nscd.service: Also invalidate netgroup cache on reload.
8582
8583 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
8584
8585         [BZ #16649]
8586         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8587         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
8588         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
8589         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8590         (__ASSUME_PREADV): Undefine.
8591         (__ASSUME_PWRITEV): Likewise.
8592
8593 2014-03-18  Roland McGrath  <roland@hack.frob.com>
8594
8595         * bits/mman-linux.h: Add comment about non-Linux use.
8596         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
8597         bits/mman-linux.h resting place.
8598
8599         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
8600         * bits/mman-linux.h: ... here.
8601
8602 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8603
8604         * conform/conformtest.pl: Add standard definition when calling C
8605         preprocessor on data files.
8606         (checknamespace): Remove unused variable.
8607
8608 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
8609
8610         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
8611         minus_oflow, plus_uflow and minus_uflow in expected results.
8612         * math/libm-test.inc (scalbn_test_data): Add more tests of
8613         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
8614         minus_uflow.
8615         (scalbn_test): Use ALL_RM_TEST.
8616         (scalbln_test_data): Add more tests of negative arguments.  Use
8617         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
8618         (scalbln_test): Use ALL_RM_TEST.
8619
8620 2014-03-18  Roland McGrath  <roland@hack.frob.com>
8621
8622         * scripts/abilist.awk: Ignore symbols marked with .hidden.
8623
8624 2014-03-18  Will Newton  <will.newton@linaro.org>
8625
8626         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
8627         inaccurate comment.
8628
8629 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
8630
8631         * Makerules [!subdir] (check-abi): Exit with error status if a
8632         test failed.
8633
8634 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
8635
8636         * math/libm-test.inc (nearbyint_test_data): Include all tests used
8637         for rint.  Include results for all rounding modes.
8638         (nearbyint_test): Use ALL_RM_TEST.
8639         (rint_test_data): Include all tests used for nearbyint.
8640
8641 2014-03-17  Will Newton  <will.newton@linaro.org>
8642
8643         * nptl/sysdeps/pthread/pthread.h: Revert previous
8644         change.
8645
8646         * sysdeps/generic/ldsodefs.h: Revert previous
8647         change.
8648
8649         * libio/genops.c: Revert previous change.
8650         * libio/libioP.h: Likewise.
8651         * stdio-common/vfprintf.c: Likewise.
8652
8653         * sysdeps/generic/math_private.h: Revert previous
8654         change.
8655
8656         * sysdeps/generic/math_private.h: Check whether
8657         HAVE_RM_CTX is defined with #ifdef rather
8658         than #if.
8659
8660         * argp/argp-fmtstream.h: Check whether
8661         __STRICT_ANSI__ is defined with #ifdef rather
8662         than #if.
8663         * argp/argp.h: Likewise.
8664
8665         * libio/genops.c: Check whether
8666         _IO_JUMPS_OFFSET is defined with #ifdef rather
8667         than #if.
8668         * libio/libioP.h: Likewise.
8669         * stdio-common/vfprintf.c: Likewise.
8670
8671         * sysdeps/generic/ldsodefs.h: Check whether
8672         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
8673         than #if.
8674
8675         * nptl/sysdeps/pthread/pthread.h: Check
8676         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
8677         its value.
8678
8679 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
8680
8681         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
8682         setting O_APPEND.
8683         * libio/tst-ftell-active-handler.c (do_append_test): Add a
8684         test case.
8685
8686         [BZ #16680]
8687         * libio/fileops.c (_IO_file_open): Seek to end of file but
8688         don't cache the offset.
8689         (get_file_offset): Remove function.
8690         (do_ftell): Use cached offset when available.
8691         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
8692         don't cache the offset.
8693         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
8694         case.
8695         (do_one_test): Call it.
8696         (do_ftell_test): Fix up expected old offset for a+ mode.
8697         * libio/wfileops.c (do_ftell_wide): Used cached offset when
8698         available.
8699
8700         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
8701         up test status with function return status.
8702         (do_write_test): Likewise.
8703         (do_append_test): Likewise.
8704
8705         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
8706         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
8707         Remove.
8708
8709 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
8710
8711         * math/gen-libm-test.pl (parse_args): Handle results specified for
8712         each rounding mode separately.
8713         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
8714         tests and results from lrint_tonearest_test_data,
8715         lrint_towardzero_test_data, lrint_downward_test_data and
8716         lrint_upward_test_data.
8717         (lrint_test): Use ALL_RM_TEST.
8718         (lrint_tonearest_test_data): Remove.
8719         (lrint_test_tonearest): Likewise.
8720         (lrint_towardzero_test_data): Likewise.
8721         (lrint_test_towardzero): Likewise.
8722         (lrint_downward_test_data): Likewise.
8723         (lrint_test_downward): Likewise.
8724         (lrint_upward_test_data): Likewise.
8725         (lrint_test_upward): Likewise.
8726         (llrint_test_data): Merge in per-rounding-mode tests and results
8727         from llrint_tonearest_test_data, llrint_towardzero_test_data,
8728         llrint_downward_test_data and llrint_upward_test_data.
8729         (llrint_test): Use ALL_RM_TEST.
8730         (llrint_tonearest_test_data): Remove.
8731         (llrint_test_tonearest): Likewise.
8732         (llrint_towardzero_test_data): Likewise.
8733         (llrint_test_towardzero): Likewise.
8734         (llrint_downward_test_data): Likewise.
8735         (llrint_test_downward): Likewise.
8736         (llrint_upward_test_data): Likewise.
8737         (llrint_test_upward): Likewise.
8738         (rint_test_data): Merge in per-rounding-mode tests and results
8739         from rint_tonearest_test_data, rint_towardzero_test_data,
8740         rint_downward_test_data and rint_upward_test_data.  Add
8741         per-rounding-mode results for tests not in those arrays.
8742         (rint_test): Use ALL_RM_TEST.
8743         (rint_tonearest_test_data): Remove.
8744         (rint_test_tonearest): Likewise.
8745         (rint_towardzero_test_data): Likewise.
8746         (rint_test_towardzero): Likewise.
8747         (rint_downward_test_data): Likewise.
8748         (rint_test_downward): Likewise.
8749         (rint_upward_test_data): Likewise.
8750         (rint_test_upward): Likewise.
8751         (main): Don't call removed functions.
8752
8753 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8754
8755         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
8756         "Compiled on ..." crapola.  It is anti-useful.
8757
8758 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
8759
8760         * scripts/evaluate-test.sh: Handle fourth argument to determine
8761         whether test run should stop on failure.
8762         * Makeconfig (stop-on-test-failure): New variable.
8763         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
8764         $(stop-on-test-failure).
8765         * Makefile (tests): Give a summary of results from testing and
8766         exit with failure status if they include an ERROR or FAIL.
8767         (xtests): Likewise.
8768         * manual/install.texi (Configuring and compiling): Mention
8769         stop-on-test-failure=y.
8770         * INSTALL: Regenerated.
8771
8772 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8773
8774         * scripts/versionlist.awk: New file.
8775         * Makerules [$(build-shared) = yes]
8776         (postclean-generated): Add Versions.def, not Versions.def.v and
8777         Versions.def.v.i.
8778         ($(common-objpfx)Versions.def.v.i): Target removed.
8779         ($(common-objpfx)Versions.def): New target.
8780         ($(common-objpfx)Versions.all): Depend on that rather that
8781         $(common-objpfx)Versions.def.v.
8782         * Versions.def: File removed.
8783
8784         * Makeconfig (+gccwarn): Add -Wundef.
8785         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
8786         a dl-sysdep.h breaking its contract.
8787         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
8788         * include/stackinfo.h: New file.
8789         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
8790         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
8791         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
8792         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
8793         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
8794         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
8795         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8796         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8797         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8798         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8799         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8800         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
8801         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8802         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8803         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8804
8805 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8806
8807         [BZ #16707]
8808         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
8809         implementation.
8810         * math/libm-test.inc (round_test_data): Add more tests.
8811
8812         [BZ #16706]
8813         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
8814         implementation.
8815         * math/libm-test.inc (nearbyint_test_data): Add more tests.
8816
8817         [BZ #16701]
8818         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
8819         implementation.
8820         * math/libm-test.inc (ceil_test_data): Add more tests.
8821
8822         * math/libm-test.inc (trunc_test_data): Add more tests related to
8823         BZ#16414.
8824
8825 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8826
8827         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
8828         with #if rather than #ifdef.
8829         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8830
8831 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
8832
8833         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8834         first.  Disable AVX-512 GCC support if assembler doesn't support
8835         it.
8836         * sysdeps/x86_64/configure: Regenerated.
8837
8838 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
8839
8840         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8841         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8842         (__old_pthread_attr_setstack): Likewise.
8843         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8844         [!_STACK_GROWS_DOWN]: Likewise.
8845
8846 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
8847
8848         * config.make.in (have-bash2): Delete.
8849         * configure.ac (libc_cv_have_bash2): Delete.
8850         * configure: Regenerate.
8851         * elf/Makefile (common-ldd-rewrite): Rename to ...
8852         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
8853         (sh-ldd-rewrite): Delete.
8854         (bash-ldd-rewrite): Delete.
8855         (have-bash2): Delete checks.
8856         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8857         ldd-rewrite.
8858
8859         * config.make.in (have-ksh): Delete.
8860         (KSH): Delete.
8861         * configure.ac (libc_cv_have_ksh): Delete.
8862         * configure: Regenerate.
8863
8864         * elf/Makefile: Delete $(have-ksh) check.
8865         ($(objpfx)sotruss): Change KSH to BASH.
8866         * elf/sotruss.ksh: Rename to ...
8867         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
8868         function style to match POSIX.  Drop ksh vim mode setting.
8869
8870         * manual/time.texi (Specifying the Time Zone with TZ): Change
8871         Tuesday to Thursday.
8872
8873         * debug/tst-longjmp_chk2.c: Update header comment.
8874         (stackoverflow_handler): Add comment.  Call assert on pass value.
8875
8876 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
8877
8878         [BZ #16194]
8879         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8880         (HAVE_AVX512_ASM_SUPPORT): Likewise.
8881         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8882         (La_x86_64_vector): Add zmm.
8883         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8884         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8885         ($(objpfx)tst-audit10): New target.
8886         ($(objpfx)tst-audit10.out): Likewise.
8887         (tst-audit10-ENV): New.
8888         (AVX512-CFLAGS): Likewise.
8889         (CFLAGS-tst-audit10.c): Likewise.
8890         (CFLAGS-tst-auditmod10a.c): Likewise.
8891         (CFLAGS-tst-auditmod10b.c): Likewise.
8892         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8893         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8894         * sysdeps/x86_64/configure: Regenerated.
8895         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8896         AVX-512 zmm register support.
8897         (_dl_x86_64_save_sse): Likewise.
8898         (_dl_x86_64_restore_sse): Likewise.
8899         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8900         size vector registers.
8901         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8902         (ZMM_SIZE): Likewise.
8903         * sysdeps/x86_64/tst-audit10.c: New file.
8904         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8905         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8906
8907 2014-03-13  Roland McGrath  <roland@hack.frob.com>
8908
8909         * configure.ac (HAVE_EHDR_START): New check.
8910         * configure: Regenerated.
8911         * config.h.in (HAVE_EHDR_START): New #undef.
8912         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8913         assuming the lowest-addressed segment maps the start of the file.
8914
8915 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
8916
8917         * INSTALL: Regenerated.
8918
8919 2014-03-13  Will Newton  <will.newton@linaro.org>
8920
8921         * manual/setjmp.texi (System V contexts): Improve
8922         clarity and grammar of documentation.
8923
8924 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
8925
8926         [BZ #16381]
8927         * elf/Makefile (tests): Add tst-pie2.
8928         (tests-pie): Add tst-pie2.
8929         * elf/tst-pie2.c: New file.
8930         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8931         for ET_EXEC.
8932         * elf/rtld.c (map_doit): Load executable as lt_executable.
8933         (dl_main): Likewise.
8934
8935 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
8936
8937         [BZ #16642]
8938         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8939         (__ASSUME_PSELECT): Undefine.
8940
8941 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8942
8943         [BZ #16689]
8944         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8945         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8946         static build.
8947         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8948         selector for static builds.
8949
8950 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8951
8952         [BZ #16695]
8953         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8954         key in the buffer.
8955
8956 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8957
8958         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8959         IFUNC selector for static builds.
8960
8961 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
8962
8963         * sysdeps/mips/math_private.h [__mips_hard_float]
8964         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8965         libc_feresetround_mips_ctx.
8966         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8967         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8968         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8969
8970         [BZ #16677]
8971         * math/s_nextafter.c (__nextafter): Do not return value from
8972         overflowing computation.
8973         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8974         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8975         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8976         Likewise.
8977         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8978         Likewise.
8979         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8980         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8981
8982 2014-03-11  Roland McGrath  <roland@hack.frob.com>
8983
8984         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8985         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8986         Move sfi_sp use from the load-multiple (that no longer sets sp) to
8987         the new mov targetting sp.
8988
8989 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8990
8991         [BZ #16683]
8992         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8993         Define it for static builds as well.
8994         (NO_BZERO_IMPL): Likewise.
8995
8996 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8997
8998         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8999         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
9000         multiarch strspn for PPC64.
9001         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
9002         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
9003         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9004         (__libc_ifunc_impl_list): Likewise.
9005         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
9006         multiarch optimizations
9007         * string/strspn.c (strspn): Using macro to redefine symbol name.
9008
9009 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9010             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9011
9012         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
9013         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
9014         multiarch strncat for PPC64.
9015         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
9016         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
9017         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9018         (__libc_ifunc_impl_list): Likewise.
9019         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
9020         multiarch optimizations
9021
9022 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9023
9024         [BZ #16639]
9025         * nscd/nscd.service: Make service type forking.
9026
9027 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9028
9029         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
9030         sign in non default rounding modes.
9031         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9032
9033 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
9034
9035         * math/libm-test.inc (ALL_RM_TEST): New macro.
9036         (ceil_test): Use ALL_RM_TEST.
9037         (cimag_test): Likewise.
9038         (conj_test): Likewise.
9039         (copysign_test): Likewise.
9040         (cproj_test): Likewise.
9041         (creal_test): Likewise.
9042         (fabs_test): Likewise.
9043         (floor_test): Likewise.
9044         (fmax_test): Likewise.
9045         (fmin_test): Likewise.
9046         (fmod_test): Likewise.
9047         (fpclassify_test): Likewise.
9048         (frexp_test): Likewise.
9049         (ilogb_test): Likewise.
9050         (isfinite_test): Likewise.
9051         (finite_test): Likewise.
9052         (isgreater_test): Likewise.
9053         (isgreaterequal_test): Likewise.
9054         (isinf_test): Likewise.
9055         (isless_test): Likewise.
9056         (islessequal_test): Likewise.
9057         (islessgreater_test): Likewise.
9058         (isnan_test): Likewise.
9059         (isnormal_test): Likewise.
9060         (issignaling_test): Likewise.
9061         (isunordered_test): Likewise.
9062         (logb_test): Likewise.
9063         (logb_downward_test_data): Remove.
9064         (logb_test_downward): Likewise.
9065         (lround_test): Use ALL_RM_TEST.
9066         (llround_test): Likewise.
9067         (modf_test): Likewise.
9068         (nexttoward_test): Likewise.
9069         (remainder_test): Likewise.
9070         (drem_test): Likewise.
9071         (remainder_tonearest_test_data): Likewise.
9072         (remainder_test_tonearest): Likewise.
9073         (drem_test_tonearest): Likewise.
9074         (remainder_towardzero_test_data): Likewise.
9075         (remainder_test_towardzero): Likewise.
9076         (drem_test_towardzero): Likewise.
9077         (remainder_downward_test_data): Likewise.
9078         (remainder_test_downward): Likewise.
9079         (drem_test_downward): Likewise.
9080         (remainder_upward_test_data): Likewise.
9081         (remainder_test_upward): Likewise.
9082         (drem_test_upward): Likewise.
9083         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
9084         (round_test): Use ALL_RM_TEST.
9085         (signbit_test): Likewise.
9086         (trunc_test): Likewise.
9087         (significand_test): Likewise.
9088         (main): Don't call removed functions.
9089
9090 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
9091
9092         [BZ #16674]
9093         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
9094         || __USE_XOPEN2K8].
9095         (ILL_ILLOPN): Likewise.
9096         (ILL_ILLADR): Likewise.
9097         (ILL_ILLTRP): Likewise.
9098         (ILL_PRVOPC): Likewise.
9099         (ILL_PRVREG): Likewise.
9100         (ILL_COPROC): Likewise.
9101         (ILL_BADSTK): Likewise.
9102         (FPE_INTDIV): Likewise.
9103         (FPE_INTOVF): Likewise.
9104         (FPE_FLTDIV): Likewise.
9105         (FPE_FLTOVF): Likewise.
9106         (FPE_FLTUND): Likewise.
9107         (FPE_FLTRES): Likewise.
9108         (FPE_FLTINV): Likewise.
9109         (FPE_FLTSUB): Likewise.
9110         (SEGV_MAPERR): Likewise.
9111         (SEGV_ACCERR): Likewise.
9112         (BUS_ADRALN): Likewise.
9113         (BUS_ADRERR): Likewise.
9114         (BUS_OBJERR): Likewise.
9115         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9116         (TRAP_TRACE): Likewise.
9117         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9118         __USE_XOPEN2K8].
9119         (CLD_KILLED): Likewise.
9120         (CLD_DUMPED): Likewise.
9121         (CLD_TRAPPED): Likewise.
9122         (CLD_STOPPED): Likewise.
9123         (CLD_CONTINUED): Likewise.
9124         (POLL_IN): Likewise.
9125         (POLL_OUT): Likewise.
9126         (POLL_MSG): Likewise.
9127         (POLL_ERR): Likewise.
9128         (POLL_PRI): Likewise.
9129         (POLL_HUP): Likewise.
9130         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
9131         Likewise.
9132         (ILL_ILLOPN): Likewise.
9133         (ILL_ILLADR): Likewise.
9134         (ILL_ILLTRP): Likewise.
9135         (ILL_PRVOPC): Likewise.
9136         (ILL_PRVREG): Likewise.
9137         (ILL_COPROC): Likewise.
9138         (ILL_BADSTK): Likewise.
9139         (FPE_INTDIV): Likewise.
9140         (FPE_INTOVF): Likewise.
9141         (FPE_FLTDIV): Likewise.
9142         (FPE_FLTOVF): Likewise.
9143         (FPE_FLTUND): Likewise.
9144         (FPE_FLTRES): Likewise.
9145         (FPE_FLTINV): Likewise.
9146         (FPE_FLTSUB): Likewise.
9147         (SEGV_MAPERR): Likewise.
9148         (SEGV_ACCERR): Likewise.
9149         (BUS_ADRALN): Likewise.
9150         (BUS_ADRERR): Likewise.
9151         (BUS_OBJERR): Likewise.
9152         (BUS_MCEERR_AR): Likewise.
9153         (BUS_MCEERR_AO): Likewise.
9154         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9155         (TRAP_TRACE): Likewise.
9156         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9157         __USE_XOPEN2K8].
9158         (CLD_KILLED): Likewise.
9159         (CLD_DUMPED): Likewise.
9160         (CLD_TRAPPED): Likewise.
9161         (CLD_STOPPED): Likewise.
9162         (CLD_CONTINUED): Likewise.
9163         (POLL_IN): Likewise.
9164         (POLL_OUT): Likewise.
9165         (POLL_MSG): Likewise.
9166         (POLL_ERR): Likewise.
9167         (POLL_PRI): Likewise.
9168         (POLL_HUP): Likewise.
9169         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
9170         (ILL_ILLOPN): Likewise.
9171         (ILL_ILLADR): Likewise.
9172         (ILL_ILLTRP): Likewise.
9173         (ILL_PRVOPC): Likewise.
9174         (ILL_PRVREG): Likewise.
9175         (ILL_COPROC): Likewise.
9176         (ILL_BADSTK): Likewise.
9177         (FPE_INTDIV): Likewise.
9178         (FPE_INTOVF): Likewise.
9179         (FPE_FLTDIV): Likewise.
9180         (FPE_FLTOVF): Likewise.
9181         (FPE_FLTUND): Likewise.
9182         (FPE_FLTRES): Likewise.
9183         (FPE_FLTINV): Likewise.
9184         (FPE_FLTSUB): Likewise.
9185         (SEGV_MAPERR): Likewise.
9186         (SEGV_ACCERR): Likewise.
9187         (BUS_ADRALN): Likewise.
9188         (BUS_ADRERR): Likewise.
9189         (BUS_OBJERR): Likewise.
9190         (BUS_MCEERR_AR): Likewise.
9191         (BUS_MCEERR_AO): Likewise.
9192         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9193         (TRAP_TRACE): Likewise.
9194         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9195         __USE_XOPEN2K8].
9196         (CLD_KILLED): Likewise.
9197         (CLD_DUMPED): Likewise.
9198         (CLD_TRAPPED): Likewise.
9199         (CLD_STOPPED): Likewise.
9200         (CLD_CONTINUED): Likewise.
9201         (POLL_IN): Likewise.
9202         (POLL_OUT): Likewise.
9203         (POLL_MSG): Likewise.
9204         (POLL_ERR): Likewise.
9205         (POLL_PRI): Likewise.
9206         (POLL_HUP): Likewise.
9207         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
9208         Likewise.
9209         (ILL_ILLOPN): Likewise.
9210         (ILL_ILLADR): Likewise.
9211         (ILL_ILLTRP): Likewise.
9212         (ILL_PRVOPC): Likewise.
9213         (ILL_PRVREG): Likewise.
9214         (ILL_COPROC): Likewise.
9215         (ILL_BADSTK): Likewise.
9216         (ILL_BADIADDR): Likewise.
9217         (ILL_BREAK): Likewise.
9218         (FPE_INTDIV): Likewise.
9219         (FPE_INTOVF): Likewise.
9220         (FPE_FLTDIV): Likewise.
9221         (FPE_FLTOVF): Likewise.
9222         (FPE_FLTUND): Likewise.
9223         (FPE_FLTRES): Likewise.
9224         (FPE_FLTINV): Likewise.
9225         (FPE_FLTSUB): Likewise.
9226         (FPE_DECOVF): Likewise.
9227         (FPE_DECDIV): Likewise.
9228         (FPE_DECERR): Likewise.
9229         (FPE_INVASC): Likewise.
9230         (FPE_INVDEC): Likewise.
9231         (SEGV_MAPERR): Likewise.
9232         (SEGV_ACCERR): Likewise.
9233         (SEGV_PSTKOVF): Likewise.
9234         (BUS_ADRALN): Likewise.
9235         (BUS_ADRERR): Likewise.
9236         (BUS_OBJERR): Likewise.
9237         (BUS_MCEERR_AR): Likewise.
9238         (BUS_MCEERR_AO): Likewise.
9239         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9240         (TRAP_TRACE): Likewise.
9241         (TRAP_BRANCH): Likewise.
9242         (TRAP_HWBKPT): Likewise.
9243         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9244         __USE_XOPEN2K8].
9245         (CLD_KILLED): Likewise.
9246         (CLD_DUMPED): Likewise.
9247         (CLD_TRAPPED): Likewise.
9248         (CLD_STOPPED): Likewise.
9249         (CLD_CONTINUED): Likewise.
9250         (POLL_IN): Likewise.
9251         (POLL_OUT): Likewise.
9252         (POLL_MSG): Likewise.
9253         (POLL_ERR): Likewise.
9254         (POLL_PRI): Likewise.
9255         (POLL_HUP): Likewise.
9256         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
9257         (ILL_ILLOPN): Likewise.
9258         (ILL_ILLADR): Likewise.
9259         (ILL_ILLTRP): Likewise.
9260         (ILL_PRVOPC): Likewise.
9261         (ILL_PRVREG): Likewise.
9262         (ILL_COPROC): Likewise.
9263         (ILL_BADSTK): Likewise.
9264         (FPE_INTDIV): Likewise.
9265         (FPE_INTOVF): Likewise.
9266         (FPE_FLTDIV): Likewise.
9267         (FPE_FLTOVF): Likewise.
9268         (FPE_FLTUND): Likewise.
9269         (FPE_FLTRES): Likewise.
9270         (FPE_FLTINV): Likewise.
9271         (FPE_FLTSUB): Likewise.
9272         (SEGV_MAPERR): Likewise.
9273         (SEGV_ACCERR): Likewise.
9274         (BUS_ADRALN): Likewise.
9275         (BUS_ADRERR): Likewise.
9276         (BUS_OBJERR): Likewise.
9277         (BUS_MCEERR_AR): Likewise.
9278         (BUS_MCEERR_AO): Likewise.
9279         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9280         (TRAP_TRACE): Likewise.
9281         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9282         __USE_XOPEN2K8].
9283         (CLD_KILLED): Likewise.
9284         (CLD_DUMPED): Likewise.
9285         (CLD_TRAPPED): Likewise.
9286         (CLD_STOPPED): Likewise.
9287         (CLD_CONTINUED): Likewise.
9288         (POLL_IN): Likewise.
9289         (POLL_OUT): Likewise.
9290         (POLL_MSG): Likewise.
9291         (POLL_ERR): Likewise.
9292         (POLL_PRI): Likewise.
9293         (POLL_HUP): Likewise.
9294         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
9295         (ILL_ILLOPN): Likewise.
9296         (ILL_ILLADR): Likewise.
9297         (ILL_ILLTRP): Likewise.
9298         (ILL_PRVOPC): Likewise.
9299         (ILL_PRVREG): Likewise.
9300         (ILL_COPROC): Likewise.
9301         (ILL_BADSTK): Likewise.
9302         (FPE_INTDIV): Likewise.
9303         (FPE_INTOVF): Likewise.
9304         (FPE_FLTDIV): Likewise.
9305         (FPE_FLTOVF): Likewise.
9306         (FPE_FLTUND): Likewise.
9307         (FPE_FLTRES): Likewise.
9308         (FPE_FLTINV): Likewise.
9309         (FPE_FLTSUB): Likewise.
9310         (SEGV_MAPERR): Likewise.
9311         (SEGV_ACCERR): Likewise.
9312         (BUS_ADRALN): Likewise.
9313         (BUS_ADRERR): Likewise.
9314         (BUS_OBJERR): Likewise.
9315         (BUS_MCEERR_AR): Likewise.
9316         (BUS_MCEERR_AO): Likewise.
9317         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9318         (TRAP_TRACE): Likewise.
9319         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9320         __USE_XOPEN2K8].
9321         (CLD_KILLED): Likewise.
9322         (CLD_DUMPED): Likewise.
9323         (CLD_TRAPPED): Likewise.
9324         (CLD_STOPPED): Likewise.
9325         (CLD_CONTINUED): Likewise.
9326         (POLL_IN): Likewise.
9327         (POLL_OUT): Likewise.
9328         (POLL_MSG): Likewise.
9329         (POLL_ERR): Likewise.
9330         (POLL_PRI): Likewise.
9331         (POLL_HUP): Likewise.
9332         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
9333         (ILL_ILLOPN): Likewise.
9334         (ILL_ILLADR): Likewise.
9335         (ILL_ILLTRP): Likewise.
9336         (ILL_PRVOPC): Likewise.
9337         (ILL_PRVREG): Likewise.
9338         (ILL_COPROC): Likewise.
9339         (ILL_BADSTK): Likewise.
9340         (FPE_INTDIV): Likewise.
9341         (FPE_INTOVF): Likewise.
9342         (FPE_FLTDIV): Likewise.
9343         (FPE_FLTOVF): Likewise.
9344         (FPE_FLTUND): Likewise.
9345         (FPE_FLTRES): Likewise.
9346         (FPE_FLTINV): Likewise.
9347         (FPE_FLTSUB): Likewise.
9348         (SEGV_MAPERR): Likewise.
9349         (SEGV_ACCERR): Likewise.
9350         (BUS_ADRALN): Likewise.
9351         (BUS_ADRERR): Likewise.
9352         (BUS_OBJERR): Likewise.
9353         (BUS_MCEERR_AR): Likewise.
9354         (BUS_MCEERR_AO): Likewise.
9355         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9356         (TRAP_TRACE): Likewise.
9357         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9358         __USE_XOPEN2K8].
9359         (CLD_KILLED): Likewise.
9360         (CLD_DUMPED): Likewise.
9361         (CLD_TRAPPED): Likewise.
9362         (CLD_STOPPED): Likewise.
9363         (CLD_CONTINUED): Likewise.
9364         (POLL_IN): Likewise.
9365         (POLL_OUT): Likewise.
9366         (POLL_MSG): Likewise.
9367         (POLL_ERR): Likewise.
9368         (POLL_PRI): Likewise.
9369         (POLL_HUP): Likewise.
9370         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
9371         (ILL_ILLOPN): Likewise.
9372         (ILL_ILLADR): Likewise.
9373         (ILL_ILLTRP): Likewise.
9374         (ILL_PRVOPC): Likewise.
9375         (ILL_PRVREG): Likewise.
9376         (ILL_COPROC): Likewise.
9377         (ILL_BADSTK): Likewise.
9378         (ILL_DBLFLT): Likewise.
9379         (ILL_HARDWALL): Likewise.
9380         (FPE_INTDIV): Likewise.
9381         (FPE_INTOVF): Likewise.
9382         (FPE_FLTDIV): Likewise.
9383         (FPE_FLTOVF): Likewise.
9384         (FPE_FLTUND): Likewise.
9385         (FPE_FLTRES): Likewise.
9386         (FPE_FLTINV): Likewise.
9387         (FPE_FLTSUB): Likewise.
9388         (SEGV_MAPERR): Likewise.
9389         (SEGV_ACCERR): Likewise.
9390         (BUS_ADRALN): Likewise.
9391         (BUS_ADRERR): Likewise.
9392         (BUS_OBJERR): Likewise.
9393         (BUS_MCEERR_AR): Likewise.
9394         (BUS_MCEERR_AO): Likewise.
9395         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9396         (TRAP_TRACE): Likewise.
9397         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9398         __USE_XOPEN2K8].
9399         (CLD_KILLED): Likewise.
9400         (CLD_DUMPED): Likewise.
9401         (CLD_TRAPPED): Likewise.
9402         (CLD_STOPPED): Likewise.
9403         (CLD_CONTINUED): Likewise.
9404         (POLL_IN): Likewise.
9405         (POLL_OUT): Likewise.
9406         (POLL_MSG): Likewise.
9407         (POLL_ERR): Likewise.
9408         (POLL_PRI): Likewise.
9409         (POLL_HUP): Likewise.
9410         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
9411         (ILL_ILLOPN): Likewise.
9412         (ILL_ILLADR): Likewise.
9413         (ILL_ILLTRP): Likewise.
9414         (ILL_PRVOPC): Likewise.
9415         (ILL_PRVREG): Likewise.
9416         (ILL_COPROC): Likewise.
9417         (ILL_BADSTK): Likewise.
9418         (FPE_INTDIV): Likewise.
9419         (FPE_INTOVF): Likewise.
9420         (FPE_FLTDIV): Likewise.
9421         (FPE_FLTOVF): Likewise.
9422         (FPE_FLTUND): Likewise.
9423         (FPE_FLTRES): Likewise.
9424         (FPE_FLTINV): Likewise.
9425         (FPE_FLTSUB): Likewise.
9426         (SEGV_MAPERR): Likewise.
9427         (SEGV_ACCERR): Likewise.
9428         (BUS_ADRALN): Likewise.
9429         (BUS_ADRERR): Likewise.
9430         (BUS_OBJERR): Likewise.
9431         (BUS_MCEERR_AR): Likewise.
9432         (BUS_MCEERR_AO): Likewise.
9433         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9434         (TRAP_TRACE): Likewise.
9435         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9436         __USE_XOPEN2K8].
9437         (CLD_KILLED): Likewise.
9438         (CLD_DUMPED): Likewise.
9439         (CLD_TRAPPED): Likewise.
9440         (CLD_STOPPED): Likewise.
9441         (CLD_CONTINUED): Likewise.
9442         (POLL_IN): Likewise.
9443         (POLL_OUT): Likewise.
9444         (POLL_MSG): Likewise.
9445         (POLL_ERR): Likewise.
9446         (POLL_PRI): Likewise.
9447         (POLL_HUP): Likewise.
9448         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
9449         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9450
9451         [BZ #16670]
9452         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
9453         before #include of <time.h>.
9454         [!__USE_XOPEN2K] (__need_timespec): Likewise.
9455         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
9456         (test-xfail-UNIX98/sched.h/conform): Likewise.
9457
9458 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9459
9460         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
9461         error absence of trapping exception support.
9462         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9463
9464 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
9465
9466         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
9467         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
9468         * timezone/Makefile (testdata): Move definition above include of
9469         Rules.
9470         (test-zones): New variable.
9471         (tests-special): Add zone files.
9472         (build-testdata): Use $(evaluate-test).
9473
9474         * elf/Makefile (tests-special): Rename tests to end with .out.
9475         ($(objpfx)noload-mem): Likewise.
9476         ($(objpfx)tst-leaks1-mem): Likewise.
9477         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
9478         * iconv/Makefile (xtests-special): Change test-iconvconfig to
9479         $(objpfx)test-iconvconfig.out.
9480         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
9481         set -e inside subshell and redirect output to file.
9482         * iconvdata/Makefile (generated): Rename tests to end with .out.
9483         Correct type.
9484         (tests-special): Rename tests to end with .out.
9485         ($(objpfx)mtrace-tst-loading): Likewise.
9486         * intl/Makefile (generated): Likewise.
9487         (tests-special): Likewise.
9488         ($(objpfx)mtrace-tst-gettext): Likewise.
9489         * misc/Makefile (generated): Likewise.
9490         (tests-special): Likewise.
9491         ($(objpfx)tst-error1-mem): Likewise.
9492         * nptl/Makefile (tests-special): Likewise.
9493         ($(objpfx)tst-stack3-mem): Likewise.
9494         (generated): Likewise.
9495         * posix/Makefile (generated): Likewise.
9496         (tests-special): Likewise.
9497         (xtests-special): Likewise.
9498         ($(objpfx)tst-fnmatch-mem): Likewise.
9499         ($(objpfx)bug-regex2-mem): Likewise.
9500         ($(objpfx)bug-regex14-mem): Likewise.
9501         ($(objpfx)bug-regex21-mem): Likewise.
9502         ($(objpfx)bug-regex31-mem): Likewise.
9503         ($(objpfx)tst-vfork3-mem): Likewise.
9504         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9505         ($(objpfx)tst-pcre-mem): Likewise.
9506         ($(objpfx)tst-boost-mem): Likewise.
9507         ($(objpfx)bug-ga2-mem): Likewise.
9508         ($(objpfx)bug-glob2-mem): Likewise.
9509         * resolv/Makefile (generate): Likewise.
9510         (tests-special): Likewise.
9511         (xtests-special): Likewise.
9512         (generated): Likewise.
9513         ($(objpfx)mtrace-tst-leaks): Likewise.
9514         ($(objpfx)mtrace-tst-leaks2): Likewise.
9515
9516         * scripts/merge-test-results.sh: New file.
9517         * Makefile (tests-special-notdir): New variable.
9518         (tests): Run merge-test-results.sh.
9519         (xtests): Likewise.
9520         * Rules (tests-special-notdir): New variable.
9521         (xtests-special-notdir): Likewise.
9522         (tests): Run merge-test-results.sh
9523         (xtests): Likewise.
9524
9525         * Makeconfig (test-xfail-name): New variable.
9526         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
9527         compute variable name for expected failures.
9528         * conform/Makefile (conformtest-headers-data): New variable.
9529         (conformtest-standards): Likewise.
9530         (conformtest-headers-ISO): Likewise.
9531         (conformtest-headers-ISO99): Likewise.
9532         (conformtest-headers-ISO11): Likewise.
9533         (conformtest-headers-POSIX): Likewise.
9534         (conformtest-headers-XPG3): Likewise.
9535         (conformtest-headers-XPG4): Likewise.
9536         (conformtest-headers-UNIX98): Likewise.
9537         (conformtest-headers-XOPEN2K): Likewise.
9538         (conformtest-headers-POSIX2008): Likewise.
9539         (conformtest-headers-XOPEN2K8): Likewise.
9540         (conformtest-header-list-base): Likewise.
9541         (conformtest-header-list-tests): Likewise.
9542         (conformtest-header-base): Likewise.
9543         (conformtest-header-tests): Likewise.
9544         (tests-special): Add $(conformtest-header-list-tests).  If
9545         [$(fast-check) && !$(cross-compiling)], add
9546         $(conformtest-header-tests) instead of
9547         $(objpfx)run-conformtest.out.
9548         (generated): Add $(conformtest-header-list-base).  If
9549         [$(fast-check) && !$(cross-compiling)], add
9550         $(conformtest-header-base).  Remove previous setting.
9551         ($(conformtest-header-list-tests)): New target.
9552         (test-xfail-run-conformtest): Remove variable.
9553         ($(objpfx)run-conformtest.out): Remove target.
9554         (test-xfail-ISO11/complex.h/conform): New variable.
9555         (test-xfail-ISO11/stdalign.h/conform): Likewise.
9556         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9557         (test-xfail-XPG3/varargs.h/conform): Likewise.
9558         (test-xfail-XPG4/varargs.h/conform): Likewise.
9559         (test-xfail-UNIX98/varargs.h/conform): Likewise.
9560         (test-xfail-XPG4/ndbm.h/conform): Likewise.
9561         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
9562         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
9563         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
9564         (test-xfail-XPG3/fcntl.h/conform): Likewise.
9565         (test-xfail-XPG3/ftw.h/conform): Likewise.
9566         (test-xfail-XPG3/grp.h/conform): Likewise.
9567         (test-xfail-XPG3/langinfo.h/conform): Likewise.
9568         (test-xfail-XPG3/limits.h/conform): Likewise.
9569         (test-xfail-XPG3/pwd.h/conform): Likewise.
9570         (test-xfail-XPG3/search.h/conform): Likewise.
9571         (test-xfail-XPG3/signal.h/conform): Likewise.
9572         (test-xfail-XPG3/stdio.h/conform): Likewise.
9573         (test-xfail-XPG3/stdlib.h/conform): Likewise.
9574         (test-xfail-XPG3/string.h/conform): Likewise.
9575         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
9576         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
9577         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9578         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9579         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
9580         (test-xfail-XPG3/sys/types.h/conform): Likewise.
9581         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
9582         (test-xfail-XPG3/termios.h/conform): Likewise.
9583         (test-xfail-XPG3/time.h/conform): Likewise.
9584         (test-xfail-XPG3/unistd.h/conform): Likewise.
9585         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
9586         (test-xfail-XPG4/fcntl.h/conform): Likewise.
9587         (test-xfail-XPG4/langinfo.h/conform): Likewise.
9588         (test-xfail-XPG4/netdb.h/conform): Likewise.
9589         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
9590         (test-xfail-XPG4/signal.h/conform): Likewise.
9591         (test-xfail-XPG4/stdio.h/conform): Likewise.
9592         (test-xfail-XPG4/stdlib.h/conform): Likewise.
9593         (test-xfail-XPG4/stropts.h/conform): Likewise.
9594         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9595         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9596         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9597         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9598         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9599         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
9600         (test-xfail-XPG4/sys/time.h/conform): Likewise.
9601         (test-xfail-XPG4/sys/types.h/conform): Likewise.
9602         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
9603         (test-xfail-XPG4/termios.h/conform): Likewise.
9604         (test-xfail-XPG4/ucontext.h/conform): Likewise.
9605         (test-xfail-XPG4/unistd.h/conform): Likewise.
9606         (test-xfail-XPG4/utmpx.h/conform): Likewise.
9607         (test-xfail-POSIX/sched.h/conform): Likewise.
9608         (test-xfail-POSIX/signal.h/conform): Likewise.
9609         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9610         (test-xfail-POSIX/tar.h/conform): Likewise.
9611         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
9612         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
9613         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9614         (test-xfail-UNIX98/netdb.h/conform): Likewise.
9615         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
9616         (test-xfail-UNIX98/sched.h/conform): Likewise.
9617         (test-xfail-UNIX98/signal.h/conform): Likewise.
9618         (test-xfail-UNIX98/stdio.h/conform): Likewise.
9619         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
9620         (test-xfail-UNIX98/stropts.h/conform): Likewise.
9621         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9622         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9623         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9624         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9625         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9626         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9627         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
9628         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
9629         (test-xfail-UNIX98/unistd.h/conform): Likewise.
9630         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9631         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
9632         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
9633         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9634         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
9635         (test-xfail-XOPEN2K/math.h/conform): Likewise.
9636         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9637         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9638         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9639         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
9640         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
9641         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
9642         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
9643         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9644         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9645         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9646         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9647         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9648         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9649         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
9650         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
9651         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9652         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
9653         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9654         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
9655         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9656         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
9657         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
9658         (test-xfail-POSIX2008/signal.h/conform): Likewise.
9659         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9660         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
9661         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
9662         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9663         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9664         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
9665         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9666         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9667         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9668         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
9669         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
9670         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9671         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9672         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9673         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
9674         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9675         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9676         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9677         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9678         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
9679         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9680         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9681         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
9682         (conformtest-cc-flags): Likewise.
9683         ($(conformtest-header-tests): New target.
9684         * conform/check-header-lists.sh: New file.
9685         * conform/run-conformtest.sh: Remove.
9686
9687         * conform/conformtest.pl: Allow ' and \ in values given for
9688         constants.
9689         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
9690         inclusion.
9691         [POSIX] (sys/types.h): Likewise.
9692         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
9693         inclusion.
9694         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
9695         inclusion.
9696         * conform/data/signal.h-data (SIGIO): Remove expectation.
9697         [XPG3] (SIGBUS): Do not expect.
9698         [POSIX || XPG3] (SIGPOLL): Likewise.
9699         [POSIX || XPG3] (SIGPROF): Likewise.
9700         [POSIX || XPG3] (SIGSYS): Likewise.
9701         [XPG3] (SIGTRAP): Likewise.
9702         [POSIX || XPG3] (SIGURG): Likewise.
9703         [POSIX || XPG3] (SIGVTALRM): Likewise.
9704         [POSIX || XPG3] (SIGXCPU): Likewise.
9705         [POSIX || XPG3] (SIGXFSZ): Likewise.
9706         [POSIX] (SA_SIGINFO): Expect.
9707         [XPG3] (siginfo_t): Do not expect type or contents.
9708         [POSIX] (si_pid): Do not expect element.
9709         [POSIX] (si_uid): Likewise.
9710         [POSIX] (si_addr): Likewise.
9711         [POSIX] (si_status): Likewise.
9712         [POSIX] (si_band): Likewise.
9713         [XPG4] (si_value): Likewise.
9714         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
9715         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
9716         [POSIX || XPG3] (ILL_ILLADR): Likewise.
9717         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
9718         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
9719         [POSIX || XPG3] (ILL_PRVREG): Likewise.
9720         [POSIX || XPG3] (ILL_COPROC): Likewise.
9721         [POSIX || XPG3] (ILL_BADSTK): Likewise.
9722         [POSIX || XPG3] (FPE_INTDIV): Likewise.
9723         [POSIX || XPG3] (FPE_INTOVF): Likewise.
9724         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
9725         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
9726         [POSIX || XPG3] (FPE_FLTUND): Likewise.
9727         [POSIX || XPG3] (FPE_FLTRES): Likewise.
9728         [POSIX || XPG3] (FPE_FLTINV): Likewise.
9729         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
9730         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
9731         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
9732         [POSIX || XPG3] (BUS_ADRALN): Likewise.
9733         [POSIX || XPG3] (BUS_ADRERR): Likewise.
9734         [POSIX || XPG3] (BUS_OBJERR): Likewise.
9735         [POSIX || XPG3] (CLD_EXITED): Likewise.
9736         [POSIX || XPG3] (CLD_KILLED): Likewise.
9737         [POSIX || XPG3] (CLD_DUMPED): Likewise.
9738         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
9739         [POSIX || XPG3] (CLD_STOPPED): Likewise.
9740         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
9741         [POSIX || XPG3] (POLL_IN): Likewise.
9742         [POSIX || XPG3] (POLL_OUT): Likewise.
9743         [POSIX || XPG3] (POLL_MSG): Likewise.
9744         [POSIX || XPG3] (POLL_ERR): Likewise.
9745         [POSIX || XPG3] (POLL_PRI): Likewise.
9746         [POSIX || XPG3] (POLL_HUP): Likewise.
9747         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
9748         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
9749         (SIG*): Do not allow.
9750         [XPG3] (si_*): Likewise.
9751         [XPG3] (SI_*): Likewise.
9752         [XPG3 || XPG4] (sigev_*): Likewise.
9753         [XPG3 || XPG4] (SIGEV_*): Likewise.
9754         [XPG3 || XPG4] (sival_*): Likewise.
9755         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
9756         [POSIX || XPG3] (BUS_*): Likewise.
9757         [POSIX || XPG3] (CLD_*): Likewise.
9758         [POSIX || XPG3] (FPE_*): Likewise.
9759         [POSIX || XPG3] (ILL_*): Likewise.
9760         [POSIX || XPG3] (POLL_*): Likewise.
9761         [POSIX || XPG3] (SEGV_*): Likewise.
9762         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
9763         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
9764         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
9765         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
9766         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
9767         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
9768         Specify type and value.
9769         (TVERSLEN): Likewise.
9770         (REGTYPE): Likewise.
9771         (AREGTYPE): Likewise.
9772         (LNKTYPE): Likewise.
9773         (SYMTYPE): Likewise.
9774         (CHRTYPE): Likewise.
9775         (BLKTYPE): Likewise.
9776         (DIRTYPE): Likewise.
9777         (FIFOTYPE): Likewise.
9778         (CONTTYPE): Likewise.
9779         (TSUID): Likewise.
9780         (TSGID): Likewise.
9781         (TSVTX): Likewise.
9782         (TUREAD): Likewise.
9783         (TUWRITE): Likewise.
9784         (TUEXEC): Likewise.
9785         (TGREAD): Likewise.
9786         (TGWRITE): Likewise.
9787         (TGEXEC): Likewise.
9788         (TOREAD): Likewise.
9789         (TOWRITE): Likewise.
9790         (TOEXEC): Likewise.
9791         [POSIX] (TSVTX): Expect constant.
9792
9793 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
9794
9795         * Makefile (tests): Change dependencies to ....
9796         (tests-special): ... additions to this variable.
9797         (tests): Depend on $(tests-special).
9798         * Makerules (check-abi-list): New variable.
9799         (check-abi): Depend on $(check-abi-list).
9800         [$(subdir) = elf] (tests-special): Add
9801         $(objpfx)check-abi-libc.out.
9802         [$(build-shared) = yes && subdir] (tests-special): Add
9803         $(check-abi-list).
9804         [$(build-shared) = yes && subdir] (tests): Do not depend on
9805         check-abi.
9806         * Rules (tests): Depend on $(tests-special).
9807         (xtests): Depend on $(xtests-special).
9808         * catgets/Makefile (tests): Change dependencies to ....
9809         (tests-special): ... additions to this variable.
9810         * conform/Makefile (tests): Change dependencies to ....
9811         (tests-special): ... additions to this variable.
9812         * elf/Makefile (tests): Change dependencies to ....
9813         (tests-special): ... additions to this variable.
9814         * grp/Makefile (tests): Change dependencies to ....
9815         (tests-special): ... additions to this variable.
9816         * iconv/Makefile (xtests): Change dependencies to ....
9817         (xtests-special): ... additions to this variable.
9818         * iconvdata/Makefile (tests): Change dependencies to ....
9819         (tests-special): ... additions to this variable.
9820         * intl/Makefile (tests): Change dependencies to ....
9821         (tests-special): ... additions to this variable.  Also add
9822         $(objpfx)tst-gettext.out.
9823         * io/Makefile (tests): Change dependencies to ....
9824         (tests-special): ... additions to this variable.
9825         * libio/Makefile (tests): Change dependencies to ....
9826         (tests-special): ... additions to this variable.
9827         * malloc/Makefile (tests): Change dependencies to ....
9828         (tests-special): ... additions to this variable.
9829         * misc/Makefile (tests): Change dependencies to ....
9830         (tests-special): ... additions to this variable.
9831         * nptl/Makefile (tests): Change dependencies to ....
9832         (tests-special): ... additions to this variable.
9833         * nptl_db/Makefile (tests): Change dependencies to ....
9834         (tests-special): ... additions to this variable.
9835         * posix/Makefile (tests): Change dependencies to ....
9836         (tests-special): ... additions to this variable.
9837         (xtests): Change dependencies to ....
9838         (xtests-special): ... additions to this variable.
9839         * resolv/Makefile (tests): Change dependencies to ....
9840         (tests-special): ... additions to this variable.
9841         (xtests): Change dependencies to ....
9842         (xtests-special): ... additions to this variable.
9843         * stdio-common/Makefile (tests): Change dependencies to ....
9844         (tests-special): ... additions to this variable.
9845         (do-tst-unbputc): Remove target.
9846         (do-tst-printf): Likewise.
9847         * stdlib/Makefile (tests): Change dependencies to ....
9848         (tests-special): ... additions to this variable.
9849         * string/Makefile (tests): Change dependencies to ....
9850         (tests-special): ... additions to this variable.
9851         * sysdeps/x86/Makefile (tests): Change dependencies to ....
9852         (tests-special): ... additions to this variable.
9853
9854         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9855         whole file.
9856         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9857         whole file.
9858         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9859         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9860
9861         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9862         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9863         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9864         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9865         * conform/data/libgen.h-data [XPG3]: Likewise.
9866         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9867         * conform/data/ndbm.h-data [XPG3]: Likewise.
9868         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9869         * conform/data/netdb.h-data [XPG3]: Likewise.
9870         * conform/data/netinet/in.h-data [XPG3]: Likewise.
9871         * conform/data/poll.h-data [XPG3]: Likewise.
9872         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9873         * conform/data/strings.h-data [XPG3]: Likewise.
9874         * conform/data/stropts.h-data [XPG3]: Likewise.
9875         * conform/data/sys/mman.h-data [XPG3]: Likewise.
9876         * conform/data/sys/resource.h-data [XPG3]: Likewise.
9877         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9878         Likewise.
9879         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9880         * conform/data/sys/time.h-data [XPG3]: Likewise.
9881         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9882         * conform/data/sys/uio.h-data [XPG3]: Likewise.
9883         * conform/data/sys/un.h-data [XPG3]: Likewise.
9884         * conform/data/syslog.h-data [XPG3]: Likewise.
9885         * conform/data/ucontext.h-data [XPG3]: Likewise.
9886         * conform/data/utmpx.h-data [XPG3]: Likewise.
9887         * conform/data/varargs.h-data [UNIX98]: Enable file.
9888
9889         * manual/Makefile (INSTALL_INFO): Remove variable setting.
9890
9891         * math/libm-test.inc (struct test_f_f_data): Move expected results
9892         into structure for each rounding mode.
9893         (struct test_ff_f_data): Likewise.
9894         (struct test_ff_f_data_nexttoward): Likewise.
9895         (struct test_fi_f_data): Likewise.
9896         (struct test_fl_f_data): Likewise.
9897         (struct test_if_f_data): Likewise.
9898         (struct test_fff_f_data): Likewise.
9899         (struct test_c_f_data): Likewise.
9900         (struct test_f_f1_data): Likewise.
9901         (struct test_fF_f1_data): Likewise.
9902         (struct test_ffI_f1_data): Likewise.
9903         (struct test_c_c_data): Likewise.
9904         (struct test_cc_c_data): Likewise.
9905         (struct test_f_i_data): Likewise.
9906         (struct test_ff_i_data): Likewise.
9907         (struct test_f_l_data): Likewise.
9908         (struct test_f_L_data): Likewise.
9909         (struct test_fFF_11_data): Likewise.
9910         (RM_): New macro.
9911         (RM_FE_DOWNWARD): Likewise.
9912         (RM_FE_TONEAREST): Likewise.
9913         (RM_FE_TOWARDZERO): Likewise.
9914         (RM_FE_UPWARD): Likewise.
9915         (RUN_TEST_LOOP_f_f): Update references to expected results.
9916         (RUN_TEST_LOOP_2_f): Likewise.
9917         (RUN_TEST_LOOP_fff_f): Likewise.
9918         (RUN_TEST_LOOP_c_f): Likewise.
9919         (RUN_TEST_LOOP_f_f1): Likewise.
9920         (RUN_TEST_LOOP_fF_f1): Likewise.
9921         (RUN_TEST_LOOP_fI_f1): Likewise.
9922         (RUN_TEST_LOOP_ffI_f1): Likewise.
9923         (RUN_TEST_LOOP_c_c): Likewise.
9924         (RUN_TEST_LOOP_cc_c): Likewise.
9925         (RUN_TEST_LOOP_f_i): Likewise.
9926         (RUN_TEST_LOOP_f_i_tg): Likewise.
9927         (RUN_TEST_LOOP_ff_i_tg): Likewise.
9928         (RUN_TEST_LOOP_f_b): Likewise.
9929         (RUN_TEST_LOOP_f_b_tg): Likewise.
9930         (RUN_TEST_LOOP_f_l): Likewise.
9931         (RUN_TEST_LOOP_f_L): Likewise.
9932         (RUN_TEST_LOOP_fFF_11): Likewise.
9933         * math/gen-libm-test.pl (parse_args): Output four copies of
9934         expected results for each test.
9935
9936         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9937         (__ASSUME_UTIMES): Remove.
9938         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9939         (__ASSUME_UTIMES): Likewise.
9940
9941         * math/gen-auto-libm-tests.c: Update comment on output format.
9942         (output_for_one_input_case): Generate before-rounding and
9943         after-rounding information as conditions on output flags not
9944         floating-point format.
9945         * math/auto-libm-test-out: Regenerated.
9946         * math/gen-libm-test.pl (cond_value): New function.
9947         (or_cond_value): Use cond_value.
9948         (generate_testfile): Handle conditional exceptions.
9949
9950 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
9951
9952         * math/libm-test.inc (max_valid_error): New variable.
9953         (init_max_error): Take new argument specifying whether function
9954         results are exactly determined.  Set max_valid_error and bound
9955         other variables for errors based on this argument.
9956         (set_max_error): Do not record results above max_valid_error.
9957         (check_float_internal): Only accept errors of up to 0.5ulps if
9958         also at most max_valid_error.
9959         (START): Take new argument EXACT and pass it to init_max_error.
9960         (acos_test): Update call to START.
9961         (acos_test_tonearest): Likewise.
9962         (acos_test_towardzero): Likewise.
9963         (acos_test_downward): Likewise.
9964         (acos_test_upward): Likewise.
9965         (acosh_test): Likewise.
9966         (asin_test): Likewise.
9967         (asin_test_tonearest): Likewise.
9968         (asin_test_towardzero): Likewise.
9969         (asin_test_downward): Likewise.
9970         (asin_test_upward): Likewise.
9971         (asinh_test): Likewise.
9972         (atan_test): Likewise.
9973         (atanh_test): Likewise.
9974         (atan2_test): Likewise.
9975         (cabs_test): Likewise.
9976         (cacos_test): Likewise.
9977         (cacosh_test): Likewise.
9978         (carg_test): Likewise.
9979         (casin_test): Likewise.
9980         (casinh_test): Likewise.
9981         (catan_test): Likewise.
9982         (catanh_test): Likewise.
9983         (cbrt_test): Likewise.
9984         (ccos_test): Likewise.
9985         (ccosh_test): Likewise.
9986         (ceil_test): Likewise.
9987         (cexp_test): Likewise.
9988         (cimag_test): Likewise.
9989         (clog_test): Likewise.
9990         (clog10_test): Likewise.
9991         (conj_test): Likewise.
9992         (copysign_test): Likewise.
9993         (cos_test): Likewise.
9994         (cos_test_tonearest): Likewise.
9995         (cos_test_towardzero): Likewise.
9996         (cos_test_downward): Likewise.
9997         (cos_test_upward): Likewise.
9998         (cosh_test): Likewise.
9999         (cosh_test_tonearest): Likewise.
10000         (cosh_test_towardzero): Likewise.
10001         (cosh_test_downward): Likewise.
10002         (cosh_test_upward): Likewise.
10003         (cpow_test): Likewise.
10004         (cproj_test): Likewise.
10005         (creal_test): Likewise.
10006         (csin_test): Likewise.
10007         (csinh_test): Likewise.
10008         (csqrt_test): Likewise.
10009         (ctan_test): Likewise.
10010         (ctan_test_tonearest): Likewise.
10011         (ctan_test_towardzero): Likewise.
10012         (ctan_test_downward): Likewise.
10013         (ctan_test_upward): Likewise.
10014         (ctanh_test): Likewise.
10015         (ctanh_test_tonearest): Likewise.
10016         (ctanh_test_towardzero): Likewise.
10017         (ctanh_test_downward): Likewise.
10018         (ctanh_test_upward): Likewise.
10019         (erf_test): Likewise.
10020         (erfc_test): Likewise.
10021         (exp_test): Likewise.
10022         (exp_test_tonearest): Likewise.
10023         (exp_test_towardzero): Likewise.
10024         (exp_test_downward): Likewise.
10025         (exp_test_upward): Likewise.
10026         (exp10_test): Likewise.
10027         (exp10_test_tonearest): Likewise.
10028         (exp10_test_towardzero): Likewise.
10029         (exp10_test_downward): Likewise.
10030         (exp10_test_upward): Likewise.
10031         (pow10_test): Likewise.
10032         (exp2_test): Likewise.
10033         (expm1_test): Likewise.
10034         (expm1_test_tonearest): Likewise.
10035         (expm1_test_towardzero): Likewise.
10036         (expm1_test_downward): Likewise.
10037         (expm1_test_upward): Likewise.
10038         (fabs_test): Likewise.
10039         (fdim_test): Likewise.
10040         (floor_test): Likewise.
10041         (fma_test): Likewise.
10042         (fma_test_towardzero): Likewise.
10043         (fma_test_downward): Likewise.
10044         (fma_test_upward): Likewise.
10045         (fmax_test): Likewise.
10046         (fmin_test): Likewise.
10047         (fmod_test): Likewise.
10048         (fpclassify_test): Likewise.
10049         (frexp_test): Likewise.
10050         (hypot_test): Likewise.
10051         (ilogb_test): Likewise.
10052         (isfinite_test): Likewise.
10053         (finite_test): Likewise.
10054         (isgreater_test): Likewise.
10055         (isgreaterequal_test): Likewise.
10056         (isinf_test): Likewise.
10057         (isless_test): Likewise.
10058         (islessequal_test): Likewise.
10059         (islessgreater_test): Likewise.
10060         (isnan_test): Likewise.
10061         (isnormal_test): Likewise.
10062         (issignaling_test): Likewise.
10063         (isunordered_test): Likewise.
10064         (j0_test): Likewise.
10065         (j1_test): Likewise.
10066         (jn_test): Likewise.
10067         (ldexp_test): Likewise.
10068         (lgamma_test): Likewise.
10069         (gamma_test): Likewise.
10070         (lrint_test): Likewise.
10071         (lrint_test_tonearest): Likewise.
10072         (lrint_test_towardzero): Likewise.
10073         (lrint_test_downward): Likewise.
10074         (lrint_test_upward): Likewise.
10075         (llrint_test): Likewise.
10076         (llrint_test_tonearest): Likewise.
10077         (llrint_test_towardzero): Likewise.
10078         (llrint_test_downward): Likewise.
10079         (llrint_test_upward): Likewise.
10080         (log_test): Likewise.
10081         (log10_test): Likewise.
10082         (log1p_test): Likewise.
10083         (log2_test): Likewise.
10084         (logb_test): Likewise.
10085         (logb_test_downward): Likewise.
10086         (lround_test): Likewise.
10087         (llround_test): Likewise.
10088         (modf_test): Likewise.
10089         (nearbyint_test): Likewise.
10090         (nextafter_test): Likewise.
10091         (nexttoward_test): Likewise.
10092         (pow_test): Likewise.
10093         (pow_test_tonearest): Likewise.
10094         (pow_test_towardzero): Likewise.
10095         (pow_test_downward): Likewise.
10096         (pow_test_upward): Likewise.
10097         (remainder_test): Likewise.
10098         (drem_test): Likewise.
10099         (remainder_test_tonearest): Likewise.
10100         (drem_test_tonearest): Likewise.
10101         (remainder_test_towardzero): Likewise.
10102         (drem_test_towardzero): Likewise.
10103         (remainder_test_downward): Likewise.
10104         (drem_test_downward): Likewise.
10105         (remainder_test_upward): Likewise.
10106         (drem_test_upward): Likewise.
10107         (remquo_test): Likewise.
10108         (rint_test): Likewise.
10109         (rint_test_tonearest): Likewise.
10110         (rint_test_towardzero): Likewise.
10111         (rint_test_downward): Likewise.
10112         (rint_test_upward): Likewise.
10113         (round_test): Likewise.
10114         (scalb_test): Likewise.
10115         (scalbn_test): Likewise.
10116         (scalbln_test): Likewise.
10117         (signbit_test): Likewise.
10118         (sin_test): Likewise.
10119         (sin_test_tonearest): Likewise.
10120         (sin_test_towardzero): Likewise.
10121         (sin_test_downward): Likewise.
10122         (sin_test_upward): Likewise.
10123         (sincos_test): Likewise.
10124         (sinh_test): Likewise.
10125         (sinh_test_tonearest): Likewise.
10126         (sinh_test_towardzero): Likewise.
10127         (sinh_test_downward): Likewise.
10128         (sinh_test_upward): Likewise.
10129         (sqrt_test): Likewise.
10130         (sqrt_test_tonearest): Likewise.
10131         (sqrt_test_towardzero): Likewise.
10132         (sqrt_test_downward): Likewise.
10133         (sqrt_test_upward): Likewise.
10134         (tan_test): Likewise.
10135         (tan_test_tonearest): Likewise.
10136         (tan_test_towardzero): Likewise.
10137         (tan_test_downward): Likewise.
10138         (tan_test_upward): Likewise.
10139         (tanh_test): Likewise.
10140         (tgamma_test): Likewise.
10141         (trunc_test): Likewise.
10142         (y0_test): Likewise.
10143         (y1_test): Likewise.
10144         (yn_test): Likewise.
10145         (significand_test): Likewise.
10146
10147         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
10148         individual tests in comment.
10149         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
10150         (prev_max_error): New variable.
10151         (prev_real_max_error): Likewise.
10152         (prev_imag_max_error): Likewise.
10153         (compare_ulp_data): Don't refer to test names in comment.
10154         (find_test_ulps): Remove function.
10155         (find_function_ulps): Likewise.
10156         (find_complex_function_ulps): Likewise.
10157         (init_max_error): Take function name as argument.  Look up ulps
10158         for that function.
10159         (print_ulps): Remove function.
10160         (print_max_error): Use prev_max_error instead of calling
10161         find_function_ulps.
10162         (print_complex_max_error): Use prev_real_max_error and
10163         prev_imag_max_error instead of calling find_complex_function_ulps.
10164         (check_float_internal): Take max_ulp parameter instead of calling
10165         find_test_ulps.  Don't call print_ulps.
10166         (check_float): Update call to check_float_internal.
10167         (check_complex): Update calls to check_float_internal.
10168         (START): Pass argument to init_max_error.
10169         * math/gen-libm-test.pl (%results): Don't include "kind"
10170         information.
10171         (parse_ulps): Don't handle ulps of individual tests.
10172         (print_ulps_file): Likewise.
10173         (output_ulps): Likewise.
10174         * math/README.libm-test: Update.
10175         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
10176         individual tests.
10177         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
10178         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
10179         * sysdeps/arm/libm-test-ulps: Likewise.
10180         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
10181         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
10182         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
10183         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
10184         * sysdeps/microblaze/libm-test-ulps: Likewise.
10185         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10186         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10187         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10188         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
10189         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10190         * sysdeps/sh/libm-test-ulps: Likewise.
10191         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10192         * sysdeps/tile/libm-test-ulps: Likewise.
10193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10194
10195 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
10196
10197         * math/libm-test.inc (print_complex_max_error): Check separately
10198         whether real and imaginary errors are within allowed range and
10199         pass 0 to print_complex_function_ulps instead of value within
10200         allowed range.
10201
10202 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10203
10204         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
10205         formatting.
10206         (get_handles_fopen): Likewise.
10207         (do_write_test): Likewise.
10208
10209         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
10210
10211         * libio/fileops.c (do_ftell): Use cached offset when
10212         available.
10213         * libio/iofwide.c (do_ftell_wide): Likewise.
10214         * libio/iofdopen.c (_IO_new_fdopen): Don't use
10215         _IO_file_attach.
10216         * libio/wfileops.c (_IO_fwide): Don't cache offset.
10217
10218         [BZ #16532]
10219         * libio/libioP.h (get_file_offset): New function.
10220         * libio/fileops.c (get_file_offset): Likewise.
10221         (do_ftell): Likewise.
10222         (_IO_new_file_seekoff): Split out ftell logic.
10223         * libio/wfileops.c (do_ftell_wide): Likewise.
10224         (_IO_wfile_seekoff): Split out ftell logic.
10225         * libio/tst-ftell-active-handler.c: New test case.
10226         * libio/Makefile (tests): Add it.
10227
10228 2014-03-03  Roland McGrath  <roland@hack.frob.com>
10229
10230         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
10231         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
10232
10233 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
10234
10235         [BZ #16639]
10236         * nscd/connections.c (nscd_init): Call do_exit.
10237         (start_threads): Call do_exit and notify_parent.
10238         (begin_drop_privileges): Call do_exit.
10239         (finish_drop_privileges): Likewise.
10240         * nscd/selinux.c (preserve_capabilities): Likewise.
10241         (install_real_capabilities): Likewise.
10242         (nscd_selinux_enabled): Likewise.
10243         (avc_create_thread): Likewise.
10244         (avc_alloc_lock): Likewise.
10245         (nscd_avc_init): Likewise.
10246         * nscd/nscd.c (parent_fd): New static variable.
10247         (main): Create a pipe between parent and child processes.
10248         Skip closing parent_fd.
10249         (monitor_child): New function.
10250         (do_exit): Likewise.
10251         (notify_parent): Likewise.
10252         * nscd/nscd.h (notify_parent): Likewise.
10253         (do_exit): Likewise.
10254
10255 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
10256
10257         * malloc/malloc.c (__libc_calloc): Revert last change.
10258
10259 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10260
10261         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10262
10263 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10264
10265         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
10266         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
10267         implementation.
10268         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10269         (__libc_ifunc_impl_list): Likewise.
10270         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
10271         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
10272         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
10273         * string/strrchr.c: Define STRRCHR.
10274
10275 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
10276
10277         * benchtest/bench-strtok.c (simple_strtok): Delete.
10278         (strtok_string): Use as benchmark.
10279         * string/strtok (STRTOK): New macro.
10280
10281 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
10282
10283         * manual/threads.texi: Add header and standard comments to all
10284         functions.
10285
10286         * elf/dl-lookup.c (check_match): New function.
10287         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
10288         (do_lookup_x): Remove nested function check_match. Use non-nested
10289         function check_match.
10290
10291 2014-02-28  Roland McGrath  <roland@hack.frob.com>
10292
10293         * csu/Makefile (generated, before-compile): Use += rather than =.
10294         * catgets/Makefile (generated, generated-dirs): Likewise.
10295         * debug/Makefile (generated): Likewise.
10296         * dlfcn/Makefile (generated): Likewise.
10297         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
10298         * iconvdata/Makefile (before-compile, generated): Likewise.
10299         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
10300         * libio/Makefile (generated): Likewise.
10301         * malloc/Makefile (generated): Likewise.
10302         * manual/Makefile (generated, generated-dirs): Likewise.
10303         * misc/Makefile (generated): Likewise.
10304         * posix/Makefile (generated): Likewise.
10305         * resolv/Makefile (generated): Likewise.
10306         * sunrpc/Makefile (generated, generated-dirs): Likewise.
10307         * timezone/Makefile (generated, generated-dirs): Likewise.
10308
10309         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
10310
10311 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10312
10313         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10314         power8 implementation.
10315         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
10316         file: POWER8 llround ifunc implementation.
10317         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
10318         (__lllround): Add POWER8 implementation.
10319         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
10320         POWER8 llround implementation.
10321
10322         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
10323         power8 implementation.
10324         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
10325         file: POWER8 llrint ifunc implementation.
10326         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
10327         Add POWER8 implementation.
10328         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
10329         POWER8 llrint implementation.
10330
10331         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
10332         power8 implementation.
10333         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
10334         file: POWER8 finite ifunc implementation.
10335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
10336         Add POWER8 implementation.
10337         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
10338         Likewise.
10339         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
10340         POWER8 finite implementation.
10341         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
10342
10343         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
10344         power8 implementation.
10345         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
10346         file: POWER8 isinf ifunc implementation.
10347         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
10348         POWER8 implementation.
10349         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
10350         Likewise.
10351         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
10352         isinf implementation.
10353         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
10354
10355         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
10356         (INIT_ARCH): Add hwcap2 initialization.
10357         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10358         power8 implementation.
10359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
10360         file: POWER8 isnan ifunc implementation.
10361         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
10362         POWER8 implementation.
10363         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
10364         Likewise.
10365         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
10366         isnan implementation.
10367         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
10368
10369 2014-02-27  Joey Ye  <joey.ye@arm.com>
10370
10371         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10372         (_FP_NANFRAC_Q): Set to zero.
10373
10374 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10375
10376         [BZ #16623]
10377         * math/auto-libm-test-in: New test inputs.
10378         * math/auto-libm-test-out: Regenerate.
10379         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
10380         and DA.
10381         (__cos): Likewise.
10382         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10383
10384 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
10385
10386         * scripts/evaluate-test.sh: Take new argument indicating whether
10387         failure is expected.
10388         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
10389         indicating whether failure is expected.
10390         * conform/Makefile (test-xfail-run-conformtest): New variable.
10391         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
10392         level.
10393         * posix/Makefile (test-xfail-annexc): New variable.
10394         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
10395
10396 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
10397
10398         * argp/Makefile: Include Makeconfig immediately after defining
10399         subdir.
10400         * assert/Makefile: Likewise.
10401         * benchtests/Makefile: Likewise.
10402         * catgets/Makefile: Likewise.
10403         * conform/Makefile: Likewise.
10404         * crypt/Makefile: Likewise.
10405         * csu/Makefile: Likewise.
10406         (all): Remove target.
10407         * ctype/Makefile: Include Makeconfig immediately after defining
10408         subdir.
10409         * debug/Makefile: Likewise.
10410         * dirent/Makefile: Likewise.
10411         * dlfcn/Makefile: Likewise.
10412         * gmon/Makefile: Likewise.
10413         * gnulib/Makefile: Likewise.
10414         * grp/Makefile: Likewise.
10415         * gshadow/Makefile: Likewise.
10416         * hesiod/Makefile: Likewise.
10417         * hurd/Makefile: Likewise.
10418         (all): Remove target.
10419         * iconvdata/Makefile: Include Makeconfig immediately after
10420         defining subdir.
10421         * inet/Makefile: Likewise.
10422         * intl/Makefile: Likewise.
10423         * io/Makefile: Likewise.
10424         * libio/Makefile: Likewise.
10425         (all): Remove target.
10426         * locale/Makefile: Include Makeconfig immediately after defining
10427         subdir.
10428         * login/Makefile: Likewise.
10429         * mach/Makefile: Likewise.
10430         (all): Remove target.
10431         * malloc/Makefile: Include Makeconfig immediately after defining
10432         subdir.
10433         (all): Remove target.
10434         * manual/Makefile: Include Makeconfig immediately after defining
10435         subdir.
10436         * math/Makefile: Likewise.
10437         * misc/Makefile: Likewise.
10438         * nis/Makefile: Likewise.
10439         * nss/Makefile: Likewise.
10440         * po/Makefile: Likewise.
10441         (all): Remove target.
10442         * posix/Makefile: Include Makeconfig immediately after defining
10443         subdir.
10444         * pwd/Makefile: Likewise.
10445         * resolv/Makefile: Likewise.
10446         * resource/Makefile: Likewise.
10447         * rt/Makefile: Likewise.
10448         * setjmp/Makefile: Likewise.
10449         * shadow/Makefile: Likewise.
10450         * signal/Makefile: Likewise.
10451         * socket/Makefile: Likewise.
10452         * soft-fp/Makefile: Likewise.
10453         * stdio-common/Makefile: Likewise.
10454         * stdlib/Makefile: Likewise.
10455         * streams/Makefile: Likewise.
10456         * string/Makefile: Likewise.
10457         * sunrpc/Makefile: Likewise.
10458         (all): Remove target.
10459         * sysvipc/Makefile: Include Makeconfig immediately after defining
10460         subdir.
10461         * termios/Makefile: Likewise.
10462         * time/Makefile: Likewise.
10463         * timezone/Makefile: Likewise.
10464         (all): Remove target.
10465         * wcsmbs/Makefile: Include Makeconfig immediately after defining
10466         subdir.
10467         * wctype/Makefile: Likewise.
10468
10469 2014-02-26  Steve Ellcey  <sellcey@mips.com>
10470
10471         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
10472         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
10473         (libc_feholdexcept_setround_mips): Ditto.
10474         (libc_feholdsetround): New.
10475         (libc_feholdsetroundf): New.
10476         (libc_feholdsetroundl): New.
10477         (libc_feupdateenv_test_mips): New.
10478         (libc_feupdateenv_test): New.
10479         (libc_feupdateenv_testf): New.
10480         (libc_feupdateenv_testl): New.
10481         (libc_feresetround): New.
10482         (libc_feresetroundf): New.
10483         (libc_feresetroundl): New.
10484         (libc_fetestexcept_mips): New.
10485         (libc_fetestexcept): New.
10486         (libc_fetestexceptf): New.
10487         (libc_fetestexceptl): New.
10488         (HAVE_RM_CTX): New.
10489         (libc_feholdexcept_setround_mips_ctx): New.
10490         (libc_feholdexcept_setround_ctx): New.
10491         (libc_feholdexcept_setroundf_ctx): New.
10492         (libc_feholdexcept_setroundl_ctx): New.
10493         (libc_fesetenv_mips_ctx): New.
10494         (libc_fesetenv_ctx): New.
10495         (libc_fesetenv_ctxf): New.
10496         (libc_fesetenv_ctxl): New.
10497         (libc_feupdateenv_mips_ctx): New.
10498         (libc_feupdateenv_ctx): New.
10499         (libc_feupdateenvf_ctx): New.
10500         (libc_feupdateenvl_ctx): New.
10501         (libc_feholdsetround_mips_ctx): New.
10502         (libc_feholdsetround_ctx): New.
10503         (libc_feholdsetroundf_ctx): New.
10504         (libc_feholdsetroundl_ctx): New.
10505         (libc_feresetround_mips_ctx): New.
10506         (libc_feresetround_ctx): New.
10507         (libc_feresetroundf_ctx): New.
10508         (libc_feresetroundl_ctx): New.
10509
10510 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
10511
10512         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
10513
10514         * manual/ipc.texi: New file.
10515         * manual/Makefile (chapters): Add ipc.
10516         * manual/job.texi: Add "Inter-Process Communication" to next.
10517         * manual/process.texi: Add "Inter-Process Communication" to prev.
10518
10519 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10520
10521         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10522
10523 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
10524
10525         * malloc/malloc.c (__libc_calloc): Simplify implementation.
10526
10527         * manual/arith.texi: Fix spaces after sentences.
10528         * manual/charset.texi: Likewise.
10529         * manual/errno.texi: Likewise.
10530         * manual/install.texi: Likewise.
10531         * manual/llio.texi: Likewise.
10532         * manual/locale.texi: Likewise.
10533         * manual/maint.texi: Likewise.
10534         * manual/math.texi: Likewise.
10535         * manual/memory.texi: Likewise.
10536         * manual/message.texi: Likewise.
10537         * manual/probes.texi: Likewise.
10538         * manual/resource.texi: Likewise.
10539         * manual/signal.texi: Likewise.
10540         * manual/socket.texi: Likewise.
10541         * manual/stdio.texi: Likewise.
10542         * manual/string.texi: Likewise.
10543         * manual/time.texi: Likewise.
10544         * manual/users.texi: Likewise.
10545
10546 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
10547
10548         [BZ #16632]
10549         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
10550         _DEFAULT_SOURCE is defined.
10551
10552 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
10553             Carlos O'Donell  <carlos@redhat.com>
10554
10555         [BZ #16613]
10556         * elf/dl-tls.c (_dl_count_modids): New function.
10557         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
10558         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
10559         audit library and increment generation counter.
10560         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
10561         * elf/tst-audit9.c: New file.
10562         * elf/tst-auditmod9a.c: New file.
10563         * elf/tst-auditmod9b.c: New file.
10564         * elf/Makefile: Add rules to build and run tst-audit9.
10565
10566 2014-02-25  Florian Weimer  <fweimer@redhat.com>
10567
10568         [BZ #15347]
10569         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
10570
10571 2014-02-25  Will Newton  <will.newton@linaro.org>
10572
10573         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
10574         (__longjmp): Restore sp and lr before restoring callee
10575         saved registers.  Add longjmp and longjmp_target
10576         SystemTap probe point.
10577         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
10578         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
10579         Define to zero to match jmpbuf layout.
10580         * sysdeps/arm/setjmp.S: Include stap-probe.h.
10581         (__sigsetjmp): Save sp and lr before saving callee
10582         saved registers.  Add setjmp SystemTap probe point.
10583
10584 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10585
10586         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10587
10588 2014-02-24  Andreas Schwab  <schwab@suse.de>
10589
10590         [BZ #15804]
10591         * elf/pldd.c (wait_for_ptrace_stop): New function.
10592         (main): Call it after attaching.
10593
10594 2014-02-22  Roland McGrath  <roland@hack.frob.com>
10595
10596         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
10597         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
10598         Versions files is now verboten.
10599         * hurd/Versions (libc: GLIBC_2.0):
10600         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
10601         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
10602         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
10603         * mach/Versions: Likewise.
10604
10605         * csu/Versions: Remove unused %include.
10606         * resolv/Versions: Likewise.
10607
10608 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
10609
10610         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
10611         ($(objpfx)check-local-headers.out): Likewise.
10612         ($(objpfx)begin-end-check.out): Likewise.
10613         * Makerules (check-abi-%.out): Likewise.
10614         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
10615         ($(objpfx)test2.cat): Likewise.
10616         ($(objpfx)de/libc.cat): Likewise.
10617         ($(objpfx)test-gencat.out): Likewise.
10618         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
10619         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
10620         ($(objpfx)noload-mem): Likewise.
10621         ($(objpfx)tst-pathopt.out): Likewise.
10622         ($(objpfx)tst-rtld-load-self.out): Likewise.
10623         ($(objpfx)tst-array1-cmp.out): Likewise.
10624         ($(objpfx)tst-array1-static-cmp.out): Likewise.
10625         ($(objpfx)tst-array2-cmp.out): Likewise.
10626         ($(objpfx)tst-array3-cmp.out): Likewise.
10627         ($(objpfx)tst-array4-cmp.out): Likewise.
10628         ($(objpfx)tst-array5-cmp.out): Likewise.
10629         ($(objpfx)tst-array5-static-cmp.out): Likewise.
10630         ($(objpfx)check-textrel.out): Likewise.
10631         ($(objpfx)check-execstack.out): Likewise.
10632         ($(objpfx)check-localplt.out): Likewise.
10633         ($(objpfx)order2-cmp.out): Likewise.
10634         ($(objpfx)tst-leaks1-mem): Likewise.
10635         ($(objpfx)tst-leaks1-static-mem): Likewise.
10636         ($(objpfx)tst-initorder-cmp.out): Likewise.
10637         ($(objpfx)tst-initorder2-cmp.out): Likewise.
10638         ($(objpfx)tst-unused-dep.out): Likewise.
10639         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
10640         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
10641         * iconv/Makefile (test-iconvconfig): Likewise.
10642         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
10643         ($(objpfx)iconv-test.out): Likewise.
10644         ($(objpfx)tst-tables.out): Likewise.
10645         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
10646         ($(objpfx)tst-gettext.out): Likewise.
10647         ($(objpfx)tst-translit.out): Likewise.
10648         ($(objpfx)tst-gettext2.out): Likewise.
10649         ($(objpfx)tst-gettext4.out): Likewise.
10650         ($(objpfx)tst-gettext6.out): Likewise.
10651         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
10652         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
10653         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
10654         ($(objpfx)tst-fopenloc-mem.out): Likewise.
10655         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
10656         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
10657         * posix/Makefile ($(objpfx)globtest.out): Likewise.
10658         ($(objpfx)wordexp-tst.out): Likewise.
10659         ($(objpfx)annexc.out): Likewise.
10660         ($(objpfx)tst-fnmatch-mem): Likewise.
10661         ($(objpfx)bug-regex2-mem): Likewise.
10662         ($(objpfx)bug-regex14-mem): Likewise.
10663         ($(objpfx)bug-regex21-mem): Likewise.
10664         ($(objpfx)bug-regex31-mem): Likewise.
10665         ($(objpfx)tst-vfork3-mem): Likewise.
10666         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10667         ($(objpfx)tst-pcre-mem): Likewise.
10668         ($(objpfx)tst-boost-mem): Likewise.
10669         ($(objpfx)tst-getconf.out): Likewise.
10670         ($(objpfx)bug-ga2-mem): Likewise.
10671         ($(objpfx)bug-glob2-mem): Likewise.
10672         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
10673         ($(objpfx)mtrace-tst-leaks2): Likewise.
10674         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
10675         ($(objpfx)tst-printf.out): Likewise.
10676         ($(objpfx)tst-setvbuf1.out): Likewise.
10677         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
10678         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
10679         ($(objpfx)tst-fmtmsg.out): Likewise.
10680         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
10681         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
10682
10683         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
10684         * bits/sigaction.h [__USE_MISC]: Likewise.
10685         * bits/waitstatus.h: Update #endif comments.
10686         * ctype/ctype.h: Likewise.
10687         * dirent/dirent.h: Likewise.
10688         [__USE_MISC]: Remove redundant conditionals.
10689         * grp/grp.h: Update #endif comments.
10690         [__USE_GNU]: Remove redundant conditionals.
10691         [__USE_MISC]: Likewise.
10692         * inet/netinet/in.h [__USE_GNU]: Likewise.
10693         * io/sys/stat.h [__USE_MISC]: Likewise.
10694         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
10695         * libio/bits/stdio.h: Update #endif comments.
10696         [__USE_MISC]: Remove redundant conditionals.
10697         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
10698         * libio/stdio.h: Update #endif comments.
10699         [__USE_MISC]: Remove redundant conditionals.
10700         * math/bits/math-finite.h [__USE_MISC]: Likewise.
10701         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
10702         * math/math.h: Update #else and #endif comments.
10703         [__USE_MISC]: Remove redundant conditionals.
10704         * misc/sys/uio.h: Update #endif comments.
10705         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
10706         * posix/glob.h [__USE_MISC]: Likewise.
10707         * posix/sys/types.h: Update #endif comments.
10708         [__USE_MISC]: Remove redundant conditionals.
10709         * posix/sys/wait.h: Update #endif comments.
10710         [__USE_MISC]: Remove redundant conditionals.
10711         * posix/unistd.h: Update #endif comments.
10712         [__USE_MISC]: Remove redundant conditionals.
10713         * pwd/pwd.h [__USE_GNU]: Likewise.
10714         [__USE_MISC]: Likewise.
10715         * resolv/netdb.h [__USE_GNU]: Likewise.
10716         * signal/signal.h: Update #endif comments.
10717         [__USE_MISC]: Remove redundant conditionals.
10718         * stdlib/stdlib.h: Update #else and #endif comments.
10719         [__USE_MISC]: Remove redundant conditionals.
10720         [__USE_GNU]: Likewise.
10721         * string/bits/string2.h [__USE_MISC]: Likewise.
10722         * string/string.h: Update #endif comments.
10723         [__USE_MISC]: Remove redundant conditionals.
10724         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
10725         Likewise.
10726         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
10727         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
10728         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
10729         Likewise.
10730         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
10731         Likewise.
10732         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
10733         comments.
10734         [__USE_MISC]: Remove redundant conditionals.
10735         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
10736         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
10737         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
10738         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
10739         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
10740         Likewise.
10741         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
10742         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
10743         Likewise.
10744         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
10745         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
10746         Likewise.
10747         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
10748         Likewise.
10749         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
10750         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
10751         Likewise.
10752         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
10753         Likewise.
10754         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
10755         * sysdeps/x86/bits/string.h: Update #endif comments.
10756         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
10757         conditionals.
10758         * time/sys/time.h: Update #endif comments.
10759         * time/time.h: Likewise.
10760         [__USE_MISC]: Remove redundant conditionals.
10761
10762 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
10763
10764         [BZ #16600]
10765         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
10766
10767 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
10768
10769         * Versions.def (librt): Add GLIBC_2.17.
10770
10771 2014-02-21  Adam Conrad  <adconrad@0c3.net>
10772
10773         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
10774         synonym for _SYS_AUXV_H to allow direct inclusion.
10775         * sysdeps/sparc/bits/hwcap.h: Likewise.
10776         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
10777         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
10778         * sysdeps/sparc/sysdep.h: Likewise.
10779
10780 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10781
10782         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
10783
10784 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10785
10786         * benchtests/bench-strrchr.c: Print length instead of position.
10787
10788 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
10789
10790         [BZ #16611]
10791         * sysdeps/unix/sysv/linux/kernel-features.h
10792         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
10793         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
10794         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
10795         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
10796         Likewise.
10797         [__i386__ || __powerpc__ || __sh__ || __sparc__]
10798         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10799         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
10800         (__ASSUME_SENDMMSG): Define instead of using previous
10801         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
10802         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10803         (__ASSUME_SENDMMSG_SYSCALL): Define.
10804         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10805         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
10806         Likewise.
10807         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10808         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10809         Likewise.
10810         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10811         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10812         Likewise.
10813         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
10814         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10815         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10816         [__ASSUME_SENDMMSG]: Change conditionals to
10817         [__ASSUME_SENDMMSG_SOCKETCALL].
10818         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10819         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
10820         Define.
10821         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10822         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
10823         Likewise.
10824         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
10825         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10826         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10827         [!__ASSUME_SENDMMSG]: Change conditional to
10828         [!__ASSUME_SENDMMSG_SOCKETCALL].
10829         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10830         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10831         Define.
10832
10833         [BZ #16610]
10834         * sysdeps/unix/sysv/linux/kernel-features.h
10835         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10836         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10837         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10838         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10839         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10840         [__i386__ || __sparc__]
10841         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10842         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10843         (__ASSUME_RECVMMSG): Define instead of using previous
10844         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10845         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10846         (__ASSUME_RECVMMSG_SYSCALL): Define.
10847         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10848         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10849         Likewise.
10850         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10851         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10852         Likewise.
10853         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10854         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10855         Likewise.
10856         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10857         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10858         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10859         [__ASSUME_RECVMMSG]: Change condition to
10860         [__ASSUME_RECVMMSG_SOCKETCALL].
10861         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10862         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10863         Define.
10864         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10865         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10866         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10867         Likewise.
10868         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10869         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10870         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10871         [!__ASSUME_RECVMMSG]: Change condition to
10872         [!__ASSUME_RECVMMSG_SOCKETCALL].
10873         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10874         (__ASSUME_RECVMMSG_SYSCALL): Define.
10875
10876         [BZ #16609]
10877         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10878         __powerpc__ || __s390__ || __sh__ || __sparc__]
10879         (__ASSUME_SOCKETCALL): Define.
10880         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10881         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10882         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10883         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10884         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10885         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10886         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10887         (__ASSUME_ACCEPT4): Define instead of using previous
10888         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10889         __powerpc__ || __sparc__ || __s390__)] condition.
10890         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10891         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10892         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10893         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10894         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10895         [!__ASSUME_ACCEPT4]: Change condition to
10896         [!__ASSUME_ACCEPT4_SOCKETCALL].
10897         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10898         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
10899         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10900         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10901         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10902         __ASSUME_ACCEPT4_SYSCALL.
10903         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10904         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10905         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10906         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
10907         __ASSUME_ACCEPT4_SYSCALL.
10908         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
10909         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10910         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10911         [__ASSUME_ACCEPT4]: Change condition to
10912         [__ASSUME_ACCEPT4_SOCKETCALL].
10913         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10914         (__ASSUME_SOCKETCALL): Define.
10915         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10916         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10917         (__ASSUME_SOCKETCALL): Define.
10918         (__ASSUME_ACCEPT4): Remove.
10919         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10920         Define.
10921         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10922         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10923         Likewise.
10924         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10925         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10926
10927         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10928         macro.
10929         (HWCAP_ARM_LPAE): Likewise.
10930         (HWCAP_ARM_EVTSTRM): Likewise.
10931         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10932         Add vpfd32, lpae and evtstrm.
10933         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10934         Increase to 22.
10935
10936 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
10937
10938         * math/auto-libm-test-in: Add tests of clog10.
10939         * math/auto-libm-test-out: Regenerated.
10940         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10941         * sysdeps/i386/fpu/libm-test-ulps: Update.
10942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10943
10944 2014-02-18  Andreas Schwab  <schwab@suse.de>
10945
10946         [BZ #16574]
10947         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10948         Store non-zero if the second buffer was newly allocated.
10949         (send_dg): Likewise.
10950         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10951         to send_vc and send_dg.
10952         (res_nsend): Pass NULL for ansp2_malloced.
10953         * resolv/res_query.c (__libc_res_nquery): Add parameter
10954         answerp2_malloced and pass it down to __libc_res_nsend.
10955         (res_nquery): Pass additional NULL to __libc_res_nquery.
10956         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10957         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
10958         second answer buffer if answerp2_malloced was set.
10959         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10960         (__libc_res_nquerydomain): Add parameter
10961         answerp2_malloced and pass it down to __libc_res_nquery.
10962         (res_nquerydomain): Pass additional NULL to
10963         __libc_res_nquerydomain.
10964         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10965         additional NULL to __libc_res_nsend and __libc_res_nquery.
10966         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10967         additional NULL to __libc_res_nsearch.
10968         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
10969         parameter of __libc_res_nsearch to check for separately allocated
10970         second buffer.
10971         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10972         __libc_res_nquery.
10973         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10974         additional NULL to __libc_res_nquery.
10975         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10976         __libc_res_nsearch.
10977         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10978         * include/resolv.h: Update prototypes of __libc_res_nquery,
10979         __libc_res_nsearch, __libc_res_nsend.
10980
10981 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
10982
10983         * math/auto-libm-test-in: Add tests of fma.
10984         * math/auto-libm-test-out: Regenerated.
10985         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10986         (fma_towardzero_test_data): Likewise.
10987         (fma_downward_test_data): Likewise.
10988         (fma_upward_test_data): Likewise.
10989         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10990         mpc_mode.
10991         (rounding_modes): Add values for new field.
10992         (func_calc_method): Add value mpfr_fff_f.
10993         (func_calc_desc): Add mpfr_fff_f union field.
10994         (test_function): Add field exact_args.
10995         (FUNC): Add macro argument EXACT_ARGS.
10996         (FUNC_mpfr_f_f): Update call to FUNC.
10997         (FUNC_mpfr_f_f): Likewise.
10998         (FUNC_mpfr_ff_f): Likewise.
10999         (FUNC_mpfr_if_f): Likewise.
11000         (FUNC_mpc_c_f): Likewise.
11001         (FUNC_mpc_c_c): Likewise.
11002         (test_functions): Add fma.  Update calls to FUNC.
11003         (handle_input_arg): Add argument exact_args.
11004         (add_test): Update call to handle_input_arg.
11005         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
11006         (output_for_one_input_case): Update call to calc_generic_results.
11007         Recalculate exact zero results in each rounding mode.
11008
11009         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
11010         non-negative before setting low bit.
11011         * math/auto-libm-test-in: Mark one asin test possibly having
11012         spurious underflow.
11013         * math/auto-libm-test-out: Regenerated.
11014         * sysdeps/i386/fpu/libm-test-ulps: Update.
11015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11016
11017 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
11018
11019         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
11020         * sysdeps/unix/sysv/linux/microblaze: Move directory from
11021         ports/sysdeps/unix/sysv/linux/microblaze.
11022         * README: Add missing listing for microblaze*-*-linux-gnu.
11023
11024 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
11025
11026         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
11027         duplicate code
11028
11029 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
11030
11031         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
11032         * sysdeps/unix/sysv/linux/ia64: Move directory from
11033         ports/sysdeps/unix/sysv/linux/ia64.
11034         * README: Update listing for ia64-*-linux-gnu.
11035
11036 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
11037             Joseph Myers  <joseph@codesourcery.com>
11038
11039         * Makeconfig (test-name): New variable.
11040         (evaluate-test): Likewise.
11041         * Makerules (do-test-clean): Remove .test-result files.
11042         (common-mostlyclean): Likewise.
11043         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
11044         * scripts/evaluate-test.sh: New file.
11045
11046 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
11047
11048         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
11049         separate $(objpfx)tst-fopenloc-cmp.out and
11050         $(objpfx)tst-fopenloc-mem.out targets.
11051         (tests): Update dependencies.
11052         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
11053         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
11054         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
11055         (tst-rxspencer-no-utf8-ARGS): New variable.
11056         (tst-rxspencer-no-utf8-ENV): Likewise.
11057         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
11058         instead of $(objpfx)tst-rxspencer-mem.
11059         ($(objpfx)tst-rxspencer-mem): Change target to
11060         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
11061         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
11062         * posix/tst-rxspencer-no-utf8.c: New file.
11063
11064         * elf/Makefile ($(objpfx)order.out): Remove rule.
11065         [$(run-built-tests) = yes] (tests): Depend on
11066         $(objpfx)order-cmp.out.
11067         ($(objpfx)order-cmp.out): New rule.
11068         [$(run-built-tests) = yes] (tests): Depend on
11069         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
11070         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
11071         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
11072         $(objpfx)tst-array5-static-cmp.out.
11073         ($(objpfx)tst-array1.out): Remove rule.
11074         ($(objpfx)tst-array1-cmp.out): New rule.
11075         ($(objpfx)tst-array1-static.out): Remove rule.
11076         ($(objpfx)tst-array1-static-cmp.out): New rule.
11077         ($(objpfx)tst-array2.out): Remove rule.
11078         ($(objpfx)tst-array2-cmp.out): New rule.
11079         ($(objpfx)tst-array3.out): Remove rule.
11080         ($(objpfx)tst-array3-cmp.out): New rule.
11081         ($(objpfx)tst-array4.out): Remove rule.
11082         ($(objpfx)tst-array4-cmp.out): New rule.
11083         ($(objpfx)tst-array5.out): Remove rule.
11084         ($(objpfx)tst-array5-cmp.out): New rule.
11085         ($(objpfx)tst-array5-static.out): Remove rule.
11086         ($(objpfx)tst-array5-static-cmp.out): New rule.
11087         [$(run-built-tests) = yes] (tests): Depend on
11088         $(objpfx)order2-cmp.out.
11089         ($(objpfx)order2.out): Remove rule.
11090         ($(objpfx)order2-cmp.out): New rule.
11091         ($(objpfx)tst-initorder.out): Remove rule.
11092         [$(run-built-tests) = yes] (tests): Depend on
11093         $(objpfx)tst-initorder-cmp.out.
11094         ($(objpfx)tst-initorder-cmp.out): New rule.
11095         ($(objpfx)tst-initorder2.out): Remove rule.
11096         [$(run-built-tests) = yes] (tests): Depend on
11097         $(objpfx)tst-initorder2-cmp.out.
11098         ($(objpfx)tst-initorder2-cmp.out): New rule.
11099         [$(run-built-tests) = yes] (tests): Depend on
11100         $(objpfx)tst-unused-dep-cmp.out.
11101         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
11102         ($(objpfx)tst-unused-dep-cmp.out): New rule.
11103         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
11104         on $(objpfx)tst-setvbuf1-cmp.out.
11105         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
11106         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
11107         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
11108         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
11109         ($(objpfx)tst-svc.out): Remove rule.
11110         ($(objpfx)tst-svc-cmp.out): New rule.
11111
11112 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
11113
11114         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
11115         * ctype/ctype.h [__USE_MISC]: Likewise.
11116         * dirent/dirent.h [__USE_MISC]: Likewise.
11117         * grp/grp.h [__USE_MISC]: Likewise.
11118         * io/fcntl.h [__USE_MISC]: Likewise.
11119         * io/sys/stat.h [__USE_MISC]: Likewise.
11120         * libio/stdio.h [__USE_MISC]: Likewise.
11121         * posix/unistd.h [__USE_MISC]: Likewise.
11122         * pwd/pwd.h [__USE_MISC]: Likewise.
11123         * stdlib.h [__USE_MISC]: Likewise.
11124         * string/bits/string2.h [__USE_MISC]: Likewise.
11125         * string/string.h [__USE_MISC]: Likewise.
11126         * time/time.h [__USE_MISC]: Likewise.
11127
11128 2014-02-13  Andreas Schwab  <schwab@suse.de>
11129
11130         [BZ #16574]
11131         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
11132         second answer buffer if it was separately allocated.
11133
11134 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
11135
11136         * sysdeps/mips/math-tests.h: Include <features.h>.
11137         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11138         (ROUNDING_TESTS_long_double): Do not define.
11139         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11140         (EXCEPTION_TESTS_long_double): Likewise.
11141         * sysdeps/mips/mips64/libm-test-ulps: Update.
11142
11143         * include/features.h (__USE_BSD): Remove macro definitions.
11144         (__USE_SVID): Likewise.
11145         (_BSD_SOURCE): Likewise.
11146         (_SVID_SOURCE): Likewise.
11147         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
11148         from definition of _DEFAULT_SOURCE.
11149         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
11150         [_DEFAULT_SOURCE].
11151         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
11152         * bits/mman.h [__USE_BSD]: Likewise.
11153         * bits/termios.h [__USE_BSD]: Likewise.
11154         * bits/waitstatus.h [__USE_BSD]: Likewise.
11155         * ctype/ctype.h [__USE_SVID]: Likewise.
11156         * dirent/dirent.h [__USE_BSD]: Likewise.
11157         * grp/grp.h [__USE_SVID]: Likewise.
11158         [__USE_BSD]: Likewise.
11159         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
11160         * io/fcntl.h [__USE_BSD]: Likewise.
11161         * io/ftw.h [__USE_BSD]: Likewise.
11162         * io/sys/stat.h [__USE_BSD]: Likewise.
11163         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
11164         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
11165         * libio/stdio.h [__USE_SVID]: Likewise.
11166         [__USE_BSD]: Likewise.
11167         * math/math.h [__USE_SVID]: Likewise.
11168         [__USE_BSD]: Likewise.
11169         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
11170         * misc/bits/syslog.h [__USE_BSD]: Likewise.
11171         * misc/search.h [__USE_SVID]: Likewise.
11172         * misc/sys/mman.h [__USE_BSD]: Likewise.
11173         * misc/sys/syslog.h [__USE_BSD]: Likewise.
11174         * misc/sys/uio.h [__USE_BSD]: Likewise.
11175         * posix/bits/unistd.h [__USE_BSD]: Likewise.
11176         * posix/glob.h [__USE_BSD]: Likewise.
11177         * posix/regex.h [__USE_BSD]: Likewise.
11178         * posix/sys/types.h [__USE_BSD]: Likewise.
11179         [__USE_SVID]: Likewise.
11180         * posix/sys/utsname.h [__USE_SVID]: Likewise.
11181         * posix/sys/wait.h [__USE_BSD]: Likewise.
11182         [__USE_SVID]: Likewise.
11183         * posix/unistd.h [__USE_BSD]: Likewise.
11184         [__USE_SVID]: Likewise.
11185         * pwd/pwd.h [__USE_SVID]: Likewise.
11186         * resolv/netdb.h [__USE_BSD]: Likewise.
11187         * setjmp/setjmp.h [__USE_BSD]: Likewise.
11188         * signal/signal.h [__USE_BSD]: Likewise.
11189         [__USE_SVID]: Likewise.
11190         * socket/sys/socket.h [__USE_BSD]: Likewise.
11191         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
11192         * stdlib/stdlib.h [__USE_BSD]: Likewise.
11193         [__USE_SVID]: Likewise.
11194         * string/bits/string2.h [__USE_BSD]: Likewise.
11195         [__USE_SVID]: Likewise.
11196         * string/bits/string3.h [__USE_BSD]: Likewise.
11197         * string/endian.h [__USE_BSD]: Likewise.
11198         * string/string.h [__USE_SVID]: Likewise.
11199         [__USE_BSD]: Likewise.
11200         * string/strings.h [__USE_BSD]: Likewise.
11201         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
11202         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
11203         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
11204         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
11205         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
11206         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
11207         Likewise.
11208         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
11209         Likewise.
11210         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
11211         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
11212         Likewise.
11213         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
11214         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
11215         Likewise.
11216         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
11217         Likewise.
11218         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
11219         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
11220         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
11221         Likewise.
11222         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
11223         Likewise.
11224         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
11225         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
11226         * termios/termios.h [__USE_BSD]: Likewise.
11227         * time/sys/time.h [__USE_BSD]: Likewise.
11228         * time/time.h [__USE_BSD]: Likewise.
11229         [__USE_SVID]: Likewise.
11230
11231         * Makefile (subdir_targets): Remove subdir_lint.out.
11232
11233         * stdio-common/Makefile (do-tst-unbputc): Remove target.
11234         (do-tst-printf): Likewise.
11235         (tests): Depend directly on $(objpfx)tst-unbputc.out and
11236         $(objpfx)tst-printf.out.
11237
11238         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
11239
11240         * Makerules (check-abi-%): Change target to
11241         $(objpfx)check-abi-%.out.
11242         (check-abi target): Update dependencies.
11243         (check-abi-pattern variable): Redirect output of diff to $@.
11244         (check-abi variable): Likewise.
11245         * elf/Makefile (check-abi): Update dependencies.
11246
11247         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
11248         unused.
11249         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
11250         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
11251         subnormal range.
11252         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
11253         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
11254         value has largest subnormal exponent.
11255         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
11256         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
11257         * sysdeps/aarch64/soft-fp/sfp-machine.h
11258         (_FP_TININESS_AFTER_ROUNDING): New macro.
11259         * sysdeps/alpha/soft-fp/sfp-machine.h
11260         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11261         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11262         Likewise.
11263         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
11264         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11265         * sysdeps/mips/soft-fp/sfp-machine.h
11266         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11267         * sysdeps/powerpc/soft-fp/sfp-machine.h
11268         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11269         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11270         Likewise.
11271         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11272         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11273         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11274         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11275         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11276         Likewise.
11277
11278 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
11279
11280         [BZ #16545]
11281         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
11282         model 1.
11283
11284 2014-02-12  Richard Henderson  <rth@redhat.com>
11285
11286         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
11287         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
11288         * sysdeps/unix/sysv/linux/alpha: Move directory from
11289         ports/sysdeps/unix/sysv/linux/alpha.
11290         * README: Update listing for alpha-*-linux-gnu.
11291
11292 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
11293
11294         * include/features.h: Update comment documenting feature test
11295         macros.
11296         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
11297         _DEFAULT_SOURCE.
11298         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
11299         (_SVID_SOURCE): Likewise.
11300         (_DEFAULT_SOURCE): Update description of default features.
11301         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
11302         with _GNU_SOURCE.
11303         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
11304         (S_ISVTX): Likewise.
11305         * manual/math.texi (Mathematical Constants): Likewise.
11306         * manual/signal.texi (Interrupted Primitives): Likewise.
11307         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
11308         * math/test-matherr.c (_SVID_SOURCE): Do not define.
11309         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
11310         Don't refer to _SVID_SOURCE in warning text.
11311
11312         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11313
11314         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
11315         already defined.
11316         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
11317         * sysdeps/mips/dl-lookup.c: Remove.
11318         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
11319
11320 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
11321
11322         [BZ #16447]
11323         * math/auto-libm-test-in: Add testcase for expl.
11324         * math/auto-libm-test-out: Regenerate.
11325         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
11326         calculation of unsafe.
11327         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
11328
11329 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
11330
11331         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
11332         * sysdeps/unix/sysv/linux/aarch64: Move directory from
11333         ports/sysdeps/unix/sysv/linux/aarch64.
11334         * README: Update listing for aarch64*-*-linux-gnu.
11335
11336 2014-02-11  Will Newton  <will.newton@linaro.org>
11337
11338         * manual/probes.texi (Mathematical Function Probes): Use
11339         "triggered" instead of "hit".
11340
11341         * manual/probes.texi (Internal Probes): Add documentation
11342         of setjmp, longjmp and longjmp_target probes.
11343
11344         * include/stap-probe.h: Add comment about probe argument
11345         format.
11346
11347         * malloc/mtrace.c (attribute_hidden): Remove unused macro
11348         definition.  (tr_where, tr_freehook, tr_mallochook,
11349         tr_reallochook, tr_memalignhook): Use ANSI protoype.
11350
11351 2014-02-11  David S. Miller  <davem@davemloft.net>
11352
11353         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
11354         processing int_tests.
11355
11356 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
11357
11358         * sysdeps/mips: Move directory from ports/sysdeps/mips.
11359         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
11360         * sysdeps/unix/sysv/linux/mips: Move directory from
11361         ports/sysdeps/unix/sysv/linux/mips.
11362         * README: Update listing for mips-*-linux-gnu and
11363         mips64-*-linux-gnu.
11364
11365 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
11366
11367         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
11368         * sysdeps/unix/sysv/linux/m68k: Move directory from
11369         ports/sysdeps/unix/sysv/linux/m68k.
11370         * README: Update listing for m68k-*-linux-gnu.
11371
11372 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
11373
11374         * sysdeps/tile: Move directory from ports/sysdeps/tile.
11375         * sysdeps/unix/sysv/linux/generic: Move directory from
11376         ports/sysdeps/unix/sysv/linux/generic.
11377         * sysdeps/unix/sysv/linux/tile: Move directory from
11378         ports/sysdeps/unix/sysv/linux/tile.
11379         * README: Update listing for tile*-*-linux-gnu.
11380
11381 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
11382
11383         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
11384         __builtin_expect.
11385         * benchtests/bench-memmem.c (simple_memmem): Likewise.
11386         * catgets/open_catalog.c (__open_catalog): Likewise.
11387         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
11388         * debug/confstr_chk.c: Likewise.
11389         * debug/fread_chk.c (__fread_chk): Likewise.
11390         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
11391         * debug/getgroups_chk.c: Likewise.
11392         * debug/mbsnrtowcs_chk.c: Likewise.
11393         * debug/mbsrtowcs_chk.c: Likewise.
11394         * debug/mbstowcs_chk.c: Likewise.
11395         * debug/memcpy_chk.c: Likewise.
11396         * debug/memmove_chk.c: Likewise.
11397         * debug/mempcpy_chk.c: Likewise.
11398         * debug/memset_chk.c: Likewise.
11399         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11400         * debug/strcat_chk.c (__strcat_chk): Likewise.
11401         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
11402         * debug/strncat_chk.c (__strncat_chk): Likewise.
11403         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
11404         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
11405         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
11406         * debug/wcpncpy_chk.c: Likewise.
11407         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11408         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
11409         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
11410         * debug/wcsncpy_chk.c: Likewise.
11411         * debug/wcsnrtombs_chk.c: Likewise.
11412         * debug/wcsrtombs_chk.c: Likewise.
11413         * debug/wcstombs_chk.c: Likewise.
11414         * debug/wmemcpy_chk.c: Likewise.
11415         * debug/wmemmove_chk.c: Likewise.
11416         * debug/wmempcpy_chk.c: Likewise.
11417         * debug/wmemset_chk.c: Likewise.
11418         * dirent/scandirat.c (SCANDIRAT): Likewise.
11419         * dlfcn/dladdr1.c (dladdr1): Likewise.
11420         * dlfcn/dladdr.c (dladdr): Likewise.
11421         * dlfcn/dlclose.c (dlclose_doit): Likewise.
11422         * dlfcn/dlerror.c (__dlerror): Likewise.
11423         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
11424         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
11425         * dlfcn/dlopen.c (dlopen_doit): Likewise.
11426         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
11427         * dlfcn/dlsym.c (dlsym_doit): Likewise.
11428         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
11429         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
11430         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
11431         Likewise.
11432         * elf/dl-conflict.c: Likewise.
11433         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
11434         * elf/dl-dst.h: Likewise.
11435         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
11436         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
11437         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
11438         * elf/dl-init.c (call_init, _dl_init): Likewise.
11439         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
11440         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
11441         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
11442         Likewise.
11443         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
11444         Likewise.
11445         * elf/dl-minimal.c (__libc_memalign): Likewise.
11446         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
11447         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11448         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
11449         * elf/dl-sym.c (do_sym): Likewise.
11450         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
11451         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
11452         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
11453         * elf/dl-writev.h (_dl_writev): Likewise.
11454         * elf/ldconfig.c (search_dir): Likewise.
11455         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
11456         (dl_main): Likewise.
11457         * elf/setup-vdso.h (setup_vdso): Likewise.
11458         * grp/compat-initgroups.c (compat_call): Likewise.
11459         * grp/fgetgrent.c (fgetgrent): Likewise.
11460         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
11461         * grp/putgrent.c (putgrent): Likewise.
11462         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11463         Likewise.
11464         * hurd/hurdinit.c: Likewise.
11465         * iconvdata/8bit-gap.c (struct): Likewise.
11466         * iconvdata/ansi_x3.110.c : Likewise.
11467         * iconvdata/big5.c : Likewise.
11468         * iconvdata/big5hkscs.c : Likewise.
11469         * iconvdata/cp1255.c: Likewise.
11470         * iconvdata/cp1258.c : Likewise.
11471         * iconvdata/cp932.c : Likewise.
11472         * iconvdata/euc-cn.c: Likewise.
11473         * iconvdata/euc-jisx0213.c : Likewise.
11474         * iconvdata/euc-jp.c: Likewise.
11475         * iconvdata/euc-jp-ms.c : Likewise.
11476         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
11477         * iconvdata/gb18030.c : Likewise.
11478         * iconvdata/gbbig5.c (const): Likewise.
11479         * iconvdata/gbgbk.c: Likewise.
11480         * iconvdata/gbk.c : Likewise.
11481         * iconvdata/ibm1364.c : Likewise.
11482         * iconvdata/ibm930.c : Likewise.
11483         * iconvdata/ibm932.c: Likewise.
11484         * iconvdata/ibm933.c : Likewise.
11485         * iconvdata/ibm935.c : Likewise.
11486         * iconvdata/ibm937.c : Likewise.
11487         * iconvdata/ibm939.c : Likewise.
11488         * iconvdata/ibm943.c: Likewise.
11489         * iconvdata/iso_11548-1.c: Likewise.
11490         * iconvdata/iso-2022-cn.c : Likewise.
11491         * iconvdata/iso-2022-cn-ext.c : Likewise.
11492         * iconvdata/iso-2022-jp-3.c: Likewise.
11493         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
11494         * iconvdata/iso-2022-kr.c : Likewise.
11495         * iconvdata/iso646.c (gconv_end): Likewise.
11496         * iconvdata/iso_6937-2.c : Likewise.
11497         * iconvdata/iso_6937.c : Likewise.
11498         * iconvdata/iso8859-1.c: Likewise.
11499         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
11500         * iconvdata/shift_jisx0213.c : Likewise.
11501         * iconvdata/sjis.c : Likewise.
11502         * iconvdata/t.61.c : Likewise.
11503         * iconvdata/tcvn5712-1.c : Likewise.
11504         * iconvdata/tscii.c: Likewise.
11505         * iconvdata/uhc.c : Likewise.
11506         * iconvdata/unicode.c (gconv_end): Likewise.
11507         * iconvdata/utf-16.c (gconv_end): Likewise.
11508         * iconvdata/utf-32.c (gconv_end): Likewise.
11509         * iconvdata/utf-7.c (base64): Likewise.
11510         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
11511         * iconv/gconv_close.c (__gconv_close): Likewise.
11512         * iconv/gconv_open.c (__gconv_open): Likewise.
11513         * iconv/gconv_simple.c (internal_ucs4_loop_single)
11514         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
11515         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
11516         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
11517         (ucs4le_internal_loop_single): Likewise.
11518         * iconv/iconv.c (iconv): Likewise.
11519         * iconv/iconv_close.c: Likewise.
11520         * iconv/loop.c (SINGLE): Likewise.
11521         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
11522         * include/atomic.h: Likewise.
11523         * inet/inet6_option.c (option_alloc): Likewise.
11524         * intl/bindtextdom.c (set_binding_values): Likewise.
11525         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
11526         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
11527         * intl/localealias.c (read_alias_file): Likewise.
11528         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11529         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
11530         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
11531         * libio/fmemopen.c (fmemopen): Likewise.
11532         * libio/iofgets.c (_IO_fgets): Likewise.
11533         * libio/iofgets_u.c (fgets_unlocked): Likewise.
11534         * libio/iofgetws.c (fgetws): Likewise.
11535         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11536         * libio/iogetdelim.c (_IO_getdelim): Likewise.
11537         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
11538         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
11539         * locale/findlocale.c (_nl_find_locale): Likewise.
11540         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
11541         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
11542         Likewise.
11543         * locale/setlocale.c (setlocale): Likewise.
11544         * login/programs/pt_chown.c (main): Likewise.
11545         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
11546         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
11547         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
11548         (mmap, mmap64, mremap, munmap): Likewise.
11549         * math/e_exp2l.c: Likewise.
11550         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
11551         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
11552         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
11553         * math/s_catan.c (__catan): Likewise.
11554         * math/s_catanf.c (__catanf): Likewise.
11555         * math/s_catanh.c (__catanh): Likewise.
11556         * math/s_catanhf.c (__catanhf): Likewise.
11557         * math/s_catanhl.c (__catanhl): Likewise.
11558         * math/s_catanl.c (__catanl): Likewise.
11559         * math/s_ccosh.c (__ccosh): Likewise.
11560         * math/s_ccoshf.c (__ccoshf): Likewise.
11561         * math/s_ccoshl.c (__ccoshl): Likewise.
11562         * math/s_cexp.c (__cexp): Likewise.
11563         * math/s_cexpf.c (__cexpf): Likewise.
11564         * math/s_cexpl.c (__cexpl): Likewise.
11565         * math/s_clog10.c (__clog10): Likewise.
11566         * math/s_clog10f.c (__clog10f): Likewise.
11567         * math/s_clog10l.c (__clog10l): Likewise.
11568         * math/s_clog.c (__clog): Likewise.
11569         * math/s_clogf.c (__clogf): Likewise.
11570         * math/s_clogl.c (__clogl): Likewise.
11571         * math/s_csin.c (__csin): Likewise.
11572         * math/s_csinf.c (__csinf): Likewise.
11573         * math/s_csinh.c (__csinh): Likewise.
11574         * math/s_csinhf.c (__csinhf): Likewise.
11575         * math/s_csinhl.c (__csinhl): Likewise.
11576         * math/s_csinl.c (__csinl): Likewise.
11577         * math/s_csqrt.c (__csqrt): Likewise.
11578         * math/s_csqrtf.c (__csqrtf): Likewise.
11579         * math/s_csqrtl.c (__csqrtl): Likewise.
11580         * math/s_ctan.c (__ctan): Likewise.
11581         * math/s_ctanf.c (__ctanf): Likewise.
11582         * math/s_ctanh.c (__ctanh): Likewise.
11583         * math/s_ctanhf.c (__ctanhf): Likewise.
11584         * math/s_ctanhl.c (__ctanhl): Likewise.
11585         * math/s_ctanl.c (__ctanl): Likewise.
11586         * math/w_pow.c: Likewise.
11587         * math/w_powf.c: Likewise.
11588         * math/w_powl.c: Likewise.
11589         * math/w_scalb.c (sysv_scalb): Likewise.
11590         * math/w_scalbf.c (sysv_scalbf): Likewise.
11591         * math/w_scalbl.c (sysv_scalbl): Likewise.
11592         * misc/error.c (error_tail): Likewise.
11593         * misc/pselect.c (__pselect): Likewise.
11594         * nis/nis_callback.c (__nis_create_callback): Likewise.
11595         * nis/nis_call.c (__nisfind_server): Likewise.
11596         * nis/nis_creategroup.c (nis_creategroup): Likewise.
11597         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
11598         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
11599         * nis/nis_getservlist.c (nis_getservlist): Likewise.
11600         * nis/nis_lookup.c (nis_lookup): Likewise.
11601         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
11602         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
11603         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
11604         * nis/nis_xdr.c (xdr_endpoint): Likewise.
11605         * nis/nss_compat/compat-grp.c (getgrent_next_file)
11606         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
11607         * nis/nss_compat/compat-initgroups.c (add_group)
11608         (internal_getgrent_r): Likewise.
11609         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
11610         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
11611         * nis/nss_compat/compat-spwd.c (getspent_next_file)
11612         (internal_getspnam_r): Likewise.
11613         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
11614         (_nss_nis_getaliasbyname_r): Likewise.
11615         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
11616         (_nss_nis_getntohost_r): Likewise.
11617         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
11618         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
11619         (_nss_nis_getgrgid_r): Likewise.
11620         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
11621         (internal_nis_gethostent_r, internal_gethostbyname2_r)
11622         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
11623         (_nss_nis_gethostbyname4_r): Likewise.
11624         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
11625         (initgroups_netid): Likewise.
11626         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
11627         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
11628         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
11629         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
11630         (_nss_nis_getprotobynumber_r): Likewise.
11631         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
11632         (_nss_nis_getsecretkey): Likewise.
11633         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
11634         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
11635         (_nss_nis_getpwuid_r): Likewise.
11636         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
11637         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
11638         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
11639         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
11640         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
11641         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
11642         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
11643         Likewise.
11644         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
11645         (_nss_nisplus_getntohost_r): Likewise.
11646         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
11647         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
11648         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
11649         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
11650         Likewise.
11651         * nis/nss_nisplus/nisplus-initgroups.c
11652         (_nss_nisplus_initgroups_dyn): Likewise.
11653         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
11654         (_nss_nisplus_getnetbyaddr_r): Likewise.
11655         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
11656         (_nss_nisplus_getprotobynumber_r): Likewise.
11657         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
11658         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
11659         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
11660         Likewise.
11661         * nis/nss_nisplus/nisplus-service.c
11662         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
11663         (_nss_nisplus_getservbyport_r): Likewise.
11664         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
11665         (_nss_nisplus_getspnam_r): Likewise.
11666         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
11667         Likewise.
11668         * nscd/aicache.c (addhstaiX): Likewise.
11669         * nscd/cache.c (cache_search, prune_cache): Likewise.
11670         * nscd/connections.c (register_traced_file, send_ro_fd)
11671         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
11672         (main_loop_epoll): Likewise.
11673         * nscd/grpcache.c (addgrbyX): Likewise.
11674         * nscd/hstcache.c (addhstbyX): Likewise.
11675         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11676         * nscd/mem.c (gc, mempool_alloc): Likewise.
11677         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
11678         (addinnetgrX): Likewise.
11679         * nscd/nscd-client.h (__nscd_acquire_maplock)
11680         (__nscd_drop_map_ref): Likewise.
11681         * nscd/nscd_getai.c (__nscd_getai): Likewise.
11682         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11683         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
11684         Likewise.
11685         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
11686         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11687         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
11688         (__nscd_get_map_ref): Likewise.
11689         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
11690         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
11691         Likewise.
11692         * nscd/pwdcache.c (addpwbyX): Likewise.
11693         * nscd/selinux.c (preserve_capabilities): Likewise.
11694         * nscd/servicescache.c (addservbyX): Likewise.
11695         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
11696         * posix/fnmatch.c (fnmatch): Likewise.
11697         * posix/getopt.c (_getopt_internal_r): Likewise.
11698         * posix/glob.c (glob, glob_in_dir): Likewise.
11699         * posix/wordexp.c (exec_comm_child): Likewise.
11700         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
11701         (getanswer_r, gaih_getanswer_slice): Likewise.
11702         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
11703         * resolv/res_init.c: Likewise.
11704         * resolv/res_mkquery.c (res_nmkquery): Likewise.
11705         * resolv/res_query.c (__libc_res_nquery): Likewise.
11706         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
11707         Likewise.
11708         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
11709         * stdio-common/perror.c (perror): Likewise.
11710         * stdio-common/printf_fp.c (___printf_fp): Likewise.
11711         * stdio-common/tmpnam.c (tmpnam): Likewise.
11712         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11713         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
11714         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11715         Likewise.
11716         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11717         * stdlib/putenv.c (putenv): Likewise.
11718         * stdlib/setenv.c (__add_to_environ): Likewise.
11719         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11720         * stdlib/strtol_l.c (INTERNAL): Likewise.
11721         * string/memmem.c (memmem): Likewise.
11722         * string/strerror.c (strerror): Likewise.
11723         * string/strnlen.c (__strnlen): Likewise.
11724         * string/test-memmem.c (simple_memmem): Likewise.
11725         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
11726         * sunrpc/pm_getport.c (__get_socket): Likewise.
11727         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
11728         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
11729         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
11730         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
11731         Likewise.
11732         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11733         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11734         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
11735         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
11736         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
11737         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
11738         Likewise.
11739         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
11740         Likewise.
11741         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
11742         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
11743         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11744         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11745         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11746         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
11747         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11748         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
11749         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
11750         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11751         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11752         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
11753         Likewise.
11754         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
11755         Likewise.
11756         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
11757         Likewise.
11758         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
11759         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11760         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
11761         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
11762         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11763         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
11764         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11765         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
11766         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
11767         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
11768         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
11769         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11770         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11771         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
11772         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11773         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11774         Likewise.
11775         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
11776         Likewise.
11777         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
11778         Likewise.
11779         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
11780         Likewise.
11781         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11782         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11783         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
11784         Likewise.
11785         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
11786         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
11787         * sysdeps/posix/opendir.c (__opendirat): Likewise.
11788         * sysdeps/posix/sleep.c: Likewise.
11789         * sysdeps/posix/tempname.c: Likewise.
11790         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
11791         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11792         Likewise.
11793         * sysdeps/powerpc/powerpc32/dl-machine.h
11794         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
11795         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11796         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11797         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
11798         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
11799         Likewise.
11800         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
11801         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
11802         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11803         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
11804         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11805         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
11806         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
11807         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
11808         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11809         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
11810         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
11811         (elf_machine_lazy_rel): Likewise.
11812         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11813         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
11814         (elf_machine_lazy_rel): Likewise.
11815         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
11816         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
11817         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
11818         * sysdeps/unix/grantpt.c (grantpt): Likewise.
11819         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
11820         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
11821         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11822         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11823         Likewise.
11824         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11825         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11826         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
11827         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
11828         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11829         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11830         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11831         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11832         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11833         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11834         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11835         Likewise.
11836         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11837         (__posix_fallocate64_l64): Likewise.
11838         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11839         (posix_fallocate): Likewise.
11840         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11841         Likewise.
11842         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11843         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11844         (getifaddrs_internal): Likewise.
11845         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11846         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11847         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11848         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11849         * sysdeps/unix/sysv/linux/posix_fallocate64.c
11850         (__posix_fallocate64_l64): Likewise.
11851         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11852         Likewise.
11853         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
11854         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11855         (__get_clockfreq): Likewise.
11856         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11857         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11858         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11859         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11860         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11861         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11862         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11863         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11864         Likewise.
11865         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11866         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11867         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11868         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11869         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11870         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11871         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11872         Likewise.
11873         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11874         (posix_fallocate): Likewise.
11875         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11876         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11877         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
11878         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11879         (elf_machine_rela, elf_machine_rela_relative)
11880         (elf_machine_lazy_rel): Likewise.
11881         * time/asctime.c (asctime_internal): Likewise.
11882         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11883         * time/tzset.c (__tzset_parse_tz): Likewise.
11884         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11885         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11886         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11887         * wcsmbs/wcsmbsload.h: Likewise.
11888
11889         [BZ #15894]
11890         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11891
11892         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11893         (arena_get2): Remove THREAD_STATS conditionals.
11894         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11895         (__malloc_stats, int): Likewise.
11896
11897 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
11898
11899         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11900         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
11901
11902         * manual/setjmp.texi: Fix typos/grammar errors.
11903
11904         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11905         Only return early when n is <= 0.  Delete unused return statement.
11906
11907         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
11908         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11909         * debug/tst-longjmp_chk3.c: New file.
11910
11911         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11912         (test_main): Replace code with set_fortify_handler call.
11913         * debug/test-strcpy_chk.c: Likewise.
11914         * debug/tst-chk1.c: Likewise.
11915         * debug/tst-longjmp_chk.c: Likewise.
11916         * test-skeleton.c: Include fcntl.h & paths.h
11917         (set_fortify_handler): Define.
11918
11919         * debug/tst-longjmp_chk.c: Add header comment and include
11920         ../test-skeleton.c.
11921         (do_test): Mark static.
11922         (TEST_FUNCTION): Define.
11923
11924         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11925         (IP_PMTUDISC_INTERFACE): Likewise.
11926         (IP_MULTICAST_IF): Likewise.
11927         (IP_MULTICAST_TTL): Likewise.
11928         (IP_MULTICAST_LOOP): Likewise.
11929         (IP_ADD_MEMBERSHIP): Likewise.
11930         (IP_DROP_MEMBERSHIP): Likewise.
11931         (IP_UNBLOCK_SOURCE): Likewise.
11932         (IP_BLOCK_SOURCE): Likewise.
11933         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11934         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11935         (IP_MSFILTER): Likewise.
11936         (MCAST_JOIN_GROUP): Likewise.
11937         (MCAST_BLOCK_SOURCE): Likewise.
11938         (MCAST_UNBLOCK_SOURCE): Likewise.
11939         (MCAST_LEAVE_GROUP): Likewise.
11940         (MCAST_JOIN_SOURCE_GROUP): Likewise.
11941         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11942         (MCAST_MSFILTER): Likewise.
11943         (IP_MULTICAST_ALL): Likewise.
11944         (IP_UNICAST_IF): Likewise.
11945
11946         * timezone/Makefile: Delete $(have-ksh) check.
11947         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11948         * timezone/tzselect.ksh: Add +x mode bits.
11949
11950         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11951         (ANON_INODE_FS_MAGIC): Likewise.
11952         (BDEVFS_MAGIC): Likewise.
11953         (BINFMTFS_MAGIC): Likewise.
11954         (BTRFS_TEST_MAGIC): Likewise.
11955         (CRAMFS_MAGIC_WEND): Likewise.
11956         (DEBUGFS_MAGIC): Likewise.
11957         (ECRYPTFS_SUPER_MAGIC): Likewise.
11958         (EXT3_SUPER_MAGIC): Likewise.
11959         (EXT4_SUPER_MAGIC): Likewise.
11960         (FUTEXFS_SUPER_MAGIC): Likewise.
11961         (HOSTFS_SUPER_MAGIC): Likewise.
11962         (HUGETLBFS_MAGIC): Likewise.
11963         (MINIX3_SUPER_MAGIC): Likewise.
11964         (MTD_INODE_FS_MAGIC): Likewise.
11965         (NILFS_SUPER_MAGIC): Likewise.
11966         (OPENPROM_SUPER_MAGIC): Likewise.
11967         (PIPEFS_MAGIC): Likewise.
11968         (PSTOREFS_MAGIC): Likewise.
11969         (QNX6_SUPER_MAGIC): Likewise.
11970         (RAMFS_MAGIC): Likewise.
11971         (REISERFS_SUPER_MAGIC_STRING): Likewise.
11972         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11973         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11974         (SECURITYFS_MAGIC): Likewise.
11975         (SELINUX_MAGIC): Likewise.
11976         (SMACK_MAGIC): Likewise.
11977         (SOCKFS_MAGIC): Likewise.
11978         (SQUASHFS_MAGIC): Likewise.
11979         (STACK_END_MAGIC): Likewise.
11980         (TMPFS_MAGIC): Likewise.
11981         (USBDEVICE_SUPER_MAGIC): Likewise.
11982         (V9FS_MAGIC): Likewise.
11983         (XENFS_SUPER_MAGIC): Likewise.
11984         (CRAMFS_MAGIC): Fix typo in comment.
11985         (EXT2_SUPER_MAGIC): Update comment.
11986         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11987
11988 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
11989
11990         * sysdeps/arm: Move directory from ports/sysdeps/arm.
11991         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11992         * sysdeps/unix/sysv/linux/arm: Move directory from
11993         ports/sysdeps/unix/sysv/linux/arm.
11994         * README: Update listing for arm-*-linux-gnueabi.
11995
11996         * README: Remove mention of am33.
11997
11998 2014-02-07  Roland McGrath  <roland@hack.frob.com>
11999
12000         * bits/sigset.h (__sigemptyset): Use a statement expression rather
12001         than the comma operator, to avoid "rhs of comma has no effect"
12002         compiler warnings.
12003         (__sigfillset, __sigandset, __sigorset): Likewise.
12004         * include/signal.h (__sigemptyset): Likewise.
12005         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
12006
12007 2014-02-07  Allan McRae  <allan@archlinux.org>
12008
12009         * version.h (RELEASE): Set to "development".
12010         (VERSION): Set to "2.19.90"
12011         * NEWS: Add 2.20 section.
12012
12013 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
12014
12015         [BZ #16529]
12016         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
12017
12018 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
12019
12020         * manual/contrib.texi: Update entry for Carlos O'Donell,
12021         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
12022
12023 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
12024
12025         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
12026
12027         * sysdeps/unix/sysv/linux/kernel-features.h
12028         [__LINUX_KERNEL_VERSION >= 0x020621]
12029         (__ASSUME_PROC_PID_TASK_COMM): Define.
12030
12031 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12032
12033         [BZ #16398]
12034         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
12035         conversion when destination buffer does not have enough space.
12036         * libio/tst-ftell-partial-wide.c: New test case.
12037         * libio/Makefile (tests): Add tst-ftell-partial-wide.
12038
12039         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
12040         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
12041         Leonard and Allan McRae.
12042
12043 2014-02-04  David S. Miller  <davem@davemloft.net>
12044
12045         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
12046         32-bit.
12047
12048 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12049
12050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
12051         New file
12052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
12053         New file
12054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
12055         New file.
12056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
12057         New file.
12058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
12059         New file.
12060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
12061         New file.
12062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
12063         New file.
12064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
12065         New file.
12066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
12067         New file.
12068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
12069         New file.
12070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
12071         New file.
12072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
12073         New file.
12074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
12075         New file.
12076
12077 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12078
12079         * nptl/shlib-versions: Change powerpc*le start to 2.17.
12080         * shlib-versions: Likewise.
12081
12082 2014-02-04  Roland McGrath  <roland@hack.frob.com>
12083             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12084
12085         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
12086         (abilist-pattern): New variable, set to %-le.abilist.
12087
12088         * Makerules (abilist-pattern): New variable.
12089         (vpath): Use $(abilist-pattern) in place of %.abilist.
12090         (check-abi-% pattern rule): Likewise.
12091         (check-abi, update-abi): Likewise.
12092
12093 2014-02-04  Eric Wong  <normalperson@yhbt.net>
12094
12095         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12096
12097 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
12098
12099         * manual/startup.texi: Add next, previous, and top entries for
12100         the `Program Arguments' and `Environment Variables' nodes.
12101
12102 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
12103
12104         * manual/macros.texi: Add comments before MTASC-safety macros.
12105
12106         * manual/users.texi: Document MTASC-safety properties.
12107
12108         * manual/threads.texi (pthread_key_create, pthread_key_delete)
12109         (pthread_getspecific, pthread_setspecific): Format with
12110         @deftypefun, and add @safety note.
12111         * manual/signal.texi: Move comments that analyze the above
12112         functions to their home place.
12113
12114 2014-02-03  Allan McRae  <allan@archlinux.org>
12115
12116         * po/sl.po: Update Slovenian translation from translation project.
12117
12118 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
12119
12120         * manual/time.texi (timegm): Add missing blank after @c.
12121         Reported by Joseph Myers <joseph@codesourcery.com>.
12122
12123 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
12124
12125         * manual/check-safety.sh: New.
12126         * manual/Makefile ($(objpfx)stamp-summary): Run it.
12127
12128         * manual/terminal.texi: Document MTASC-safety properties.
12129
12130         * manual/filesys.texi: Document MTASC-safety properties.
12131
12132         * manual/errno.texi: Document MTASC-safety properties.
12133
12134         * manual/intro.texi: Document safety identifiers and
12135         conditionals.
12136
12137         * manual/string.texi (wcstok): Fix prototype.
12138         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
12139
12140         * manual/time.texi: Document MTASC-safety properties.
12141
12142         * manual/string.texi: Document MTASC-safety properties.
12143
12144         * manual/threads.texi: Document MTASC-safety properties.
12145
12146         * manual/stdio.texi: Document MTASC-safety properties.
12147
12148         * manual/syslog.texi: Document MTASC-safety properties.
12149
12150         * manual/sysinfo.texi: Document MTASC-safety properties.
12151
12152         * manual/startup.texi: Document MTASC-safety properties.
12153
12154         * manual/socket.texi: Document MTASC-safety properties.
12155
12156         * manual/signal.texi: Document MTASC-safety properties.
12157
12158 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
12159
12160         * manual/setjmp.texi: Document MTASC-safety properties.
12161
12162         * manual/search.texi: Document MTASC-safety properties.
12163
12164         * manual/resource.texi: Document MTASC-safety properties.
12165
12166         * manual/process.texi: Document MTASC-safety properties.
12167
12168         * manual/platform.texi: Document MTASC-safety properties.
12169
12170         * manual/pipe.texi: Document MTASC-safety properties.
12171
12172         * manual/pattern.texi: Document MTASC-safety properties.
12173
12174         * manual/message.texi: Document MTASC-safety properties.
12175
12176         [BZ #12751]
12177         * manual/memory.texi: Document MTASC-safety properties.
12178
12179         * manual/math.texi: Document MTASC-safety properties.
12180
12181         * manual/locale.texi: Document MTASC-safety properties.
12182
12183         * manual/llio.texi: Document MTASC-safety properties.
12184
12185         * manual/libdl.texi: New.
12186
12187         * manual/lang.texi: Document MTASC-safety properties.
12188
12189         * manual/job.texi: Document MTASC-safety properties.
12190
12191         * manual/getopt.texi: Document MTASC-safety properties.
12192
12193         * manual/ctype.texi: Document MTASC-safety properties.
12194
12195 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
12196
12197         [BZ #16046]
12198         * csu/libc-tls.c (static_map): Remove variable.
12199         (__libc_setup_tls): Use main executable's link map for TLS data.
12200         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
12201         casing for LM_ID_BASE and GL(dl_nns).
12202         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
12203         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
12204         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
12205         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
12206         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
12207         member.
12208         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
12209         l_phnum members.
12210
12211 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
12212
12213         * manual/debug.texi: Document MTASC-safety properties.
12214
12215 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
12216
12217         [BZ #16510]
12218         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
12219         of __x86_64__ when disabling x87 inline functions.
12220
12221 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
12222
12223         * manual/charset.texi: Document MTASC-safety properties.
12224
12225         * manual/crypt.texi: Document MTASC-safety properties.
12226
12227         * manual/conf.texi: Document MTASC-safety properties.
12228
12229         * manual/arith.texi: Document MTASC-safety properties.
12230
12231         * manual/argp.texi: Document MTASC-safety properties.
12232
12233         * manual/macros.texi: Introduce macros to document multi
12234         thread, asynchronous signal and asynchronous cancellation
12235         safety properties.
12236         * manual/intro.texi: Introduce the properties themselves.
12237
12238 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12239
12240         * sysdeps/sh/sh4/Makefile: New file.
12241
12242 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
12243
12244         * math/gen-libm-test.pl ($srcdir): New variable.
12245         ($auto_input): Use it.
12246
12247 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12248
12249         [BZ #16506]
12250         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
12251         access beyond array bounds when parsing netgroups file.
12252
12253         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
12254         the old buffer before realloc.
12255
12256 2014-01-27  Allan McRae  <allan@archlinux.org>
12257
12258         * po/fr.po: Update French translation from translation project.
12259
12260 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12261
12262         * sysdeps/sh/libm-test-ulps: Regenerate.
12263
12264 2014-01-24  David S. Miller  <davem@davemloft.net>
12265
12266         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
12267
12268 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12269
12270         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
12271         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
12272
12273 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12274
12275         [BZ #16474]
12276         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
12277         string pointers after reallocation.
12278
12279 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12280
12281         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
12282         __SH4A__ instead of __SH_FPU_ANY__.
12283
12284 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12285
12286         * sysdeps/sh/fpu_control.h: New file.
12287         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
12288         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
12289         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
12290         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
12291         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
12292         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
12293         * sysdeps/sh/sys/ucontext.h: Remove.
12294         * sysdeps/sh/sys: Remove directory.
12295
12296 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12297
12298         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
12299         s390/sys/ucontext.h.
12300         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
12301         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
12302
12303 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
12304
12305         [BZ #15605]
12306         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
12307
12308 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12309
12310         [BZ#16431]
12311         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12312         Adjust the vDSO correctly for internal calls.
12313         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
12314
12315 2014-01-20  Allan McRae  <allan@archlinux.org>
12316
12317         * po/ca.po: Update Catalan translation from translation project.
12318
12319 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
12320
12321         * sysdeps/s390/sotruss-lib.c: New file.
12322
12323 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12324
12325         [BZ#16430]
12326         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
12327         (__GI___gettimeofday): Alias for a different internal symbol to avoid
12328         local calls issues by not having a PLT stub required for IFUNC calls.
12329         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
12330
12331 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
12332
12333         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
12334         * math/test-fpucw-static.c: Likewise.
12335
12336 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12337
12338         [BZ #16453]
12339         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
12340
12341 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12342
12343         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
12344         implementation for powerpc.
12345
12346 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
12347
12348         [BZ #14782]
12349         * sysdeps/posix/system.c (__libc_system): Do not enable
12350         asynchronous cancellation.
12351
12352 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12353
12354         [BZ #16427]
12355         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
12356         handling only for numbers special also in the IEEE case.
12357
12358 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12359
12360         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12361
12362 2014-01-11  Allan McRae  <allan@archlinux.org>
12363
12364         * po/bg.po: Update Bulgarian translation from translation project.
12365
12366         * po/de.po: Update German translation from translation project.
12367
12368 2014-01-10  Roland McGrath  <roland@hack.frob.com>
12369
12370         * sysdeps/generic/gcc-compat.h: New file.
12371
12372 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12373
12374         * benchtests/asin-inputs: Correct slow inputs.
12375         * benchtests/acos-inputs: Likewise.
12376
12377 2014-01-10  Allan McRae  <allan@archlinux.org>
12378
12379         * po:sv.po: Update Swedish translation from translation project.
12380
12381         * po/vi.po: Update Vietnamese translation from translation project.
12382
12383         * po/eo.po: Update Esperanto translation from translation project.
12384
12385         * po/cs.po: Update Czech translation from translation project.
12386
12387         * po/nl.po: Update Dutch translation from translation project.
12388
12389         * po/pl.po: Update Polish translation from translation project.
12390
12391         * po/ru.po: Update Russian translation from translation project.
12392
12393         * po/uk.po: Update Ukrainian translation from translation project.
12394
12395 2014-01-08  Brooks Moses  <bmoses@google.com>
12396
12397         * elf/dl-load.c: Fix comment typo.
12398
12399 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
12400
12401         * po/header.pot: Rename to...
12402         * po/pot.header: ... this.
12403         * po/Makefile: Use pot.header.
12404
12405 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
12406             Maxim Kuvyrkov  <maxim@kugelworks.com>
12407
12408         [BZ #16394]
12409         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
12410         SRC and DEST against LEN.
12411
12412 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12413
12414         [BZ #16414]
12415         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
12416         implementation.
12417         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
12418
12419 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12420
12421         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12422
12423 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
12424
12425         [BZ #16408]
12426         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
12427         for large positive arguments.
12428
12429 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
12430
12431         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12432
12433         * math/auto-libm-test-in: Mark various tests with
12434         xfail-rounding:ldbl-128ibm.
12435         * math/auto-libm-test-out: Regenerated.
12436
12437         [BZ #16407]
12438         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
12439         Increase overflow threshold.
12440
12441 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
12442
12443         [BZ #14286]
12444         * stdio-common/vfprintf.c: Check for integer overflow.
12445
12446 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12447
12448         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
12449         the first argument and return value of __tls_get_addr_internal.
12450
12451 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12452
12453         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
12454         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
12455
12456 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12457
12458         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
12459         * sysdeps/s390/rtld-global-offsets.sym: New file.
12460         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
12461         GLIBC_2.19 symbol.
12462         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
12463         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
12464         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12465         ... this.
12466         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
12467         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12468         ... this.
12469         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12470         Regenerate.
12471         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12472         Regenerate.
12473         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
12474         halfs of GPRs for high_gprs contexts.
12475         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
12476         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
12477         field.
12478         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
12479         uc_flags field.
12480         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
12481         64 bit versions:
12482         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
12483         for high GPRs (uc_high_gprs) and for future extensions
12484         (__reserved).
12485         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
12486         for future extensions (__reserved).
12487         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
12488         64 bit versions:
12489         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
12490         SC_HIGHGPRS offset definition.
12491         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
12492         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
12493
12494         * Versions.def: Add GLIBC_2.19 for libpthread.
12495         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
12496         siglongjmp for libpthread with GLIBC_2.19 symver.
12497         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
12498         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
12499         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
12500         * sysdeps/s390/__longjmp.c: New file.
12501         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
12502         * sysdeps/s390/longjmp.c: New file.
12503         * sysdeps/s390/setjmp.S: New file.
12504         * sysdeps/s390/sigjmp.S: New file.
12505         * sysdeps/s390/v1-longjmp.c: New file.
12506         * sysdeps/s390/v1-setjmp.h: New file.
12507         * sysdeps/s390/v1-sigjmp.c: New file.
12508         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
12509         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
12510         GLIBC_2.19 version.
12511         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
12512         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
12513         versioned symbols for ____longjmp_chk.
12514         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12515         Likewise.
12516         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12517         Regenerate.
12518         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12519         Regenerate.
12520         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12521         Regenerate.
12522         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12523         Regenerate.
12524         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
12525         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
12526         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
12527         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
12528         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
12529         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
12530         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
12531         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
12532         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
12533         * sysdeps/s390/rtld-__longjmp.c: New file.
12534         * sysdeps/s390/rtld-setjmp.S: New file.
12535
12536 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
12537
12538         [BZ #16400]
12539         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12540         Return -__logl (x) for small positive arguments without evaluating
12541         a polynomial.
12542
12543 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
12544
12545         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
12546         Rename to ...
12547         (__ptrace_peeksiginfo_args): ... this.
12548         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12549         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12550         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12551
12552 2014-01-06  Allan McRae  <allan@archlinux.org>
12553
12554         * inet/netinet/in.h: Fix typo in comment.
12555
12556 2014-01-05  Andreas Jaeger  <aj@suse.de>
12557
12558         * sysdeps/i386/fpu/libm-test-ulps: Update.
12559
12560 2014-01-05  Allan McRae  <allan@archlinux.org>
12561
12562         * po/libc.pot: Regenerated.
12563
12564         * malloc/memusagestat.c: Fix gettext call formatting.
12565
12566 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
12567
12568         * nscd/nscd.c: Improve usage() output.
12569
12570 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
12571
12572         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
12573         * sysdeps/unix/sysv/linux/configure: Regenerated.
12574         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
12575         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
12576
12577 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
12578
12579         [BZ #16390]
12580         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12581         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
12582
12583 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12584
12585         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
12586         extra tokens at end of #undef directive.
12587         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
12588         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
12589         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12590
12591 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
12592
12593         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12594
12595         * math/auto-libm-test-in: Mark various tests with
12596         xfail-rounding:ldbl-128ibm.
12597         * math/auto-libm-test-out: Regenerated.
12598
12599 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
12600
12601         [BZ #16386]
12602         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
12603         numbers with subnormal high part when calculating exponent.
12604
12605         [BZ #16385]
12606         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
12607         fabs.
12608
12609         [BZ #16384]
12610         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
12611         M_LN2l.
12612         (__ieee754_acoshl): Use __log1pl not __log1p.
12613
12614 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
12615
12616         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
12617         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
12618         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
12619         (grow_heap, heap_trim, _int_new_arena, get_free_list)
12620         (reused_arena, arena_get2): Convert to GNU style.
12621         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
12622         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
12623         (memalign_check, __malloc_set_state): Likewise.
12624         * malloc/mallocbug.c (main): Likewise.
12625         * malloc/malloc.c (__malloc_assert, malloc_init_state)
12626         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
12627         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
12628         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
12629         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
12630         (__posix_memalign, malloc_info): Likewise.
12631         * malloc/malloc.h: Likewise.
12632         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
12633         (mallochook, memalignhook, reallochook, mabort): Likewise.
12634         * malloc/mcheck.h: Likewise.
12635         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
12636         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
12637         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
12638         * malloc/morecore.c (__default_morecore): Likewise.
12639         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
12640         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
12641         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
12642         (print_and_abort): Likewise.
12643         * malloc/obstack.h: Likewise.
12644         * malloc/set-freeres.c (__libc_freeres): Likewise.
12645         * malloc/tst-mallocstate.c (main): Likewise.
12646         * malloc/tst-mtrace.c (main): Likewise.
12647         * malloc/tst-realloc.c (do_test): Likewise.
12648
12649 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12650
12651         [BZ #16366]
12652         * nscd/netgroupcache.c (do_notfound): New function.
12653         (addgetnetgrentX): Use it.
12654
12655         [BZ # 16365]
12656         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
12657         NSS_STATUS_NOTFOUND.
12658
12659 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
12660
12661         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12663
12664 2014-01-01  Allan McRae  <allan@archlinux.org>
12665
12666         * scripts/update-copyrights: Update configure input file suffix.
12667
12668         * NEWS: Update copyright year.
12669         * catgets/gencat.c: Likewise.
12670         * csu/version.c: Likewise.
12671         * debug/catchsegv.sh: Likewise.
12672         * debug/pcprofiledump.c: Likewise.
12673         * debug/xtrace.sh: Likewise.
12674         * elf/ldconfig.c: Likewise.
12675         * elf/ldd.bash.in: Likewise.
12676         * elf/pldd.c: Likewise.
12677         * elf/sotruss.ksh: Likewise.
12678         * elf/sprof.c: Likewise.
12679         * iconv/iconv_prog.c: Likewise.
12680         * iconv/iconvconfig.c: Likewise.
12681         * locale/programs/locale.c: Likewise.
12682         * locale/programs/localedef.c: Likewise.
12683         * login/programs/pt_chown.c: Likewise.
12684         * malloc/memusage.sh: Likewise.
12685         * malloc/memusagestat.c: Likewise.
12686         * malloc/mtrace.pl: Likewise.
12687         * manual/libc.texinfo: Likewise.
12688         * nscd/nscd.c: Likewise.
12689         * nss/getent.c: Likewise.
12690         * nss/makedb.c: Likewise.
12691         * posix/getconf.c: Likewise.
12692         * scripts/test-installation.pl: Likewise.
12693
12694         * All files with FSF copyright notices: Update copyright dates
12695         using scripts/update-copyrights.
12696         * intl/plural.c: Regenerated.
12697         * locale/programs/charmap-kw.h: Likewise.
12698         * locale/programs/locfile-kw.h: Likewise.
12699
12700 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
12701
12702         * sysdeps/unix/sysv/linux/configure: Regenerated.
12703         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
12704         the linux/fanotify.h header.
12705         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
12706         HAVE_LINUX_FANOTIFY_H is defined.
12707
12708 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
12709
12710         * benchtests/cos-inputs: New inputs.
12711         * benchtests/sin-inputs: Likewise.
12712
12713         * benchtests/atan-inputs: New inputs. Fix name of multiple
12714         precision fallback inputs.
12715
12716         * benchtests/atanh-inputs: New inputs.
12717         * benchtests/tanh-inputs: Likewise.
12718
12719         * benchtests/acosh-inputs: New inputs.
12720         * benchtests/asinh-inputs: Likewise.
12721
12722         * benchtests/cosh-inputs: New inputs.
12723         * benchtests/sinh-inputs: Likewise.
12724
12725         * benchtests/acos-inputs: Add more inputs.
12726         * benchtests/asin-inputs: Likewise.
12727
12728 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
12729
12730         [BZ #16375]
12731         * manual/arith.texi: Fix spelling.
12732         * manual/charset.texi: Likewise.
12733         * manual/errno.texi: Likewise.
12734         * manual/filesys.texi: Likewise.
12735         * manual/lang.texi: Likewise.
12736         * manual/llio.texi: Likewise.
12737         * manual/locale.texi: Likewise.
12738         * manual/message.texi: Likewise.
12739         * manual/resource.texi: Likewise.
12740         * manual/search.texi: Likewise.
12741         * manual/setjmp.texi: Likewise.
12742         * manual/stdio.texi: Likewise.
12743         * manual/string.texi: Likewise.
12744         * manual/sysinfo.texi: Likewise.
12745         * manual/time.texi: Likewise.
12746
12747 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
12748
12749         * po/sl.po: New file.
12750
12751 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
12752
12753         * .gitignore: Add core/.gdbinit/.gdb_history.
12754
12755 2013-12-27  Allan McRae  <allan@archlinux.org>
12756
12757         [BZ #16369]
12758         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
12759         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
12760
12761 2013-12-24  Brooks Moses  <bmoses@google.com>
12762
12763         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
12764         all compilers that claim C++98 compliance, not just GCC.
12765         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
12766         Likewise.
12767
12768 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
12769
12770         * NEWS: Restore accidentally deleted bug-fix entries.
12771
12772 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
12773             Ondřej Bílka  <neleai@seznam.cz>
12774
12775         [BZ #15073]
12776         * malloc/malloc.c (_int_free): Perform sanity check only if we
12777         have_lock.
12778
12779 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
12780
12781         [BZ #12986]
12782         * manual/stdio.texi (String Input Conversions): Clarify that character
12783         classes are not supported.
12784
12785 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12786
12787         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12788
12789 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
12790
12791         [BZ #16337]
12792         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12793         Calculate results for small negative arguments directly rather
12794         than using reflection formula with special underflow handling.
12795
12796         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
12797         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
12798         sysdeps/unix/bsd/bsd4.4/syscalls.list.
12799         (fchflags): Likewise.
12800         (revoke): Likewise.
12801         (setlogin): Likewise.
12802         (sigaltstack): Likewise.
12803         (wait4): Likewise.
12804         (sigblock): Remove.
12805         (sigsetmask): Likewise.
12806         (wait3): Likewise.
12807         (waitpid): Likewise.
12808         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
12809         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
12810         file.
12811         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
12812         * sysdeps/unix/bsd/Makefile: ... here.
12813         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
12814         * sysdeps/unix/bsd/Versions: ... here.
12815         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
12816         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
12817         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
12818         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
12819         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
12820         * sysdeps/unix/bsd/sigblock.c: ... here.
12821         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
12822         * sysdeps/unix/bsd/sigsetmask.c: ... here.
12823         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
12824         * sysdeps/unix/bsd/sigvec.c: ... here.
12825         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
12826         * sysdeps/unix/bsd/tcdrain.c: ... here.
12827         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
12828         * sysdeps/unix/bsd/tcgetattr.c: ... here.
12829         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12830         * sysdeps/unix/bsd/tcsetattr.c: ... here.
12831         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12832         * sysdeps/unix/bsd/wait.c: ... here.
12833         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12834         * sysdeps/unix/bsd/wait3.c: ... here.
12835         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12836         * sysdeps/unix/bsd/waitpid.c: ... here.
12837
12838 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
12839
12840         [BZ #16356]
12841         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12842         round-to-nearest for [!USE_AS_EXPM1L].
12843         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12844         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
12845         more tests of exp and exp10.  Expect some exp10 tests to miss
12846         exceptions or fail in directed rounding modes.
12847         * math/auto-libm-test-out: Regenerated.
12848         * math/libm-test.inc (exp10_tonearest_test_data): New array.
12849         (exp10_test_tonearest): New function.
12850         (exp10_towardzero_test_data): New array.
12851         (exp10_test_towardzero): New function.
12852         (exp10_downward_test_data): New array.
12853         (exp10_test_downward): New function.
12854         (exp10_upward_test_data): New array.
12855         (exp10_test_upward): New function.
12856         (main): Call the new functions.
12857         * sysdeps/i386/fpu/libm-test-ulps: Update.
12858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12859
12860 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
12861
12862         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12863         asinh, atan, atan2, atanh, cbrt, cos and cosh.
12864         * math/auto-libm-test-out: Regenerated.
12865         * math/libm-test.inc (acosh_test_data): Add more tests.
12866         (atanh_test_data): Likewise.
12867         (ceil_test_data): Likewise.
12868         (copysign_test_data): Likewise.
12869         * sysdeps/i386/fpu/libm-test-ulps: Update.
12870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12871
12872         * timezone/checktab.awk: Update from tzcode 2013i.
12873         * timezone/private.h: Likewise.
12874         * timezone/scheck.c: Likewise.
12875         * timezone/tzfile.h: Likewise.
12876         * timezone/tzselect.ksh: Likewise.
12877         * timezone/zdump.c: Likewise.
12878         * timezone/zic.c: Likewise.
12879
12880         * math/auto-libm-test-in: Add tests of cpow.
12881         * math/auto-libm-test-out: Regenerated.
12882         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
12883         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12884         mpc_cc_c.
12885         (func_calc_desc): Add mpc_cc_c union field.
12886         (test_functions): Add cpow.
12887         (special_fill_2pi): New function.
12888         (special_real_inputs): Add 2pi.
12889         (calc_generic_results): Handle mpc_cc_c.
12890         * sysdeps/i386/fpu/libm-test-ulps: Update.
12891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12892
12893         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12894         csqrt, ctan and ctanh.
12895         * math/auto-libm-test-out: Regenerated.
12896         * math/libm-test.inc (TEST_COND_x86_64): New macro.
12897         (TEST_COND_x86): Likewise.
12898         (ccos_test_data): Use AUTO_TESTS_c_c.
12899         (ccosh_test_data): Likewise.
12900         (cexp_test_data): Likewise.
12901         (clog_test_data): Likewise.
12902         (csqrt_test_data): Likewise.
12903         (ctan_test_data): Likewise.
12904         (ctan_tonearest_test_data): Likewise.
12905         (ctan_towardzero_test_data): Likewise.
12906         (ctan_downward_test_data): Likewise.
12907         (ctan_upward_test_data): Likewise.
12908         (ctanh_test_data): Likewise.
12909         (ctanh_tonearest_test_data): Likewise.
12910         (ctanh_towardzero_test_data): Likewise.
12911         (ctanh_downward_test_data): Likewise.
12912         (ctanh_upward_test_data): Likewise.
12913         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12914         mpc_c_c.
12915         (func_calc_desc): Add mpc_c_c union field.
12916         (FUNC_mpc_c_c): New macro.
12917         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12918         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12919         ctanh.
12920         (special_fill_min_subnorm_p120): New function.
12921         (special_real_inputs): Add min_subnorm_p120.
12922         (calc_generic_results): Handle mpc_c_c.
12923         * sysdeps/i386/fpu/libm-test-ulps: Update.
12924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12925
12926 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12927
12928         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12929         (do_sin_slow): New functions.
12930         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12931         (cslow2, csloww1, csloww2): Use the new functions.
12932
12933         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12934         Use M to change sign of result instead of X.  Assume X is
12935         positive.
12936         (csloww1): Likewise.
12937         (__sin): Adjust.
12938         (__cos): Adjust.
12939
12940         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12941         arguments A and DA.
12942         (__sin): Adjust.
12943         (__cos): Likewise.
12944
12945         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12946         (__cos): Likewise.
12947         (sloww1): Don't adjust sign of DX.
12948         (csloww1): Likewise.
12949         (sloww2): Use X directly and don't adjust sign of DX.
12950         (csloww2): Likewise.
12951
12952 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12953
12954         * math/auto-libm-test-in: Add tests of cabs and carg.
12955         * math/auto-libm-test-out: Regenerated.
12956         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12957         (carg_test_data): Likewise.
12958         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12959         mpc_c_f.
12960         (func_calc_desc): Add mpc_c_f union field.
12961         (test_functions): Add cabs and carg.
12962         (calc_generic_results): Handle mpc_c_f.
12963
12964         * sysdeps/powerpc/powerpc32/libgcc-compat.S
12965         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12966         as a macro and a compat symbol.
12967         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12968         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12969         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12970         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12971         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12972         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12973         not use .hidden.
12974         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12975         Likewise.
12976         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12977         Likewise.
12978         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12979         Likewise.
12980         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12981         Likewise.
12982         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12983         Likewise.
12984         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12985         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12986         from GLIBC_2.3.2.
12987
12988 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12989
12990         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12991
12992 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12993
12994         * manual/texinfo.tex: Update to version 2013-11-26.10 with
12995         trailing whitespace removed.
12996         * scripts/config.guess: Update to version 2013-11-29.
12997         * scripts/config.sub: Update to version 2013-10-01.
12998
12999         * math/auto-libm-test-in: Add tests of sincos.
13000         * math/auto-libm-test-out: Regenerated.
13001         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
13002         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13003         mpfr_f_11.
13004         (func_calc_desc): Add mpfr_f_11 union field.
13005         (test_functions): Add sincos.
13006         (calc_generic_results): Handle mpfr_f_11.
13007         * sysdeps/i386/fpu/libm-test-ulps: Update.
13008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13009
13010 2013-12-19  Andreas Schwab  <schwab@suse.de>
13011
13012         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
13013         CALL_MCOUNT.
13014         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13015         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
13016         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
13017
13018 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
13019
13020         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
13021         * sysdeps/i386/fpu/libm-test-ulps: Update.
13022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13023
13024         [BZ #16293]
13025         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
13026         round-to-nearest mode when using frndint.
13027         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
13028         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
13029         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
13030         Likewise.
13031         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
13032         sinh test to fail.
13033         * math/auto-libm-test-out: Regenerated.
13034         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
13035         (TEST_COND_x86): Likewise.
13036         (expm1_tonearest_test_data): New array.
13037         (expm1_test_tonearest): New function.
13038         (expm1_towardzero_test_data): New array.
13039         (expm1_test_towardzero): New function.
13040         (expm1_downward_test_data): New array.
13041         (expm1_test_downward): New function.
13042         (expm1_upward_test_data): New array.
13043         (expm1_test_upward): New function.
13044         (main): Run the new test functions.
13045         * sysdeps/i386/fpu/libm-test-ulps: Update.
13046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13047
13048         * include/features.h: Update comment documenting feature test
13049         macros.  Mention _DEFAULT_SOURCE in comment.
13050         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
13051         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
13052         _BSD_SOURCE and _SVID_SOURCE.
13053         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
13054         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
13055         !_SVID_SOURCE]: Likewise.
13056         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13057         (__USE_POSIX_IMPLICITLY): Define.
13058         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13059         (_POSIX_SOURCE): Undefine and redefine.
13060         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13061         (_POSIX_C_SOURCE): Likewise.
13062         * manual/creature.texi (_DEFAULT_SOURCE): Document.
13063         (Feature Test Macros): Update documentation of default features.
13064
13065 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13066
13067         * benchtests/Makefile: Add bench-strtok.
13068         * benchtests/bench-strtok.c: New file: strtok benchtest.
13069
13070 2013-12-19  Allan McRae  <allan@archlinux.org>
13071
13072         * manual/install.texi: Suppress menu for plain text output.
13073         * INSTALL: Regenerated.
13074
13075 2013-12-18  Brooks Moses  <bmoses@google.com>
13076
13077         [BZ #15846]
13078         * misc/getauxval.c: Include errno.h.
13079         (__getauxval): Set errno to ENOENT if the requested type is not
13080         found.
13081         * misc/sys/auxv.h (getauxval): Document that it may set errno;
13082         don't declare with __attribute_const__.
13083         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
13084         * manual/startup.texi: Document that getauxval sets errno.
13085
13086 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
13087
13088         * math/auto-libm-test-in: Add tests of jn and yn.
13089         * math/auto-libm-test-out: Regenerated.
13090         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
13091         (yn_test_data): Likewise.
13092         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13093         mpfr_if_f.
13094         (func_calc_desc): Add mpfr_if_f union field.
13095         (FUNC_mpfr_if_f): New macro.
13096         (test_functions): Add jn and yn.
13097         (calc_generic_results): Assert type of second input for
13098         mpfr_ff_f.  Handle mpfr_if_f.
13099         (output_for_one_input_case): Disable all checking for arguments
13100         fitting floating-point types in case of an integer argument.
13101         * sysdeps/i386/fpu/libm-test-ulps: Update.
13102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13103
13104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13105         Don't expect fegetround reference in libm.so.
13106
13107 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13108
13109         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
13110         $(config-cflags-nofma).
13111
13112 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
13113
13114         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
13115         * math/auto-libm-test-out: Regenerated.
13116
13117         [BZ #16338]
13118         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
13119         to determine exponent and adjust argument to have exponent of -1.
13120         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
13121         log2.
13122         * math/auto-libm-test-out: Regenerated.
13123         * sysdeps/i386/fpu/libm-test-ulps: Update.
13124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13125
13126 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
13127
13128         * manual/probes.texi: Remove cases when per-thread arenas are
13129         disabled.
13130
13131 2013-12-18  Andreas Schwab  <schwab@suse.de>
13132
13133         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
13134         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
13135         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
13136         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
13137         * sysdeps/i386/i686/multiarch/Makefile: Update.
13138         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
13139
13140 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
13141
13142         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
13143         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
13144
13145 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
13146
13147         [BZ #15968]
13148         Support TZ transition times < 00:00:00.
13149         This is needed for version-3 tz-format files; it supports time
13150         stamps past 2037 for America/Godthab (the only entry in the tz
13151         database for which this change is relevant).
13152         * manual/time.texi (TZ Variable): Document transition times
13153         from -167:59:59 through -00:00:01.
13154         * time/tzset.c (tz_rule): Time of day is now signed.
13155         (__tzset_parse_tz): Parse negative time of day.
13156
13157         Document TZ transition times >= 25:00:00.
13158         * manual/time.texi (TZ Variable): Document transition times from
13159         25:00:00 through 167:59:59.  These are already supported, and this
13160         support will help with version-3 tz-format files.
13161
13162         * manual/time.texi (TZ Variable): Modernize North America example
13163         to reflect current (i.e., 2007-and-later) daylight saving rules.
13164
13165         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
13166
13167 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
13168
13169         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
13170         * sysdeps/unix/bsd/bits/stat.h: Likewise.
13171         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
13172         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13173         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
13174         * sysdeps/unix/bsd/bsdstat.h: Likewise.
13175         * sysdeps/unix/bsd/clock.c: Likewise.
13176         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
13177         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
13178         * sysdeps/unix/bsd/init-posix.c: Likewise.
13179         * sysdeps/unix/bsd/poll.c: Likewise.
13180         * sysdeps/unix/bsd/ptsname.c: Likewise.
13181         * sysdeps/unix/bsd/seekdir.c: Likewise.
13182         * sysdeps/unix/bsd/setegid.c: Likewise.
13183         * sysdeps/unix/bsd/seteuid.c: Likewise.
13184         * sysdeps/unix/bsd/setgid.c: Likewise.
13185         * sysdeps/unix/bsd/setrgid.c: Likewise.
13186         * sysdeps/unix/bsd/setruid.c: Likewise.
13187         * sysdeps/unix/bsd/setsid.c: Likewise.
13188         * sysdeps/unix/bsd/setuid.c: Likewise.
13189         * sysdeps/unix/bsd/sigaction.c: Likewise.
13190         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
13191         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
13192         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
13193         * sysdeps/unix/bsd/telldir.c: Likewise.
13194         * sysdeps/unix/bsd/times.c: Likewise.
13195         * sysdeps/unix/bsd/usleep.c: Likewise.
13196
13197         * misc/Makefile (install-lib): Remove libbsd-compat.a.
13198         ($(objpfx)libbsd-compat.a): Remove rule.
13199
13200         * include/features.h (__FAVOR_BSD): Do not define.
13201         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
13202         features conflicting with POSIX.
13203         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
13204         (_BSD_SOURCE): Remove description of not being a subset of other
13205         feature test macros.
13206         * manual/job.texi (getpgrp): Do not document BSD version.
13207         (getpgid): Do not document by reference to BSD getpgrp.
13208         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
13209         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
13210         * signal/signal.h [__FAVOR_BSD]: Likewise.
13211         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
13212         instead of making contents conditional on [__FAVOR_BSD].
13213         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
13214
13215 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13216
13217         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13218
13219 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
13220
13221         [BZ #16314]
13222         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
13223         values below 2**-450, not 2**-500.
13224         * math/auto-libm-test-in: Don't allow spurious underflow from
13225         hypot.
13226         * math/auto-libm-test-out: Regenerated.
13227
13228         [BZ #16316]
13229         [BZ #16330]
13230         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
13231         values of ha and hb and sort them after adjusting subnormal
13232         arguments.
13233         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13234         Likewise.
13235         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
13236         values of ea and eb and sort them after adjusting subnormal
13237         arguments.
13238         * math/auto-libm-test-in: Do not expect some hypot tests of
13239         subnormals to fail.  Add more hypot tests.
13240         * math/auto-libm-test-out: Regenerated.
13241
13242 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13243
13244         [BZ #13304]
13245         * sysdeps/sh/s_fma.c: New file.
13246         * sysdeps/sh/s_fmaf.c: New file.
13247         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
13248         version.
13249         * sysdeps/sh/Implies: Add sh/soft-fp.
13250
13251 2013-12-16  Roland McGrath  <roland@hack.frob.com>
13252
13253         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
13254         level of indirection to members `objname', `errstring', `malloced'.
13255         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
13256         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
13257         it as the __longjmp argument (just pass 1 instead).
13258         (_dl_catch_error): Initialize C with argument pointers and address of
13259         volatile local ERRCODE rather than copying values out of C at return.
13260
13261 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
13262
13263         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
13264         * math/auto-libm-test-out: Regenerated.
13265         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
13266         (hypot_test_data): Likewise.
13267         (pow_test_data): Likewise.
13268         (pow_tonearest_test_data): Likewise.
13269         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13270         mpfr_ff_f.
13271         (func_calc_desc): Add mpfr_ff_f union field.
13272         (FUNC_mpfr_ff_f): New macro.
13273         (test_functions): Add atan2, hypot and pow.
13274         (special_fill_min): New function.
13275         (special_fill_minus_min): Likewise.
13276         (special_fill_min_subnorm): Likewise.
13277         (special_fill_minus_min_subnorm): Likewise.
13278         (special_real_inputs): Add min, -min, min_subnorm and
13279         -min_subnorm.
13280         (calc_generic_results): Handle mpfr_ff_f.
13281         * sysdeps/i386/fpu/libm-test-ulps: Update.
13282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13283
13284 2013-12-16  Will Newton  <will.newton@linaro.org>
13285
13286         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
13287         (Aligned Memory Blocks): Add documentation for aligned_alloc
13288         and suggest it as an alternative to posix_memalign.
13289         (Hooks for Malloc): Document __memalign_hook is also called
13290         for aligned_alloc.  (Summary of Malloc): Add summary for
13291         aligned alloc.  Document __memalign_hook is also called
13292         for aligned_alloc.
13293
13294 2013-12-16  Will Newton  <will.newton@linaro.org>
13295
13296         * manual/memory.texi (Malloc Examples): Clarify default
13297         alignment documentation.  Suggest posix_memalign rather
13298         than memalign or valloc.
13299         (Aligned Memory Blocks): Remove suggestion to use memalign
13300         or valloc.  Remove obsolete comment about BSD.
13301         Document memalign errno values and mark the function obsolete.
13302         Document posix_memalign returned error codes.  Mark valloc
13303         as obsolete.  (Hooks for Malloc): __memalign_hook is also
13304         called for posix_memalign and valloc.
13305         (Summary of Malloc): Add posix_memalign to function summary.
13306         __memalign_hook is also called for posix_memalign and valloc.
13307
13308 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13309
13310         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
13311         TAYLOR_SIN.
13312         (__sin): Adjust.
13313         (__cos): Likewise.
13314         (sloww): Use mynumber union.  Expand ternary operator into
13315         if-else statements.
13316         (cslow): use mynumber union.
13317
13318 2013-12-16  Allan McRae  <allan@archlinux.org>
13319
13320         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
13321         * configure: Regenerated.
13322
13323         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
13324
13325         [BZ #14120]
13326         * configure.ac: Added --enable-maintainer-mode. Check for
13327         autoconf when enabled.
13328         * configure: Regenerated.
13329
13330         * nscd/nscd.service: New file.
13331         * nscd/nscd.tmpfiles: New file.
13332
13333 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
13334
13335         [BZ #12100]
13336         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
13337         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
13338         * sysdeps/x86_64/multiarch/strstr.c: ... here.
13339         (strstr): Add __strstr_sse2_unaligned ifunc.
13340         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
13341         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
13342         (strcasestr): Remove __strcasestr_sse42 ifunc.
13343         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
13344         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
13345         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13346
13347 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13348
13349         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
13350         * sysdeps/sh/bits/fenv.h: ... here.
13351         * sysdeps/sh/sh4/fpu/bits: Remove directory.
13352
13353 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13354
13355         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
13356
13357         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
13358         hypotf multiarch implementations.
13359         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
13360         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
13361         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
13362         multiarch hypot for PPC64.
13363         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
13364         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
13365         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
13366         multiarch hypotf for PPC64.
13367
13368         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
13369         modff multiarch implementations.
13370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
13371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
13372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
13373         multiarch modf for PPC64.
13374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
13375         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
13376         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
13377         multiarch modff for PPC64.
13378
13379         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
13380         and logl multiarch implementations.
13381         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
13382         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
13383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
13384         multiarch logb for PPC64.
13385         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
13386         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
13387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
13388         multiarch logb for PPC64.
13389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
13390         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
13391         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
13392         multiarch logb for PPC64.
13393
13394         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
13395         isinff multiarch implementation.
13396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
13397         file.
13398         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
13399         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
13400         multiarch isinf for PPC64.
13401         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
13402         file.
13403         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
13404         multiarch isinff for PPC64.
13405
13406         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
13407         finitef multiarch implementation.
13408         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
13409         file.
13410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
13411         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
13412         multiarch finite for PPC64.
13413         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
13414         file.
13415         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
13416         multiarch finitef for PPC64.
13417
13418         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
13419         lrint multiarch implementation.
13420         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
13421         file.
13422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
13423         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
13424         multiarch llrint for PPC64.
13425         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
13426         multiarch lrint for PPC64.
13427
13428         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
13429         copysignf multiarch implementation.
13430         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
13431         file.
13432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
13433         file.
13434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
13435         multiarch copysign for PPC64.
13436         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
13437         multiarch copysignf for PPC64.
13438
13439         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
13440         multiarch implementation.
13441         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
13442         file.
13443         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
13444         file.
13445         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
13446         file.
13447         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
13448         file.
13449         multiarch llround for PPC64.
13450         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
13451         multiarch trunc for PPC64.
13452         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
13453         multiarch truncf for PPC64.
13454
13455         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
13456         multiarch implementation.
13457         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
13458         file.
13459         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
13460         file.
13461         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
13462         file.
13463         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
13464         file.
13465         multiarch llround for PPC64.
13466         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
13467         multiarch round for PPC64.
13468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
13469         multiarch roundf for PPC64.
13470
13471         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
13472         multiarch implementation.
13473         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
13474         file.
13475         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
13476         file.
13477         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
13478         file.
13479         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
13480         file.
13481         multiarch llround for PPC64.
13482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
13483         multiarch floor for PPC64.
13484         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
13485         multiarch floorf for PPC64.
13486
13487         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
13488         multiarch implementation.
13489         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
13490         file.
13491         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
13492         file.
13493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
13494         file.
13495         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
13496         file.
13497         multiarch llround for PPC64.
13498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
13499         multiarch ceil for PPC64.
13500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
13501         multiarch ceilf for PPC64.
13502
13503         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13504         multiarch implementation.
13505         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
13506         file.
13507         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
13508         file.
13509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
13510         file.
13511         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
13512         multiarch llround for PPC64.
13513         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
13514         multiarch lround for PPC64.
13515
13516         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13517         multiarch implementation.
13518         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
13519         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
13520         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
13521         file.
13522         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
13523         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
13524         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
13525         multiarch isnan for PPC64.
13526         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
13527         multiarch isnanf for PPC64.
13528
13529         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
13530         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
13531         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
13532         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
13533         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
13534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
13535
13536         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
13537         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13538         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13539         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13540
13541         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
13542         multiarch implementations.
13543         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13544         (__libc_ifunc_impl_list): Likewise.
13545         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13546         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
13547         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
13548         multiarch stpcpy for PPC64.
13549
13550         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
13551         multiarch implementations.
13552         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13553         (__libc_ifunc_impl_list): Likewise.
13554         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
13555         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
13556         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
13557         multiarch strcpy for PPC64.
13558
13559         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
13560         redefine function name.
13561         (_wordcopy_fwd_dest_aligned): Likewise.
13562         (_wordcopy_bwd_aligned): Likewise.
13563         (_wordcopy_bwd_dest_aligned): Likewise.
13564         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
13565         multiarch implementations.
13566         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13567         (__libc_ifunc_impl_list): Likewise.
13568         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
13569         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
13570         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
13571         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
13572         multiarch wcscpy for PPC64.
13573
13574         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
13575         multiarch implementations.
13576         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13577         (__libc_ifunc_impl_list): Likewise.
13578         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
13579         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
13580         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
13581         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
13582         multiarch wcscpy for PPC64.
13583
13584         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
13585         multiarch implementations.
13586         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13587         (__libc_ifunc_impl_list): Likewise.
13588         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
13589         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
13590         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
13591         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
13592         multiarch wcsrchr for PPC64.
13593
13594         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
13595         multiarch implementations.
13596         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13597         (__libc_ifunc_impl_list): Likewise.
13598         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
13599         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
13600         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
13601         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
13602         multiarch wcschr for PPC64.
13603
13604         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
13605         multiarch implementations.
13606         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13607         (__libc_ifunc_impl_list): Likewise.
13608         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
13609         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
13610         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
13611         multiarch strchrnul for PPC64.
13612
13613         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
13614         implementations.
13615         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13616         (__libc_ifunc_impl_list): Likewise.
13617         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
13618         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
13619         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
13620         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
13621         strchr for PPC64.
13622
13623         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
13624         implementations.
13625         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13626         (__libc_ifunc_impl_list): Likewise.
13627         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
13628         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
13629         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
13630         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
13631         strncmp for PPC64.
13632
13633         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
13634         multiarch implementations.
13635         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13636         (__libc_ifunc_impl_list): Likewise.
13637         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
13638         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
13639         strncasecmp for PPC64.
13640         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
13641         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
13642         multiarch strncasecmp_l for PPC64.
13643
13644         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
13645         multiarch implementations.
13646         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13647         (__libc_ifunc_impl_list): Likewise.
13648         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
13649         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
13650         multiarch strcasecmp for PPC64.
13651         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
13652         file.
13653         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
13654         multiarch strcasecmp_l for PPC64.
13655
13656         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
13657         implementations.
13658         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13659         (__libc_ifunc_impl_list): Likewise.
13660         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
13661         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
13662         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
13663         strnlen for PPC64.
13664
13665         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
13666         implementations.
13667         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13668         (__libc_ifunc_impl_list): Likewise.
13669         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
13670         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
13671         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
13672         strlen for PPC64.
13673
13674         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
13675         implementations.
13676         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13677         (__libc_ifunc_impl_list): Likewise.
13678         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
13679         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
13680         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
13681         rawmemrchr for PPC64.
13682
13683         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
13684         implementation.
13685         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13686         (__libc_ifunc_impl_list): Likewise.
13687         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
13688         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
13689         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
13690         memrchr for PPC64.
13691
13692         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
13693         implementation.
13694         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13695         (__libc_ifunc_impl_list): Likewise.
13696         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
13697         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
13698         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
13699         memchr for PPC64.
13700
13701         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
13702         implementation.
13703         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13704         (__libc_ifunc_impl_list): Likewise.
13705         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
13706         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
13707         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
13708         mempcpy for PPC64.
13709
13710         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
13711         avoid cretion of __bzero symbol.
13712         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
13713         Likewise.
13714         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
13715         Likewise.
13716         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
13717         Likewise.
13718         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
13719         multiarch implementations.
13720         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13721         (__libc_ifunc_impl_list): Likewise.
13722         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
13723         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
13724         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
13725         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
13726         bzero for PPC32.
13727         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
13728         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
13729         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
13730         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
13731         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
13732         memset for PPC64.
13733         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
13734
13735         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
13736         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
13737         implementations.
13738         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13739         (__libc_ifunc_impl_list): Likewise.
13740         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
13741         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
13742         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
13743         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
13744         memcmp for PPC64.
13745
13746         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
13747         multiarch for POWER/PPC64.
13748         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13749         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
13750         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
13751         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
13752         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
13753         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
13754         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
13755         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
13756         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
13757         memcpy for PPC64.
13758
13759         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
13760         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
13761         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
13762         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
13763         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
13764         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
13765         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
13766         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
13767         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
13768         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
13769         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
13770         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
13771         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
13772         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
13773         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
13774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
13775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
13776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
13777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
13778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
13779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
13780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
13781
13782 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13783
13784         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
13785
13786 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13787
13788         * benchtests/Makefile (bench): Add exp2 and log2.
13789         (LDLIBS-bench-exp2): Add -lm.
13790         (LDLIBS-bench-log2): Likewise.
13791         * benchtests/exp2-inputs: New inputs file.
13792         * benchtests/log2-inputs: New inputs file.
13793         * benchtests/log-inputs: Add new inputs.
13794         * benchtests/tan-inputs: Likewise.
13795
13796 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13797
13798         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
13799         definition...
13800         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
13801         (csloww2): ... from here.
13802
13803         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
13804         instead of structures.
13805         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
13806         (POLYNOMIAL): Likewise.
13807         (TAYLOR_SLOW): Likewise.
13808         (__sin): Likewise.
13809         (__cos): Likewise.
13810         (slow1): Likewise.
13811         (slow2): Likewise.
13812         (sloww): Likewise.
13813         (sloww1); Likewise.
13814         (sloww2): Likewise.
13815         (bsloww1): Likewise.
13816         (bsloww2): Likewise.
13817         (cslow2): Likewise.
13818         (csloww): Likewise.
13819         (csloww1): Likewise.
13820         (csloww2): Likewise.
13821
13822 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
13823
13824         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
13825         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
13826         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
13827         * malloc/hooks.c (realloc_check): Likewise.
13828
13829         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13830         * malloc/arena.c: Remove PER_THREAD conditional.
13831         [!PER_THREAD]: Remove code.
13832         (ptmalloc_unlock_all2): Likewise.
13833         (ptmalloc_init): Likewise.
13834         (_int_new_arena): Likewise.
13835         (arena_get2): Likewise.
13836         * malloc/hooks.c (__malloc_get_state): Likewise.
13837         (__malloc_set_state): Likewise.
13838         * malloc/malloc.c: Likewise.
13839         (struct malloc_state): Likewise.
13840         (struct malloc_par): Likewise.
13841         (__libc_realloc): Likewise.
13842         (__libc_mallopt): Likewise.
13843
13844 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13845
13846         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13847
13848 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
13849
13850         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13851         macro to a function.  Check for zero perturb_byte.
13852         (_int_malloc, _int_free): Remove zero perturb_byte checks.
13853
13854         * malloc/malloc.c: (force_reg): Remove.
13855         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13856         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
13857         force_reg by atomic_forced_read.
13858         * malloc/arena.c (ptmalloc_init): Likewise.
13859         * malloc/hooks.c (top_check): Likewise.
13860
13861 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13862
13863         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13864
13865 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
13866
13867         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13868
13869 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
13870
13871         * math/auto-libm-test-in: Add tests of lgamma.
13872         * math/auto-libm-test-out: Regenerated.
13873         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13874         (M_LOG_2_SQRT_PIl): Likewise.
13875         (lgamma_test_data): Use AUTO_TESTS_f_f1.
13876         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13877         mpfr_f_f1.
13878         (func_calc_desc): Add mpfr_f_f1 union field.
13879         (ARGS1): New macro.
13880         (ARGS2): Likewise.
13881         (ARGS3): Likewise.
13882         (ARGS4): Likewise.
13883         (RET1): Likewise.
13884         (RET2): Likewise.
13885         (CALC): Likewise.
13886         (FUNC): Likewise.
13887         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13888         (test_functions): Add lgamma.
13889         (calc_generic_results): Handle mpfr_f_f1.
13890         * sysdeps/i386/fpu/libm-test-ulps: Update.
13891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13892
13893 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13894
13895         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13896         __mpn_add_n for PowerPC64/POWER7.
13897         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13898         __mpn_sub_n for PowerPC64/POWER7.
13899
13900         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13901         __mpn_addmul_1 for PowerPC64.
13902         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13903         __mpn_submul_1 for PowerPC64.
13904         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13905         for PowerPC64.
13906         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
13907         for PowerPC64.
13908
13909 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
13910
13911         [BZ #15089]
13912         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13913
13914 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13915
13916         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13917
13918         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13919         add multiarch folders.
13920         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13921         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13922         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13923         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13924         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13925         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13926         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13927         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13928         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13929         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13930         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13937
13938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13939         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13941         New file.
13942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13943         New file.
13944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13945         multiarch __ieee754_hypot for PowerPC32.
13946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13947         New file.
13948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13949         New file.
13950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13951         multiarch __ieee754_hypotf for PowerPC32.
13952
13953         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13954         long_double_symbol only if __logbl is defined.
13955         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13956         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13957         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13958         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13959         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13960         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13961         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13962         path for implementation.
13963         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13964         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13966         logb, and logbl multiarch implementations for PowerPC32.
13967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13968         file.
13969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13970         file.
13971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13972         multiarch logb for PowerPC32.
13973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13974         file.
13975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13976         file.
13977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13978         multiarch logbf for PowerPC32.
13979         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13981         file.
13982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13983         multiarch logbl implementation for PowerPC32.
13984
13985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13986         and modff multiarch implementations.
13987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13988         New file.
13989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13990         New file.
13991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13992         multiarch modf for PowerPC32.
13993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13994         New file.
13995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13996         New file.
13997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13998         multiarch modff for PowerPC32.
13999
14000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
14001         and lrintf multiarch implementations.
14002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
14003         New file.
14004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
14005         New file.
14006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
14007         multiarch lrint for PowerPC32.
14008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
14009         file: multiarch lrintf for PowerPC32.
14010
14011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
14012         and lroundf multiarch implementations.
14013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
14014         New file.
14015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
14016         New file.
14017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
14018         New file.
14019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
14020         multiarch lround for PowerPC32.
14021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
14022         file: multiarch lroundf for PowerPC32.
14023
14024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
14025         copysign and copysignf multiarch implementations.
14026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
14027         New file.
14028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
14029         New file.
14030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
14031         file: multiarch copysign for PowerPC32.
14032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
14033         file: multiarch copysignf for PowerPC32.
14034
14035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
14036         and truncf multiarch implementations.
14037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
14038         New file.
14039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
14040         file.
14041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
14042         multiarch trunc for PowerPC32.
14043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
14044         New file.
14045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
14046         New file.
14047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
14048         multiarch truncf for PowerPC32.
14049
14050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
14051         and roundf multiarch implementations.
14052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
14053         New file.
14054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
14055         file.
14056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
14057         multiarch round for PowerPC32.
14058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
14059         New file.
14060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
14061         New file.
14062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
14063         multiarch roundf for PowerPC32.
14064
14065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
14066         and floorf multiarch implementations.
14067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
14068         New file.
14069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
14070         file.
14071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
14072         multiarch floor for PowerPC32.
14073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
14074         New file.
14075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
14076         New file.
14077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
14078         multiarch floorf for PowerPC32.
14079
14080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
14081         and ceilf multiarch implementations.
14082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
14083         New file.
14084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
14085         file.
14086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
14087         multiarch ceil for PowerPC32.
14088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
14089         New file.
14090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
14091         file.
14092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
14093         multiarch ceilf for PowerPC32.
14094
14095         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
14096         is defined.
14097         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
14098         FINITEF is defined.
14099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
14100         and finitef multiarch implementations.
14101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
14102         New file.
14103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
14104         file.
14105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
14106         multiarch finite for PowerPC32.
14107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
14108         New file.
14109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
14110         file: multiarch finitef for PowerPC32.
14111
14112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
14113         and isinff multiarch implementations.
14114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
14115         file.
14116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
14117         file.
14118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
14119         multiarch isinf for PowerPC32.
14120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
14121         New file.
14122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
14123         multiarch isinff for PowerPC32.
14124
14125         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
14126         alias when __isnan is defined.
14127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
14128         and isnanf multiarch implementations.
14129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
14130         file.
14131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
14132         file.
14133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
14134         file.
14135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
14136         file.
14137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
14138         multiarch isnan for PowerPC32.
14139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
14140         New file.
14141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
14142         New file.
14143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
14144         multiarch isnanf for PowerPC32.
14145
14146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
14147         and sqrtf multiarch implementations.
14148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
14149         file.
14150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
14151         file.
14152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
14153         multiarch sqrt for PowerPC32.
14154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
14155         file.
14156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
14157         file.
14158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
14159         multiarch sqrtf for PowerPC32.
14160
14161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
14162         and llroundf multiarch implementations.
14163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
14164         New file.
14165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
14166         New file.
14167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
14168         New file.
14169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
14170         file: multiarch llround for PowerPC32.
14171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
14172         file: multiarch llroundf for PowerPC32.
14173
14174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
14175         multiarch PowerPC32 fpu implementations.
14176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
14177         New file.
14178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
14179         New file.
14180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
14181         multiarch llrint for PowerPC32.
14182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
14183         New file.
14184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
14185         New file.
14186         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
14187         file.
14188
14189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
14190
14191         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
14192         file.
14193         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
14194         file.
14195         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
14196         file.
14197         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
14198         multiarch wordcopy for PPC32.
14199         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14200         wordcopy objects.
14201         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14202         (__libc_ifunc_impl_list): Likewise.
14203         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
14204         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
14205         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
14206         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
14207         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
14208         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
14209
14210         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
14211         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
14212         file.
14213         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
14214         file.
14215         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
14216         file.
14217         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
14218         multiarch wcscpy for PPC32.
14219         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14220         multiarch objects.
14221         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14222         (__libc_ifunc_impl_list): Likewise.
14223         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14224         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14225         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
14226         sysdeps/powerpc/power6/wcscpy.c.
14227
14228         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
14229         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
14230         file.
14231         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
14232         file.
14233         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
14234         file.
14235         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
14236         multiarch wcsrchr for PPC32.
14237         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14238         multiarch objects.
14239         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14240         (__libc_ifunc_impl_list): Likewise.
14241         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14242         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14243         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
14244         sysdeps/powerpc/power6/wcsrchr.c.
14245
14246         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
14247         file.
14248         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
14249         file.
14250         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
14251         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
14252         multiarch wcschr for PPc32.
14253         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14254         multiarch objects.
14255         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14256         (__libc_ifunc_impl_list): Likewise.
14257         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
14258         * sysdeps/powerpc/power6/wcschr.c: ... to here.
14259         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
14260         sysdeps/powerpc/power6/wcschr.c.
14261
14262         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
14263         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
14264         file.
14265         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
14266         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
14267         file: multiarch strchr for PPC32.
14268         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
14269         multiarch objects.
14270         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14271         (__libc_ifunc_impl_list): Likewise.
14272
14273         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
14274         name.
14275         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
14276         file.
14277         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
14278         file.
14279         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
14280         multiarch strchrnul for PPC32.
14281         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
14282         multiarch objects.
14283         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14284         (__libc_ifunc_impl_list): Likewise.
14285
14286         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
14287         file.
14288         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
14289         multiarch strncasecmp for PPC32.
14290         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
14291         file.
14292         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
14293         multiarch strncasecmp_l for PPC32.
14294         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
14295         strncasecmp multiarch objects.
14296         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14297         (__libc_ifunc_impl_list): Likewise.
14298
14299         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
14300         file.
14301         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
14302         multiarch strncasecmp for PPC32.
14303         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14304         New file.
14305         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
14306         multiarch strcasecmp_l for PPC32.
14307         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
14308         multiarch objects.
14309         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14310         (__libc_ifunc_impl_list): Likewise.
14311
14312         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
14313         file.
14314         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
14315         file.
14316         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
14317         multiarch strncmp for PPC32.
14318         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
14319         multiarch objects.
14320         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14321         (__libc_ifunc_impl_list): Likewise.
14322
14323         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
14324         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
14325         file.
14326         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
14327         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
14328         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
14329         multiarch objects.
14330         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14331         (__libc_ifunc_impl_list): Likewise.
14332
14333         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
14334         file.
14335         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
14336         file.
14337         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
14338         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
14339         multiarch objects.
14340         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14341         (__libc_ifunc_impl_list): Likewise.
14342
14343         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
14344         file.
14345         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
14346         file.
14347         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
14348         multiarch rawmemchr for PPC32.
14349         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
14350         multiarch objects.
14351         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14352         (__libc_ifunc_impl_list): Likewise.
14353
14354         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
14355         file.
14356         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
14357         file.
14358         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
14359         file: memrchr multiarch for PPC32.
14360         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
14361         multiarch objects.
14362         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14363         (__libc_ifunc_impl_list): Likewise.
14364
14365         * string/memchr.c (__memchr): Using macro to redefine symbol name.
14366         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
14367         file.
14368         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
14369         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
14370         multiarch memchr for PPC32.
14371         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
14372         multiarch objects.
14373         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14374         (__libc_ifunc_impl_list): Likewise.
14375
14376         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
14377         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
14378         file.
14379         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
14380         file.
14381         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
14382         file: multiarch mempcpy for PPC32.
14383         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
14384         multiarch objects.
14385         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14386         (__libc_ifunc_impl_list): Likewise.
14387
14388         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
14389         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
14390         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
14391         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
14392         multiarch bzero for PPC32.
14393         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
14394         file.
14395         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
14396         file.
14397         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
14398         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
14399         file: multiarch memset for PPC32.
14400         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
14401         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
14402         memset multiarch objects.
14403         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14404         (__libc_ifunc_impl_list): Likewise.
14405
14406         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
14407         file.
14408         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
14409         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
14410         memcmp for PPC32.
14411         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
14412         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
14413         multiarch objects.
14414         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14415         (__libc_ifunc_impl_list): Likewise.
14416
14417         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
14418         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
14419         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
14420         file.
14421         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
14422         file.
14423         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
14424         file.
14425         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
14426         multiarch memcpy for PPC32.
14427         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
14428         multiarch objects.
14429         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14430         (__libc_ifunc_impl_list): Likewise.
14431
14432         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
14433         support multiarch for POWER/PPC32.
14434         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
14435         Likewise.
14436         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
14437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
14438         Implies file to make multiarch folder appers before the fpu and
14439         default folder for power4 configuration.
14440
14441 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
14442
14443         * scripts/bench.pl: Append volatile keyword to type.
14444
14445 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14446
14447         * sysdeps/sh/sotruss-lib.c: New file.
14448         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
14449
14450 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14451
14452         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14453
14454 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
14455
14456         [BZ #6810]
14457         * math/w_tgamma.c: Include <errno.h>.
14458         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
14459         * math/w_tgammaf.c: Include <errno.h>.
14460         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
14461         * math/w_tgammal.c: Include <errno.h>.
14462         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
14463         * math/auto-libm-test-in: Do not allow missing errno on tgamma
14464         underflow.  Add more tgamma tests.
14465         * math/auto-libm-test-out: Regenerated.
14466         * sysdeps/i386/fpu/libm-test-ulps: Update.
14467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14468
14469         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
14470         sin, sinh, tan, tanh, tgamma, y0 and y1.
14471         * math/auto-libm-test-out: Regenerated.
14472         * math/libm-test.inc (TEST_COND_x86_64): New macro.
14473         (TEST_COND_x86): Likewise.
14474         (M_E2l): Remove macro.
14475         (M_E3l): Likewise.
14476         (M_2_SQRT_PIl): Likewise.
14477         (M_SQRT_PIl): Likewise.
14478         (M_1_DIV_El): Likewise.
14479         (log_test_data): Use AUTO_TESTS_f_f.
14480         (log10_test_data): Likewise.
14481         (log1p_test_data): Likewise.
14482         (log2_test_data): Likewise.
14483         (sin_test_data): Likewise.
14484         (sin_tonearest_test_data): Likewise.
14485         (sin_towardzero_test_data): Likewise.
14486         (sin_downward_test_data): Likewise.
14487         (sin_upward_test_data): Likewise.
14488         (sinh_test_data): Likewise.
14489         (sinh_tonearest_test_data): Likewise.
14490         (sinh_towardzero_test_data): Likewise.
14491         (sinh_downward_test_data): Likewise.
14492         (sinh_upward_test_data): Likewise.
14493         (tan_test_data): Likewise.
14494         (tan_tonearest_test_data): Likewise.
14495         (tan_towardzero_test_data): Likewise.
14496         (tan_downward_test_data): Likewise.
14497         (tan_upward_test_data): Likewise.
14498         (tanh_test_data): Likewise.
14499         (tgamma_test_data): Likewise.
14500         (y0_test_data): Likewise.
14501         (y1_test_data): Likewise.
14502         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
14503         (special_real_inputs): Add pi/4.
14504         * sysdeps/i386/fpu/libm-test-ulps: Update.
14505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14506
14507 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14508
14509         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
14510         "longjmp_target" static probes.
14511         (__longjmp): Rename to __longjmp_symbol.
14512         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14513         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
14514         on which longjmp to generate.
14515         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14516         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
14517         probe.
14518         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14519         (__sigjmp_save): Rename to __sigjmp_save_symbol.
14520         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14521         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
14522         and __sigjmp_save_symbol based on which sigsetjmp to generated.
14523         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
14524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
14525         __longjmp_symbol based on which __longjmp to generate.
14526         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
14527         probe.
14528         (setjmp): Rename to setjmp_symbol.
14529         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14530         (_setjmp): Rename to _setjmp_symbol.
14531         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14532         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
14533         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
14534         which setjmp to generate.
14535         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
14536         "longjmp_target" static probes.
14537
14538 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14539
14540         * benchtests/README: Add note about output arguments.
14541         * benchtests/bench-sincos.c: Remove file.
14542         * benchtests/sincos-inputs: New file.
14543         * scripts/bench.pl: Identify output arguments and define
14544         static variables for them.
14545
14546         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
14547
14548         [BZ #15941]
14549         * Makefile (INSTALL): Add install-plain.texi as the primary
14550         dependency.
14551         * manual/install-plain.texi: New file.
14552         * manual/install.texi: Include node directive only for
14553         non-plaintext output.
14554
14555 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
14556
14557         * stdlib/longlong.h: Update from GCC.
14558
14559         [BZ #6807]
14560         [BZ #15901]
14561         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
14562         * math/w_j0f.c (y0f): Likewise.
14563         * math/w_j0l.c (__y0l): Likewise.
14564         * math/w_j1.c (y1): Likewise.
14565         * math/w_j1f.c (y1f): Likewise.
14566         * math/w_j1l.c (__y1l): Likewise
14567         * math/w_jn.c (yn): Likewise.
14568         * math/w_jnf.c (ynf): Likewise.
14569         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
14570         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
14571         value for Bessel function domain errors outside _SVID_ mode.
14572         Adjust sign of return value for yn (negative integer, 0).
14573         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
14574         by zero in return for negative x and set sign appropriately for
14575         negative n.
14576         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
14577         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14578         * math/libm-test.inc (y0_test_data): Add more tests and adjust
14579         expectations in error cases.
14580         (y1_test_data): Likewise.
14581         (yn_test_data): Likewise.
14582         * sysdeps/i386/fpu/libm-test-ulps: Update.
14583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14584
14585 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14586
14587         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
14588         "64" to "64-v1".  Add "64-v2".
14589         (abi-64-options): Rename to ...
14590         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
14591         (abi-64-condition): Rename to ...
14592         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
14593         (abi-64-ld-soname): Rename to ...
14594         (abi-64-v1-ld-soname): ... this.
14595         (abi-64-v2-options): Define.
14596         (abi-64-v2-condition): Likewise.
14597         (abi-64-v2-ld-soname): Likewise.
14598         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
14599         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
14600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
14601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
14602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
14603
14604 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14605             Alan Modra  <amodra@gmail.com>
14606
14607         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
14608         New versions for use with the ELFv2 ABI.
14609         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
14610         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
14611         declaration.
14612         (struct La_ppc64v2_retval): Likewise.
14613         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
14614         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
14615         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
14616         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
14617         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
14618         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14619         Do not save or restore CR.
14620         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
14621         (_dl_profile_resolve): Do no save or restore CR.  Support extended
14622         return values for ELFv2 ABI.  Fix location of FPR return registers.
14623         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
14624         updated values for _CALL_ELF == 2.
14625         (La_regs, La_retval, int_retval): Likewise.
14626
14627 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14628
14629         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
14630         (FRAME_MIN_SIZE_PARM): Likewise.
14631         (FRAME_BACKCHAIN): Likewise.
14632         (FRAME_CR_SAVE): Likewise.
14633         (FRAME_LR_SAVE): Likewise.
14634         (FRAME_TOC_SAVE): Likewise.
14635         (FRAME_PARM_SAVE): Likewise.
14636         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
14637         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
14638         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14639         (call_mcount_parm_offset): New macro.
14640         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
14641         (PROF): Use symbolic stack frame offsets.
14642         (TAIL_CALL_SYSCALL_ERROR): Likewise.
14643         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
14644         Redefine in terms of FRAME_MIN_SIZE.
14645         (_dl_runtime_resolve): Use symbolic stack frame offsets.
14646         (_dl_profile_resolve): Likewise.  Update comment.
14647         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
14648         symbols stack frame offsets.
14649         (__sigsetjmp): Likewise.
14650         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
14651         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
14652         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
14653         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
14654
14655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
14656         (FRAME_BACKCHAIN): Remove.
14657         (FRAME_CR_SAVE): Likewise.
14658         (FRAME_LR_SAVE): Likewise.
14659         (FRAME_COMPILER_DW): Likewise.
14660         (FRAME_LINKER_DW): Likewise.
14661         (FRAME_TOC_SAVE): Likewise.
14662         (FRAME_PARM_SAVE): Likewise.
14663         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
14664         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
14665         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
14667         (CHECK_SP): Use symbolic stack frame offsets.
14668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
14669         zone" instead of caller's parameter save area for temp storage.
14670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14671         Likewise.  Also, use symbolic stack frame offsets.
14672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
14673         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
14674         our own stack frame instead of the caller's.
14675         (__socket): Use symbolic stack frame offsets.
14676
14677 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14678             Alan Modra  <amodra@gmail.com>
14679
14680         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
14681         Define.
14682         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
14683         (PPC64_LOCAL_ENTRY_OFFSET): Define.
14684         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
14685         New function.
14686         (elf_machine_fixup_plt): Call it.
14687         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
14688         reloc arguments.
14689         (elf_machine_rela): Update call to elf_machine_plt_conflict.
14690         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14691         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
14692         r2 before calling target.
14693
14694 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14695             Alan Modra  <amodra@gmail.com>
14696
14697         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
14698         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
14699         versions of macros to support ELFv2 ABI.
14700         (LOCALENTRY): New macro.
14701         (ENTRY, EALIGN): Use it.
14702         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
14703         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
14704         fall through into ENTRY entry point.
14705         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
14706         Only define if _CALL_ELF != 2.
14707
14708         (elf_machine_matches_host): Verify ABI version matches.
14709         (RTLD_START): Use LOCALENTRY.
14710         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
14711         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
14712         (PLT_ENTRY_WORDS): New macro.
14713         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
14714         (elf_machine_runtime_setup): Support ELFv2 ABI.
14715         (elf_machine_fixup_plt): Likewise.
14716         (elf_machine_plt_conflict): Likewise.
14717         (resolve_ifunc): Likewise.
14718         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14719         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14720         Likewise.
14721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
14722         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
14723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14724         (makecontext): Support ELFv2 ABI.
14725         * elf/elf.h (EF_PPC64_ABI): Define.
14726
14727 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14728
14729         * sysdeps/powerpc/powerpc64/sysdep.h
14730         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
14731         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
14732         (ENTRY) [ASSEMBLER]: ... but instead here ...
14733         (EALIGN) [ASSEMBLER]: ... and here.
14734         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
14735         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
14736         (ENTRY_2) [!ASSEMBLER]: Use it.
14737         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
14738         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
14739         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14740         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
14741         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
14742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
14743         Use PPC64_LOAD_FUNCPTR.
14744
14745         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
14746
14747 2013-12-04  Alan Modra  <amodra@gmail.com>
14748
14749         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
14750         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
14751         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
14752         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
14753
14754         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
14755         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
14756         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
14757         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
14758         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
14759         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
14760
14761 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14762
14763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14764         (__makecontext): Fix incorrect CFI when backtracing out of
14765         context created via makecontext.
14766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
14767         (__setcontext): Fix incorrect CFI during switch to new context.
14768         (__novec_setcontext): Likewise.
14769
14770 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
14771
14772         [BZ #4772]
14773         * time/strptime_l.c (__strptime_internal): Allow modifiers
14774         in strptime.
14775         * time/tst-strptime.c (day_tests): Add testcase.
14776
14777 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14778
14779         * scripts/bench.pl: Skip over blank lines.
14780
14781 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
14782
14783         [BZ #926]
14784         * manual/time.texi (Calendar Time): Clarify what timezone functions
14785         use.
14786
14787 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14788
14789         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14790
14791 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
14792
14793         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
14794         implementation.
14795         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14796         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14797         * debug/memset_chk.c (__memset_chk): Likewise.
14798         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
14799         * debug/strncpy_chk.c: Likewise.
14800
14801 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
14802
14803         [BZ #15268]
14804         [BZ #15425]
14805         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
14806         (__ieee754_exp): For possibly underflowing results, check size of
14807         result and force underflow exception if required.
14808         * math/auto-libm-test-in: Add more tests of exp.
14809         * math/auto-libm-test-out: Regenerated.
14810         * sysdeps/i386/fpu/libm-test-ulps: Update.
14811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14812
14813         [BZ #16283]
14814         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
14815         * math/w_exp2f.c (__exp2f): Likewise.
14816         * math/w_exp2l.c (__exp2l): Likewise.
14817         * math/auto-libm-test-in: Do not allow missing errno on exp2
14818         underflow.
14819         * math/auto-libm-test-out: Regenerated.
14820
14821 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
14822
14823         [BZ #16274]
14824         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
14825         handle filename validation.
14826         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
14827         (do_open): Delete.
14828
14829 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
14830
14831         [BZ #6786]
14832         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14833         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14834         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14835         <float.h>.
14836         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14837         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14838         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14839         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14840         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14841         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14842         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14843         * math/auto-libm-test-in: Don't allow missing errno from erfc.
14844         Add more erfc tests.
14845         * math/auto-libm-test-out: Regenerated.
14846         * sysdeps/i386/fpu/libm-test-ulps: Update.
14847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14848
14849         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14850         exp2, expm1, j0 and j1.
14851         * math/auto-libm-test-out: Regenerated.
14852         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14853         (erfc_test_data): Likewise.
14854         (exp_test_data): Likewise.
14855         (exp_tonearest_test_data): Likewise.
14856         (exp_towardzero_test_data): Likewise.
14857         (exp_downward_test_data): Likewise.
14858         (exp_upward_test_data): Likewise.
14859         (exp10_test_data): Likewise.
14860         (exp2_test_data): Likewise.
14861         (expm1_test_data): Likewise.
14862         (j0_test_data): Likewise.
14863         (j1_test_data): Likewise.
14864         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14865         (input_flag_type): Add flag_xfail_rounding.
14866         (input_flags): Add xfail-rounding.
14867         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14868         (output_for_one_input_case): Handle flag_xfail_rounding.
14869         * sysdeps/i386/fpu/libm-test-ulps: Update.
14870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14871
14872 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
14873
14874         [BZ #16289]
14875         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14876         division by 0.
14877
14878 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14879
14880         [BZ #16195]
14881         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14882         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14883         (STAP_PROBE0): New macro.
14884         (STAP_PROBE1): Likewise.
14885         (STAP_PROBE2): Likewise.
14886         (STAP_PROBE3): Likewise.
14887         (STAP_PROBE4): Likewise.
14888
14889 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
14890
14891         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14892
14893 2013-12-02  Steve Ellcey  <sellcey@mips.com>
14894
14895         * benchtests/Makefile (bench): Add sqrt.
14896         (LDLIBS-bench-sqrt): New.
14897         * benchtests/sqrt-input: New.
14898
14899 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
14900
14901         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14902         (GAIH_EAI): Likewise.
14903         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14904         (gaih_inet): Likewise.
14905         (getaddrinfo): Don't use GAIH_EAI.
14906
14907         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
14908         (struct gaih): Remove definition.
14909
14910 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14911
14912         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14913         Use HERRNOP directly.
14914
14915 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14916
14917         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14918
14919 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
14920
14921         * math/gen-auto-libm-tests.c (test_functions): Add more
14922         single-argument functions.
14923         (special_fill_pi_2): New function.
14924         (special_fill_minus_pi_2): Likewise.
14925         (special_fill_pi_6): Likewise.
14926         (special_fill_minus_pi_6): Likewise.
14927         (special_fill_pi_3): Likewise.
14928         (special_fill_2pi_3): Likewise.
14929         (special_fill_e): Likewise.
14930         (special_fill_1_e): Likewise.
14931         (special_fill_e_minus_1): Likewise.
14932         (special_real_inputs): Add more special inputs.
14933         (output_for_one_input_case): Do not require ERANGE on underflow to
14934         zero if round-to-nearest result does not underflow to zero, unless
14935         exact results required.
14936         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14937         atan, atanh, cbrt, cos and cosh.
14938         * math/auto-libm-test-out: Regenerated.
14939         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14940         (acos_tonearest_test_data): Likewise.
14941         (acos_towardzero_test_data): Likewise.
14942         (acos_downward_test_data): Likewise.
14943         (acos_upward_test_data): Likewise.
14944         (acosh_test_data): Likewise.
14945         (asin_test_data): Likewise.
14946         (asin_tonearest_test_data): Likewise.
14947         (asin_towardzero_test_data): Likewise.
14948         (asin_upward_test_data): Likewise.
14949         (asinh_test_data): Likewise.
14950         (atan_test_data): Likewise.
14951         (atanh_test_data): Likewise.
14952         (cbrt_test_data): Likewise.
14953         (cos_test_data): Likewise.
14954         (cos_tonearest_test_data): Likewise.
14955         (cos_towardzero_test_data): Likewise.
14956         (cos_downward_test_data): Likewise.
14957         (cos_upward_test_data): Likewise.
14958         (cosh_test_data): Likewise.
14959         (cosh_tonearest_test_data): Likewise.
14960         (cosh_towardzero_test_data): Likewise.
14961         (cosh_downward_test_data): Likewise.
14962         (cosh_upward_test_data): Likewise.
14963         * sysdeps/i386/fpu/libm-test-ulps: Update.
14964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14965
14966 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
14967
14968         [BZ #6787]
14969         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14970         * math/w_exp10f.c (__exp10f): Likewise.
14971         * math/w_exp10l.c (__exp10l): Likewise.
14972         * math/libm-test.inc (exp10_test_data): Add more tests and expect
14973         errno settings in existing tests.
14974
14975         [BZ #14032]
14976         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14977         precision control set to double precision.
14978         * sysdeps/i386/fpu/w_sqrt.c: New file.
14979         * math/auto-libm-test-in: Add more tests.
14980         * math/auto-libm-test-out: Update.
14981
14982         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14983         (sqrt_test_tonearest): New function.
14984         (sqrt_towardzero_test_data): New variable.
14985         (sqrt_test_towardzero): New function.
14986         (sqrt_downward_test_data): New variable.
14987         (sqrt_test_downward): New function.
14988         (sqrt_upward_test_data): New variable.
14989         (sqrt_test_upward): New function.
14990         (main): Call the new functions.
14991
14992         * math/gen-auto-libm-tests.c: New file.
14993         * math/auto-libm-test-in: Likewise.
14994         * math/auto-libm-test-out: New generated file.
14995         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14996         variables.
14997         (%beautify): Add generated representations of zero.
14998         (top level): Set $auto_input and call parse_auto_input.
14999         (beautify): Remove trailing "f" from hex float constants.
15000         (parse_args): Handle XFAIL_TEST.
15001         (convert_condition): New function.
15002         (or_value): Likewise.
15003         (or_cond_value): Likewise.
15004         (generate_testfile): Handle AUTO_TESTS_* lines.
15005         (parse_auto_input): New function.
15006         * math/libm-test.inc (XFAIL_TEST): New macro.
15007         (ERRNO_UNCHANGED): Update value.
15008         (ERRNO_EDOM): Likewise.
15009         (ERRNO_ERANGE): Likewise.
15010         (IGNORE_RESULT): Likewise.
15011         (TEST_COND_flt_32): New macro.
15012         (TEST_COND_dbl_64): Likewise.
15013         (TEST_COND_ldbl_96_intel): Likewise.
15014         (TEST_COND_ldbl_96_m68k): Likewise.
15015         (TEST_COND_ldbl_128): Likewise.
15016         (TEST_COND_ldbl_128ibm): Likewise.
15017         (TEST_COND_long32): Likewise.
15018         (TEST_COND_long64): Likewise.
15019         (TEST_COND_before_rounding): Likewise.
15020         (TEST_COND_after_rounding): Likewise.
15021         (enable_test): Handle XFAIL_TEST flag.
15022         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
15023         with finite results.
15024         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
15025         auto-libm-test-out.
15026
15027 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15028             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15029
15030         [BZ #16214]
15031         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
15032         __tls_get_addr_internal instead of __tls_get_offset in order to
15033         avoid GOT pointer dependency.  Make rtld export
15034         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
15035         __tls_get_addr since we are a __tls_get_offset platform.
15036         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
15037         GOT pointer being set up before.
15038         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
15039
15040 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
15041
15042         * manual/math.texi (Errors in Math Functions): Document accuracy
15043         goals.
15044
15045         [BZ #15004]
15046         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
15047         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
15048         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15049         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15050         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15051         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15052         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15053         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
15054         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
15055         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15056         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15057         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15058         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15059         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15060         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15061         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15062
15063         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
15064         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
15065         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
15066         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
15067         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
15068         Likewise.
15069         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
15070         Likewise.
15071         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
15072         Likewise.
15073         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
15074         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
15075         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
15076         atomic-feupdateenv and flt-rounds.
15077         * sysdeps/powerpc/nofpu/Versions (libc): Add
15078         __atomic_feholdexcept, __atomic_feclearexcept,
15079         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
15080         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
15081         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
15082         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
15083         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
15084         here.
15085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
15086         Update.
15087
15088         * manual/arith.texi (FP Exceptions): Document that exceptions may
15089         not be raised when matherr is used.
15090         (Math Error Reporting): Document overflow in directed rounding
15091         modes.  Document that errno may not be set when finite values are
15092         returned on overflow.  Document intent to set errno on underflow
15093         only for underflow to zero.
15094
15095         [BZ #16271]
15096         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
15097         round-to-nearest then adjust result for other rounding modes.
15098         * include/fenv.h (fegetround): Use libm_hidden_proto.
15099         * math/fegetround.c (fegetround): Use libm_hidden_def.
15100         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
15101         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
15102         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15103         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
15104         Likewise.
15105         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
15106         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15107         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
15108         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
15109
15110 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15111
15112         [BZ #16077]
15113         * nss/Versions (libnss_files): Add
15114         _nss_files_gethostbyname3_r.
15115         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
15116         New function.
15117         (HOST_DB_LOOKUP): Remove macro.
15118         (_nss_files_gethostbyname_r): Implement function without the
15119         HOST_DB_LOOKUP macro.
15120         (_nss_files_gethostbyname2_r): Likewise.
15121
15122 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
15123
15124         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
15125
15126 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
15127
15128         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
15129         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
15130         warning.
15131
15132 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15133
15134         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
15135         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
15136         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
15137         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
15138         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
15139         __fe_nomask_env_priv and attribute_hidden.
15140         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
15141         (libc_feupdateenv_test_ppc): Likewise.
15142         (libc_feresetround_ppc): Likewise.
15143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15144         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
15145         compat_symbol macro.
15146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15147         (__fe_nomask_env): Likewise.
15148         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
15149
15150 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15151
15152         * string/Makefile: Remove ifunc tests.
15153         * string/test-string.h: Define TEST_IFUNC.
15154         * string/test-bcopy-ifunc.c: Remove.
15155         * string/test-bzero-ifunc.c: Likewise.
15156         * string/test-memccpy-ifunc.c: Likewise.
15157         * string/test-memchr-ifunc.c: Likewise.
15158         * string/test-memcmp-ifunc.c: Likewise.
15159         * string/test-memcpy-ifunc.c: Likewise.
15160         * string/test-memmem-ifunc.c: Likewise.
15161         * string/test-memmove-ifunc.c: Likewise.
15162         * string/test-mempcpy-ifunc.c: Likewise.
15163         * string/test-memrchr-ifunc.c: Likewise.
15164         * string/test-memset-ifunc.c: Likewise.
15165         * string/test-rawmemchr-ifunc.c: Likewise.
15166         * string/test-stpcpy-ifunc.c: Likewise.
15167         * string/test-stpncpy-ifunc.c: Likewise.
15168         * string/test-strcasecmp-ifunc.c: Likewise.
15169         * string/test-strcasestr-ifunc.c: Likewise.
15170         * string/test-strcat-ifunc.c: Likewise.
15171         * string/test-strchr-ifunc.c: Likewise.
15172         * string/test-strchrnul-ifunc.c: Likewise.
15173         * string/test-strcmp-ifunc.c: Likewise.
15174         * string/test-strcpy-ifunc.c: Likewise.
15175         * string/test-strcspn-ifunc.c: Likewise.
15176         * string/test-strlen-ifunc.c: Likewise.
15177         * string/test-strncasecmp-ifunc.c: Likewise.
15178         * string/test-strncat-ifunc.c: Likewise.
15179         * string/test-strncmp-ifunc.c: Likewise.
15180         * string/test-strncpy-ifunc.c: Likewise.
15181         * string/test-strnlen-ifunc.c: Likewise.
15182         * string/test-strpbrk-ifunc.c: Likewise.
15183         * string/test-strrchr-ifunc.c: Likewise.
15184         * string/test-strspn-ifunc.c: Likewise.
15185         * string/test-strstr-ifunc.c: Likewise.
15186
15187 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15188
15189         * benchtests/Makefile: Remove ifunc tests.
15190         * benchtests/bench-string.h: Define TEST_IFUNC.
15191         * benchtests/bench-bcopy-ifunc.c: Remove.
15192         * benchtests/bench-bzero-ifunc.c: Likewise.
15193         * benchtests/bench-memccpy-ifunc.c: Likewise.
15194         * benchtests/bench-memchr-ifunc.c: Likewise.
15195         * benchtests/bench-memcmp-ifunc.c: Likewise.
15196         * benchtests/bench-memcpy-ifunc.c: Likewise.
15197         * benchtests/bench-memmem-ifunc.c: Likewise.
15198         * benchtests/bench-memmove-ifunc.c: Likewise.
15199         * benchtests/bench-mempcpy-ifunc.c: Likewise.
15200         * benchtests/bench-memrchr-ifunc.c: Likewise.
15201         * benchtests/bench-memset-ifunc.c: Likewise.
15202         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
15203         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
15204         * benchtests/bench-stpcpy-ifunc.c: Likewise.
15205         * benchtests/bench-stpncpy-ifunc.c: Likewise.
15206         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
15207         * benchtests/bench-strcasestr-ifunc.c: Likewise.
15208         * benchtests/bench-strcat-ifunc.c: Likewise.
15209         * benchtests/bench-strchr-ifunc.c: Likewise.
15210         * benchtests/bench-strchrnul-ifunc.c: Likewise.
15211         * benchtests/bench-strcmp-ifunc.c: Likewise.
15212         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
15213         * benchtests/bench-strcpy-ifunc.c: Likewise.
15214         * benchtests/bench-strcspn-ifunc.c: Likewise.
15215         * benchtests/bench-strlen-ifunc.c: Likewise.
15216         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
15217         * benchtests/bench-strncat-ifunc.c: Likewise.
15218         * benchtests/bench-strncmp-ifunc.c: Likewise.
15219         * benchtests/bench-strncpy-ifunc.c: Likewise.
15220         * benchtests/bench-strnlen-ifunc.c: Likewise.
15221         * benchtests/bench-strpbrk-ifunc.c: Likewise.
15222         * benchtests/bench-strrchr-ifunc.c: Likewise.
15223         * benchtests/bench-strsep-ifunc.c: Likewise.
15224         * benchtests/bench-strspn-ifunc.c: Likewise.
15225         * benchtests/bench-strstr-ifunc.c: Likewise.
15226
15227 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15228
15229         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
15230
15231 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15232
15233         * resolv/netdb.h: Use __glibc_reserved instead __unused.
15234         * rt/aio.h: Likewise.
15235         * sysdeps/gnu/bits/utmp.h: Likewise.
15236         * sysdeps/gnu/bits/utmpx.h: Likewise.
15237         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15238         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
15239         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
15240         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
15241         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
15242         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
15243         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
15244         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
15245         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
15246         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
15247         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
15248         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
15249         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
15250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
15251         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15252         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
15253         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
15254         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
15255         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
15256         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
15257         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
15258         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
15259         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
15260         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15261         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
15262         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15263         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
15264         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
15265         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
15266         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
15267         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
15268         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
15269         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
15270         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15271         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
15272         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
15273         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
15274         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
15275         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
15276         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
15277         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
15278         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15279
15280 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
15281
15282         [BZ #16245]
15283         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
15284         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
15285
15286 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
15287
15288         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
15289         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
15290         Likewise.
15291
15292 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15293
15294         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
15295         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
15296         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
15297         (__fesetround): Remove define.
15298         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
15299         rounding and exceptions handling.
15300         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
15301         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
15302         (__fe_nomask_env): Likewise.
15303         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
15304         __fegetround instead of fegetround.
15305         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15306         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
15307
15308 2013-11-21  Roland McGrath  <roland@hack.frob.com>
15309
15310         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
15311         it's there.
15312
15313         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
15314
15315 2013-11-21  Meador Inge  <meadori@codesourcery.com>
15316
15317         [BZ #11157]
15318         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
15319         (encrypt_r): Likewise.
15320         * malloc/obstack.h (obstack_free): Likewise.
15321         * posix/unistd.h (encrypt): Likewise.
15322
15323 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
15324
15325         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
15326         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
15327         DL_CALL_DT_FINI() that call the functions directly.
15328         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
15329         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
15330         * elf/dl-fini.c: Likewise.
15331
15332 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
15333
15334         * malloc/hooks.c (memalign_check): Add alignment rounding.
15335         * malloc/malloc.c (_mid_memalign): New function.
15336         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
15337         Implement by calling _mid_memalign.
15338         * manual/probes.texi (Memory Allocation Probes): Remove
15339         memory_valloc_retry and memory_pvalloc_retry.
15340
15341 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
15342
15343         * locale/programs/locarchive.c (open_archive): Add const
15344         qualifier to ARCHIVEFNAME and copy default fname to
15345         DEFAULT_FNAME.
15346
15347         [BZ #15601]
15348         * libio/tst-widetext.input: Rename Oriya to Odia.
15349         * locale/iso-639.def: Likewise.
15350
15351         * manual/probes.texi (Mathematical Function Probes): Add
15352         documentation for sin, cos, asin and acos probes.
15353         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
15354         (__sin32): Add slowasin probe.
15355         (__cos32): Add slowacos probe.
15356         (__mpsin): Add slowsin probe.
15357         (__mpcos): Add slowcos probe.
15358
15359 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
15360
15361         [BZ #15483]
15362         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
15363         thread-local __sim_exceptions_thread and global
15364         __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         (__simulate_exceptions): Use thread-local floating-point state and
15371         set global state from it as needed.
15372         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
15373         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
15374         __sim_round_mode_thread.
15375         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
15376         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
15377         and global __sim_exceptions_global.
15378         (__sim_disabled_exceptions): Change to thread-local
15379         __sim_disabled_exceptions_thread and global
15380         __sim_disabled_exceptions_global.
15381         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15382         and global __sim_round_mode_global.
15383         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
15384         (SIM_SET_GLOBAL): Likewise.
15385         * sysdeps/powerpc/soft-fp/sfp-machine.h
15386         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
15387         __sim_round_mode_thread.
15388         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
15389         __sim_disabled_exceptions_thread.
15390         (__sim_exceptions): Change to __sim_exceptions_thread.
15391         (__sim_disabled_exceptions): Change to
15392         __sim_disabled_exceptions_thread.
15393         (__sim_round_mode): Change to __sim_round_mode_thread.
15394         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
15395         thread-local floating-point state and set global state from it as
15396         needed.
15397         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
15398         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
15399         (__sim_disabled_exceptions): Remove extern declaration.
15400         (feenableexcept): Use thread-local floating-point state and set
15401         global state from it as needed.
15402         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
15403         extern declaration.
15404         (__sim_disabled_exceptions): Likewise.
15405         (__sim_round_mode): Likewise.
15406         (__fegetenv): Use thread-local floating-point state.
15407         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
15408         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15409         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
15410         floating-point state and set global state from it as needed.
15411         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
15412         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15413         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
15414         Likewise.
15415         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
15416         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
15417         Likewise.
15418         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
15419         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
15420         Use __sim_round_mode_thread.
15421         * math/test-fenv-tls.c: New file.
15422         * math/Makefile (tests): Add test-fenv-tls.
15423         ($(objpfx)test-fenv-tls): Depend on
15424         $(common-objpfx)nptl/libpthread.so.
15425
15426 2013-11-19  Andreas Schwab  <schwab@suse.de>
15427
15428         * locale/programs/locale.c (show_info): Decode wordarray elements.
15429         * locale/categories.def (LC_MONETARY): Add element for
15430         _NL_MONETARY_CRNCYSTR.
15431         * locale/C-monetary.c (conversion_rate): New variable.
15432         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
15433         element.
15434
15435 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
15436
15437         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
15438         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
15439
15440 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
15441
15442         * elf/Makefile (tst-auxv): New test.
15443         * elf/tst-auxv.c: New
15444         * elf/rtld.c (dl_main): Adjust AT_EXECFN
15445
15446 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
15447
15448         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
15449         (hidden_proto): Caller changed.
15450         (hidden_tls_proto): New macro.
15451         (libc_hidden_tls_proto): Likewise.
15452         (rtld_hidden_tls_proto): Likewise.
15453         (libm_hidden_tls_proto): Likewise.
15454         (libresolv_hidden_tls_proto): Likewise.
15455         (librt_hidden_tls_proto): Likewise.
15456         (libdl_hidden_tls_proto): Likewise.
15457         (libnss_files_hidden_tls_proto): Likewise.
15458         (libnsl_hidden_tls_proto): Likewise.
15459         (libnss_nisplus_hidden_tls_proto): Likewise.
15460         (libutil_hidden_tls_proto): Likewise.
15461
15462 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
15463
15464         [BZ #10253]
15465         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
15466         (decompose_rpath): Defer expansion to fillin_rpath.
15467         (_dl_init_paths): Pass linkmap to fillin_rpath.
15468
15469 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15470
15471         * benchtests/Makefile: Add strsep.
15472         * benchtests/bench-strsep.c: New file: strsep benchtest.
15473         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
15474
15475 2013-11-18  Andreas Schwab  <schwab@suse.de>
15476
15477         * locale/programs/locale.c (show_info) [case byte]: Check for
15478         '\377' instead of '\177'.
15479         * locale/C-monetary.c (not_available): Always use "\377".
15480         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
15481         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
15482         detect unavailable sign_posn locale elements.
15483         * locale/localeconv.c (__localeconv): For grouping and
15484         mon_grouping handle "\177" and "\377" like no grouping.
15485         (INT_ELEM): New macro.  Use it to set all numeric members.
15486         * locale/programs/ld-monetary.c (monetary_read)
15487         <tok_mon_grouping>: Normalize single -1 to the empty string.
15488         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
15489         Likewise.
15490
15491 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
15492
15493         [BZ #16055]
15494         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
15495         when we match (nil).
15496         * stdio-common/tst-sscanf.c (struct test): Add testcase.
15497
15498 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
15499
15500         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
15501         (NO_TEST_INLINE): Update value.
15502         (ERRNO_UNCHANGED): Likewise.
15503         (ERRNO_EDOM): Likewise.
15504         (ERRNO_ERANGE): Likewise.
15505         (IGNORE_RESULT): Likewise.
15506         (check_float_internal): Check signs of NaN results if
15507         TEST_NAN_SIGN used.
15508         (check_complex): Pass TEST_NAN_SIGN flag through to second
15509         check_float_internal call.
15510         (copysign_test_data): Add tests with quiet NaNs as second
15511         argument.  Use TEST_NAN_SIGN.
15512         (fabs_test_data): Add test of negative quiet NaN argument.  Use
15513         TEST_NAN_SIGN.
15514         (signbit_test_data): Add tests of quiet NaN argument.
15515         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
15516
15517         * math/gen-libm-test.pl (show_exceptions): Take extra argument
15518         $ignore_result.
15519         (parse_args): Handle function results specified as IGNORE.
15520         * math/libm-test.inc (IGNORE_RESULT): New macro.
15521         (check_float_internal): Do not check numerical result if flag
15522         IGNORE_RESULT set.
15523         (check_complex): Pass through IGNORE_RESULT to second
15524         check_float_internal call.
15525         (check_int): Do not check numerical result if flag IGNORE_RESULT
15526         set.
15527         (check_long): Likewise.
15528         (check_bool): Likewise.
15529         (check_longlong): Likewise.
15530         (lrint_test_data): Add tests of infinite and NaN arguments.
15531         (lrint_tonearest_test_data): Likewise.
15532         (lrint_towardzero_test_data): Likewise.
15533         (lrint_downward_test_data): Likewise.
15534         (lrint_upward_test_data): Likewise.
15535         (llrint_test_data): Likewise.
15536         (llrint_tonearest_test_data): Likewise.
15537         (llrint_towardzero_test_data): Likewise.
15538         (llrint_downward_test_data): Likewise.
15539         (llrint_upward_test_data): Likewise.
15540         (lround_test_data): Likewise.
15541         (llround_test_data): Likewise.
15542
15543         * math/libm-test.inc (NO_TEST_INLINE): New macro.
15544         (ERRNO_UNCHANGED): Update value.
15545         (ERRNO_EDOM): Likewise.
15546         (ERRNO_ERANGE): Likewise.
15547         (NO_TEST_INLINE_FLOAT): New macro.
15548         (NO_TEST_INLINE_DOUBLE): Likewise.
15549         (enable_test): New function.
15550         (RUN_TEST_f_f): Check enable_test before running test.
15551         (RUN_TEST_2_f): Likewise.
15552         (RUN_TEST_fff_f): Likewise.
15553         (RUN_TEST_c_f): Likewise.
15554         (RUN_TEST_f_f1): Likewise.
15555         (RUN_TEST_fF_f1): Likewise.
15556         (RUN_TEST_fI_f1): Likewise.
15557         (RUN_TEST_ffI_f1): Likewise.
15558         (RUN_TEST_c_c): Likewise.
15559         (RUN_TEST_cc_c): Likewise.
15560         (RUN_TEST_f_i): Likewise.
15561         (RUN_TEST_f_i_tg): Likewise.
15562         (RUN_TEST_ff_i_tg): Likewise.
15563         (RUN_TEST_f_b): Likewise.
15564         (RUN_TEST_f_b_tg): Likewise.
15565         (RUN_TEST_f_l): Likewise.
15566         (RUN_TEST_f_L): Likewise.
15567         (RUN_TEST_fFF_11): Likewise.
15568         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
15569         conditionals.
15570         (cosh_test_data): Likewise.
15571         (exp_test_data): Likewise.
15572         (expm1_test_data): Likewise.
15573         (hypot_test_data): Likewise.
15574         (pow_test_data): Likewise.
15575         (sinh_test_data): Likewise.
15576         (tanh_test_data): Likewise.
15577         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
15578         flags argument.
15579
15580         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
15581         tests with quiet NaN input and output.
15582         (acosh_test_data): Likewise.
15583         (asin_test_data): Likewise.
15584         (asinh_test_data): Likewise.
15585         (atan_test_data): Likewise.
15586         (atanh_test_data): Likewise.
15587         (atan2_test_data): Likewise.
15588         (cbrt_test_data): Likewise.
15589         (cos_test_data): Likewise.
15590         (cosh_test_data): Likewise.
15591         (erf_test_data): Likewise.
15592         (erfc_test_data): Likewise.
15593         (exp_test_data): Likewise.
15594         (exp10_test_data): Likewise.
15595         (exp2_test_data): Likewise.
15596         (expm1_test_data): Likewise.
15597         (hypot_test_data): Likewise.
15598         (j0_test_data): Likewise.
15599         (j1_test_data): Likewise.
15600         (jn_test_data): Likewise.
15601         (lgamma_test_data): Likewise.
15602         (log_test_data): Likewise.
15603         (log10_test_data): Likewise.
15604         (log1p_test_data): Likewise.
15605         (log2_test_data): Likewise.
15606         (pow_test_data): Likewise.
15607         (scalb_test_data): Likewise.
15608         (sin_test_data): Likewise.
15609         (sincos_test_data): Likewise.
15610         (sinh_test_data): Likewise.
15611         (tan_test_data): Likewise.
15612         (tanh_test_data): Likewise.
15613         (tgamma_test_data): Likewise.
15614         (y0_test_data): Likewise.
15615         (y1_test_data): Likewise.
15616         (yn_test_data): Likewise.
15617
15618         [BZ #16167]
15619         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
15620         argument being NaN and avoid computations with second argument in
15621         that case.
15622         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15623         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15624         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15625
15626 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
15627
15628         * locale/iso-639.def: Add Chitwani Tharu (the).
15629
15630 2013-11-14  Andreas Schwab  <schwab@suse.de>
15631
15632         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
15633         word instead of empty string.
15634
15635 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15636
15637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15638         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
15639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15640         (__fe_nomask_env): Likewise.
15641
15642 2013-11-13  Steve Ellcey  <sellcey@mips.com>
15643
15644         * benchtests/bench-timing.h: Include time.h.
15645
15646 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
15647
15648         [BZ #15997]
15649         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
15650         to 3.4.0 for x32.
15651         * sysdeps/unix/sysv/linux/configure: Regenerated.
15652
15653 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
15654
15655         [BZ #16151]
15656         * stdlib/strtod_l.c (round_and_return): Do not consider
15657         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
15658         exponent one less than half the least subnormal exponent.
15659         * stdlib/test-strtod-round-data: Add more tests.
15660         * stdlib/tst-strtod-round.c (tests): Regenerated.
15661
15662 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15663
15664         [BZ #14143]
15665         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
15666         (__fe_mask_env): Likewise.
15667         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
15668         libm_hidden_proto and add function prototype.
15669         (__fe_mask_env): Add function prototype.
15670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15671         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
15672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15673         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
15674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15675         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
15676
15677 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15678
15679         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
15680         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
15681
15682 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15683
15684         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
15685         of htab_find_slot().
15686
15687 2013-11-11  David S. Miller  <davem@davemloft.net>
15688
15689         [BZ #16150]
15690         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
15691         symbol in the non-vis3 case in static builds.
15692         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
15693         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
15694         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
15695         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
15696
15697 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
15698
15699         [BZ #387]
15700         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
15701         it is empty.
15702
15703 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15704
15705         * benchtests/Makefile: Add bench-strtod.
15706         * benchtests/bench-strtod.c: New file: strtod benchtest
15707
15708 2013-11-11  Andreas Schwab  <schwab@suse.de>
15709
15710         [BZ #16153]
15711         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
15712         terminating NUL in key length.
15713
15714 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15715
15716         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15717         Add artificial ODP entry for vDSO symbol for PPC64.
15718         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
15719         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15720
15721 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
15722
15723         [BZ #15374]
15724         * nss/getent.c (services_keys): Recognize services starting with digit.
15725
15726 2013-11-06  David S. Miller  <davem@davemloft.net>
15727
15728         [BZ #15985]
15729         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
15730         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
15731
15732 2013-11-06  Will Newton  <will.newton@linaro.org>
15733
15734         * manual/memory.texi (Malloc Examples): Remove register
15735         keyword from examples.
15736
15737 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
15738
15739         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
15740
15741 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
15742
15743         [BZ #6981]
15744         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
15745         depending on [__GCC_IEC_559 > 0].
15746         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
15747         depending on [__GCC_IEC_559_COMPLEX > 0].
15748
15749 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
15750
15751         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
15752         to iso-639.def.
15753
15754 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
15755
15756         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
15757
15758 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
15759
15760         [BZ #16112]
15761         * malloc/malloc (malloc_info): Do not handle first bin as
15762         special case.
15763
15764 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
15765
15766         * locale/iso-639.def: Add Central Nahuatl (nhn).
15767
15768 2013-11-01  Bruno Haible  <bruno@clisp.org>
15769
15770         [BZ #7003]
15771         * manual/math.texi (BSD Random): Specify range upper bound as
15772         in POSIX.
15773
15774 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
15775
15776         * locale/iso-639.def: Add Meadow Mari (mhr).
15777
15778 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
15779
15780         [BZ #14752], [BZ #15763]
15781         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
15782         Validate name.
15783         * rt/tst_shm.c: Add test for escaping directory.
15784
15785 2013-10-31  Andreas Schwab  <schwab@suse.de>
15786
15787         [BZ #15917]
15788         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
15789         followed by 'x' as part of digit sequence.
15790         * stdio-common/tst-sscanf.c (double_tests2): New tests.
15791
15792 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
15793
15794         [BZ #16037]
15795         * configure.ac: allow GNU Make 4.0 and greater.
15796         * configure: Regenerated.
15797
15798 2013-10-30  Will Newton  <will.newton@linaro.org>
15799
15800         [BZ #16038]
15801         * malloc/hooks.c (memalign_check): Limit alignment to the
15802         maximum representable power of two.
15803         * malloc/malloc.c (__libc_memalign): Likewise.
15804         * malloc/tst-memalign.c (do_test): Add test for very
15805         large alignment values.
15806         * malloc/tst-posix_memalign.c (do_test): Likewise.
15807
15808 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
15809
15810         [BZ #11087]
15811         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
15812         (munmap_chunk): Likewise.
15813         (mremap_chunk): Likewise.
15814
15815 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
15816
15817         [BZ #15799]
15818         * stdlib/div.c (div): Remove obsolete code.
15819         * stdlib/ldiv.c (ldiv): Likewise.
15820         * stdlib/lldiv.c (lldiv): Likewise.
15821
15822 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15823
15824         [BZ #16071]
15825         * nss/nss_files/files-XXX.c (get_contents_ret): New
15826         enumerator.
15827         (get_contents): New function.
15828         (internal_getent): Use it.  Expand size of LINEBUFLEN.
15829
15830 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
15831
15832         * configure.in: Moved to ...
15833         * configure.ac: ... here. Change reference to configure.in
15834         to configure.ac.
15835         * sysdeps/arm/preconfigure.ac: ... here.
15836         configure.in to configure.ac.
15837         * sysdeps/gnu/configure.in: Moved to ...
15838         * sysdeps/gnu/configure.ac: ... here.
15839         * sysdeps/i386/configure.in: Moved to ...
15840         * sysdeps/i386/configure.ac: ... here.
15841         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15842         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15843         * sysdeps/mach/configure.in: Moved to ...
15844         * sysdeps/mach/configure.ac: ... here.
15845         * sysdeps/mach/hurd/configure.in: Moved to ...
15846         * sysdeps/mach/hurd/configure.ac: ... here.
15847         * sysdeps/powerpc/configure.in: Moved to ...
15848         * sysdeps/powerpc/configure.ac: ... here.
15849         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15850         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15851         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15852         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15853         * sysdeps/s390/s390-32/configure.in: Moved to ...
15854         * sysdeps/s390/s390-32/configure.ac: ... here.
15855         * sysdeps/s390/s390-64/configure.in: Moved to ...
15856         * sysdeps/s390/s390-64/configure.ac: ... here.
15857         * sysdeps/sh/configure.in: Moved to ...
15858         * sysdeps/sh/configure.ac: ... here.
15859         * sysdeps/sparc/configure.in: Moved to ...
15860         * sysdeps/sparc/configure.ac: ... here.
15861         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15862         * sysdeps/unix/sysv/linux/configure.ac: ... here.
15863         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15864         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15865         * sysdeps/x86_64/configure.in: Moved to ...
15866         * sysdeps/x86_64/configure.ac: ... here.
15867         * sysdeps/x86_64/preconfigure.in: Moved to ...
15868         * sysdeps/x86_64/preconfigure.ac: ... here.
15869         * aclocal.m4: Change reference to configure.in to configure.ac.
15870         * config.h.in: Likewise.
15871         * manual/install.texi: Likewise.
15872         * manual/maint.texi: Likewise.
15873         * Makefile: Likewise.
15874         * malloc/Makefile: Likewise.
15875         * nscd/Makefile: Likewise.
15876         * Makeconfig: Change reference to configure.in and
15877         preconfigure.in to configure.ac and preconfigure.ac
15878         respectively.
15879         * INSTALL: Regenerated.
15880         * configure: Likewise.
15881         * sysdeps/gnu/configure: Likewise.
15882         * sysdeps/i386/configure: Likewise.
15883         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15884         * sysdeps/mach/configure: Likewise.
15885         * sysdeps/mach/hurd/configure: Likewise.
15886         * sysdeps/powerpc/configure: Likewise.
15887         * sysdeps/powerpc/powerpc32/configure: Likewise.
15888         * sysdeps/powerpc/powerpc64/configure: Likewise.
15889         * sysdeps/s390/s390-32/configure: Likewise.
15890         * sysdeps/s390/s390-64/configure: Likewise.
15891         * sysdeps/sh/configure: Likewise.
15892         * sysdeps/sparc/configure: Likewise.
15893         * sysdeps/unix/sysv/linux/configure: Likewise.
15894         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15895         * sysdeps/x86_64/configure: Likewise.
15896         * sysdeps/x86_64/preconfigure: Likewise.
15897
15898 2013-10-29  Andreas Schwab  <schwab@suse.de>
15899
15900         * stdio-common/Makefile (tst-swscanf-ENV): Define.
15901
15902 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15903
15904         * benchtests/pow-inputs: Add new inputs.
15905
15906         * benchtests/exp-inputs: Add new inputs.
15907
15908         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
15909         conditional check for return value.
15910         (__cos32): Likewise.
15911
15912 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15913
15914         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15915         to provide a boost for large inputs with word alignment.
15916         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15917         implementation based on optimized PPC64 strcpy.
15918         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15919         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15920         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15921         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15922
15923 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15924
15925         [BZ #2801]
15926         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15927
15928 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15929
15930         [BZ #14876]
15931         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15932         * time/tst-strptime.c (day_tests): Add testcase.
15933
15934 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15935
15936         [BZ #14029]
15937         * manual/pattern.texi: Acknowledge that fnmatch can fail.
15938
15939 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
15940
15941         [BZ #16074]
15942         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15943         MAP_FAILED on error.
15944
15945 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15946
15947         [BZ #16072]
15948         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15949         heap for large requests.
15950
15951 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
15952
15953         [BZ #9954]
15954         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15955         result if the result has no associated interface.
15956         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15957         interface for all 127.X.Y.Z addresses.
15958
15959 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
15960
15961         * locale/iso-639.def: Add Ligurian (lij)
15962
15963 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
15964
15965         [BZ #15825]
15966         * sunrpc/rpc_main.c: Document rpcgen -5.
15967
15968 2013-10-19  Michael Stahl  <mstahl@redhat.com>
15969
15970         * elf/rtld.c (do_preload): Print the reason why preloading failed.
15971
15972 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
15973
15974         [BZ #10278]
15975         * posix/glob.c: Match only directories when trailing slash is present.
15976         * posix/tst-gnuglob.c (my_opendir): Do not open files.
15977         (main): Add testcase.
15978
15979 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
15980
15981         [BZ #15670]
15982         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15983
15984 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
15985
15986         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15987         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15988         AUTH_DES and cindex for FIPS 140-2.
15989         (DES Encryption): Add cindex FIPS 46-3.
15990
15991         * locale/locarchive.h (struct locarhandle): Add fname.
15992         * locale/programs/localedef.c (main): Pass ARGV[remaining]
15993         if an optional argument was specified to --list-archive,
15994         otherwise NULL.
15995         * locale/programs/locarchive.c (show_archive_content): Take new
15996         argument fname and pass it via ah.fname to open_archive.
15997         * locale/programs/localedef.h: Update decl.
15998         (open_archive): If AH->fname is non-null, open that file
15999         rather than the default file name, and don't ignore ENOENT.
16000         (create_archive): Set AH.fname to NULL.
16001         (delete_locales_from_archive): Likewise.
16002         (add_locales_to_archive): Likewise.
16003         * locale/programs/locfile.c (write_all_categories): Likewise.
16004
16005 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
16006             Aldy Hernandez  <aldyh@redhat.com>
16007
16008         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
16009         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
16010         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
16011         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
16012         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
16013         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
16014         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
16015         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
16016         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
16017         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
16018         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
16019         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
16020         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
16021         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
16022         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
16023         Likewise.
16024         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
16025         Likewise.
16026         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
16027         Likewise.
16028         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
16029         Likewise.
16030         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
16031         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
16032         Likewise.
16033         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
16034         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
16035         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
16036         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
16037         Likewise.
16038         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
16039         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
16040         * sysdeps/powerpc/preconfigure: Likewise.
16041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
16042         Likewise.
16043         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
16044         Replace contents of file by #include of <fenv_libc.h>.
16045         * sysdeps/powerpc/soft-fp/sfp-machine.h
16046         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
16047         and <sys/prctl.h>.
16048         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
16049         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
16050         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
16051         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
16052         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
16053         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
16054         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
16055         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
16056         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
16057         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
16058         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
16059         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
16060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16061         Allow copysignl PLT reference to be missing.
16062
16063 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
16064             Joseph Myers  <joseph@codesourcery.com
16065
16066         [BZ #15948]
16067         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
16068         single character.
16069         (add_to_tablewc): Assert sequence of wide characters is nonempty.
16070
16071 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16072
16073         * elf/tst-tls-dlinfo.c: Don't include tls.h.
16074         * elf/tst-tls1.c: Likewise.
16075         * elf/tst-tls10.h: Likewise.
16076         * elf/tst-tls14.c: Likewise.
16077         * elf/tst-tls2.c: Likewise.
16078         * elf/tst-tls3.c: Likewise.
16079         * elf/tst-tls4.c: Likewise.
16080         * elf/tst-tls5.c: Likewise.
16081         * elf/tst-tls6.c: Likewise.
16082         * elf/tst-tls7.c: Likewise.
16083         * elf/tst-tls8.c: Likewise.
16084         * elf/tst-tls9.c: Likewise.
16085         * elf/tst-tlsmod1.c: Likewise.
16086         * elf/tst-tlsmod13.c: Likewise.
16087         * elf/tst-tlsmod13a.c: Likewise.
16088         * elf/tst-tlsmod14a.c: Likewise.
16089         * elf/tst-tlsmod16a.c: Likewise.
16090         * elf/tst-tlsmod16b.c: Likewise.
16091         * elf/tst-tlsmod2.c: Likewise.
16092         * elf/tst-tlsmod3.c: Likewise.
16093         * elf/tst-tlsmod4.c: Likewise.
16094         * elf/tst-tlsmod5.c: Likewise.
16095         * elf/tst-tlsmod6.c: Likewise.
16096
16097 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
16098
16099         [BZ #12486]
16100         * malloc/malloc.c: remove checks for statistics.
16101
16102 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
16103
16104         [BZ #15277]
16105         * inet/inet_net.c (inet_network): Detect additional invalid strings.
16106         * inet/tst-network.c: Add testcase.
16107
16108 2013-10-17  Andreas Schwab  <schwab@suse.de>
16109
16110         [BZ #15218]
16111         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
16112         to determine canonical name.
16113
16114 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
16115
16116         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
16117         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
16118         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16119         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16120         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16121         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16122         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16123         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16124         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
16125         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16126         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16127         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16128         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16129         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16130         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16131         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16132         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16133         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16134         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16135         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16136         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16137         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16138         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16139         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
16140         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
16141         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16142         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16143         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
16144         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16145         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
16146         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16147         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16148         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16149         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16150         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16151         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16152         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16153         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16154         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16155         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16156         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16157         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16158         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16159         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16160         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16161         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16162         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16163         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16164         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16165         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16166         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16167         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16168         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16169         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16170         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16171         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16172         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16173         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16174
16175 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
16176
16177         [BZ #16041]
16178         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
16179         make result into a quiet NaN.
16180
16181 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
16182
16183         * soft-fp/adddf3.c: Fix horizontal whitespace.
16184         * soft-fp/addsf3.c: Likewise.
16185         * soft-fp/addtf3.c: Likewise.
16186         * soft-fp/divdf3.c: Likewise.
16187         * soft-fp/divsf3.c: Likewise.
16188         * soft-fp/divtf3.c: Likewise.
16189         * soft-fp/double.h: Likewise.
16190         * soft-fp/eqdf2.c: Likewise.
16191         * soft-fp/eqsf2.c: Likewise.
16192         * soft-fp/eqtf2.c: Likewise.
16193         * soft-fp/extenddftf2.c: Likewise.
16194         * soft-fp/extended.h: Likewise.
16195         * soft-fp/extendsfdf2.c: Likewise.
16196         * soft-fp/extendsftf2.c: Likewise.
16197         * soft-fp/extendxftf2.c: Likewise.
16198         * soft-fp/fixdfdi.c: Likewise.
16199         * soft-fp/fixdfsi.c: Likewise.
16200         * soft-fp/fixdfti.c: Likewise.
16201         * soft-fp/fixsfdi.c: Likewise.
16202         * soft-fp/fixsfsi.c: Likewise.
16203         * soft-fp/fixsfti.c: Likewise.
16204         * soft-fp/fixtfdi.c: Likewise.
16205         * soft-fp/fixtfsi.c: Likewise.
16206         * soft-fp/fixtfti.c: Likewise.
16207         * soft-fp/fixunsdfdi.c: Likewise.
16208         * soft-fp/fixunsdfsi.c: Likewise.
16209         * soft-fp/fixunsdfti.c: Likewise.
16210         * soft-fp/fixunssfdi.c: Likewise.
16211         * soft-fp/fixunssfsi.c: Likewise.
16212         * soft-fp/fixunssfti.c: Likewise.
16213         * soft-fp/fixunstfdi.c: Likewise.
16214         * soft-fp/fixunstfsi.c: Likewise.
16215         * soft-fp/fixunstfti.c: Likewise.
16216         * soft-fp/floatdidf.c: Likewise.
16217         * soft-fp/floatdisf.c: Likewise.
16218         * soft-fp/floatditf.c: Likewise.
16219         * soft-fp/floatsidf.c: Likewise.
16220         * soft-fp/floatsisf.c: Likewise.
16221         * soft-fp/floatsitf.c: Likewise.
16222         * soft-fp/floattidf.c: Likewise.
16223         * soft-fp/floattisf.c: Likewise.
16224         * soft-fp/floattitf.c: Likewise.
16225         * soft-fp/floatundidf.c: Likewise.
16226         * soft-fp/floatundisf.c: Likewise.
16227         * soft-fp/floatunditf.c: Likewise.
16228         * soft-fp/floatunsidf.c: Likewise.
16229         * soft-fp/floatunsisf.c: Likewise.
16230         * soft-fp/floatunsitf.c: Likewise.
16231         * soft-fp/floatuntidf.c: Likewise.
16232         * soft-fp/floatuntisf.c: Likewise.
16233         * soft-fp/floatuntitf.c: Likewise.
16234         * soft-fp/fmadf4.c: Likewise.
16235         * soft-fp/fmasf4.c: Likewise.
16236         * soft-fp/fmatf4.c: Likewise.
16237         * soft-fp/gedf2.c: Likewise.
16238         * soft-fp/gesf2.c: Likewise.
16239         * soft-fp/getf2.c: Likewise.
16240         * soft-fp/ledf2.c: Likewise.
16241         * soft-fp/lesf2.c: Likewise.
16242         * soft-fp/letf2.c: Likewise.
16243         * soft-fp/muldf3.c: Likewise.
16244         * soft-fp/mulsf3.c: Likewise.
16245         * soft-fp/multf3.c: Likewise.
16246         * soft-fp/negdf2.c: Likewise.
16247         * soft-fp/negsf2.c: Likewise.
16248         * soft-fp/negtf2.c: Likewise.
16249         * soft-fp/op-1.h: Likewise.
16250         * soft-fp/op-2.h: Likewise.
16251         * soft-fp/op-4.h: Likewise.
16252         * soft-fp/op-8.h: Likewise.
16253         * soft-fp/op-common.h: Likewise.
16254         * soft-fp/quad.h: Likewise.
16255         * soft-fp/single.h: Likewise.
16256         * soft-fp/soft-fp.h: Likewise.
16257         * soft-fp/sqrtdf2.c: Likewise.
16258         * soft-fp/sqrtsf2.c: Likewise.
16259         * soft-fp/sqrttf2.c: Likewise.
16260         * soft-fp/subdf3.c: Likewise.
16261         * soft-fp/subsf3.c: Likewise.
16262         * soft-fp/subtf3.c: Likewise.
16263         * soft-fp/truncdfsf2.c: Likewise.
16264         * soft-fp/trunctfdf2.c: Likewise.
16265         * soft-fp/trunctfsf2.c: Likewise.
16266         * soft-fp/trunctfxf2.c: Likewise.
16267         * soft-fp/unorddf2.c: Likewise.
16268         * soft-fp/unordsf2.c: Likewise.
16269         * soft-fp/unordtf2.c: Likewise.
16270
16271 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
16272
16273         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
16274         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
16275
16276 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
16277
16278         * elf/dl-libc.c: Clear initfini list after freeing.
16279
16280 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
16281
16282         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
16283         * soft-fp/addsf3.c: Likewise.
16284         * soft-fp/addtf3.c: Likewise.
16285         * soft-fp/divdf3.c: Likewise.
16286         * soft-fp/divsf3.c: Likewise.
16287         * soft-fp/divtf3.c: Likewise.
16288         * soft-fp/double.h: Likewise.
16289         * soft-fp/eqdf2.c: Likewise.
16290         * soft-fp/eqsf2.c: Likewise.
16291         * soft-fp/eqtf2.c: Likewise.
16292         * soft-fp/extenddftf2.c: Likewise.
16293         * soft-fp/extended.h: Likewise.
16294         * soft-fp/extendsfdf2.c: Likewise.
16295         * soft-fp/extendsftf2.c: Likewise.
16296         * soft-fp/extendxftf2.c: Likewise.
16297         * soft-fp/fixdfdi.c: Likewise.
16298         * soft-fp/fixdfsi.c: Likewise.
16299         * soft-fp/fixdfti.c: Likewise.
16300         * soft-fp/fixsfdi.c: Likewise.
16301         * soft-fp/fixsfsi.c: Likewise.
16302         * soft-fp/fixsfti.c: Likewise.
16303         * soft-fp/fixtfdi.c: Likewise.
16304         * soft-fp/fixtfsi.c: Likewise.
16305         * soft-fp/fixtfti.c: Likewise.
16306         * soft-fp/fixunsdfdi.c: Likewise.
16307         * soft-fp/fixunsdfsi.c: Likewise.
16308         * soft-fp/fixunsdfti.c: Likewise.
16309         * soft-fp/fixunssfdi.c: Likewise.
16310         * soft-fp/fixunssfsi.c: Likewise.
16311         * soft-fp/fixunssfti.c: Likewise.
16312         * soft-fp/fixunstfdi.c: Likewise.
16313         * soft-fp/fixunstfsi.c: Likewise.
16314         * soft-fp/fixunstfti.c: Likewise.
16315         * soft-fp/floatdidf.c: Likewise.
16316         * soft-fp/floatdisf.c: Likewise.
16317         * soft-fp/floatditf.c: Likewise.
16318         * soft-fp/floatsidf.c: Likewise.
16319         * soft-fp/floatsisf.c: Likewise.
16320         * soft-fp/floatsitf.c: Likewise.
16321         * soft-fp/floattidf.c: Likewise.
16322         * soft-fp/floattisf.c: Likewise.
16323         * soft-fp/floattitf.c: Likewise.
16324         * soft-fp/floatundidf.c: Likewise.
16325         * soft-fp/floatundisf.c: Likewise.
16326         * soft-fp/floatunsidf.c: Likewise.
16327         * soft-fp/floatunsisf.c: Likewise.
16328         * soft-fp/floatuntidf.c: Likewise.
16329         * soft-fp/floatuntisf.c: Likewise.
16330         * soft-fp/floatuntitf.c: Likewise.
16331         * soft-fp/fmadf4.c: Likewise.
16332         * soft-fp/fmasf4.c: Likewise.
16333         * soft-fp/fmatf4.c: Likewise.
16334         * soft-fp/gedf2.c: Likewise.
16335         * soft-fp/gesf2.c: Likewise.
16336         * soft-fp/getf2.c: Likewise.
16337         * soft-fp/ledf2.c: Likewise.
16338         * soft-fp/lesf2.c: Likewise.
16339         * soft-fp/letf2.c: Likewise.
16340         * soft-fp/muldf3.c: Likewise.
16341         * soft-fp/mulsf3.c: Likewise.
16342         * soft-fp/multf3.c: Likewise.
16343         * soft-fp/negdf2.c: Likewise.
16344         * soft-fp/negsf2.c: Likewise.
16345         * soft-fp/negtf2.c: Likewise.
16346         * soft-fp/op-1.h: Likewise.
16347         * soft-fp/op-2.h: Likewise.
16348         * soft-fp/op-4.h: Likewise.
16349         * soft-fp/op-8.h: Likewise.
16350         * soft-fp/op-common.h: Likewise.
16351         * soft-fp/quad.h: Likewise.
16352         * soft-fp/single.h: Likewise.
16353         * soft-fp/soft-fp.h: Likewise.
16354         * soft-fp/sqrtdf2.c: Likewise.
16355         * soft-fp/sqrtsf2.c: Likewise.
16356         * soft-fp/sqrttf2.c: Likewise.
16357         * soft-fp/subdf3.c: Likewise.
16358         * soft-fp/subsf3.c: Likewise.
16359         * soft-fp/subtf3.c: Likewise.
16360         * soft-fp/truncdfsf2.c: Likewise.
16361         * soft-fp/trunctfdf2.c: Likewise.
16362         * soft-fp/trunctfsf2.c: Likewise.
16363         * soft-fp/trunctfxf2.c: Likewise.
16364         * soft-fp/unorddf2.c: Likewise.
16365         * soft-fp/unordsf2.c: Likewise.
16366         * soft-fp/unordtf2.c: Likewise.
16367
16368 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
16369
16370         [BZ #15672]
16371         * misc/error.c (error_tail): Fix possible buffer overflow.
16372
16373 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
16374
16375         [BZ #13028]
16376         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
16377         address.
16378
16379 2013-10-14  P. J. McDermott  <pj@pehjota.net>
16380
16381         [BZ #832]
16382         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
16383         testing pipefail option.
16384
16385 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
16386
16387         * soft-fp/double.h: Indent preprocessor directives inside #if.
16388         * soft-fp/extended.h: Likewise.
16389         * soft-fp/op-2.h: Likewise.
16390         * soft-fp/op-4.h: Likewise.
16391         * soft-fp/op-common.h: Likewise.
16392         * soft-fp/quad.h: Likewise.
16393         * soft-fp/single.h: Likewise.
16394         * soft-fp/soft-fp.h: Likewise.
16395
16396 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
16397
16398         * iconv/iconv_prog.c: Fix typos.
16399         * stdio-common/psiginfo-data.h: Likewise.
16400
16401 2013-10-12   Reuben Thomas <rrt@sc3d.org>
16402
16403         [BZ #15764]
16404         * locale/setlocale.c: Fix typo.
16405
16406 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
16407
16408         [BZ #16036]
16409         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
16410         signaling NaN arguments.
16411         * soft-fp/unordsf2.c (__unordsf2): Likewise.
16412         * soft-fp/unordtf2.c (__unordtf2): Likewise.
16413
16414         [BZ #14910]
16415         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
16416         unordered operands.
16417         * soft-fp/gesf2.c (__gesf2): Likewise.
16418         * soft-fp/getf2.c (__getf2): Likewise.
16419         * soft-fp/ledf2.c (__ledf2): Likewise.
16420         * soft-fp/lesf2.c (__lesf2): Likewise.
16421         * soft-fp/letf2.c (__letf2): Likewise.
16422
16423         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
16424         * soft-fp/eqsf2.c (__eqsf2): Likewise.
16425         * soft-fp/eqtf2.c (__eqtf2): Likewise.
16426         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
16427         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
16428         * soft-fp/fixdfti.c (__fixdfti): Likewise.
16429         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
16430         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
16431         * soft-fp/fixsfti.c (__fixsfti): Likewise.
16432         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
16433         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
16434         * soft-fp/fixtfti.c (__fixtfti): Likewise.
16435         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
16436         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
16437         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
16438         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
16439         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
16440         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
16441         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
16442         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
16443         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
16444         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
16445         * soft-fp/floatdisf.c (__floatdisf): Likewise.
16446         * soft-fp/floatsisf.c (__floatsisf): Likewise.
16447         * soft-fp/floattidf.c (__floattidf): Likewise.
16448         * soft-fp/floattisf.c (__floattisf): Likewise.
16449         * soft-fp/floattitf.c (__floattitf): Likewise.
16450         * soft-fp/floatundidf.c (__floatundidf): Likewise.
16451         * soft-fp/floatundisf.c (__floatundisf): Likewise.
16452         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
16453         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
16454         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
16455         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
16456         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
16457         * soft-fp/gesf2.c (__gesf2): Likewise.
16458         * soft-fp/getf2.c (__getf2): Likewise.
16459         * soft-fp/ledf2.c (__ledf2): Likewise.
16460         * soft-fp/lesf2.c (__lesf2): Likewise.
16461         * soft-fp/letf2.c (__letf2): Likewise.
16462
16463         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
16464         Undefine and redefine.
16465         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
16466         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
16467         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
16468         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
16469         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16470         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
16471         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16472         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
16473         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16474         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
16475         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16476         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
16477         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16478         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
16479         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16480
16481         [BZ #16032]
16482         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
16483         without decrementing exponent if mantissa >= that for the
16484         denominator, not >.
16485         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
16486         denominator, not >.  Decrement exponent in < case instead of
16487         incrementing in >= case.
16488         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
16489         without decrementing exponent if mantissa >= that for the
16490         denominator, not >.
16491
16492         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
16493         computing saturated result for unsigned overflow.
16494
16495 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16496             Jeff Law  <law@redhat.com>
16497
16498         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
16499         (atan2Mp): Add systemtap probe marker.
16500         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
16501         (__ieee754_log): Add systemtap probe marker.
16502         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
16503         (atanMp): Add systemtap probe marker.
16504         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
16505         (tanMp): Add systemtap probe marker.
16506         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
16507         (__slowexp): Add systemtap probe marker.
16508         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
16509         (__slowpow): Add systemtap probe marker.
16510         * manual/probes.texi: Document probes.
16511
16512 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
16513
16514         [BZ #15362]
16515         * libio/fileops.c (_IO_new_file_write): Return count of bytes
16516         written.
16517         (_IO_new_file_xsputn): Don't return EOF if nothing has been
16518         written.
16519         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
16520         written to buffer but not flushed.
16521         * libio/iofwrite_u.c:  Likewise.
16522         * libio/iopadn.c:  Return bytes returned even if EOF was
16523         encountered.
16524         * libio/iowpadn.c:  Likewise.
16525         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
16526         if _IO_padn does not write the whole buffer.
16527         [!COMPILE_WPRINTF] (PAD): Likewise.
16528
16529 2013-10-10  David S. Miller  <davem@davemloft.net>
16530
16531         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
16532         directory block.
16533
16534 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
16535
16536         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
16537         instead of FSF address.
16538         * soft-fp/fixdfti.c: Likewise.
16539         * soft-fp/fixsfti.c: Likewise.
16540         * soft-fp/fixtfti.c: Likewise.
16541         * soft-fp/fixunsdfti.c: Likewise.
16542         * soft-fp/fixunssfti.c: Likewise.
16543         * soft-fp/fixunstfti.c: Likewise.
16544         * soft-fp/floattidf.c: Likewise.
16545         * soft-fp/floattisf.c: Likewise.
16546         * soft-fp/floattitf.c: Likewise.
16547         * soft-fp/floatuntidf.c: Likewise.
16548         * soft-fp/floatuntisf.c: Likewise.
16549         * soft-fp/floatuntitf.c: Likewise.
16550         * soft-fp/trunctfxf2.c: Likewise.
16551
16552         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
16553         * soft-fp/fixdfti.c: Likewise.
16554         * soft-fp/fixsfti.c: Likewise.
16555         * soft-fp/fixtfti.c: Likewise.
16556         * soft-fp/fixunsdfti.c: Likewise.
16557         * soft-fp/fixunssfti.c: Likewise.
16558         * soft-fp/fixunstfti.c: Likewise.
16559         * soft-fp/floattidf.c: Likewise.
16560         * soft-fp/floattisf.c: Likewise.
16561         * soft-fp/floattitf.c: Likewise.
16562         * soft-fp/floatuntidf.c: Likewise.
16563         * soft-fp/floatuntisf.c: Likewise.
16564         * soft-fp/floatuntitf.c: Likewise.
16565         * soft-fp/trunctfxf2.c: Likewise.
16566
16567 2013-10-10  David S. Miller  <davem@davemloft.net>
16568
16569         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16570
16571 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
16572
16573         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16574         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
16575         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
16576         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
16577         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
16578         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
16579         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
16580
16581         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
16582         for NaNs before doing comparisons on argument.
16583         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16584         Likewise.
16585
16586 2013-10-10  Will Newton  <will.newton@linaro.org>
16587
16588         * malloc/hooks.c (memalign_check): Ensure the value of bytes
16589         passed to _int_memalign does not overflow.
16590
16591 2013-10-10  Torvald Riegel  <triegel@redhat.com>
16592
16593         * scripts/bench.pl: Add include-sources directive.
16594         * benchtests/README: Update documentation.
16595
16596 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
16597
16598         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
16599         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
16600         instead of FP_INIT_ROUNDMODE.
16601         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
16602         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
16603
16604         [BZ #16034]
16605         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
16606         copy class of input value.
16607         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
16608         not handle exceptions.
16609         * soft-fp/negsf2.c (__negsf2): Likewise.
16610         * soft-fp/negtf2.c (__negtf2): Likewise.
16611         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
16612
16613 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
16614
16615         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
16616         semicolon.  From Linux kernel.
16617
16618 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
16619
16620         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
16621
16622 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
16623
16624         [BZ #156]
16625         * manual/socket.texi: Added statement about buffer
16626         for gethostbyname2_r.
16627
16628 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
16629
16630         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
16631         Use .p2align directive instead, throughout.
16632         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16633         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
16634         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
16635         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16636         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16637         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16638         * sysdeps/x86_64/strchr.S: Likewise.
16639         * sysdeps/x86_64/strrchr.S: Likewise.
16640
16641 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
16642
16643         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
16644
16645         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
16646
16647         * sysdeps/generic/math_private.h (__mpsin1): Remove
16648         declaration.
16649         (__mpcos1): Likewise.
16650         (__mpsin): New argument __range_reduce.
16651         (__mpcos): Likewise.
16652         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16653         (slow): Use __mpsin and __mpcos.
16654         (slow1): Likewise.
16655         (slow2): Likewise.
16656         (sloww): Likewise.
16657         (sloww1): Likewise.
16658         (sloww2): Likewise.
16659         (bsloww): Likewise.
16660         (bsloww1): Likewise.
16661         (bsloww2): Likewise.
16662         (cslow2): Likewise.
16663         (csloww): Likewise.
16664         (csloww1): Likewise.
16665         (csloww2): Likewise.
16666         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
16667         range_reduce.  Merge in __mpsin1.
16668         (__mpcos): Likewise.
16669         (__mpsin1): Remove.
16670         (__mpcos1): Likewise.
16671
16672 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
16673
16674         * locale/loadlocale.c (_nl_intern_locale_data): Use
16675         LOCFILE_ALIGNED_P.
16676         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
16677         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
16678         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
16679         obstack data is appropriately aligned.
16680         (obstack_int32_grow_fast): Likewise.
16681         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
16682         * locale/programs/locfile.c (add_locale_uint32): Likewise.
16683         (add_locale_uint32_array): Likewise.
16684
16685 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
16686
16687         * benchtests/Makefile: Remove ARGLIST and RET variables.
16688         ($(objpfx)bench-%.c): Pass only function name to the script.
16689         * benchtests/README: Update documentation.
16690         * benchtests/acos-inputs: Add new directives.
16691         * benchtests/acosh-inputs: Likewise.
16692         * benchtests/asin-inputs: Likewise.
16693         * benchtests/asinh-inputs: Likewise.
16694         * benchtests/atan-inputs: Likewise.
16695         * benchtests/atanh-inputs: Likewise.
16696         * benchtests/cos-inputs: Likewise.
16697         * benchtests/cosh-inputs: Likewise.
16698         * benchtests/exp-inputs: Likewise.
16699         * benchtests/log-inputs: Likewise.
16700         * benchtests/pow-inputs: Likewise.
16701         * benchtests/rint-inputs: Likewise.
16702         * benchtests/sin-inputs: Likewise.
16703         * benchtests/sinh-inputs: Likewise.
16704         * benchtests/tan-inputs: Likewise.
16705         * benchtests/tanh-inputs: Likewise.
16706         * scripts/bench.pl: Add support for new directives.
16707
16708 2013-10-07  Alan Modra  <amodra@gmail.com>
16709
16710         * README: Fix careless merge.
16711
16712 2013-10-05  Alan Modra  <amodra@gmail.com>
16713
16714         * NEWS: Mention powerpc64le support and bugs fixed.
16715         * README: Both big-endian and little-endian powerpc64 supported.
16716
16717 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16718
16719         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
16720         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
16721         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
16722         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
16723
16724 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
16725
16726         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
16727         match prototype.
16728
16729 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
16730
16731         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
16732         Move -mhard-float appending from
16733         ports/sysdeps/powerpc/powerpc32/Makefile.
16734         [$(with-fp) = yes] (ASFLAGS): Likewise.
16735         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
16736         * sysdeps/powerpc/nofpu: Move directory from
16737         ports/sysdeps/powerpc/nofpu.
16738         * sysdeps/powerpc/soft-fp: Move directory from
16739         ports/sysdeps/powerpc/soft-fp.
16740         * sysdeps/powerpc/powerpc32/405: Move directory from
16741         ports/sysdeps/powerpc/powerpc32/405.
16742         * sysdeps/powerpc/powerpc32/440: Move directory from
16743         ports/sysdeps/powerpc/powerpc32/440.
16744         * sysdeps/powerpc/powerpc32/464: Move directory from
16745         ports/sysdeps/powerpc/powerpc32/464.
16746         * sysdeps/powerpc/powerpc32/476: Move directory from
16747         ports/sysdeps/powerpc/powerpc32/476.
16748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
16749         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
16750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
16751         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
16752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
16753         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
16754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
16755         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
16756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
16757         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
16758         * README: Update for powerpc-*-linux-gnu software floating point
16759         support in libc.
16760
16761         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
16762         case to powerpc/powerpc32*.
16763         * sysdeps/unix/sysv/linux/configure: Regenerated.
16764
16765         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
16766         (_FPU_MASK_OM): Define as 0x04.
16767         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
16768         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
16769         0x00c10080.
16770         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
16771         0x0000003c.
16772         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
16773
16774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
16775         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16776         getcontext_e500.
16777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
16778         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16779         setcontext_e500.
16780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
16781         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
16782         and setcontext_e500.
16783
16784 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
16785
16786         * locale/iso-3166.def: Update iso-1366.def and related occurrences
16787
16788 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16789
16790         * manual/threads.texi (Default Thread Attributes): Fix typo.
16791
16792 2013-10-04  Will Newton  <will.newton@linaro.org>
16793
16794         * malloc/Makefile: Add tst-memalign.
16795         * malloc/tst-memalign.c: New file.
16796
16797         * malloc/tst-posix_memalign.c: Add comments.
16798         (do_test): Add comments and call free on all potentially
16799         allocated pointers. Add space after cast.
16800
16801         * malloc/tst-pvalloc.c: Add comments.
16802         (do_test): Add comments and call free on all potentially
16803         allocated pointers. Remove duplicate check for NULL pointer.
16804         Add space after cast.
16805
16806         * malloc/tst-valloc.c: Add comments.
16807         (do_test): Add comments and call free on all potentially
16808         allocated pointers. Remove duplicate check for NULL pointer.
16809         Add space after cast.
16810
16811 2013-10-04  Alan Modra  <amodra@gmail.com>
16812
16813         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16814         Use stdint types in rather than __attribute__((mode())).
16815         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16816
16817 2013-10-04  Alan Modra  <amodra@gmail.com>
16818
16819         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16820         Correct handling of unaligned relocs for little-endian.
16821         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16822
16823 2013-10-04  Alan Modra  <amodra@gmail.com>
16824
16825         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
16826         * configure: Regenerate.
16827         * nptl/shlib-versions: Powerpc*le starts at 2.18.
16828         * shlib-versions: Likewise.
16829
16830 2013-10-04  Alan Modra  <amodra@gmail.com>
16831
16832         * string/tester.c (test_memrchr): Increment reported test cycle.
16833
16834 2013-10-04  Alan Modra  <amodra@gmail.com>
16835
16836         * string/test-memcpy.c (do_one_test): When reporting errors, print
16837         string address and don't overrun end of string.
16838
16839 2013-10-04  Alan Modra  <amodra@gmail.com>
16840
16841         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16842         insrdi.  Make better use of reg selection to speed exit slightly.
16843         Schedule entry path a little better.  Remove useless "are we done"
16844         checks on entry to main loop.  Handle wrapping around zero address.
16845         Correct main loop count.  Handle single left-over word from main
16846         loop inline rather than by using loop_small.  Remove extra word
16847         case in loop_small caused by wrong loop count.  Add little-endian
16848         support.
16849         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16850         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
16851         cache hint.
16852         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16853         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16854         support.  Avoid rlwimi.
16855         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16856
16857 2013-10-04  Alan Modra  <amodra@gmail.com>
16858
16859         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
16860         insrdi.  Formatting.
16861         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16862         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16863         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16864         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16865         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16866         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16867
16868 2013-10-04  Alan Modra  <amodra@gmail.com>
16869
16870         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16871         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16872         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16873         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16874         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16875         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16876         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16877         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16878         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
16879         use of regs.  Use power7 mtocrf.  Tidy function tails.
16880
16881 2013-10-04  Alan Modra  <amodra@gmail.com>
16882
16883         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16884         Formatting.  Consistently use rXXX register defines or rN defines.
16885         Use early exit labels that avoid restoring unused non-volatile regs.
16886         Make cr field use more consistent with rWORDn compares.  Rename
16887         regs used as shift registers for unaligned loop, using rN defines
16888         for short lifetime/multiple use regs.
16889         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16890         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
16891         addi 1,1,64 to pop stack frame.  Simplify return value code.
16892         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16893
16894 2013-10-04  Alan Modra  <amodra@gmail.com>
16895
16896         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16897         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
16898         rather than rlwimi.
16899         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16900         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16901         little-endian support.  Correct typos.
16902         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
16903         rather than rlwimi.
16904         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
16905         in loop and entry code to keep "and." results.
16906         (strchr): Add little-endian support.  Comment.  Move cntlzd
16907         earlier in tail.
16908         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16909
16910 2013-10-04  Alan Modra  <amodra@gmail.com>
16911
16912         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16913         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16914         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16915         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16916
16917 2013-10-04  Alan Modra  <amodra@gmail.com>
16918
16919         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16920         (rTMP): Define as r11.
16921         (strcmp): Add little-endian support.  Optimise tail.
16922         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16923         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16924         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16925         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16926         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16927         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16928         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16929
16930 2013-10-04  Alan Modra  <amodra@gmail.com>
16931
16932         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16933         little-endian support.  Remove unnecessary "are we done" tests.
16934         Handle "s" wrapping around zero and extremely large "size".
16935         Correct main loop count.  Handle single left-over word from main
16936         loop inline rather than by using small_loop.  Correct comments.
16937         Delete "zero" tail, use "end_max" instead.
16938         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16939
16940 2013-10-04  Alan Modra  <amodra@gmail.com>
16941
16942         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16943         support.  Don't branch over align.
16944         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16945         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16946         support.  Rearrange tmp reg use to suit.  Comment.
16947         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16948
16949 2013-10-04  Alan Modra  <amodra@gmail.com>
16950
16951         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16952
16953 2013-10-04  Alan Modra  <amodra@gmail.com>
16954
16955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16956         conditional form of branch and link when obtaining pc.
16957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16958
16959 2013-10-04  Alan Modra  <amodra@gmail.com>
16960
16961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16962         HIWORD/LOWORD.
16963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16965
16966 2013-10-04  Alan Modra  <amodra@gmail.com>
16967
16968         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16969         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16970         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16971         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16972         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16973         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16974         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16975         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16976         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16977         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16978
16979 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16980             Alistair Popple <alistair@ozlabs.au.ibm.com>
16981             Alan Modra <amodra@gmail.com>
16982
16983         [BZ #15723]
16984         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16985         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16986         _dl_hwcap access for little-endian.
16987         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
16988         destroy vmx regs when saving unaligned.
16989         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16990         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
16991         destroy vmx regs when saving unaligned.
16992
16993 2013-10-04  Alan Modra  <amodra@gmail.com>
16994
16995         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16996         Don't use a union to pack hi/low value.
16997
16998 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16999
17000         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
17001         for little-endian.
17002         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17003         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
17004         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17005         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17006         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17007
17008 2013-10-04  Alan Modra  <amodra@gmail.com>
17009
17010         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
17011         constants to usual value for .cst8 section, and remove redundant
17012         high address load.
17013         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
17014         constant for 0x1p52.  Load little-endian words of double from
17015         correct stack offsets.
17016
17017 2013-10-04  Alan Modra  <amodra@gmail.com>
17018
17019         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
17020         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
17021         words of double from correct stack offsets.
17022         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
17023         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
17024         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17025         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17026         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17027         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17028         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17029         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
17030         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
17031         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17032         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17033         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17034         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17035         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17036         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17037         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
17038         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
17039
17040 2013-10-04  Alan Modra  <amodra@gmail.com>
17041
17042         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
17043         64-bit int/double union.
17044         (_FPU_SETCW): Likewise.
17045         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
17046         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
17047
17048 2013-10-04  Alan Modra  <amodra@gmail.com>
17049
17050         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
17051         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
17052
17053 2013-10-04  Alan Modra  <amodra@gmail.com>
17054
17055         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
17056         use vector int constants.
17057         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
17058
17059 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
17060
17061         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
17062         array with long long.
17063         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
17064         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
17065         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
17066         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
17067         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
17068         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
17069         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
17070         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
17071         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
17072         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
17073         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
17074         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
17075         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
17076
17077 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
17078
17079         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
17080         (__signbit): Likewise.  Correct for little-endian.
17081         (__signbitl): Call __signbit.
17082         (lrint): Correct for little-endian.
17083         (lrintf): Call lrint.
17084
17085 2013-10-04  Alan Modra  <amodra@gmail.com>
17086
17087         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
17088         union 32-bit int array member with 64-bit int array.
17089         (t515, tm256): Double rather than long double.
17090         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
17091
17092 2013-10-04  Alan Modra  <amodra@gmail.com>
17093
17094         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
17095         Delete.
17096         (IEEE854_LONG_DOUBLE_BIAS): Delete.
17097         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
17098         version of math_ldbl.h.
17099
17100 2013-10-04  Alan Modra  <amodra@gmail.com>
17101
17102         [BZ #15734], [BZ #15735]
17103         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
17104         all uses of ieee875 long double macros and unions.  Simplify test
17105         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
17106         ldbl_extract_mantissa value for ix,iy exponents.  Properly
17107         normalize after ldbl_extract_mantissa, and don't add hidden bit
17108         already handled.  Don't treat low word of ieee854 mantissa like
17109         low word of IBM long double and mask off bit when testing for
17110         zero.
17111         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
17112         all uses of ieee875 long double macros and unions.  Simplify tests
17113         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
17114         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
17115         two1022, instead use their values.  Recognise that tests for large
17116         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
17117         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
17118         Rewrite all uses of ieee875 long double macros and unions.  Simplify
17119         test for 0.0L and nan.  Correct negation.
17120         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
17121         ieee875 long double macros and unions.  Correct output for large
17122         magnitude x.  Correct absolute value calculation.
17123         (__erfcl): Likewise.
17124         * math/libm-test.inc: Add tests for errors discovered in IBM long
17125         double versions of fmodl, remainderl, erfl and erfcl.
17126
17127 2013-10-04  Alan Modra  <amodra@gmail.com>
17128
17129         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
17130         all uses of ieee854 long double macros and unions.  Simplify tests
17131         for long doubles that are fully specified by the high double.
17132         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
17133         Likewise.
17134         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
17135         Remove dead code too.
17136         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17137         (__ieee754_ynl): Likewise.
17138         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
17139         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
17140         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
17141         Remove dead code too.
17142         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
17143         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
17144         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
17145         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
17146         Simplify.
17147         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
17148         Simplify.
17149         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
17150         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
17151         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
17152         Comment on variable precision.
17153         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
17154         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17155         Likewise.
17156         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17157         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17158         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17159         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
17160         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
17161
17162 2013-10-04  Alan Modra  <amodra@gmail.com>
17163
17164         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
17165         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
17166         all uses of ieee854 long double macros and unions.
17167         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
17168         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17169         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
17170         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
17171         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
17172         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
17173         Likewise.
17174         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
17175         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17176         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
17177         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17178         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
17179         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
17180         Simplify sign and nan test too.
17181         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
17182         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
17183         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
17184         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
17185         Likewise.
17186         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
17187         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
17188         Likewise.
17189         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17190         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
17191         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
17192         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
17193         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
17194         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
17195
17196 2013-10-04  Alan Modra  <amodra@gmail.com>
17197
17198         * stdio-common/printf_size.c (__printf_size): Don't use
17199         union ieee854_long_double in fpnum union.
17200         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
17201         signbit macro to retrieve sign from long double.
17202         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
17203         retrieve sign from long double.
17204         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
17205         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
17206         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
17207         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17208         * math/test-misc.c (main): Don't use union ieee854_long_double.
17209
17210 2013-10-04  Alan Modra  <amodra@gmail.com>
17211
17212         [BZ #15680]
17213         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
17214         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
17215         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
17216         calculation.  Remove unnecessary test for denormal exponent.
17217         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
17218         Correct handling of denormals.  Avoid undefined shift behaviour.
17219         Correct normalisation of low mantissa when low double is denormal.
17220         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
17221         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
17222         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
17223         Correct normalisation of low mantissa.  Test for overflow of high
17224         mantissa and normalise.
17225         (ldbl_nearbyint): Use more readable constant for two52.
17226         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
17227         (__mpn_construct_long_double): Fix test for overflow of high
17228         mantissa and correct normalisation.  Avoid undefined shift.
17229
17230 2013-10-04  Alan Modra  <amodra@gmail.com>
17231
17232         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17233         (union ibm_extended_long_double): Define as an array of ieee754_double.
17234         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
17235         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
17236         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
17237         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17238         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17239         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
17240         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17241         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
17242         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17243         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
17244         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17245
17246 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
17247
17248         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
17249         page size instead of calling getpagesize.
17250
17251         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
17252         (LOCFILE_ALIGN_MASK): Likewise.
17253         (LOCFILE_ALIGN_UP): Likewise.
17254         (LOCFILE_ALIGNED_P): Likewise.
17255         * locale/programs/ld-collate.c (collate_output): Use the new
17256         macros instead of __alignof__ (int32_t).
17257         * locale/weight.h (findidx): Likewise.
17258
17259 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
17260
17261         [BZ #431]
17262         * manual/string.texi: Fix strncat and wcsncat.
17263
17264 2013-10-03  Brooks Moses  <bmoses@google.com>
17265
17266         [BZ #15915]
17267         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
17268         * Makerules: ...here, and adjust associated comments.
17269
17270 2013-10-02  Will Newton  <will.newton@linaro.org>
17271
17272         * malloc/Makefile: Add tst-pvalloc.
17273         * malloc/tst-pvalloc.c: New file.
17274
17275 2013-10-02  Will Newton  <will.newton@linaro.org>
17276
17277         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
17278         improve test coverage.
17279
17280 2013-10-02  Will Newton  <will.newton@linaro.org>
17281
17282         * malloc/Makefile: Add tst-posix_memalign.
17283         * malloc/tst-posix_memalign.c: New file.
17284
17285 2013-10-01  Eric Blake  <eblake@redhat.com>
17286
17287         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
17288         Use __THROWNL rather than __THROW on static functions.
17289
17290 2013-09-30  Petr Machata  <pmachata@redhat.com>
17291
17292         * elf/elf.h (R_AARCH64_ABS16): New macro.
17293         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
17294         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
17295         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
17296         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
17297         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
17298         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
17299         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
17300         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
17301         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
17302         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
17303         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
17304         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
17305         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
17306         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
17307         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
17308         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
17309         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
17310         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
17311         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
17312         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
17313         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
17314         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
17315         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
17316         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
17317         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
17318         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
17319         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
17320         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
17321         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
17322         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
17323         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
17324         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
17325         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
17326         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
17327         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
17328         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
17329         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
17330         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
17331         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
17332         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
17333         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
17334         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
17335         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
17336         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
17337         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
17338         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
17339         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
17340         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
17341         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
17342         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
17343         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
17344         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
17345         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
17346         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
17347         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
17348         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
17349         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
17350         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
17351         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
17352         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
17353         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
17354         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
17355         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
17356         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
17357         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
17358         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
17359         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
17360         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
17361         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
17362         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
17363         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
17364         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
17365         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
17366         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
17367         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
17368         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
17369         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
17370         (R_AARCH64_TLSDESC_LDR): Likewise.
17371         (R_AARCH64_TLSDESC_ADD): Likewise.
17372         (R_AARCH64_TLSDESC_CALL): Likewise.
17373
17374 2013-09-30  Andreas Schwab  <schwab@suse.de>
17375
17376         [BZ #15048]
17377         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
17378         the nss database lookup.
17379         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17380         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17381
17382 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
17383
17384         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
17385
17386 2013-09-28  P. J. McDermott  <pj@pehjota.net>
17387
17388         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
17389         ${Bash-specific parameter/pattern/string} parameter expansion.
17390         * sysdeps/unix/make-syscalls.sh: Likewise.
17391
17392 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17393
17394         * sysdeps/sh/stackguard-macros.h: New file.
17395
17396 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
17397
17398         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17399         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
17400         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
17401         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
17402         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17403         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
17404
17405 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17406
17407         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
17408         Fix thread ID register.
17409
17410 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
17411
17412         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
17413         [POSIX || UNIX98]: Require rather than permitting all symbols from
17414         <time.h>.
17415         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
17416         element of struct sched_param.
17417         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
17418         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
17419         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
17420         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
17421         constant.
17422
17423 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
17424
17425         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
17426         argument calculation.
17427
17428 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
17429
17430         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
17431         Expect macro.
17432         [POSIX] (pthread_attr_t): Do not require type.
17433         [POSIX] (pthread_cond_t): Likewise.
17434         [POSIX] (pthread_condattr_t): Likewise.
17435         [POSIX] (pthread_key_t): Likewise.
17436         [POSIX] (pthread_mutex_t): Likewise.
17437         [POSIX] (pthread_mutexattr_t): Likewise.
17438         [POSIX] (pthread_once_t): Likewise.
17439         [POSIX] (pthread_t): Likewise.
17440         [POSIX-based standards] (pthread_atfork): Expect function.
17441
17442 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
17443             Richard Sandiford  <richard@codesourcery.com>
17444
17445         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
17446         (swap_endianness_p): New extern variable.
17447         (set_big_endian): New inline function.
17448         (maybe_swap_uint32): Likewise.
17449         (maybe_swap_uint32_array): Likewise.
17450         (maybe_swap_uint32_obstack): Likewise.
17451         * locale/programs/locfile.c: Include <stdbool.h>.
17452         (swap_endianness_p): New variable.
17453         (add_locale_uint32): Call maybe_swap_uint32.
17454         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
17455         (write_locale_data): Call maybe_swap_uint32_array.
17456         * locale/programs/ld-collate.c (obstack_int32_grow): Call
17457         maybe_swap_uint32.
17458         (obstack_int32_grow_fast): Likewise.
17459         (output_weightwc): Call maybe_swap_uint32_obstack.
17460         (collate_output): Likewise.
17461         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
17462         (OPT_LITTLE_ENDIAN): Likewise.
17463         (options): Add --little-endian and --big-endian options.
17464         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
17465         * locale/programs/locarchive.c: Include "locfile.h".
17466         (GET): New macro.
17467         (SET): Likewise.
17468         (INC): Likewise.
17469         (create_archive): Use the new macros to access fields of
17470         structures directly mapped from or written to locale archives.
17471         (oldlocrecentcmp): Likewise.
17472         (enlarge_archive): Likewise.
17473         (insert_name): Likewise.
17474         (add_alias): Likewise.
17475         (add_locale): Likewise.
17476         (delete_locales_from_archive): Likewise.
17477         (show_archive_content): Likewise.
17478         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
17479         locale data.
17480
17481 2013-09-24  Roland McGrath  <roland@hack.frob.com>
17482
17483         * manual/freemanuals.texi: Updated from (newly) canonical copy at
17484         http://www.gnu.org/doc/freemanuals.texi.
17485         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
17486
17487 2013-09-24  Will Newton  <will.newton@linaro.org>
17488
17489         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
17490         macro.
17491
17492 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
17493
17494         * locale/hashval.h (compute_hashval): Interpret bytes of key as
17495         unsigned char.
17496
17497 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
17498
17499         * manual/threads.texi (POSIX Threads): Fix a typo.
17500
17501 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17502
17503         [BZ #14547]
17504         * string/tst-strcoll-overflow.c: New test case.
17505         * string/Makefile (xtests): Add tst-strcoll-overflow.
17506         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
17507         cache if string sizes may cause integer overflow.
17508
17509         [BZ #14547]
17510         * string/strcoll_l.c (coll_seq): New members rule, idx,
17511         save_idx and back_us.
17512         (get_next_seq_nocache): New function.
17513         (do_compare_nocache): New function.
17514         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
17515         when malloc fails.
17516
17517 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
17518
17519         [BZ #15754]
17520         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
17521         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
17522         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
17523
17524         [BZ #15754]
17525         * elf/Makefile (tests): Add tst-ptrguard1.
17526         (tests-static): Add tst-ptrguard1-static.
17527         (tst-ptrguard1-ARGS): Define.
17528         (tst-ptrguard1-static-ARGS): Define.
17529         * elf/tst-ptrguard1.c: New file.
17530         * elf/tst-ptrguard1-static.c: New file.
17531         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
17532         * sysdeps/i386/stackguard-macros.h: Likewise.
17533         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17534         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17535         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17536         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17537         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17538         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17539
17540 2013-09-23  Hector Marco  <hecmargi@upv.es>
17541             Ismael Ripoll  <iripoll@disca.upv.es>
17542             Carlos O'Donell  <carlos@redhat.com>
17543
17544         [BZ #15754]
17545         * sysdeps/generic/stackguard-macros.h: Define
17546         __pointer_chk_guard_local and POINTER_CHK_GUARD.
17547         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
17548         Define __pointer_chk_guard_local.
17549         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
17550         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
17551
17552 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
17553
17554         [BZ #15859]
17555         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
17556
17557 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
17558
17559         * include/string.h (__ffs): Declare as hidden.
17560         * string/ffs.c (__ffs): Define as hidden.
17561         * sysdeps/i386/ffs.c (__ffs): Likewise.
17562         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17563         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
17564         * sysdeps/s390/ffs.c (__ffs): Likewise.
17565         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
17566
17567 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
17568
17569         * NEWS: Mention malloc probes.
17570
17571         * malloc/arena.c (new_heap): New memory_heap_new probe.
17572         (grow_heap): New memory_heap_more probe.
17573         (shrink_heap): New memory_heap_less probe.
17574         (heap_trim): New memory_heap_free probe.
17575         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
17576         (systrim): New memory_sbrk_less probe.
17577         * manual/probes.texi: Document them.
17578
17579         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
17580         * manual/probes.texi: Document it.
17581
17582         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
17583         (__libc_realloc): Add memory_realloc_retry probe.
17584         (__libc_memalign): Add memory_memalign_retry probe.
17585         (__libc_valloc): Add memory_valloc_retry probe.
17586         (__libc_pvalloc): Add memory_pvalloc_retry probe.
17587         (__libc_calloc): Add memory_calloc_retry probe.
17588         * manual/probes.texi: Document them.
17589
17590         * malloc/arena.c (get_free_list): Add probe
17591         memory_arena_reuse_free_list.
17592         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
17593         and memory_arena_reuse.
17594         (arena_get2) [!PER_THREAD]: Likewise.
17595         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
17596         memory_arena_reuse_realloc.
17597         * manual/probes.texi: Document them.
17598
17599         * malloc/malloc.c (__libc_free): Add
17600         memory_mallopt_free_dyn_thresholds probe.
17601         (__libc_mallopt): Add multiple memory_mallopt probes.
17602         * manual/probes.texi: Document them.
17603
17604         * malloc/malloc.c: Include stap-probe.h.
17605         (__libc_mallopt): Add memory_mallopt probe.
17606         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
17607         * manual/probes.texi: New.
17608         * manual/Makefile (chapters): Add probes.
17609         * manual/threads.texi: Set next node.
17610
17611 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
17612
17613         [BZ #15963, #13985]
17614         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
17615         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
17616         Add `Chinese' to `nan' entry name.
17617
17618 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17619
17620         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
17621         (POLYNOMIAL): Likewise.
17622         (TAYLOR_SINCOS): Likewise.
17623         (TAYLOR_SLOW): Likewise.
17624         (__sin): Use TAYLOR_SINCOS.
17625         (__cos): Likewise.
17626         (slow): Use TAYLOR_SLOW.
17627         (sloww): Likewise.
17628         (bsloww): Likewise.
17629         (csloww): Likewise.
17630
17631 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17632
17633         * stdlib/strtod_l.c: Fix buffer overrun.
17634
17635 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17636
17637         * benchtests/Makefile (bench): Add sincos.
17638         * benchtests/bench-sincos.c: New file.
17639
17640         * math/libm-test.inc (cos_test_data): New test inputs.
17641         (sin_test_data): Likewise.
17642
17643         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
17644         macro.
17645         (__sin): Use it.
17646         (__cos): Likewise.
17647         (slow1): Likewise.
17648         (slow2): Likewise.
17649         (sloww1): Likewise.
17650         (sloww2): Likewise.
17651         (bsloww1): Likewise.
17652         (bsloww2): Likewise.
17653         (cslow2): Likewise.
17654         (csloww1): Likewise.
17655         (csloww2): Likewise.
17656
17657         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
17658         function.
17659         (__sin): Use it.
17660         (__cos): Likewise.
17661
17662         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
17663         gotos.
17664         (__cos): Likewise.
17665
17666 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
17667
17668         * config.h.in (HAVE_MIPS_NAN2008): New macro.
17669         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
17670         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
17671         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
17672         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
17673         * elf/cache.c (print_entry): Handle the new cache flags.
17674
17675 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
17676             Aldy Hernandez  <aldyh@redhat.com>
17677
17678         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
17679         Change condition to [_SOFT_FLOAT].
17680         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
17681         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
17682         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
17683         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
17684         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
17685         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
17686         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
17687         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
17688         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
17689         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
17690         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
17691         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
17692         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
17693         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
17694         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
17695         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
17696         declaration.
17697
17698 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
17699
17700         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
17701         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17702         (__longjmp): Use LOAD_GP to load saved GPRs.
17703         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
17704         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17705         (__sigsetjmp): Use SAVE_GP to save GPRs.
17706
17707         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
17708         Do not append -msoft-float.
17709         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
17710
17711 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17712
17713         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
17714
17715 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
17716
17717         [BZ #15966]
17718         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
17719         (_FPU_GETCW): Use initial "__" on variable and field names but not
17720         on macro parameter name.
17721         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
17722         parentheses around reference to macro parameter.
17723
17724 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
17725
17726         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
17727         prototype.
17728         (ctype_startup): Use uint32_t in cast and sizeof for
17729         ctype->charnames.
17730
17731 2013-09-11  Jia Liu  <proljc@gmail.com>
17732
17733         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
17734         __daddr_t_defined.
17735         [__FreeBSD__]: Likewise.
17736
17737 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
17738
17739         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17740         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
17741         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
17742         (strchr): Remove __strchr_sse42 ifunc selection.
17743         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
17744         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
17745
17746 2013-09-11  Will Newton  <will.newton@linaro.org>
17747
17748         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
17749         parameter to RES. Remove hardcoded 1000 value.
17750         * benchtests/bench-skeleton.c (main): Pass RES parameter
17751         to TIMING_INIT and multiply result by 1000.
17752
17753 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17754
17755         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17756
17757 2013-09-11  Andreas Schwab  <schwab@suse.de>
17758
17759         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17760         if not defined.
17761         (O_TMPFILE) [__USE_GNU]: Define.
17762         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
17763         Define.
17764
17765 2013-09-11  Will Newton  <will.newton@linaro.org>
17766
17767         [BZ #15857]
17768         * malloc/malloc.c (__libc_memalign): Check the value of bytes
17769         does not overflow.
17770
17771 2013-09-11  Will Newton  <will.newton@linaro.org>
17772
17773         [BZ #15856]
17774         * malloc/malloc.c (__libc_valloc): Check the value of bytes
17775         does not overflow.
17776
17777 2013-09-11  Will Newton  <will.newton@linaro.org>
17778
17779         [BZ #15855]
17780         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
17781         does not overflow.
17782
17783 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
17784
17785         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
17786         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17787         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17788         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17789         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17790
17791 2013-09-10  Allan McRae  <allan@archlinux.org>
17792
17793         [BZ #15748]
17794         * manual/arith.texi (Parsing of Floats): Clarify
17795         cross-reference.
17796
17797         [BZ #15849]
17798         * manual/install.texi (Running make install): Mention
17799         --enable-pt-chown.
17800         * INSTALL: Regenerated.
17801
17802 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
17803
17804         * csu/init-first.c (_init): Remove the !SHARED condition around
17805         FPU control word initialization.
17806         * elf/dl-support.c (_dl_fpu_control): New variable.
17807         (_dl_aux_init) <AT_FPUCW>: Initialize it.
17808         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
17809         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
17810         * math/test-fpucw-static.c: New file.
17811         * math/test-fpucw-ieee.c: New file.
17812         * math/test-fpucw-ieee-static.c: New file.
17813         * math/Makefile (tests): Add `test-fpucw-ieee' and
17814         `$(tests-static)'.
17815         (tests-static): New variable.
17816         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
17817         dependency to...
17818         [($(build-shared),yes)]
17819         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17820         ... this.
17821         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
17822         New dependency.
17823
17824 2013-09-09  Allan McRae  <allan@archlinux.org>
17825
17826         [BZ #15939]
17827         * manual/string.texi (Collation Functions): Fix typo in
17828         strcoll example.
17829         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17830
17831         [BZ #15893]
17832         * stdlib/isomac.c (get_null_defines): Fix memory leak.
17833
17834         [BZ #15892]
17835         * libio/memstream.c (open_memstream): Fix memory leak.
17836         * libio/wmemstream.c (open_wmemstream): Likewise.
17837
17838         [BZ #15895]
17839         * nscd/netgroupcache.c: Fix nesting of ifdefs.
17840
17841 2013-09-09  Will Newton  <will.newton@linaro.org>
17842
17843         * malloc/Makefile: Add tst-realloc to tests.
17844         * malloc/tst-realloc.c: New file.
17845
17846 2013-09-09  Allan McRae  <allan@archlinux.org>
17847
17848         [BZ #15844]
17849         * COPYING: Update from GNU website to fix FSF address.
17850         * COPYING.LIB: Likewise.
17851
17852 2013-09-06  David S. Miller  <davem@davemloft.net>
17853
17854         * po/zh_TW.po: Update Chinese (traditional) translation from
17855         translation project.
17856
17857 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
17858             Joseph Myers  <joseph@codesourcery.com>
17859
17860         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17861         "localeinfo.h".
17862         (obstack_chunk_alloc): New macro.
17863         (obstack_chunk_free): Likewise.
17864         (record_offset): New function.
17865         (init_locale_data): Likewise.
17866         (align_locale_data): Likewise.
17867         (add_locale_empty): Likewise.
17868         (add_locale_raw_data): Likewise.
17869         (add_locale_raw_obstack): Likewise.
17870         (add_locale_string): Likewise.
17871         (add_locale_wstring): Likewise.
17872         (add_locale_uint32): Likewise.
17873         (add_locale_uint32_array): Likewise.
17874         (add_locale_char): Likewise.
17875         (start_locale_structure): Likewise.
17876         (end_locale_structure): Likewise.
17877         (start_locale_prelude): Likewise.
17878         (end_locale_prelude): Likewise.
17879         (write_locale_data): Take locale_file structure rather than an
17880         iovec.
17881         * locale/programs/locfile.h: Include "obstack.h".
17882         (struct locale_file): Change to store locale file contents instead
17883         of header.
17884         (init_locale_data): New prototype.
17885         (align_locale_data): Likewise.
17886         (add_locale_empty): Likewise.
17887         (add_locale_raw_data): Likewise.
17888         (add_locale_raw_obstack): Likewise.
17889         (add_locale_string): Likewise.
17890         (add_locale_wstring): Likewise.
17891         (add_locale_uint32): Likewise.
17892         (add_locale_uint32_array): Likewise.
17893         (add_locale_char): Likewise.
17894         (start_locale_structure): Likewise.
17895         (end_locale_structure): Likewise.
17896         (start_locale_prelude): Likewise.
17897         (end_locale_prelude): Likewise.
17898         (write_locale_data): Update prototype.
17899         * locale/programs/3level.h (struct TABLE): Remove result field.
17900         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17901         Use new locale_file interface.
17902         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17903         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17904         * locale/programs/ld-address.c (address_output): Use new
17905         locale_file interface.
17906         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
17907         NO_ADD_LOCALE.
17908         (collate_finish): Don't call collseq_table_finalize.
17909         (collate_output): Use new locale_file interface.
17910         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17911         in file.
17912         (NO_FINALIZE): Change to NO_ADD_LOCALE.
17913         (TABLE): Move defines earlier in file.
17914         (ELEMENT): Likewise.
17915         (DEFAULT): Likewise.
17916         (wctrans_table_add): Move macro and inline function earlier in
17917         file.
17918         (struct wctype_table): Move type earlier in file.
17919         (add_locale_wctype_table): New static prototype.
17920         (struct locale_ctype_t): Use logical types instead of struct iovec
17921         pointers for members.
17922         (ctype_output): Use new locale_file interface.
17923         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
17924         new locale_file interface.
17925         (allocate_arrays): Update for use of new locale_file interface.
17926         * locale/programs/ld-identification.c (identification_output): Use
17927         new locale_file interface.
17928         * locale/programs/ld-measurement.c (measurement_output): Likewise.
17929         * locale/programs/ld-messages.c (messages_output): Likewise.
17930         * locale/programs/ld-monetary.c (monetary_output): Likewise.
17931         * locale/programs/ld-name.c (name_output): Likewise.
17932         * locale/programs/ld-numeric.c (numeric_output): Likewise.
17933         * locale/programs/ld-paper.c (paper_output): Likewise.
17934         * locale/programs/ld-telephone.c (telephone_output): Likewise.
17935         * locale/programs/ld-time.c (time_output): Likewise.
17936
17937 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17938
17939         * benchtests/Makefile: Add memrchr benchmark.
17940         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17941         benchmark as memrchr.
17942         * benchtests/bench-memrchr-ifunc.c: New file.
17943         * benchtests/bench-memrchr.c: New file.
17944
17945 2013-09-06   Will Newton  <will.newton@linaro.org>
17946
17947         * benchtests/Makefile (string-bench): Add memcpy.
17948
17949 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
17950             Cong Wang  <amwang@redhat.com>
17951
17952         [BZ #15850]
17953         * sysdeps/unix/sysv/linux/bits/in.h
17954         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17955         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17956         before __USE_KERNEL_IPV6_DEFS uses.
17957         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17958         IPPROTO_BEETPH.
17959         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17960         sockaddr_in6, or ipv6_mreq.
17961
17962 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17963
17964         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17965         memory access for final bytes in some large inputs.
17966         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17967
17968 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17969
17970         * string/test-memrchr.c: New file.
17971         * string/test-memrchr-ifunc.c: New file.
17972         * string/Makefile: Add new memrchr testcase.
17973
17974 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
17975
17976         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17977         fanotify_init returns EPERM.
17978
17979 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
17980
17981         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17982         errors.
17983         (top level): Treat second token from macro or constant entries for
17984         allowed headers as allowed.
17985         * include/complex.h: Condition internal declarations on
17986         [!_ISOMAC].
17987         * include/fenv.h: Condition include of <stdbool.h> and internal
17988         declarations on [!_ISOMAC].
17989
17990 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
17991
17992         [BZ #15923]
17993         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17994
17995 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
17996
17997         * configure.in (--enable-versioning): Remove configure option.
17998         (libc_cv_asm_symver_directive): Remove configure test.
17999         (libc_cv_ld_version_script_option): Likewise.
18000         (VERSIONING): Remove variable and AC_SUBST.
18001         (DO_VERSIONING): Remove AC_DEFINE.
18002         * configure: Regenerated.
18003         * config.h.in (DO_VERSIONING): Remove macro.
18004         * Makerules [$(versioning) = yes]: Change conditionals to
18005         [$(build-shared) = yes].
18006         * config.make.in (versioning): Remove variable.
18007         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
18008         [$(build-shared) = yes].
18009         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
18010         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
18011         * elf/Makefile [$(versioning) = yes]: Change conditionals to
18012         [$(build-shared) = yes].
18013         * extra-lib.mk [$(versioning) = yes]: Likewise.
18014         * hurd/Makefile [$(versioning) = yes]: Likewise.
18015         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
18016         [SHARED].
18017         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
18018         [SHARED].
18019         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
18020         [SHARED && !NO_HIDDEN].
18021         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
18022         [SHARED].
18023         [SHARED && DO_VERSIONING]: Likewise..
18024         * libio/Makefile [$(versioning) = yes]: Change conditionals to
18025         [$(build-shared) = yes].
18026         * manual/install.texi (--disable-versioning): Remove
18027         documentation.
18028         * INSTALL: Regenerated.
18029         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
18030         to [SHARED].
18031         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
18032         [$(build-shared) = yes].
18033         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
18034         * sysdeps/i386/i686/multiarch/strstr-c.c
18035         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
18036         [SHARED && !NO_HIDDEN].
18037         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
18038         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
18039         * sysdeps/powerpc/powerpc32/dl-machine.c
18040         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
18041         * sysdeps/powerpc/powerpc32/sysdep.h
18042         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
18043         to [SHARED && PIC && !NO_HIDDEN].
18044         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
18045         conditional to [SHARED].
18046
18047 2013-09-04   Will Newton  <will.newton@linaro.org>
18048
18049         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
18050         * benchtests/bench-string.h: Include bench-timing.h instead
18051         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
18052         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
18053         call to HP_TIMING_DIFF_INIT.
18054         * benchtests/bench-memccpy.c: Use bench-timing.h macros
18055         instead of hp-timing.h macros.
18056         * benchtests/bench-memchr.c: Likewise.
18057         * benchtests/bench-memcmp.c: Likewise.
18058         * benchtests/bench-memcpy.c: Likewise.
18059         * benchtests/bench-memmem.c: Likewise.
18060         * benchtests/bench-memmove.c: Likewise.
18061         * benchtests/bench-memset.c: Likewise.
18062         * benchtests/bench-rawmemchr.c: Likewise.
18063         * benchtests/bench-strcasecmp.c: Likewise.
18064         * benchtests/bench-strcasestr.c: Likewise.
18065         * benchtests/bench-strcat.c: Likewise.
18066         * benchtests/bench-strchr.c: Likewise.
18067         * benchtests/bench-strcmp.c: Likewise.
18068         * benchtests/bench-strcpy.c: Likewise.
18069         * benchtests/bench-strcpy_chk.c: Likewise.
18070         * benchtests/bench-strlen.c: Likewise.
18071         * benchtests/bench-strncasecmp.c: Likewise.
18072         * benchtests/bench-strncat.c: Likewise.
18073         * benchtests/bench-strncmp.c: Likewise.
18074         * benchtests/bench-strncpy.c: Likewise.
18075         * benchtests/bench-strnlen.c: Likewise.
18076         * benchtests/bench-strpbrk.c: Likewise.
18077         * benchtests/bench-strrchr.c: Likewise.
18078         * benchtests/bench-strspn.c: Likewise.
18079         * benchtests/bench-strstr.c: Likewise.
18080
18081 2013-09-04  Will Newton  <will.newton@linaro.org>
18082
18083         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
18084
18085 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
18086
18087         [BZ #15427]
18088         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
18089         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
18090         * math/libm-test.inc (lgamma_test_data): Add more tests.
18091         * sysdeps/i386/fpu/libm-test-ulps: Update.
18092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18093
18094 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
18095
18096         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
18097         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18098         Add ifunc.
18099         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18100         Add strcmp-sse2-unaligned
18101         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
18102
18103 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
18104
18105         * Versions.def (libc): Add GLIBC_2.19.
18106
18107 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
18108
18109         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
18110         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
18111
18112 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
18113
18114         [BZ #14155]
18115         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
18116         intermediate calculations in recurrence.
18117         (__ieee754_ynf): Likewise.
18118         * math/libm-test.inc (jn_test_data): Do not allow spurious
18119         underflow exception.  Add more tests.
18120         (yn_test_data): Add more tests.
18121         * sysdeps/i386/fpu/libm-test-ulps: Update.
18122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18123
18124 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
18125
18126         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
18127
18128 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
18129
18130         * csu/init-first.c: Fix then/than typos.
18131         * locale/programs/ld-collate.c: Likewise.
18132         * locale/programs/linereader.h: Likewise.
18133         * manual/charset.texi: Likewise.
18134         * manual/filesys.texi: Likewise.
18135         * manual/stdio.texi: Likewise.
18136         * manual/string.texi: Likewise.
18137         * stdlib/fmtmsg.c: Likewise.
18138         * sysdeps/i386/stpncpy.S: Likewise.
18139         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18140         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18141         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18142         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18143
18144 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
18145
18146         * elf/dl-open.c: Fix typos.
18147         * iconvdata/gbbig5.c: Likewise.
18148         * iconvdata/iso-2022-jp.c: Likewise.
18149         * iconv/gconv_int.h: Likewise.
18150         * iconv/loop.c: Likewise.
18151         * nis/rpcsvc/nis.h: Likewise.
18152         * resolv/ns_name.c: Likewise.
18153         * stdio-common/vfscanf.c: Likewise.
18154         * streams/stropts.h: Likewise.
18155         * sunrpc/rpc_thread.c: Likewise.
18156         * sysdeps/i386/strpbrk.S: Likewise.
18157         * sysdeps/ieee754/k_standard.c: Likewise.
18158         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18159         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18160         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
18161         * sysdeps/mach/hurd/profil.c: Likewise.
18162         * sysdeps/s390/dl-procinfo.h: Likewise.
18163         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
18164         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
18165         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
18166         * sysdeps/x86_64/dl-trampoline.S: Likewise.
18167         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18168
18169 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
18170
18171         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
18172         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
18173
18174 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
18175
18176         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
18177         aix specific files.
18178         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
18179         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
18180         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
18181         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
18182         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
18183         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
18184         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
18185         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
18186
18187 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
18188             Roland McGrath  <roland@hack.frob.com>
18189
18190         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
18191         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
18192
18193 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18194
18195         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
18196         __executable_start symbol instead of _start.
18197
18198 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
18199
18200         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
18201         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
18202         Move macros to...
18203         * sysdeps/gnu/ldsodefs.h: ... this new file.
18204
18205         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
18206         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
18207         instead of ELFOSABI_LINUX.
18208
18209         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
18210         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
18211         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
18212         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
18213         Likewise.
18214         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
18215         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
18216         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
18217         Likewise.
18218         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18219         (ibm_extended_long_double): Add ieee_nan member.
18220         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
18221         (do_test): New function.
18222
18223         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
18224         TEST_TRUNC.
18225         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
18226         functions, renamed from truncdfsf_test, trunctfsf_test,
18227         trunctfdf_test.
18228         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
18229         functions.
18230         (do_test): Run all these.
18231
18232 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
18233
18234         * argp/argp-help.c: Fix typos.
18235         * argp/argp-parse.c: Likewise.
18236         * debug/backtracesyms.c: Likewise.
18237         * elf/elf.h: Likewise.
18238         * malloc/malloc.c: Likewise.
18239         * nis/nis_print.c: Likewise.
18240         * resolv/res_comp.c: Likewise.
18241         * stdlib/stdlib.h: Likewise.
18242         * sunrpc/clnt_tcp.c: Likewise.
18243         * sunrpc/clnt_udp.c: Likewise.
18244         * sunrpc/clnt_unix.c: Likewise.
18245         * sysdeps/unix/bsd/ptsname.c: Likewise.
18246         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
18247         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
18248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
18249         Likewise.
18250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
18251         Likewise.
18252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
18253         Likewise.
18254         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18255
18256 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18257
18258         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
18259         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18260
18261 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
18262
18263         [BZ #15897]
18264         * dlfcn/Makefile (tests): Add bug-dl-leaf.
18265         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
18266         ($(objpfx)bug-dl-leaf): New rule.
18267         ($(objpfx)bug-dl-leaf.so): Likewise.
18268         ($(objpfx)bug-dl-leaf.out): Likewise.
18269         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
18270         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
18271         * dlfcn/bug-dl-leaf.c: New test.
18272         * dlfcn/bug-dl-leaf-lib.c: Likewise.
18273         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
18274         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
18275         (dlclose): Likewise.
18276         (dlmopen): Likewise.
18277
18278 2013-08-27  Roland McGrath  <roland@hack.frob.com>
18279
18280         * include/netdb.h [!_ISOMAC]:
18281         Don't include <tls.h>.
18282         (h_errno, __libc_h_errno): Move declaration and macros out of
18283         [_LIBC_REENTRANT].
18284
18285         * include/resolv.h [_RESOLV_H_]:
18286         Don't include <tls.h>.
18287         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
18288         * resolv/res_libc.c: Don't include <tls.h>.
18289         (_res): Use __attribute__ ((nocommon)) in place of
18290         __attribute__ ((section (".bss"))).
18291
18292         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
18293         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
18294
18295         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
18296
18297         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
18298         only under [SIOCGIFCONF && SIOCGIFNETMASK].
18299
18300         * resolv/res_mkquery.c: Include <sys/time.h>.
18301
18302         * inet/ifreq.c: Moved to ...
18303         * sysdeps/unix/ifreq.c: ... here.
18304         * inet/ifreq.c: New file, true stub version.
18305
18306         * socket/sa_len.c: New file.
18307         * socket/Makefile (aux): Add it.
18308         * sysdeps/unix/sysv/linux/Makefile
18309         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
18310         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
18311         and #include <socket/sa_len.c>.
18312         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
18313         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
18314
18315         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
18316         * bits/socket.h: ... here.
18317
18318         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
18319         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
18320         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
18321
18322 2013-08-27  Andreas Schwab  <schwab@suse.de>
18323
18324         [BZ #15736]
18325         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
18326         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
18327         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
18328         * string/test-strcasecmp.c (test_main): Run tests in several
18329         locales.
18330         * string/test-strncasecmp.c (test_main): Likewise.
18331
18332         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
18333         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
18334         to __strcasecmp_nonascii and __strncasecmp_nonascii.
18335         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
18336         (__strncasecmp_ssse3) [PIC]: Likewise.
18337
18338 2013-08-26  Roland McGrath  <roland@hack.frob.com>
18339
18340         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
18341
18342         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
18343         instead of explicitly declaring xdecrypt.
18344         * nis/nss_nis/nis-publickey.c: Likewise.
18345
18346 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18347
18348         [BZ #15890]
18349         * nscd/aicache.c: Include res_hconf.h.
18350         (addhstaiX): Initialize res_hconf.
18351
18352 2013-08-26  Andreas Schwab  <schwab@suse.de>
18353
18354         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
18355         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
18356
18357 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18358
18359         * nscd/aicache.c (addhstaiX): Fix indentation.
18360
18361 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
18362
18363         * configure.ac: Quote $build_pt_chown test.
18364         * configure: Regenerated.
18365
18366 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
18367
18368         [BZ #15532]
18369         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
18370         * math/s_cexpf.c (__cexpf): Likewise.
18371         * math/s_cexpl.c (__cexpl): Likewise.
18372         * math/libm-test.inc (cexp_test_data): Correct expected return
18373         value for NaN + i0.  Add another test.
18374
18375 2013-08-22  David S. Miller  <davem@davemloft.net>
18376
18377         * po/ca.po: Update Catalan translation from translation project.
18378         * po/uk.po: Add Ukrainian translations from translation project.
18379
18380 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
18381
18382         [BZ #15797]
18383         * math/s_fdim.c (__fdim): Check for infinite arguments if result
18384         is infinite, not alongside NaN test.
18385         * math/s_fdimf.c (__fdimf): Likewise.
18386         * math/s_fdiml.c (__fdiml): Likewise.
18387         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
18388         errno is unchanged.
18389
18390 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
18391
18392         * argp/argp-help.c: Fix typos.
18393         * crypt/speeds.c: Likewise.
18394         * csu/check_fds.c: Likewise.
18395         * elf/dl-load.c: Likewise.
18396         * elf/dl-open.c: Likewise.
18397         * elf/reldep3.c: Likewise.
18398         * elf/reldep.c: Likewise.
18399         * elf/sprof.c: Likewise.
18400         * iconv/iconv_charmap.c: Likewise.
18401         * iconv/skeleton.c: Likewise.
18402         * iconv/strtab.c: Likewise.
18403         * io/lockf64.c: Likewise.
18404         * libio/libioP.h: Likewise.
18405         * resolv/gai_notify.c: Likewise.
18406         * resolv/ns_name.c: Likewise.
18407         * resolv/ns_samedomain.c: Likewise.
18408         * resolv/res_send.c: Likewise.
18409         * stdlib/random.c: Likewise.
18410         * sunrpc/rpc/xdr.h: Likewise.
18411         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
18412         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18413         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18414         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18415         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18416         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18417         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18418         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18419         * sysdeps/mach/hurd/check_fds.c: Likewise.
18420         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18421         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18422         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18423         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18424         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18425         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18426         * sysdeps/pthread/aio_notify.c: Likewise.
18427         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
18428         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
18429         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
18430         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18431         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18432
18433 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18434
18435         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
18436         version if bit_Slow_SSE4_2 is set.
18437         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18438         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18439
18440 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18441
18442         [BZ #15867]
18443         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
18444         trampoline stack frame information.
18445         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
18446         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
18447         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
18448         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
18449         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
18450         * sysdeps/unix/sysv/linux/powerpc/init-first.c
18451         (_libc_vdso_platform_setup): Initialize the signal trampolines.
18452         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
18453         sa_flags value.
18454         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
18455         interrupting a syscall and set with option SA_SIGINFO.
18456
18457 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
18458
18459         [BZ #15531]
18460         * math/s_cproj.c (__cproj): Only return an infinity if one part of
18461         argument is infinite.
18462         * math/s_cprojf.c (__cprojf): Likewise.
18463         * math/s_cprojl.c (__cprojl): Likewise.
18464         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
18465         * math/libm-test.inc (cproj_test_data): Add more tests.
18466
18467         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
18468
18469         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
18470         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
18471         size.  Use __ffs to determine corresponding shift.
18472
18473 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
18474             Roland McGrath  <roland@hack.frob.com>
18475
18476         * Makefile (INSTALL): Remove trailing blank lines from output of
18477         makeinfo.
18478
18479 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18480
18481         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
18482         Align 32 bit compat elf_greg to 8 bytes.
18483
18484 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
18485
18486         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
18487
18488 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18489
18490         * string/strcoll_l.c (coll_seq): New structure.
18491         (get_next_seq_cached): New function.
18492         (get_next_seq): New function.
18493         (do_compare): New function.
18494         (STRCOLL): Use GNU style definition.  Simplify implementation
18495         by using get_next_seq, get_next_seq_cached and do_compare.
18496
18497 2013-08-16  Florian Weimer  <fweimer@redhat.com>
18498
18499         [BZ #14699]
18500         CVE-2013-4237
18501         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
18502         member.
18503         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
18504         member.
18505         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
18506         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
18507         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
18508         conditional.
18509         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
18510         GETDENTS_64BIT_ALIGNED.
18511         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18512         * manual/filesys.texi (Reading/Closing Directory): Document
18513         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
18514         strongly.
18515         * manual/conf.texi (Limits for Files): Add portability note to
18516         NAME_MAX, PATH_MAX.
18517         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
18518
18519 2013-08-13  Andreas Schwab  <schwab@suse.de>
18520
18521         [BZ #15749]
18522         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
18523         of fabs.
18524         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
18525         LDBL_MAX_EXP >= 16384]: Add tests for it.
18526
18527 2013-08-12  David S. Miller  <davem@davemloft.net>
18528
18529         * version.h (RELEASE): Set to "development".
18530         (VERSION): Set to "2.18.90".
18531         * NEWS: Add 2.19 section.
18532
18533 2013-08-03  David S. Miller  <davem@davemloft.net>
18534
18535         * po/ko.po: Update Korean translation from translation project.
18536
18537 2013-08-01  David S. Miller  <davem@davemloft.net>
18538
18539         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
18540         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
18541         Bilka.
18542
18543 2013-07-30  David S. Miller  <davem@davemloft.net>
18544
18545         * po/fr.po: Update French translation from translation project.
18546
18547 2013-07-28  David S. Miller  <davem@davemloft.net>
18548
18549         * po/cs.po: Update Czech translation from translation project.
18550
18551         * po/sv.po: Update Swedish translation from translation project.
18552
18553 2013-07-27  David S. Miller  <davem@davemloft.net>
18554
18555         * po/eo.po: Update Esperanto translation from translation project.
18556
18557         * po/vi.po: Update Vietnamese translation from translation project.
18558
18559         * po/de.po: Update German translation from translation project.
18560
18561 2013-07-26  David S. Miller  <davem@davemloft.net>
18562
18563         * po/bg.po: Update Bulgarian translation from translation project.
18564
18565         * po/nl.po: Update Dutch translation from translation project.
18566         * po/pl.po: Update Polish translation from translation project.
18567         * po/ru.po: Update Russian translation from translation project.
18568
18569 2013-07-24  David S. Miller  <davem@davemloft.net>
18570
18571         * po/libc.pot: Update.
18572
18573 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18574
18575         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
18576         variable page size.
18577         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
18578         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
18579         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
18580
18581 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18582
18583         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
18584
18585 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18586             Andreas Schwab  <schwab@suse.de>
18587             Roland McGrath  <roland@hack.frob.com>
18588             Joseph Myers  <joseph@codesourcery.com>
18589             Carlos O'Donell  <carlos@redhat.com>
18590
18591         [BZ #15755]
18592         * config.h.in: Define HAVE_PT_CHOWN.
18593         * config.make.in (build-pt-chown): New variable.
18594         * configure.in (--enable-pt_chown): New configure option.
18595         * configure: Regenerate.
18596         * login/Makefile: Include Makeconfig.  Build pt_chown only if
18597         build-pt-chown is enabled.
18598         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
18599         pt_chown to fix pty ownership.
18600         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
18601         CLOSE_ALL_FDS.
18602         * manual/install.texi (Configuring and compiling): Mention
18603         --enable-pt_chown. Add @findex for grantpt.
18604         * INSTALL: Regenerate.
18605
18606 2013-07-20  David S. Miller  <davem@davemloft.net>
18607
18608         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
18609         difference between 32-bit and 64-bit.
18610
18611 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
18612
18613         [BZ #15711]
18614         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
18615         Avoid system header dependency with -ffreestanding.
18616         ($(objpfx)bits/syscall%d): Likewise.
18617
18618 2013-07-13  David S. Miller  <davem@davemloft.net>
18619
18620         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
18621         underflows from atanl/atan2l due to bug 15319.
18622         (casinh_test_data): Likewise.
18623
18624 2013-07-07  David S. Miller  <davem@davemloft.net>
18625
18626         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18627
18628 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
18629
18630         * sysdeps/i386/fpu/libm-test-ulps: Update.
18631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18632
18633 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18634
18635         * configure.in (--enable-lock-elision): Fix message text.
18636         * INSTALL: Regenerate.
18637         * configure: Regenerate.
18638
18639 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18640
18641         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18642
18643 2013-07-03  Andreas Jaeger  <aj@suse.de>
18644
18645         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
18646         define.
18647         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
18648         (ptrace_peeksiginfo_args): Add.
18649         (__ptrace_peeksiginfo_flags): Add.
18650         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18651         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18652         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18653
18654 2013-07-03  Allan McRae  <allan@archlinux.org>
18655
18656         * sysdeps/i386/fpu/libm-test-ulps: Update.
18657
18658 2013-07-02  David S. Miller  <davem@davemloft.net>
18659
18660         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18661
18662 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
18663
18664         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18665
18666 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
18667
18668         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18670
18671 2013-07-02  Andi Kleen <ak@linux.intel.com>
18672
18673         * config.h.in (ENABLE_LOCK_ELISION): Add.
18674         * configure.in (--enable-lock-elision): Add option.
18675         * manual/install.texi: Document --enable lock elision.
18676         * configure: Regenerate
18677         * INSTALL: Regenerate.
18678
18679 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
18680
18681         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
18682         SSE4.2 strcasecmp for libc.a.
18683         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
18684
18685 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
18686
18687         [BZ #13304]
18688         * soft-fp/op-common.h (_FP_FMA): New macro.
18689         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
18690         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
18691         (_FP_MUL_MEAT_1_imm): ... here.
18692         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
18693         (_FP_MUL_MEAT_1_wide): ... here.
18694         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
18695         (_FP_MUL_MEAT_1_hard): ... here.
18696         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
18697         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
18698         (_FP_MUL_MEAT_2_wide): ... here.
18699         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
18700         (_FP_MUL_MEAT_2_wide_3mul): ... here.
18701         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
18702         (_FP_MUL_MEAT_2_gmp): ... here.
18703         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
18704         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
18705         (_FP_MUL_MEAT_4_wide): ... here.
18706         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
18707         (_FP_MUL_MEAT_4_gmp): ... here.
18708         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
18709         (_FP_WFRACBITS_DW_S): Likewise.
18710         (_FP_WFRACXBITS_DW_S): Likewise.
18711         (_FP_HIGHBIT_DW_S): Likewise.
18712         (FP_FMA_S): Likewise.
18713         (_FP_FRAC_HIGH_DW_S): Likewise.
18714         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
18715         (_FP_WFRACBITS_DW_D): Likewise.
18716         (_FP_WFRACXBITS_DW_D): Likewise.
18717         (_FP_HIGHBIT_DW_D): Likewise.
18718         (FP_FMA_D): Likewise.
18719         (_FP_FRAC_HIGH_DW_D): Likewise.
18720         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
18721         (_FP_WFRACBITS_DW_E): Likewise.
18722         (_FP_WFRACXBITS_DW_E): Likewise.
18723         (_FP_HIGHBIT_DW_E): Likewise.
18724         (FP_FMA_E): Likewise.
18725         (_FP_FRAC_HIGH_DW_E): Likewise.
18726         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
18727         (_FP_WFRACBITS_DW_Q): Likewise.
18728         (_FP_WFRACXBITS_DW_Q): Likewise.
18729         (_FP_HIGHBIT_DW_Q): Likewise.
18730         (FP_FMA_Q): Likewise.
18731         (_FP_FRAC_HIGH_DW_Q): Likewise.
18732         * soft-fp/fmasf4.c: New file.
18733         * soft-fp/fmadf4.c: Likewise.
18734         * soft-fp/fmatf4.c: Likewise.
18735
18736 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18737
18738         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18739         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
18740         Silvermont.
18741         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
18742         macro.
18743         (index_Slow_SSE4_2): Likewise.
18744         (index_Prefer_PMINUB_for_stringop): Likewise.
18745         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
18746         bit_Slow_SSE4_2 is set.
18747         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18748         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18749
18750 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18751
18752         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
18753         rtld_global._dl_hwcap2.
18754         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
18755         POWER8.
18756         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
18757         POWER8 feature descriptions defined in _dl_hwcap2.
18758         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
18759         string handling for POWER8 feature bits.
18760         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
18761         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
18762         _dl_powerpc_cap_flags.
18763         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
18764         * sysdeps/powerpc/rtld-global-offsets.sym
18765         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
18766         _dl_hwcap2 in the rtld_global_ro structure.
18767
18768 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18769
18770         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
18771         hardware capabilities in support of AT_HWCAP2.
18772         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
18773         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
18774         GLRO(dl_hwcap2).
18775         (_dl_show_auxv): Add support for calling _dl_procinfo to display
18776         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
18777         explicitly the unknown a_type display mechanism is used.
18778         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
18779         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
18780         struct member.
18781         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
18782         to macro prototype for AT_HWCAP2 support.
18783         * sysdeps/i386/dl-procinfo.h: Likewise.
18784         * sysdeps/s390/dl-procinfo.h: Likewise.
18785         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
18786         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
18787         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
18788         return -1 for unknown a_type display fallback.
18789         * sysdeps/sparc/dl-procinfo.h: Likewise.
18790         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
18791         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
18792
18793 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
18794
18795         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
18796         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
18797
18798 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
18799
18800         [BZ #12492]
18801         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
18802         mprotect making __stack_prot writable.
18803
18804 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
18805             Joseph Myers  <joseph@codesourcery.com>
18806
18807         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
18808         as being properly aligned.
18809
18810 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
18811
18812         * dlfcn/modstatic5.c: New file.
18813         * dlfcn/tststatic5.c: New file.
18814         * dlfcn/Makefile (tests): Add tststatic5.
18815         (tests-static): Likewise.
18816         (modules-names): Add modstatic5.
18817         (tststatic5-ENV): New variable.
18818         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
18819
18820         [BZ #15022]
18821         * elf/dl-support.c (_dl_main_map): New variable.
18822         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
18823         (_dl_nns, _dl_load_adds): Set to 1.
18824         (_dl_initial_searchlist): Refer to _dl_main_map.
18825         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
18826         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18827         call to _dl_get_origin.
18828         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18829         around call_map.
18830         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18831         * dlfcn/modstatic3.c: New file.
18832         * dlfcn/tststatic3.c: New file.
18833         * dlfcn/tststatic4.c: New file.
18834         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18835         (tests-static): Likewise.
18836         (modules-names): Add modstatic3.
18837         (tststatic3-ENV, tststatic4-ENV): New variables.
18838         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18839         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18840
18841 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
18842
18843         * configure.in (CC): Require GCC version 4.4 or later.
18844         * configure: Regenerated.
18845         * manual/install.texi (Tools for Compilation): Update GCC version
18846         requirement.
18847         * INSTALL: Regenerated.
18848
18849 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18850
18851         [BZ #15674]
18852         * string/test-memcmp.c (check2): New.
18853         (main): Call check2.
18854
18855         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18856
18857 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
18858
18859         [BZ #15022]
18860         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18861         over to...
18862         (dl_open_worker) [!SHARED]: ... here.
18863
18864 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18865
18866         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18867
18868 2013-06-25  Richard Henderson  <rth@redhat.com>
18869
18870         * locale/programs/locarchive.c: Include <libc-internal.h>
18871
18872 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
18873
18874         * manual/texinfo.tex: Update to version 2013-06-21.17, with
18875         trailing whitespace removed.
18876
18877 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18878
18879         [BZ #10283]
18880         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18881         * locale/programs/locarchive.c: Include libc-mmap.h.
18882         (prepare_address_space): Take two new outputs (the mmap base and len).
18883         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
18884         values.
18885         (create_archive): Declare new mmap base and len values for
18886         prepare_address_space, and store the result in ah.
18887         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18888         (enlarge_archive): If ah->mmap_base is not NULL, use that and
18889         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18890         Declare new mmap base and len values for
18891         prepare_address_space, and store the result in new_ah.
18892         (open_archive): Declare new mmap base and len values for
18893         prepare_address_space, and store the result in ah.
18894         (close_archive): If ah->mmap_base is not NULL, use that and
18895         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18896         * sysdeps/generic/libc-mmap.h: New file.
18897
18898 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18899
18900         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18901         (ALIGN_UP): Likewise.
18902         (PTR_ALIGN_DOWN): Likewise.
18903         (PTR_ALIGN_UP): Likewise.
18904
18905 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18906
18907         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
18908         entry mapped to PPC_PLATFORM_POWER8.
18909         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
18910         POWER8.
18911         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18912         (_dl_string_platform): Add case for exporting platform position for
18913         POWER8.
18914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18915         search path to sysdeps/powerpc/powerpc32/power8 directory.
18916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18917         search path to sysdeps/powerpc/powerpc64/power8 directory.
18918         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18919         power7 directories.
18920         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18921         power7 directories.
18922
18923 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18924
18925         * INSTALL: Regenerate.
18926
18927         * nscd/connections.c (nscd_init): Fix comment.
18928
18929 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
18930
18931         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18932
18933         [BZ #15667]
18934         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18935         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18936
18937 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
18938
18939         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18940         DL_DST_REQ_STATIC.
18941         (DL_DST_REQ_STATIC): Remove macro.
18942
18943 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
18944
18945         [BZ #7006]
18946         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18947         with a shift of 0 bits.
18948
18949 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
18950
18951         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18952         $(tststatic-ENV).
18953
18954 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18955
18956         [BZ #15655]
18957         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18958
18959 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18960
18961         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18962         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18963         accepts -fno-tree-loop-distribute-patterns.
18964         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18965         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18966         recursive call.
18967         * string/memset.c (memset): Likewise.
18968         * string/test-memmove.c (simple_memmove): Disable loop transformation
18969         to library calls.
18970         * string/test-memset.c (simple_memset): Likewise.
18971         * benchtests/bench-memmove.c (simple_memmove): Likewise.
18972         * benchtests/bench-memset.c (simple_memset): Likewise.
18973         * configure: Regenerated.
18974
18975 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
18976
18977         * math/test-misc.c (main): Ignore fesetround failure when failures
18978         of subsequent rounding tests would be ignored.
18979
18980         [BZ #15654]
18981         * math/fedisblxcpt.c (fedisableexcept): Return 0.
18982         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18983         * math/fegetenv.c (__fegetenv): Return 0.
18984         * math/fegetexcept.c (fegetexcept): Return 0.
18985         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18986         FE_TONEAREST.
18987         * math/feholdexcpt.c (feholdexcept): Return 0.
18988         * math/fesetenv.c (__fesetenv): Return 0.
18989         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18990         argument FE_TONEAREST.
18991         * math/feupdateenv.c (__feupdateenv): Return 0.
18992         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18993
18994 2013-06-18  Roland McGrath  <roland@hack.frob.com>
18995
18996         * elf/rtld-Rules (rtld-compile-command.S): New variable.
18997         (rtld-compile-command.s, rtld-compile-command.c): New variables.
18998         ($(objpfx)rtld-%.os rules): Use them.
18999
19000 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19001
19002         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
19003         fields.
19004
19005 2013-06-17  Roland McGrath  <roland@hack.frob.com>
19006
19007         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
19008         length of target pattern, then descending length of dependency pattern.
19009         * configure.in (AWK): Require gawk 3.1.2 or newer.
19010         * manual/install.texi (Tools for Compilation): Say that we do.
19011         * configure: Regenerated.
19012
19013         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
19014         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
19015         * scripts/sysd-rules.awk: ... this new script.
19016         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
19017         than a glob-style pattern.
19018
19019 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
19020
19021         * math/test-misc.c (main): Do not treat incorrectly rounded
19022         conversions as failure unless ROUNDING_TESTS passes.
19023
19024 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
19025
19026         [BZ #15631]
19027         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
19028         restore exception state around main square root computation, then
19029         check for inexactness explicitly.
19030
19031         * math/libm-test.inc (fma_test_data): Add another test.
19032
19033 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19034
19035         * manual/threads.texi (Non-POSIX Extensions): New document
19036         node.  Document pthread_getattr_default_np and
19037         pthread_setattr_default_np.
19038
19039         * Versions.def (libpthread): Add GLIBC_2.18.
19040         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
19041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19042         Likewise.
19043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19044         Likewise.
19045         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19046         Likewise.
19047         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19048         Likewise.
19049         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
19050         Likewise.
19051         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19052         Likewise.
19053         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19054         Likewise.
19055         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19056         Likewise.
19057         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19058         Likewise.
19059
19060 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19061
19062         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19063         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
19064
19065 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19066             H.J. Lu  <hjl.tools@gmail.com>
19067
19068         [BZ #15627]
19069         * sysdeps/x86_64/rtld-memset.c: Remove file.
19070         * sysdeps/x86_64/rtld-memset.S: New file.
19071
19072 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
19073
19074         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
19075         (test_in_one_mode): Take arguments for whether the rounding mode
19076         is supported for each floating-point type.
19077         (do_test): Pass new arguments to test_in_one_mode using
19078         ROUNDING_TESTS.
19079
19080 2013-06-13  Roland McGrath  <roland@hack.frob.com>
19081
19082         * posix/tst-waitid.c (do_test): Distinguish different instances of
19083         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
19084         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
19085         before entering the kernel for waitpid.
19086
19087 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19088
19089         * NEWS: Fix note on clock function precision.  Text by Roland
19090         McGrath.
19091
19092 2013-06-13  Roland McGrath  <roland@hack.frob.com>
19093
19094         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
19095         it into place only when and if the sanity check passes.
19096
19097 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
19098
19099         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
19100         output for whether conversion result is exact.  Take argument
19101         indicating whether type is IBM long double.
19102         (round_for_all): Change need_exact field to ibm_ld.
19103         * stdlib/tst-strtod-round.c (struct exactness): New type.
19104         (struct test): Change bool ld_ok field to struct exactness exact.
19105         (TEST): Update all definitions for change to field.
19106         (tests): Regenerate array contents.
19107         (test_in_one_mode): Take pointer to new field instead of old ld_ok
19108         field value.  Check for IBM long double here.
19109         (do_test): Update calls to test_in_one_mode.
19110
19111 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19112
19113         [BZ #12515]
19114         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
19115         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
19116
19117 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19118
19119         [BZ #15605]
19120         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
19121         generated by the compiler on loop optimizations.
19122         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
19123         general definitions.
19124
19125 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
19126
19127         * math/bug-nextafter.c: Include <math-tests.h>.
19128         (main): Only test for exceptions if EXCEPTION_TESTS is true for
19129         the relevant type.
19130         * math/bug-nexttoward.c: Include <math-tests.h>.
19131         (main): Only test for exceptions if EXCEPTION_TESTS is true for
19132         the relevant type.
19133         * math/test-misc.c: Include <math-tests.h>.
19134         (main): Only test for exceptions if EXCEPTION_TESTS is true for
19135         the relevant type.
19136
19137 2013-06-12  Andreas Jaeger  <aj@suse.de>
19138
19139         * po/ia.po: Update Interlingua translation from translation
19140         project.
19141
19142 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19143
19144         * include/fenv.h: Include stdbool.h.
19145         (struct rm_ctx): New structure.
19146         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
19147         Define macro.
19148         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
19149         (SET_RESTORE_ROUNDF): Likewise.
19150         (SET_RESTORE_ROUNDL): Likewise.
19151         (SET_RESTORE_ROUND_NOEX): Likewise.
19152         (SET_RESTORE_ROUND_NOEXF): Likewise.
19153         (SET_RESTORE_ROUND_NOEXL): Likewise.
19154         (SET_RESTORE_ROUND_53BIT): Likewise.
19155         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
19156         (libc_feresetround_noexf_ctx): Likewise.
19157         (libc_feresetround_noexl_ctx): Likewise.
19158         (libc_feholdsetround_53bit_ctx): Likewise.
19159         (libc_feresetround_53bit_ctx): Likewise.
19160         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
19161         (libc_feholdexcept_setround_sse_ctx): New function.
19162         (libc_fesetenv_sse_ctx): Likewise.
19163         (libc_feupdateenv_sse_ctx): Likewise.
19164         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
19165         (libc_feholdexcept_setround_387_ctx): Likewise.
19166         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
19167         (libc_feholdsetround_387_prec_ctx): Likewise.
19168         (libc_feholdsetround_387_ctx): Likewise.
19169         (libc_feholdsetround_387_53bit_ctx): Likewise.
19170         (libc_feholdsetround_sse_ctx): Likewise.
19171         (libc_feresetround_sse_ctx): Likewise.
19172         (libc_feresetround_387_ctx): Likewise.
19173         (libc_feupdateenv_387_ctx): Likewise.
19174         (libc_feholdexcept_setroundf_ctx): Define macro.
19175         (libc_fesetenvf_ctx): Likewise.
19176         (libc_feupdateenvf_ctx): Likewise.
19177         (libc_feholdsetroundf_ctx): Likewise.
19178         (libc_feresetroundf_ctx): Likewise.
19179         (libc_feholdexcept_setround_ctx): Likewise.
19180         (libc_fesetenv_ctx): Likewise.
19181         (libc_feupdateenv_ctx): Likewise.
19182         (libc_feholdsetround_ctx): Likewise.
19183         (libc_feresetround_ctx): Likewise.
19184         (libc_feholdexcept_setroundl_ctx): Likewise.
19185         (libc_feupdateenvl_ctx): Likewise.
19186         (libc_feholdsetroundl_ctx): Likewise.
19187         (libc_feresetroundl_ctx): Likewise.
19188         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
19189         (libc_feresetround_53bit_ctx): Likewise.
19190
19191 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19192
19193         * locale/iso-639.def: Convert to UTF-8.
19194
19195 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
19196
19197         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
19198         (EXCEPTION_TESTS_double): Likewise.
19199         (EXCEPTION_TESTS_long_double): Likewise.
19200         (EXCEPTION_TESTS): Likewise.
19201         * math/libm-test.inc (test_exceptions): Only test exceptions if
19202         EXCEPTION_TESTS (FLOAT).
19203
19204 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19205
19206         * benchtests/Makefile (string-bench): Add strcpy_chk and
19207         stpcpy_chk.
19208         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
19209         * benchtests/bench-stpcpy_chk.c: New file.
19210         * benchtests/bench-strcpy_chk-ifunc.c: New file.
19211         * benchtests/bench-strcpy_chk.c: New file.
19212         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
19213         code.
19214         (do_test): Likewise.
19215
19216 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19217
19218         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
19219         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
19220         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
19221         with tabs where appropriate.
19222         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
19223         dl-procinfo.h.
19224         [PPC_PLATFORM_PPC440]: Likewise.
19225         [PPC_PLATFORM_PPC464]: Likewise.
19226         [PPC_PLATFORM_PPC476]: Likewise.
19227         (_dl_string_platform): Add support for detecting ppc405, ppc440,
19228         ppc464, and ppc476 platform strings merging from ports/
19229         dl-procinfo.h.
19230
19231 2013-06-11  Andreas Schwab  <schwab@suse.de>
19232
19233         [BZ #14991]
19234         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
19235         (from_ucs4_idx): Regenerate.
19236         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
19237         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
19238         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
19239         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
19240         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
19241         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
19242         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
19243         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
19244         from FROM_LOOP and TO_LOOP specific macros.
19245         (BODY): Handle combining characters.
19246         * iconvdata/BIG5HKSCS.irreversible: Update.
19247         * iconvdata/BIG5HKSCS.precomposed: New file.
19248         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
19249         characters.
19250         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
19251
19252 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19253
19254         * include/sys/time.h: Fix indentation and add copyright header.
19255
19256         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
19257         (do_test): Likewise.
19258         * string/test-memchr.c (do_one_test): Likewise.
19259         (do_test): Likewise.
19260         * string/test-memcmp.c (do_one_test): Likewise.
19261         (do_test): Likewise.
19262         * string/test-memcpy.c (do_one_test): Likewise.
19263         (do_test): Likewise.
19264         * string/test-memmem.c (do_one_test): Likewise.
19265         (do_test): Likewise.
19266         (do_random_tests): Likewise.
19267         * string/test-memmove.c (do_one_test): Likewise.
19268         (do_test): Likewise.
19269         * string/test-memset.c (do_one_test): Likewise.
19270         (do_test): Likewise.
19271         * string/test-rawmemchr.c (do_one_test): Likewise.
19272         (do_test): Likewise.
19273         * string/test-strcasecmp.c (do_one_test): Likewise.
19274         (do_test): Likewise.
19275         * string/test-strcasestr.c (do_one_test): Likewise.
19276         (do_test): Likewise.
19277         * string/test-strcat.c (do_one_test): Likewise.
19278         (do_test): Likewise.
19279         * string/test-strchr.c (do_one_test): Likewise.
19280         (do_test): Likewise.
19281         * string/test-strcmp.c (do_one_test): Likewise.
19282         (do_test): Likewise.
19283         * string/test-strcpy.c (do_one_test): Likewise.
19284         (do_test): Likewise.
19285         * string/test-string.h: Likewise.
19286         (test_init): Likewise.
19287         * string/test-strlen.c (do_one_test): Likewise.
19288         (do_test): Likewise.
19289         * string/test-strncasecmp.c (do_one_test): Likewise.
19290         (do_test): Likewise.
19291         * string/test-strncat.c (do_one_test): Likewise.
19292         (do_test): Likewise.
19293         * string/test-strncmp.c (do_one_test): Likewise.
19294         (do_test_limit): Likewise.
19295         (do_test): Likewise.
19296         * string/test-strncpy.c (do_one_test): Likewise.
19297         (do_test): Likewise.
19298         * string/test-strnlen.c (do_one_test): Likewise.
19299         (do_test): Likewise.
19300         * string/test-strpbrk.c (do_one_test): Likewise.
19301         (do_test): Likewise.
19302         * string/test-strrchr.c (do_one_test): Likewise.
19303         (do_test): Likewise.
19304         * string/test-strspn.c (do_one_test): Likewise.
19305         (do_test): Likewise.
19306         * string/test-strstr.c (do_one_test): Likewise.
19307         (do_test): Likewise.
19308
19309         * benchtests/Makefile (string-bench): Add string benchmarks.
19310         * benchtests/bench-bcopy-ifunc.c: New file.
19311         * benchtests/bench-bcopy.c: New file.
19312         * benchtests/bench-bzero-ifunc.c: New file.
19313         * benchtests/bench-bzero.c: New file.
19314         * benchtests/bench-memccpy-ifunc.c: New file.
19315         * benchtests/bench-memccpy.c: New file.
19316         * benchtests/bench-memchr-ifunc.c: New file.
19317         * benchtests/bench-memchr.c: New file.
19318         * benchtests/bench-memcmp-ifunc.c: New file.
19319         * benchtests/bench-memcmp.c: New file.
19320         * benchtests/bench-memmem-ifunc.c: New file.
19321         * benchtests/bench-memmem.c: New file.
19322         * benchtests/bench-memmove-ifunc.c: New file.
19323         * benchtests/bench-memmove.c: New file.
19324         * benchtests/bench-mempcpy-ifunc.c: New file.
19325         * benchtests/bench-mempcpy.c: New file.
19326         * benchtests/bench-memset-ifunc.c: New file.
19327         * benchtests/bench-memset.c: New file.
19328         * benchtests/bench-rawmemchr-ifunc.c: New file.
19329         * benchtests/bench-rawmemchr.c: New file.
19330         * benchtests/bench-stpcpy-ifunc.c: New file.
19331         * benchtests/bench-stpcpy.c: New file.
19332         * benchtests/bench-stpncpy-ifunc.c: New file.
19333         * benchtests/bench-stpncpy.c: New file.
19334         * benchtests/bench-strcasecmp-ifunc.c: New file.
19335         * benchtests/bench-strcasecmp.c: New file.
19336         * benchtests/bench-strcasestr-ifunc.c: New file.
19337         * benchtests/bench-strcasestr.c: New file.
19338         * benchtests/bench-strcat-ifunc.c: New file.
19339         * benchtests/bench-strcat.c: New file.
19340         * benchtests/bench-strchr-ifunc.c: New file.
19341         * benchtests/bench-strchr.c: New file.
19342         * benchtests/bench-strchrnul-ifunc.c: New file.
19343         * benchtests/bench-strchrnul.c: New file.
19344         * benchtests/bench-strcmp-ifunc.c: New file.
19345         * benchtests/bench-strcmp.c: New file.
19346         * benchtests/bench-strcpy-ifunc.c: New file.
19347         * benchtests/bench-strcpy.c: New file.
19348         * benchtests/bench-strcspn-ifunc.c: New file.
19349         * benchtests/bench-strcspn.c: New file.
19350         * benchtests/bench-strlen-ifunc.c: New file.
19351         * benchtests/bench-strlen.c: New file.
19352         * benchtests/bench-strncasecmp-ifunc.c: New file.
19353         * benchtests/bench-strncasecmp.c: New file.
19354         * benchtests/bench-strncat-ifunc.c: New file.
19355         * benchtests/bench-strncat.c: New file.
19356         * benchtests/bench-strncmp-ifunc.c: New file.
19357         * benchtests/bench-strncmp.c: New file.
19358         * benchtests/bench-strncpy-ifunc.c: New file.
19359         * benchtests/bench-strncpy.c: New file.
19360         * benchtests/bench-strnlen-ifunc.c: New file.
19361         * benchtests/bench-strnlen.c: New file.
19362         * benchtests/bench-strpbrk-ifunc.c: New file.
19363         * benchtests/bench-strpbrk.c: New file.
19364         * benchtests/bench-strrchr-ifunc.c: New file.
19365         * benchtests/bench-strrchr.c: New file.
19366         * benchtests/bench-strspn-ifunc.c: New file.
19367         * benchtests/bench-strspn.c: New file.
19368         * benchtests/bench-strstr-ifunc.c: New file.
19369         * benchtests/bench-strstr.c: New file.
19370
19371         * benchtests/Makefile: Disable parallel execution of targets.
19372         (string-bench): Add memcpy.
19373         (benchset): New variable to store a list of benchmark sets.
19374         (bench-func): Renamed from bench.
19375         (bench-set): New target.
19376         (bench): Depend on bench-func and bench-set.
19377         * benchtests/README: Add section on benchmark sets.
19378         * benchtests/bench-memcpy-ifunc.c: New file.
19379         * benchtests/bench-memcpy.c: New file.
19380         * benchtests/bench-string.h: New file.
19381
19382 2013-06-11  Andreas Schwab  <schwab@suse.de>
19383
19384         [BZ #15577]
19385         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
19386         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
19387         values in the triple.
19388         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
19389         terminator in the group key.
19390
19391 2013-06-11  Andreas Jaeger  <aj@suse.de>
19392
19393         * po/zh_TW.po: Update Chinese (traditional) translation from
19394         translation project.
19395
19396 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19397
19398         * include/time.h (__clock_gettime): Add libc_hidden_proto.
19399         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
19400         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
19401         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19402         (clock_getcpuclockid): Likewise.
19403         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
19404         Add weak_alias and libc_hidden_def.
19405         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
19406         * rt/clock_gettime.c (clock_gettime): Rename to
19407         __clock_gettime.  Add weak_alias and libc_hidden_def.
19408         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
19409         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
19410         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
19411         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
19412         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
19413         Likewise.
19414         * rt/clock_settime.c (clock_settime): Rename to
19415         __clock_settime.  Add weak_alias and libc_hidden_def.
19416         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
19417
19418 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
19419
19420         * mach/err_boot.sub: Remove trailing whitespace.
19421         * mach/err_ipc.sub: Likewise.
19422         * mach/err_mach.sub: Likewise.
19423
19424         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
19425         (ROUNDING_TESTS_double): Likewise.
19426         (ROUNDING_TESTS_long_double): Likewise.
19427         (ROUNDING_TESTS): Likewise.
19428         * math/libm-test.inc: Include <math-tests.h>.
19429         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
19430         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19431         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19432         (IF_ROUND_INIT_FE_UPWARD): Likewise.
19433
19434 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19435
19436         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
19437         of assigning.
19438
19439 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
19440
19441         * sysdeps/gnu/errlist.awk: Do not generate space at end of
19442         otherwise empty TRANS lines.
19443         * sysdeps/gnu/errlist.c: Regenerated.
19444
19445         * catgets/gencat.c (error_print): Use (void) in function
19446         definition.
19447         * crypt/crypt_util.c (__init_des): Likewise.
19448         * crypt/speeds.c (Stop): Likewise.
19449         (main): Likewise.
19450         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
19451         * inet/ruserpass.c (token): Likewise.
19452         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
19453         * intl/localealias.c (extend_alias_table): Likewise.
19454         * intl/plural-exp.c (init_germanic_plural): Likewise.
19455         * libio/fcloseall.c (__fcloseall): Likewise.
19456         * libio/genops.c (_IO_flush_all): Likewise.
19457         (_IO_flush_all_linebuffered): Likewise.
19458         (_IO_cleanup): Likewise.
19459         (_IO_iter_begin): Likewise.
19460         (_IO_iter_end): Likewise.
19461         (_IO_list_lock): Likewise.
19462         (_IO_list_unlock): Likewise.
19463         (_IO_list_resetlock): Likewise.
19464         * libio/getchar.c (getchar): Likewise.
19465         * libio/getchar_u.c (getchar_unlocked): Likewise.
19466         * libio/getwchar.c (getwchar): Likewise.
19467         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
19468         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
19469         * login/getpt.c (__getpt): Likewise.
19470         * login/tst-utmp.c (main): Likewise.
19471         * malloc/hooks.c (__malloc_check_init): Likewise.
19472         * malloc/malloc.c (__malloc_stats): Likewise.
19473         * malloc/mtrace.c (tr_break): Likewise.
19474         (mtrace): Likewise.
19475         (muntrace): Likewise.
19476         * misc/fstab.c (endfsent): Likewise.
19477         * misc/getclktck.c (__getclktck): Likewise.
19478         * misc/getdtsz.c (__getdtablesize): Likewise.
19479         * misc/gethostid.c (gethostid): Likewise.
19480         * misc/getpagesize.c (__getpagesize): Likewise.
19481         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
19482         (__get_nprocs): Likewise.
19483         (__get_phys_pages): Likewise.
19484         (__get_avphys_pages): Likewise.
19485         * misc/getttyent.c (getttyent): Likewise.
19486         (setttyent): Likewise.
19487         (endttyent): Likewise.
19488         * misc/getusershell.c (getusershell): Likewise.
19489         (endusershell): Likewise.
19490         (setusershell): Likewise.
19491         (initshells): Likewise.
19492         * misc/hsearch.c (__hdestroy): Likewise.
19493         * misc/sync.c (sync): Likewise.
19494         * misc/syslog.c (closelog_internal): Likewise.
19495         (closelog): Likewise.
19496         * misc/ttyslot.c (ttyslot): Likewise.
19497         * misc/vhangup.c (vhangup): Likewise.
19498         * posix/fork.c (__fork): Likewise.
19499         * posix/getegid.c (__getegid): Likewise.
19500         * posix/geteuid.c (__geteuid): Likewise.
19501         * posix/getgid.c (__getgid): Likewise.
19502         * posix/getpid.c (__getpid): Likewise.
19503         * posix/getppid.c (__getppid): Likewise.
19504         * posix/getuid.c (__getuid): Likewise.
19505         * posix/pause.c (pause): Likewise.
19506         * posix/setpgrp.c (setpgrp): Likewise.
19507         * posix/setsid.c (__setsid): Likewise.
19508         * posix/test-vfork.c (noop): Likewise.
19509         * resolv/gethnamaddr.c (_endhtent): Likewise.
19510         (_gethtent): Likewise.
19511         (ht_endhostent): Likewise.
19512         (gethostent): Likewise.
19513         (dns_service): Likewise.
19514         * stdlib/drand48.c (drand48): Likewise.
19515         * stdlib/lrand48.c (lrand48): Likewise.
19516         * stdlib/mrand48.c (mrand48): Likewise.
19517         * stdlib/rand.c (rand): Likewise.
19518         * stdlib/random.c (__random): Likewise.
19519         * stdlib/setenv.c (clearenv): Likewise.
19520         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
19521         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
19522         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
19523         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
19524         (__get_nprocs): Likewise.
19525         (__get_phys_pages): Likewise.
19526         (__get_avphys_pages): Likewise.
19527         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
19528         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
19529         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
19530         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
19531         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
19532         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
19533         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
19534         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
19535         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
19536         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
19537         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
19538         * sysdeps/mach/hurd/sync.c (sync): Likewise.
19539         * sysdeps/posix/clock.c (clock): Likewise.
19540         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
19541         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
19542         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
19543         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
19544         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
19545         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
19546         (__get_nprocs_conf): Likewise.
19547         (__get_phys_pages): Likewise.
19548         (__get_avphys_pages): Likewise.
19549         * time/clock.c (clock): Likewise.
19550         * time/tzset.c (__tzname_max): Likewise.
19551
19552 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
19553
19554         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
19555         (__bswap_32): Do not use "register".
19556         * crypt/crypt.c (_ufc_doit_r): Likewise.
19557         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19558         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19559         * gmon/gmon.c (__monstartup): Likewise.
19560         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
19561         * hurd/hurdmalloc.c (more_memory): Likewise.
19562         (malloc): Likewise.
19563         (free): Likewise.
19564         (realloc): Likewise.
19565         (malloc_fork_prepare): Likewise.
19566         (malloc_fork_parent): Likewise.
19567         (malloc_fork_child): Likewise.
19568         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
19569         (_svcauth_des): Likewise.
19570         * inet/inet_lnaof.c (inet_lnaof): Likewise.
19571         * inet/inet_net.c (inet_network): Likewise.
19572         * inet/inet_netof.c (inet_netof): Likewise.
19573         * inet/rcmd.c (__validuser2_sa): Likewise.
19574         * io/fts.c (fts_open): Likewise.
19575         (fts_load): Likewise.
19576         (fts_close): Likewise.
19577         (fts_read): Likewise.
19578         (fts_children): Likewise.
19579         (fts_build): Likewise.
19580         (fts_stat): Likewise.
19581         (fts_sort): Likewise.
19582         (fts_alloc): Likewise.
19583         (fts_lfree): Likewise.
19584         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
19585         (_IO_file_xsgetn): Likewise.
19586         (_IO_file_xsgetn_mmap): Likewise.
19587         * libio/iofopncook.c (_IO_cookie_read): Likewise.
19588         (_IO_cookie_write): Likewise.
19589         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
19590         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
19591         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
19592         * malloc/obstack.c (_obstack_begin): Likewise.
19593         (_obstack_begin_1): Likewise.
19594         (_obstack_newchunk): Likewise.
19595         (_obstack_allocated_p): Likewise.
19596         (obstack_free): Likewise.
19597         (_obstack_memory_used): Likewise.
19598         * misc/getttyent.c (getttynam): Likewise.
19599         (getttyent): Likewise.
19600         (skip): Likewise.
19601         (value): Likewise.
19602         * misc/getusershell.c (initshells): Likewise.
19603         * misc/syslog.c (__vsyslog_chk): Likewise.
19604         * misc/ttyslot.c (ttyslot): Likewise.
19605         * nis/nis_hash.c (__nis_hash): Likewise.
19606         * posix/fnmatch_loop.c (FCT): Likewise.
19607         * posix/getconf.c (print_all): Likewise.
19608         (main): Likewise.
19609         * posix/getopt.c (exchange): Likewise.
19610         * posix/glob.c (globfree): Likewise.
19611         (prefix_array): Likewise.
19612         (__glob_pattern_type): Likewise.
19613         * resolv/arpa/nameser.h (NS_GET16): Likewise.
19614         (NS_GET32): Likewise.
19615         (NS_PUT16): Likewise.
19616         (NS_PUT32): Likewise.
19617         * resolv/gethnamaddr.c (getanswer): Likewise.
19618         (gethostbyname2): Likewise.
19619         (gethostbyaddr): Likewise.
19620         (_gethtent): Likewise.
19621         (_gethtbyname2): Likewise.
19622         (_gethtbyaddr): Likewise.
19623         * resolv/ns_print.c (dst_s_get_int16): Likewise.
19624         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19625         * resolv/res_init.c (__res_vinit): Likewise.
19626         (net_mask): Likewise.
19627         * resolv/res_mkquery.c (outchar): Likewise.
19628         (PRINT): Likewise.
19629         * stdio-common/printf_fp.c (outchar): Likewise.
19630         (PRINT): Likewise.
19631         * stdio-common/printf_fphex.c (outchar): Likewise.
19632         (PRINT): Likewise.
19633         * stdio-common/printf_size.c (outchar): Likewise.
19634         (PRINT): Likewise.
19635         * stdio-common/test_rdwr.c (main): Likewise.
19636         * stdio-common/tfformat.c (matches): Likewise.
19637         * stdio-common/vfprintf.c (outchar): Likewise.
19638         (printf_unknown): Likewise.
19639         (buffered_vfprintf): Likewise.
19640         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19641         * stdio-common/xbug.c (AppendToBuffer): Likewise.
19642         (ReadFile): Likewise.
19643         * stdlib/qsort.c (SWAP): Likewise.
19644         (_quicksort): Likewise.
19645         * stdlib/setenv.c (__add_to_environ): Likewise.
19646         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19647         * stdlib/strtol_l.c (__strtol_l): Likewise.
19648         * stdlib/tst-strtod.c (main): Likewise.
19649         * stdlib/tst-strtol.c (main): Likewise.
19650         * stdlib/tst-strtoll.c (main): Likewise.
19651         * string/bits/string2.h (__strcmp_cc): Likewise.
19652         (__strcmp_cg): Likewise.
19653         (__strcspn_c1): Likewise.
19654         (__strcspn_c2): Likewise.
19655         (__strcspn_c3): Likewise.
19656         (__strspn_c1): Likewise.
19657         (__strspn_c2): Likewise.
19658         (__strspn_c3): Likewise.
19659         (__strsep_1c): Likewise.
19660         (__strsep_2c): Likewise.
19661         (__strsep_3c): Likewise.
19662         * string/memccpy.c (__memccpy): Likewise.
19663         * string/stpcpy.c (__stpcpy): Likewise.
19664         * string/strcmp.c (strcmp): Likewise.
19665         * string/strrchr.c (strrchr): Likewise.
19666         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
19667         Likewise.
19668         * sysdeps/mach/hurd/getcwd.c
19669         (_hurd_canonicalize_directory_name_internal): Likewise.
19670         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
19671         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
19672         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
19673         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
19674         Likewise, in both definitions.
19675         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
19676         definitions.
19677         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
19678         64] (__bswap_64): Likewise.
19679         * time/test_time.c (main): Likewise.
19680         * time/tzfile.c (__tzfile_read): Likewise.
19681         (__tzfile_compute): Likewise.
19682         * time/tzset.c (__tzset_parse_tz): Likewise.
19683         (tzset_internal): Likewise.
19684         (compute_change): Likewise.
19685         * wcsmbs/wcscat.c (__wcscat): Likewise.
19686         * wcsmbs/wcschr.c (wcschr): Likewise.
19687         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
19688         * wcsmbs/wcscspn.c (wcscspn): Likewise.
19689         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
19690         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
19691         * wcsmbs/wcsspn.c (wcsspn): Likewise.
19692         * wcsmbs/wcsstr.c (wcsstr): Likewise.
19693         * wcsmbs/wmemchr.c (wmemchr): Likewise.
19694         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19695         * wcsmbs/wmemset.c (wmemset): Likewise.
19696
19697 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
19698
19699         * scripts/config.guess: Update to version 2013-05-16.
19700         * scripts/config.sub: Update to version 2013-04-24.
19701         * scripts/install-sh: Update to version 2011-11-20.07.
19702         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
19703         * scripts/move-if-change: Update to version 2012-01-06 07:23.
19704
19705 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
19706
19707         * debug/fgetws_u_chk.c: Fix leading whitespaces.
19708         * elf/sln.c: Likewise.
19709         * hurd/hurd/ioctl.h: Likewise.
19710         * hurd/hurdmalloc.c: Likewise.
19711         * hurd/xattr.c: Likewise.
19712         * include/shlib-compat.h: Likewise.
19713         * inet/ruserpass.c: Likewise.
19714         * libio/iofgets_u.c: Likewise.
19715         * libio/iofgetws_u.c: Likewise.
19716         * locale/programs/ld-identification.c: Likewise.
19717         * locale/programs/ld-time.c: Likewise.
19718         * mach/msg-destroy.c: Likewise.
19719         * nss/nss_files/files-netgrp.c: Likewise.
19720         * resolv/res_data.c: Likewise.
19721         * soft-fp/op-1.h: Likewise.
19722         * soft-fp/op-2.h: Likewise.
19723         * soft-fp/op-4.h: Likewise.
19724         * soft-fp/op-common.h: Likewise.
19725         * stdio-common/printf_fphex.c: Likewise.
19726         * stdlib/strtod_l.c: Likewise.
19727         * sunrpc/rpc/clnt.h: Likewise.
19728         * sysdeps/generic/framestate.c: Likewise.
19729         * sysdeps/i386/bsd-_setjmp.S: Likewise.
19730         * sysdeps/i386/bsd-setjmp.S: Likewise.
19731         * sysdeps/i386/__longjmp.S: Likewise.
19732         * sysdeps/i386/setjmp.S: Likewise.
19733         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19734         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19735         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19736         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19737         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19738         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19739         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19740         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19741         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19742         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19743         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19744         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19745         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19746         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19747         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19748         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19749         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19750         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
19751         * sysdeps/ieee754/support.c: Likewise.
19752         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19753         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
19754         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
19755         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
19756         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
19757         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
19758         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
19759         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
19760         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
19761         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
19762         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
19763         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
19764         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
19765         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
19766         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
19767         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
19768         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19770
19771 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
19772
19773         * posix/transbug.c: Remove executable mode.
19774
19775 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
19776
19777         * crypt/speeds.c: Remove trailing whitespace.
19778         * dlfcn/default.c: Likewise.
19779         * elf/ifuncdep2.c: Likewise.
19780         * elf/ifuncmain1.c: Likewise.
19781         * elf/ifuncmain1vis.c: Likewise.
19782         * elf/testobj.h: Likewise.
19783         * elf/tst-stackguard1.c: Likewise.
19784         * gmon/sys/gmon.h: Likewise.
19785         * hurd/hurdmsg.c: Likewise.
19786         * hurd/new-fd.c: Likewise.
19787         * hurd/ports-get.c: Likewise.
19788         * iconvdata/ibm1008_420.c: Likewise.
19789         * inet/tst-getni1.c: Likewise.
19790         * inet/tst-getni2.c: Likewise.
19791         * libio/ioungetc.c: Likewise.
19792         * libio/wfiledoalloc.c: Likewise.
19793         * manual/libm-err-tab.pl: Likewise.
19794         * math/w_dremf.c: Likewise.
19795         * misc/ftruncate.c: Likewise.
19796         * posix/bug-glob2.c: Likewise.
19797         * posix/tst-pcre.c: Likewise.
19798         * posix/wait4.c: Likewise.
19799         * resolv/README: Likewise.
19800         * resolv/res_debug.h: Likewise.
19801         * resolv/tst-inet_ntop.c: Likewise.
19802         * setjmp/bug269-setjmp.c: Likewise.
19803         * soft-fp/extended.h: Likewise.
19804         * soft-fp/op-1.h: Likewise.
19805         * soft-fp/op-2.h: Likewise.
19806         * soft-fp/op-4.h: Likewise.
19807         * soft-fp/op-8.h: Likewise.
19808         * soft-fp/testit.c: Likewise.
19809         * stdio-common/bug16.c: Likewise.
19810         * stdlib/random.c: Likewise.
19811         * sunrpc/rpcsvc/rquota.x: Likewise.
19812         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
19813         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19814         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19815         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19816         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19817         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19818         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19819         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19820         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19821         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19822         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19823         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19824         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19825         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19826         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19827         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19828         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19829         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19830         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19831         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19832         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19833         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19834         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19835         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19836         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19837         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19838         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19839         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19840         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19841         * sysdeps/ieee754/s_lib_version.c: Likewise.
19842         * sysdeps/mach/hurd/check_fds.c: Likewise.
19843         * sysdeps/mach/hurd/getsockname.c: Likewise.
19844         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19845         * sysdeps/mach/hurd/recvfrom.c: Likewise.
19846         * sysdeps/powerpc/bits/link.h: Likewise.
19847         * sysdeps/powerpc/dl-procinfo.c: Likewise.
19848         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19849         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19850         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19851         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19852         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19853         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19854         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19855         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19856         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19857         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19858         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19859         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19860         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19861         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19862         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19863         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19864         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19865         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19866         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19867         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19868         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19869         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19870         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19871         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19872         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19873         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19874         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19875         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19876         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19877         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19878         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19879         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19880         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19881         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19882         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19883         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19884         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19885         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19886         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19887         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19888         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19889         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19890         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19891         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19892         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19893         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19894         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19895         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19896         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19897         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19898         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19899         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19900         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19901         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19902         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19903         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19904         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19905         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19906         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19907         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
19908         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
19909         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
19910         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19911         * sysdeps/powerpc/sysdep.h: Likewise.
19912         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19913         * sysdeps/s390/s390-64/sub_n.S: Likewise.
19914         * sysdeps/sh/dl-trampoline.S: Likewise.
19915         * sysdeps/sh/memset.S: Likewise.
19916         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19917         * sysdeps/sh/strlen.S: Likewise.
19918         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19919         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19920         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19921         * sysdeps/sparc/sparc32/rem.S: Likewise.
19922         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19923         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19924         * sysdeps/sparc/sparc32/strchr.S: Likewise.
19925         * sysdeps/sparc/sparc32/udiv.S: Likewise.
19926         * sysdeps/sparc/sparc32/urem.S: Likewise.
19927         * sysdeps/sparc/sparc64/add_n.S: Likewise.
19928         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19929         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19930         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19931         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19932         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19933         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19934         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19935         * sysdeps/unix/bsd/times.c: Likewise.
19936         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19937         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19941         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19942         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19943         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19944         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19945         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19946         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19947         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19948         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19949         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19950         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19951         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19952         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19953         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19954         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19955         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19956         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19957         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19958         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19959         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19960         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19961         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19962         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19963         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19964         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19965         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19966         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19967         * sysdeps/x86_64/strcspn.S: Likewise.
19968
19969 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19970
19971         * locale/C-translit.h: Revert #include <stdint.h> because this is a
19972         generated file.  Regenerate properly from gen-translit.pl.
19973         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
19974         locale/C-translit.h.
19975
19976 2013-06-05  Andreas Schwab  <schwab@suse.de>
19977
19978         [BZ #15100]
19979         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19980         week as 6 instead of -1.
19981         * time/tst-strptime.c (day_tests): Add test case.
19982
19983 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19984
19985         * sysdeps/generic/math_private.h
19986         (libc_feholdexcept_setround_53bit): Replace with
19987         libc_feholdsetround_53bit.
19988         (libc_feupdateenv_53bit): Replace with
19989         libc_feresetround_53bit.
19990         (SET_RESTORE_ROUND_53BIT): Adjust.
19991
19992 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19993
19994         * string/test-strchrnul.c: Add copyright header.
19995
19996         * posix/tst-getaddrinfo4.c: Increase test timeout.
19997
19998 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
19999
20000         [BZ #15536]
20001         * math/libm-test.inc (MAX_EXP): Remove
20002         (MIN_EXP): Define.
20003         (ulp): Use MIN_EXP - MANT_DIG.
20004         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
20005
20006 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
20007
20008         * po/be.po: Revert last change.
20009         * po/zh_CN.po: Likewise.
20010         * po/header.pot: Likewise.
20011
20012 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
20013
20014         * Makefile ($(common-objpfx)linkobj/libc.so): Define
20015         link-libc-deps to empty as target-specific variable.
20016         * Makerules (link-libc-args): New variable.
20017         (libc-for-link): Likewise.
20018         (link-libc-deps): Likewise.
20019         (lib%.so): Depend on $(link-libc-deps).  Link with
20020         $(link-libc-args).
20021         (build-module): Link with $(link-libc-args).
20022         (build-module-asneeded): Likewise.
20023         (build-module-helper-objlist): Filter out $(link-libc-deps) from
20024         list of objects.
20025         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
20026         target-specific variable.
20027         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
20028         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
20029         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
20030         libc.
20031         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
20032         libc and ld.so.
20033         ($(objpfx)libpcprofile.so): Likewise.
20034         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
20035         libc_nonshared.a.
20036         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
20037         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
20038         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
20039         $(link-libc-deps).
20040         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
20041         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
20042         * login/Makefile ($(objpfx)libutil.so): Likewise.
20043         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
20044         * math/Makefile ($(objpfx)libm.so): Likewise.
20045         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
20046         $(objpfx)libnsl.so): Define libc-for-link as target-specific
20047         variable instead of depending directly on libc.
20048         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
20049         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
20050         $(link-libc-deps).
20051         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
20052         libc.
20053         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
20054         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
20055         ($(objpfx)libanl.so): Likewise.
20056         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
20057         ld.so.
20058         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
20059         $(link-libc-deps).
20060         * sysdeps/i386/fpu/Makefile: Remove file.
20061         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
20062         ($(objpfx)libm.so): Remove dependency on ld.so.
20063
20064 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
20065
20066         [BZ # 15553]
20067         * nis/yp_xdr.c (XDRMAXNAME): Define.
20068         (XDRMAXRECORD): Define.
20069         (xdr_domainname): Use XDRMAXNAME.
20070         (xdr_mapname): Likewise.
20071         (xdr_peername): Likewise.
20072         (xdr_keydat): Use XDRMAXRECORD.
20073         (xdr_valdat): Likewise.
20074
20075 2013-05-30  Jeff Law  <law@redhat.com>
20076
20077         [BZ #14256]
20078         * manual/errno.texi (ESTALE): Update to account for more than
20079         just NFS file systems.
20080         * sysdeps/gnu/errlist.c: Regenerated.
20081
20082 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20083
20084         [BZ #15465]
20085         * elf/Makefile (tests): Add tst-null-argv.
20086         (modules-names):  Add tst-null-argv-lib.
20087         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
20088         (tst-null-argv-ENV): Set environment for tst-null-argv.
20089         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
20090         (RTLD_PROGNAME): New macro.
20091         * elf/tst-null-argv.c: New test case.
20092         * elf/tst-null-argv-lib.c: Library for test case.
20093         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
20094         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
20095         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
20096         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
20097         * elf/dl-init.c (call_init): Likewise.
20098         (_dl_init): Likewise.
20099         * elf/dl-load.c (print_search_path): Likewise.
20100         (_dl_map_object): Likewise.
20101         * elf/dl-lookup.c (do_lookup_x): Likewise.
20102         (add_dependency): Likewise.
20103         (_dl_lookup_symbol_x): Likewise.
20104         (_dl_debug_bindings): Likewise.
20105         * elf/dl-open.c (_dl_show_scope): Likewise.
20106         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
20107         * elf/dl-version.c (match_symbol): Likewise.
20108         (_dl_check_map_versions): Likewise.
20109         * elf/rtld.c (dl_main): Likewise.
20110         (print_unresolved): Use RTLD_PROGNAME.
20111         (print_missing_version): Likewise.
20112         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
20113         (elf_machine_rela): Likewise.
20114         * sysdeps/powerpc/powerpc32/dl-machine.c
20115         (__process_machine_rela): Likewise.
20116         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20117         Likewise.
20118         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20119         Likewise.
20120         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
20121         Likewise.
20122         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20123         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
20124         Likewise.
20125         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
20126         Likewise.
20127         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20128
20129 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
20130
20131         * po/be.po: Add descriptive title.
20132         * po/zh_CN.po: Likewise.
20133         * po/header.pot: Likewise.
20134
20135 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
20136
20137         * locale/programs/locarchive.c (create_archive): Inlucde fname in
20138         error message.
20139         (enlarge_archive): Likewise.
20140
20141 2013-05-28  Ben North  <ben@redfrontdoor.org>
20142
20143         * manual/arith.texi (frexp): It is the magnitude of the return
20144         value which lies in [0.5, 1), not the return value itself.
20145
20146 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20147
20148         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20149
20150 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
20151
20152         * stdio-common/bug26.c (main): Correct fscanf template.
20153
20154         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
20155         declare _dl_skip_args.
20156
20157         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
20158         Don't declare.
20159
20160         * manual/platform.texi: Add missing @end deftypefun.
20161
20162 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
20163
20164         [BZ #15529]
20165         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
20166         bit of mantissa of 2^16382.
20167         * math/libm-test.inc (hypot_test_data): Add more tests.
20168
20169         * math/libm-test.inc: Add drem and pow10 to list of tested
20170         functions.
20171         (pow10_test): New function.
20172         (drem_test): Likewise.
20173         (drem_test_tonearest): Likewise.
20174         (drem_test_towardzero): Likewise.
20175         (drem_test_downward): Likewise.
20176         (drem_test_upward): Likewise.
20177         (main): Call the new functions.
20178
20179         * math/libm-test.inc (finite_test_data): Remove.
20180         (finite_test): Run tests from isfinite_test_data.
20181         (gamma_test_data): Remove.
20182         (gamma_test): Run tests from lgamma_test_data.
20183         * sysdeps/i386/fpu/libm-test-ulps: Update.
20184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20185
20186 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20187
20188         * manual/platform.texi: Add PowerPC PPR function set documentation.
20189         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
20190         implementation.
20191
20192 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
20193
20194         * math/libm-test.inc (MAX_EXP): Define.
20195         (ULPDIFF): Define.
20196         (ulp): New function.
20197         (check_float_internal): Use ULPDIFF.
20198         (cpow_test): Disable failing test.
20199         (check_ulp): Test ulp() implemetnation.
20200         (main): Call check_ulp before starting tests.
20201
20202 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
20203
20204         * math/gen-libm-test.pl (generate_testfile): Do not handle
20205         START_DATA and END_DATA.
20206         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
20207         END_DATA.
20208         (acos_tonearest_test_data): Likewise.
20209         (acos_towardzero_test_data): Likewise.
20210         (acos_downward_test_data): Likewise.
20211         (acos_upward_test_data): Likewise.
20212         (acosh_test_data): Likewise.
20213         (asin_test_data): Likewise.
20214         (asin_tonearest_test_data): Likewise.
20215         (asin_towardzero_test_data): Likewise.
20216         (asin_downward_test_data): Likewise.
20217         (asin_upward_test_data): Likewise.
20218         (asinh_test_data): Likewise.
20219         (atan_test_data): Likewise.
20220         (atanh_test_data): Likewise.
20221         (atan2_test_data): Likewise.
20222         (cabs_test_data): Likewise.
20223         (cacos_test_data): Likewise.
20224         (cacosh_test_data): Likewise.
20225         (carg_test_data): Likewise.
20226         (casin_test_data): Likewise.
20227         (casinh_test_data): Likewise.
20228         (catan_test_data): Likewise.
20229         (catanh_test_data): Likewise.
20230         (cbrt_test_data): Likewise.
20231         (ccos_test_data): Likewise.
20232         (ccosh_test_data): Likewise.
20233         (ceil_test_data): Likewise.
20234         (cexp_test_data): Likewise.
20235         (cimag_test_data): Likewise.
20236         (clog_test_data): Likewise.
20237         (clog10_test_data): Likewise.
20238         (conj_test_data): Likewise.
20239         (copysign_test_data): Likewise.
20240         (cos_test_data): Likewise.
20241         (cos_tonearest_test_data): Likewise.
20242         (cos_towardzero_test_data): Likewise.
20243         (cos_downward_test_data): Likewise.
20244         (cos_upward_test_data): Likewise.
20245         (cosh_test_data): Likewise.
20246         (cosh_tonearest_test_data): Likewise.
20247         (cosh_towardzero_test_data): Likewise.
20248         (cosh_downward_test_data): Likewise.
20249         (cosh_upward_test_data): Likewise.
20250         (cpow_test_data): Likewise.
20251         (cproj_test_data): Likewise.
20252         (creal_test_data): Likewise.
20253         (csin_test_data): Likewise.
20254         (csinh_test_data): Likewise.
20255         (csqrt_test_data): Likewise.
20256         (ctan_test_data): Likewise.
20257         (ctan_tonearest_test_data): Likewise.
20258         (ctan_towardzero_test_data): Likewise.
20259         (ctan_downward_test_data): Likewise.
20260         (ctan_upward_test_data): Likewise.
20261         (ctanh_test_data): Likewise.
20262         (ctanh_tonearest_test_data): Likewise.
20263         (ctanh_towardzero_test_data): Likewise.
20264         (ctanh_downward_test_data): Likewise.
20265         (ctanh_upward_test_data): Likewise.
20266         (erf_test_data): Likewise.
20267         (erfc_test_data): Likewise.
20268         (exp_test_data): Likewise.
20269         (exp_tonearest_test_data): Likewise.
20270         (exp_towardzero_test_data): Likewise.
20271         (exp_downward_test_data): Likewise.
20272         (exp_upward_test_data): Likewise.
20273         (exp10_test_data): Likewise.
20274         (exp2_test_data): Likewise.
20275         (expm1_test_data): Likewise.
20276         (fabs_test_data): Likewise.
20277         (fdim_test_data): Likewise.
20278         (finite_test_data): Likewise.
20279         (floor_test_data): Likewise.
20280         (fma_test_data): Likewise.
20281         (fma_towardzero_test_data): Likewise.
20282         (fma_downward_test_data): Likewise.
20283         (fma_upward_test_data): Likewise.
20284         (fmax_test_data): Likewise.
20285         (fmin_test_data): Likewise.
20286         (fmod_test_data): Likewise.
20287         (fpclassify_test_data): Likewise.
20288         (frexp_test_data): Likewise.
20289         (gamma_test_data): Likewise.
20290         (hypot_test_data): Likewise.
20291         (ilogb_test_data): Likewise.
20292         (isfinite_test_data): Likewise.
20293         (isgreater_test_data): Likewise.
20294         (isgreaterequal_test_data): Likewise.
20295         (isinf_test_data): Likewise.
20296         (isless_test_data): Likewise.
20297         (islessequal_test_data): Likewise.
20298         (islessgreater_test_data): Likewise.
20299         (isnan_test_data): Likewise.
20300         (isnormal_test_data): Likewise.
20301         (issignaling_test_data): Likewise.
20302         (isunordered_test_data): Likewise.
20303         (j0_test_data): Likewise.
20304         (j1_test_data): Likewise.
20305         (jn_test_data): Likewise.
20306         (ldexp_test_data): Likewise.
20307         (lgamma_test_data): Likewise.
20308         (lrint_test_data): Likewise.
20309         (lrint_tonearest_test_data): Likewise.
20310         (lrint_towardzero_test_data): Likewise.
20311         (lrint_downward_test_data): Likewise.
20312         (lrint_upward_test_data): Likewise.
20313         (llrint_test_data): Likewise.
20314         (llrint_tonearest_test_data): Likewise.
20315         (llrint_towardzero_test_data): Likewise.
20316         (llrint_downward_test_data): Likewise.
20317         (llrint_upward_test_data): Likewise.
20318         (log_test_data): Likewise.
20319         (log10_test_data): Likewise.
20320         (log1p_test_data): Likewise.
20321         (log2_test_data): Likewise.
20322         (logb_test_data): Likewise.
20323         (logb_downward_test_data): Likewise.
20324         (lround_test_data): Likewise.
20325         (llround_test_data): Likewise.
20326         (modf_test_data): Likewise.
20327         (nearbyint_test_data): Likewise.
20328         (nextafter_test_data): Likewise.
20329         (nexttoward_test_data): Likewise.
20330         (pow_test_data): Likewise.
20331         (pow_tonearest_test_data): Likewise.
20332         (pow_towardzero_test_data): Likewise.
20333         (pow_downward_test_data): Likewise.
20334         (pow_upward_test_data): Likewise.
20335         (remainder_test_data): Likewise.
20336         (remainder_tonearest_test_data): Likewise.
20337         (remainder_towardzero_test_data): Likewise.
20338         (remainder_downward_test_data): Likewise.
20339         (remainder_upward_test_data): Likewise.
20340         (remquo_test_data): Likewise.
20341         (rint_test_data): Likewise.
20342         (rint_tonearest_test_data): Likewise.
20343         (rint_towardzero_test_data): Likewise.
20344         (rint_downward_test_data): Likewise.
20345         (rint_upward_test_data): Likewise.
20346         (round_test_data): Likewise.
20347         (scalb_test_data): Likewise.
20348         (scalbn_test_data): Likewise.
20349         (scalbln_test_data): Likewise.
20350         (signbit_test_data): Likewise.
20351         (sin_test_data): Likewise.
20352         (sin_tonearest_test_data): Likewise.
20353         (sin_towardzero_test_data): Likewise.
20354         (sin_downward_test_data): Likewise.
20355         (sin_upward_test_data): Likewise.
20356         (sincos_test_data): Likewise.
20357         (sinh_test_data): Likewise.
20358         (sinh_tonearest_test_data): Likewise.
20359         (sinh_towardzero_test_data): Likewise.
20360         (sinh_downward_test_data): Likewise.
20361         (sinh_upward_test_data): Likewise.
20362         (sqrt_test_data): Likewise.
20363         (tan_test_data): Likewise.
20364         (tan_tonearest_test_data): Likewise.
20365         (tan_towardzero_test_data): Likewise.
20366         (tan_downward_test_data): Likewise.
20367         (tan_upward_test_data): Likewise.
20368         (tanh_test_data): Likewise.
20369         (tgamma_test_data): Likewise.
20370         (trunc_test_data): Likewise.
20371         (y0_test_data): Likewise.
20372         (y1_test_data): Likewise.
20373         (yn_test_data): Likewise.
20374         (significand_test_data): Likewise.
20375
20376         * math/gen-libm-test.pl (@functions): Remove variable.
20377         (generate_testfile): Don't handle START and END lines.
20378         * math/libm-test.inc (START): New macro.
20379         (END): Likewise.
20380         (END_COMPLEX): Likewise.
20381         (acos_test): Use END macro without arguments.
20382         (acos_test_tonearest): Likewise.
20383         (acos_test_towardzero): Likewise.
20384         (acos_test_downward): Likewise.
20385         (acos_test_upward): Likewise.
20386         (acosh_test): Likewise.
20387         (asin_test): Likewise.
20388         (asin_test_tonearest): Likewise.
20389         (asin_test_towardzero): Likewise.
20390         (asin_test_downward): Likewise.
20391         (asin_test_upward): Likewise.
20392         (asinh_test): Likewise.
20393         (atan_test): Likewise.
20394         (atanh_test): Likewise.
20395         (atan2_test): Likewise.
20396         (cabs_test): Likewise.
20397         (cacos_test): Use END_COMPLEX macro without arguments.
20398         (cacosh_test): Likewise.
20399         (carg_test): Use END macro without arguments.
20400         (casin_test): Use END_COMPLEX macro without arguments.
20401         (casinh_test): Likewise.
20402         (catan_test): Likewise.
20403         (catanh_test): Likewise.
20404         (cbrt_test): Use END macro without arguments.
20405         (ccos_test): Use END_COMPLEX macro without arguments.
20406         (ccosh_test): Likewise.
20407         (ceil_test): Use END macro without arguments.
20408         (cexp_test): Use END_COMPLEX macro without arguments.
20409         (cimag_test): Use END macro without arguments.
20410         (clog_test): Use END_COMPLEX macro without arguments.
20411         (clog10_test): Likewise.
20412         (conj_test): Likewise.
20413         (copysign_test): Use END macro without arguments.
20414         (cos_test): Likewise.
20415         (cos_test_tonearest): Likewise.
20416         (cos_test_towardzero): Likewise.
20417         (cos_test_downward): Likewise.
20418         (cos_test_upward): Likewise.
20419         (cosh_test): Likewise.
20420         (cosh_test_tonearest): Likewise.
20421         (cosh_test_towardzero): Likewise.
20422         (cosh_test_downward): Likewise.
20423         (cosh_test_upward): Likewise.
20424         (cpow_test): Use END_COMPLEX macro without arguments.
20425         (cproj_test): Likewise.
20426         (creal_test): Use END macro without arguments.
20427         (csin_test): Use END_COMPLEX macro without arguments.
20428         (csinh_test): Likewise.
20429         (csqrt_test): Likewise.
20430         (ctan_test): Likewise.
20431         (ctan_test_tonearest): Likewise.
20432         (ctan_test_towardzero): Likewise.
20433         (ctan_test_downward): Likewise.
20434         (ctan_test_upward): Likewise.
20435         (ctanh_test): Likewise.
20436         (ctanh_test_tonearest): Likewise.
20437         (ctanh_test_towardzero): Likewise.
20438         (ctanh_test_downward): Likewise.
20439         (ctanh_test_upward): Likewise.
20440         (erf_test): Use END macro without arguments.
20441         (erfc_test): Likewise.
20442         (exp_test): Likewise.
20443         (exp_test_tonearest): Likewise.
20444         (exp_test_towardzero): Likewise.
20445         (exp_test_downward): Likewise.
20446         (exp_test_upward): Likewise.
20447         (exp10_test): Likewise.
20448         (exp2_test): Likewise.
20449         (expm1_test): Likewise.
20450         (fabs_test): Likewise.
20451         (fdim_test): Likewise.
20452         (finite_test): Likewise.
20453         (floor_test): Likewise.
20454         (fma_test): Likewise.
20455         (fma_test_towardzero): Likewise.
20456         (fma_test_downward): Likewise.
20457         (fma_test_upward): Likewise.
20458         (fmax_test): Likewise.
20459         (fmin_test): Likewise.
20460         (fmod_test): Likewise.
20461         (fpclassify_test): Likewise.
20462         (frexp_test): Likewise.
20463         (gamma_test): Likewise.
20464         (hypot_test): Likewise.
20465         (ilogb_test): Likewise.
20466         (isfinite_test): Likewise.
20467         (isgreater_test): Likewise.
20468         (isgreaterequal_test): Likewise.
20469         (isinf_test): Likewise.
20470         (isless_test): Likewise.
20471         (islessequal_test): Likewise.
20472         (islessgreater_test): Likewise.
20473         (isnan_test): Likewise.
20474         (isnormal_test): Likewise.
20475         (issignaling_test): Likewise.
20476         (isunordered_test): Likewise.
20477         (j0_test): Likewise.
20478         (j1_test): Likewise.
20479         (jn_test): Likewise.
20480         (ldexp_test): Likewise.
20481         (lgamma_test): Likewise.
20482         (lrint_test): Likewise.
20483         (lrint_test_tonearest): Likewise.
20484         (lrint_test_towardzero): Likewise.
20485         (lrint_test_downward): Likewise.
20486         (lrint_test_upward): Likewise.
20487         (llrint_test): Likewise.
20488         (llrint_test_tonearest): Likewise.
20489         (llrint_test_towardzero): Likewise.
20490         (llrint_test_downward): Likewise.
20491         (llrint_test_upward): Likewise.
20492         (log_test): Likewise.
20493         (log10_test): Likewise.
20494         (log1p_test): Likewise.
20495         (log2_test): Likewise.
20496         (logb_test): Likewise.
20497         (logb_test_downward): Likewise.
20498         (lround_test): Likewise.
20499         (llround_test): Likewise.
20500         (modf_test): Likewise.
20501         (nearbyint_test): Likewise.
20502         (nextafter_test): Likewise.
20503         (nexttoward_test): Likewise.
20504         (pow_test): Likewise.
20505         (pow_test_tonearest): Likewise.
20506         (pow_test_towardzero): Likewise.
20507         (pow_test_downward): Likewise.
20508         (pow_test_upward): Likewise.
20509         (remainder_test): Likewise.
20510         (remainder_test_tonearest): Likewise.
20511         (remainder_test_towardzero): Likewise.
20512         (remainder_test_downward): Likewise.
20513         (remainder_test_upward): Likewise.
20514         (remquo_test): Likewise.
20515         (rint_test): Likewise.
20516         (rint_test_tonearest): Likewise.
20517         (rint_test_towardzero): Likewise.
20518         (rint_test_downward): Likewise.
20519         (rint_test_upward): Likewise.
20520         (round_test): Likewise.
20521         (scalb_test): Likewise.
20522         (scalbn_test): Likewise.
20523         (scalbln_test): Likewise.
20524         (signbit_test): Likewise.
20525         (sin_test): Likewise.
20526         (sin_test_tonearest): Likewise.
20527         (sin_test_towardzero): Likewise.
20528         (sin_test_downward): Likewise.
20529         (sin_test_upward): Likewise.
20530         (sincos_test): Likewise.
20531         (sinh_test): Likewise.
20532         (sinh_test_tonearest): Likewise.
20533         (sinh_test_towardzero): Likewise.
20534         (sinh_test_downward): Likewise.
20535         (sinh_test_upward): Likewise.
20536         (sqrt_test): Likewise.
20537         (tan_test): Likewise.
20538         (tan_test_tonearest): Likewise.
20539         (tan_test_towardzero): Likewise.
20540         (tan_test_downward): Likewise.
20541         (tan_test_upward): Likewise.
20542         (tanh_test): Likewise.
20543         (tgamma_test): Likewise.
20544         (trunc_test): Likewise.
20545         (y0_test): Likewise.
20546         (y1_test): Likewise.
20547         (yn_test): Likewise.
20548         (significand_test): Likewise.
20549
20550 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
20551
20552         [BZ #15381]
20553         * libio/genops.c (_IO_no_init): Initialize wide struct info.
20554
20555 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
20556
20557         [BZ #14894]
20558         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
20559         __ppc_mdoio and __ppc_mdoom.
20560         * manual/platform.texi: Document new functions __ppc_yield,
20561         __ppc_mdoio and __ppc_mdoom.
20562
20563 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
20564
20565         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
20566         (main): Mention "tls" pseudo-hwcap is legacy.
20567         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
20568
20569 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
20570
20571         * math/gen-libm-test.pl (parse_args): Output only string of
20572         arguments as text for test name, not full call or descriptions of
20573         tests for extra outputs.
20574         (generate_testfile): Do not pass function name to parse_args.
20575         Generate this_func variable from START.
20576         * math/libm-test.inc (struct test_f_f_data): Rename test_name
20577         field to arg_str.
20578         (struct test_ff_f_data): Likewise.
20579         (test_ff_f_data_nexttoward): Likewise.
20580         (struct test_fi_f_data): Likewise.
20581         (struct test_fl_f_data): Likewise.
20582         (struct test_if_f_data): Likewise.
20583         (struct test_fff_f_data): Likewise.
20584         (struct test_c_f_data): Likewise.
20585         (struct test_f_f1_data): Likewise.  Remove field extra_name.
20586         (struct test_fF_f1_data): Likewise.
20587         (struct test_ffI_f1_data): Likewise.
20588         (struct test_c_c_data): Rename test_name field to arg_str.
20589         (struct test_cc_c_data): Likewise.
20590         (struct test_f_i_data): Likewise.
20591         (struct test_ff_i_data): Likewise.
20592         (struct test_f_l_data): Likewise.
20593         (struct test_f_L_data): Likewise.
20594         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
20595         and extra2_name.
20596         (COMMON_TEST_SETUP): New macro.
20597         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
20598         (COMMON_TEST_CLEANUP): Likewise.
20599         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
20600         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
20601         macros.
20602         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
20603         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
20604         macros.
20605         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
20606         (RUN_TEST_fff_f): Take argument string.  Call new setup and
20607         cleanup macros.
20608         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
20609         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
20610         macros.
20611         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
20612         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
20613         macros.
20614         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20615         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
20616         cleanup macros.
20617         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20618         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
20619         cleanup macros.
20620         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20621         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
20622         cleanup macros.
20623         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20624         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
20625         macros.
20626         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
20627         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
20628         macros.
20629         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
20630         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
20631         macros.
20632         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
20633         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
20634         cleanup macros.
20635         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
20636         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
20637         cleanup macros.
20638         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
20639         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
20640         macros.
20641         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
20642         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
20643         cleanup macros.
20644         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
20645         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
20646         macros.
20647         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
20648         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
20649         macros.
20650         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
20651         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
20652         cleanup macros.
20653         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
20654
20655 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
20656
20657         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
20658         to _sifields.sigfault.
20659         (si_addr_lsb): Define new macro.
20660         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20661         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20662         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
20663
20664 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
20665
20666         [BZ #15441]
20667         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
20668         returns -1.
20669         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
20670         null return -1.
20671         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
20672         loading the domain.
20673
20674 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
20675
20676         * math/gen-libm-test.pl (parse_args): Do not include expected
20677         result in test name.
20678         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
20679         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20680         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20681         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20682         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20684
20685 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20686
20687         * benchtests/Makefile: Sort function entries.
20688
20689         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
20690         tanh, asinh, acosh, atanh.
20691         * benchtests/acos-inputs: New file.
20692         * benchtests/acosh-inputs: New file.
20693         * benchtests/asin-inputs: New file.
20694         * benchtests/asinh-inputs: New file.
20695         * benchtests/atanh-inputs: New file.
20696         * benchtests/cosh-inputs: New file.
20697         * benchtests/log-inputs: New file.
20698         * benchtests/sinh-inputs: New file.
20699         * benchtests/tanh-inputs: New file.
20700
20701 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
20702
20703         [BZ #15339]
20704         * posix/tst-getaddrinfo4.c: New test.
20705         * posix/Makefile (tests): Add it.
20706
20707 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20708
20709         [BZ #15339]
20710         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
20711         when no services were used.
20712         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
20713         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
20714
20715 2013-05-21  Andreas Schwab  <schwab@suse.de>
20716
20717         [BZ #15014]
20718         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
20719         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
20720         successful.
20721         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
20722         redundant variable declarations and reallocation of buffer when
20723         parsing as IPv6 address.  Always set NSS status when called from
20724         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
20725         buffer too small.  Correct computation of needed size.
20726         * nss/Makefile (tests): Add test-digits-dots.
20727         * nss/test-digits-dots.c: New test.
20728
20729 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20730
20731         * benchtests/Makefile: Remove instructions for adding
20732         benchmark tests.
20733         * benchtests/README: New file to explain how to execute and
20734         enhance the benchmark tests.
20735
20736 2013-05-21  Andreas Schwab  <schwab@suse.de>
20737
20738         [BZ #15493]
20739         * setjmp/Makefile (tests): Add tst-sigsetjmp.
20740         * setjmp/tst-sigsetjmp.c: New test.
20741
20742 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
20743
20744         * sysdeps/x86_64/memset.S (memset): New implementation.
20745         (__bzero): Likewise.
20746         (__memset_tail): New function.
20747
20748 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
20749
20750         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
20751         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
20752         __memcpy_sse2_unaligned ifunc selection.
20753         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20754         Add memcpy-sse2-unaligned.S.
20755         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20756         Add: __memcpy_sse2_unaligned.
20757
20758 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
20759
20760         [BZ #15490]
20761         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20762         math_force_eval before restoring floating-point envrionment.
20763         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
20764         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
20765         Likewise.
20766         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
20767         <math_private.h>.
20768         (__nearbyintl): Use math_force_eval before restoring
20769         floating-point environment.
20770         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
20771
20772         * math/gen-libm-test.pl (special_functions): Remove.
20773         (parse_args): Don't handle TEST_extra.  Handle functions with no
20774         return value.
20775         * math/libm-test.inc (struct test_sincos_data): Replace with
20776         struct test_fFF_11_data.
20777         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
20778         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
20779         (sincos_test_data): Change element type to struct
20780         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
20781         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
20782         RUN_TEST_LOOP_sincos.
20783         * math/README.libm-test: Don't mention special handling of
20784         individual functions.
20785         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
20786         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20787         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20788         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20789         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20791
20792         * math/gen-libm-test.pl (get_variable): Remove function.
20793         (parse_args): Don't show pointer parameters to call in test
20794         names.  Use "extra output N" in test names for extra outputs
20795         rather than naming variables.
20796
20797 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
20798
20799         [BZ #15488]
20800         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
20801         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
20802         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
20803         double tests.
20804         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
20805         disable.
20806         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
20807         check_long_double.
20808
20809         * math/gen-libm-test.pl (@tests): Remove variable.
20810         ($count): Likewise.
20811         (new_test): Remove function.
20812         (show_exceptions): New function.
20813         (special_functions): Use show_exceptions instead of new_test.
20814         (parse_args): Likewise.
20815         (generate_testfile): Pass only function name in generated call to
20816         print_max_error or print_complex_max_error.
20817         (get_ulps): Do not handle complex tests specially.
20818         (output_test): Rename to ...
20819         (get_all_ulps_for_test): ... this.  Return a string rather than
20820         printing to a file.  Require ulps to be present.
20821         (output_ulps): Generate arrays rather than #defines.
20822         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
20823         (struct ulp_data): New type.
20824         (BUILD_COMPLEX_ULP): Remove macro.
20825         (compare_ulp_data): New function.
20826         (find_ulps): Likewise.
20827         (find_test_ulps): Likewise.
20828         (find_function_ulps): Likewise.
20829         (find_complex_function_ulps): Likewise.
20830         (print_max_error): Determine allowed ulps using
20831         find_function_ulps.
20832         (print_complex_max_error): Determine allowed ulps using
20833         find_complex_function_ulps.
20834         (check_float_internal): Determine max ulps using find_test_ulps.
20835         (check_float): Do not take max_ulp parameter.  Update call to
20836         check_float_internal.
20837         (check_complex): Likewise.
20838         (check_int): Do not take max_ulp parameter.
20839         (check_long): Likewise.
20840         (check_bool): Likewise.
20841         (check_longlong): Likewise.
20842         (struct test_f_f_data): Remove max_ulp field.
20843         (struct test_ff_f_data): Likewise.
20844         (struct test_ff_f_data_nexttoward): Likewise.
20845         (struct test_fi_f_data): Likewise.
20846         (struct test_fl_f_data): Likewise.
20847         (struct test_if_f_data): Likewise.
20848         (struct test_fff_f_data): Likewise.
20849         (struct test_c_f_data): Likewise.
20850         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20851         (struct test_fF_f1_data): Likewise.
20852         (struct test_ffI_f1_data): Likewise.
20853         (struct test_c_c_data): Remove max_ulp field.
20854         (struct test_cc_c_data): Likewise.
20855         (struct test_f_i_data): Likewise.
20856         (struct test_ff_i_data): Likewise.
20857         (struct test_f_l_data): Likewise.
20858         (struct test_f_L_data): Likewise.
20859         (struct test_sincos_data): Likewise.
20860         (RUN_TEST_f_f): Do not handle ulps.
20861         (RUN_TEST_LOOP_f_f): Likewise.
20862         (RUN_TEST_2_f): Likewise.
20863         (RUN_TEST_LOOP_2_f): Likewise.
20864         (RUN_TEST_fff_f): Likewise.
20865         (RUN_TEST_LOOP_fff_f): Likewise.
20866         (RUN_TEST_c_f): Likewise.
20867         (RUN_TEST_LOOP_c_f): Likewise.
20868         (RUN_TEST_f_f1): Likewise.
20869         (RUN_TEST_LOOP_f_f1): Likewise.
20870         (RUN_TEST_fF_f1): Likewise.
20871         (RUN_TEST_LOOP_fF_f1): Likewise.
20872         (RUN_TEST_fI_f1): Likewise.
20873         (RUN_TEST_LOOP_fI_f1): Likewise.
20874         (RUN_TEST_ffI_f1): Likewise.
20875         (RUN_TEST_LOOP_ffI_f1): Likewise.
20876         (RUN_TEST_c_c): Likewise.
20877         (RUN_TEST_LOOP_c_c): Likewise.
20878         (RUN_TEST_cc_c): Likewise.
20879         (RUN_TEST_LOOP_cc_c): Likewise.
20880         (RUN_TEST_f_i): Likewise.
20881         (RUN_TEST_LOOP_f_i): Likewise.
20882         (RUN_TEST_f_i_tg): Likewise.
20883         (RUN_TEST_LOOP_f_i_tg): Likewise.
20884         (RUN_TEST_ff_i_tg): Likewise.
20885         (RUN_TEST_LOOP_ff_i_tg): Likewise.
20886         (RUN_TEST_f_b): Likewise.
20887         (RUN_TEST_LOOP_f_b): Likewise.
20888         (RUN_TEST_f_b_tg): Likewise.
20889         (RUN_TEST_LOOP_f_b_tg): Likewise.
20890         (RUN_TEST_f_l): Likewise.
20891         (RUN_TEST_LOOP_f_l): Likewise.
20892         (RUN_TEST_f_L): Likewise.
20893         (RUN_TEST_LOOP_f_L): Likewise.
20894         (RUN_TEST_sincos): Likewise.
20895         (RUN_TEST_LOOP_sincos): Likewise.
20896
20897 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
20898
20899         [BZ #15480]
20900         [BZ #15485]
20901         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20902         main case of finite arguments, set rounding mode to FE_TONEAREST
20903         and discard exceptions.
20904         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20905         exceptions.
20906         (remainder_tonearest_test_data): New variable.
20907         (remainder_test_tonearest): New function.
20908         (remainder_towardzero_test_data): New variable.
20909         (remainder_test_towardzero): New function.
20910         (remainder_downward_test_data): New variable.
20911         (remainder_test_downward): New function.
20912         (remainder_upward_test_data): New variable.
20913         (remainder_test_upward): New function.
20914         (main): Call the new test functions.
20915
20916         * math/libm-test.inc (struct test_f_f1_data): Remove field
20917         extra_init.
20918         (struct test_fF_f1_data): Likewise.
20919         (struct test_ffI_f1_data): Likewise.
20920         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
20921         based on value of EXTRA_EXPECTED.
20922         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20923         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
20924         EXTRA_VAR based on value of EXTRA_EXPECTED.
20925         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20926         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
20927         EXTRA_VAR based on value of EXTRA_EXPECTED.
20928         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20929         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
20930         EXTRA_VAR based on value of EXTRA_EXPECTED.
20931         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20932         * math/gen-libm-test.pl (parse_args): Don't output initializers
20933         for extra output values.
20934
20935         * math/libm-test.inc (check_int): Expect result to be exactly
20936         equal to expected value and do not handle ulps.
20937         (check_long): Likewise.
20938         (check_longlong): Likewise.
20939
20940         * math/libm-test.inc (ceil_test_data): Test for "inexact"
20941         exceptions.
20942         (cimag_test_data): Likewise.
20943         (conj_test_data): Likewise.
20944         (copysign_test_data): Likewise.
20945         (cproj_test_data): Likewise.
20946         (creal_test_data): Likewise.
20947         (fabs_test_data): Likewise.
20948         (fdim_test_data): Likewise.
20949         (finite_test_data): Likewise.
20950         (floor_test_data): Likewise.
20951         (fmax_test_data): Likewise.
20952         (fmin_test_data): Likewise.
20953         (fmod_test_data): Likewise.
20954         (fpclassify_test_data): Likewise.
20955         (frexp_test_data): Likewise.
20956         (ilogb_test_data): Likewise.
20957         (isfinite_test_data): Likewise.
20958         (isgreater_test_data): Likewise.
20959         (isgreaterequal_test_data): Likewise.
20960         (isinf_test_data): Likewise.
20961         (isless_test_data): Likewise.
20962         (islessequal_test_data): Likewise.
20963         (islessgreater_test_data): Likewise.
20964         (isnan_test_data): Likewise.
20965         (isnormal_test_data): Likewise.
20966         (issignaling_test_data): Likewise.
20967         (isunordered_test_data): Likewise.
20968         (ldexp_test_data): Likewise.
20969         (lrint_test_data): Likewise.
20970         (lrint_test_data) [TEST_FLOAT]: Disable one test.
20971         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20972         (lrint_tonearest_test_data): Test for "inexact" exceptions.
20973         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20974         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20975         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20976         test input.
20977         (lrint_towardzero_test_data): Test for "inexact" exceptions.
20978         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20979         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20980         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20981         that test input.
20982         (lrint_downward_test_data): Test for "inexact" exceptions.
20983         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20984         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20985         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20986         test input.
20987         (lrint_upward_test_data): Test for "inexact" exceptions.
20988         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20989         test input.
20990         (llrint_test_data): Test for "inexact" exceptions.
20991         (llrint_test_data) [TEST_FLOAT]: Disable one test.
20992         (llrint_tonearest_test_data): Test for "inexact" exceptions.
20993         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20994         (llrint_towardzero_test_data): Test for "inexact" exceptions.
20995         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20996         (llrint_downward_test_data): Test for "inexact" exceptions.
20997         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20998         (llrint_upward_test_data): Test for "inexact" exceptions.
20999         (logb_test_data): Likewise.
21000         (logb_downward_test_data): Likewise.
21001         (nextafter_test_data): Likewise.
21002         (nexttoward_test_data): Likewise.
21003         (remainder_test_data): Likewise.
21004         (remquo_test_data): Likewise.
21005         (scalbn_test_data): Likewise.
21006         (scalbln_test_data): Likewise.
21007         (signbit_test_data): Likewise.
21008         (sqrt_test_data): Likewise.
21009         (significand_test_data): Likewise.
21010
21011 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21012
21013         [BZ #15424]
21014         * benchtests/bench-modf.c (struct args): Mark arg0 as
21015         volatile.
21016         * scripts/bench.pl: Mark members of struct args as volatile.
21017
21018 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21019
21020         [BZ # 15497]
21021         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
21022         negative infinity on POWER6 or lower.
21023         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
21024
21025 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
21026
21027         [BZ #15442]
21028         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
21029         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
21030         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
21031         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
21032         (_FP_SETQNAN): New macro.
21033         (_FP_SETQNAN_SEMIRAW): Likewise.
21034         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
21035         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
21036         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
21037         (FP_EXTEND): Use _FP_FRAC_SNANP.
21038         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
21039         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
21040         into account.
21041         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
21042         New macro.
21043         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
21044         Likewise.
21045
21046 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
21047
21048         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
21049         with DIVIDE_BY_ZERO_EXCEPTION.
21050         (gamma_test_data): Likewise.
21051         (lgamma_test_data): Likewise.
21052         (log_test_data): Likewise.
21053         (log10_test_data): Likewise.
21054         (log2_test_data): Likewise.
21055         (tgamma_test_data): Likewise.
21056
21057         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
21058         (acos_test_tonearest): Likewise.
21059         (acos_test_towardzero): Likewise.
21060         (acos_test_downward): Likewise.
21061         (acos_test_upward): Likewise.
21062         (acosh_test): Likewise.
21063         (asin_test): Likewise.
21064         (asin_test_tonearest): Likewise.
21065         (asin_test_towardzero): Likewise.
21066         (asin_test_downward): Likewise.
21067         (asin_test_upward): Likewise.
21068         (asinh_test): Likewise.
21069         (atan_test): Likewise.
21070         (atanh_test): Likewise.
21071         (atan2_test): Likewise.
21072         (cabs_test): Likewise.
21073         (cacos_test): Likewise.
21074         (cacosh_test): Likewise.
21075         (casin_test): Likewise.
21076         (casinh_test): Likewise.
21077         (catan_test): Likewise.
21078         (catanh_test): Likewise.
21079         (cbrt_test): Likewise.
21080         (ccos_test): Likewise.
21081         (ccosh_test): Likewise.
21082         (cexp_test): Likewise.
21083         (clog_test): Likewise.
21084         (clog10_test): Likewise.
21085         (cos_test): Likewise.
21086         (cos_test_tonearest): Likewise.
21087         (cos_test_towardzero): Likewise.
21088         (cos_test_downward): Likewise.
21089         (cos_test_upward): Likewise.
21090         (cosh_test): Likewise.
21091         (cosh_test_tonearest): Likewise.
21092         (cosh_test_towardzero): Likewise.
21093         (cosh_test_downward): Likewise.
21094         (cosh_test_upward): Likewise.
21095         (cpow_test): Likewise.
21096         (csin_test): Likewise.
21097         (csinh_test): Likewise.
21098         (csqrt_test): Likewise.
21099         (ctan_test): Likewise.
21100         (ctan_test_tonearest): Likewise.
21101         (ctan_test_towardzero): Likewise.
21102         (ctan_test_downward): Likewise.
21103         (ctan_test_upward): Likewise.
21104         (ctanh_test): Likewise.
21105         (ctanh_test_tonearest): Likewise.
21106         (ctanh_test_towardzero): Likewise.
21107         (ctanh_test_downward): Likewise.
21108         (ctanh_test_upward): Likewise.
21109         (erf_test): Likewise.
21110         (erfc_test): Likewise.
21111         (exp_test): Likewise.
21112         (exp_test_tonearest): Likewise.
21113         (exp_test_towardzero): Likewise.
21114         (exp_test_downward): Likewise.
21115         (exp_test_upward): Likewise.
21116         (exp10_test): Likewise.
21117         (exp2_test): Likewise.
21118         (expm1_test): Likewise.
21119         (fmod_test): Likewise.
21120         (gamma_test): Likewise.
21121         (hypot_test): Likewise.
21122         (j0_test): Likewise.
21123         (j1_test): Likewise.
21124         (jn_test): Likewise.
21125         (lgamma_test): Likewise.
21126         (log_test): Likewise.
21127         (log10_test): Likewise.
21128         (log1p_test): Likewise.
21129         (log2_test): Likewise.
21130         (logb_test_downward): Likewise.
21131         (pow_test): Likewise.
21132         (pow_test_tonearest): Likewise.
21133         (pow_test_towardzero): Likewise.
21134         (pow_test_downward): Likewise.
21135         (pow_test_upward): Likewise.
21136         (remainder_test): Likewise.
21137         (remquo_test): Likewise.
21138         (sin_test): Likewise.
21139         (sin_test_tonearest): Likewise.
21140         (sin_test_towardzero): Likewise.
21141         (sin_test_downward): Likewise.
21142         (sin_test_upward): Likewise.
21143         (sincos_test): Likewise.
21144         (sinh_test): Likewise.
21145         (sinh_test_tonearest): Likewise.
21146         (sinh_test_towardzero): Likewise.
21147         (sinh_test_downward): Likewise.
21148         (sinh_test_upward): Likewise.
21149         (sqrt_test): Likewise.
21150         (tan_test): Likewise.
21151         (tan_test_tonearest): Likewise.
21152         (tan_test_towardzero): Likewise.
21153         (tan_test_downward): Likewise.
21154         (tan_test_upward): Likewise.
21155         (tanh_test): Likewise.
21156         (tgamma_test): Likewise.
21157         (y0_test): Likewise.
21158         (y1_test): Likewise.
21159         (yn_test): Likewise.
21160
21161         * math/gen-libm-test.pl (adjust_arg): Remove function.
21162         (special_function): Remove argument $in_func.  Only handle
21163         generating output for tables of tests, not inside functions.
21164         (parse_args): Likewise.
21165         (generate_testfile): Remove variable $in_func.  Update call to
21166         parse_args.
21167         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
21168         (MINUS_ZERO_INIT): Rename macro to minus_zero.
21169         (PLUS_INFTY_INIT): Rename macro to plus_infty.
21170         (MINUS_INFTY_INIT): Rename macro to minus_infty.
21171         (QNAN_VALUE_INIT): Rename macro to qnan_value.
21172         (MAX_VALUE_INIT): Rename macro to max_value.
21173         (MIN_VALUE_INIT): Rename macro to min_value.
21174         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
21175         (plus_zero): Remove variable.
21176         (minus_zero): Likewise.
21177         (plus_infty): Likewise.
21178         (minus_infty): Likewise.
21179         (qnan_value): Likewise.
21180         (max_value): Likewise.
21181         (min_value): Likewise.
21182         (min_subnorm_value): Likewise.
21183
21184 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21185
21186         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
21187         uint64_t or uint32_t usage.
21188         * crypt/sha256-block.c: Likewise.
21189         * crypt/sha256-crypt.c: Likewise.
21190         * crypt/sha256.c: Likewise.
21191         * crypt/sha512-block.c: Likewise.
21192         * crypt/sha512-crypt.c: Likewise.
21193         * crypt/sha512.c: Likewise.
21194         * debug/backtrace-tst.c: Likewise.
21195         * debug/pcprofiledump.c: Likewise.
21196         * elf/cache.c: Likewise.
21197         * elf/dl-cache.c: Likewise.
21198         * elf/dl-misc.c: Likewise.
21199         * elf/dl-profile.c: Likewise.
21200         * elf/dl-support.c: Likewise.
21201         * elf/ldconfig.c: Likewise.
21202         * elf/sprof.c: Likewise.
21203         * iconv/dummy-repertoire.c: Likewise.
21204         * iconv/iconv_charmap.c: Likewise.
21205         * iconv/skeleton.c: Likewise.
21206         * iconvdata/8bit-generic.c: Likewise.
21207         * iconvdata/cp737.h: Likewise.
21208         * iconvdata/cp775.h: Likewise.
21209         * iconvdata/ibm1008.h: Likewise.
21210         * iconvdata/ibm1025.h: Likewise.
21211         * iconvdata/ibm1046.h: Likewise.
21212         * iconvdata/ibm1097.h: Likewise.
21213         * iconvdata/ibm1112.h: Likewise.
21214         * iconvdata/ibm1122.h: Likewise.
21215         * iconvdata/ibm1123.h: Likewise.
21216         * iconvdata/ibm1124.h: Likewise.
21217         * iconvdata/ibm1129.h: Likewise.
21218         * iconvdata/ibm1130.h: Likewise.
21219         * iconvdata/ibm1132.h: Likewise.
21220         * iconvdata/ibm1133.h: Likewise.
21221         * iconvdata/ibm1137.h: Likewise.
21222         * iconvdata/ibm1140.h: Likewise.
21223         * iconvdata/ibm1141.h: Likewise.
21224         * iconvdata/ibm1142.h: Likewise.
21225         * iconvdata/ibm1143.h: Likewise.
21226         * iconvdata/ibm1144.h: Likewise.
21227         * iconvdata/ibm1145.h: Likewise.
21228         * iconvdata/ibm1146.h: Likewise.
21229         * iconvdata/ibm1147.h: Likewise.
21230         * iconvdata/ibm1148.h: Likewise.
21231         * iconvdata/ibm1149.h: Likewise.
21232         * iconvdata/ibm1153.h: Likewise.
21233         * iconvdata/ibm1154.h: Likewise.
21234         * iconvdata/ibm1155.h: Likewise.
21235         * iconvdata/ibm1156.h: Likewise.
21236         * iconvdata/ibm1157.h: Likewise.
21237         * iconvdata/ibm1158.h: Likewise.
21238         * iconvdata/ibm1160.h: Likewise.
21239         * iconvdata/ibm1161.h: Likewise.
21240         * iconvdata/ibm1162.h: Likewise.
21241         * iconvdata/ibm1163.h: Likewise.
21242         * iconvdata/ibm1164.h: Likewise.
21243         * iconvdata/ibm1166.h: Likewise.
21244         * iconvdata/ibm1167.h: Likewise.
21245         * iconvdata/ibm12712.h: Likewise.
21246         * iconvdata/ibm1390.h: Likewise.
21247         * iconvdata/ibm1399.h: Likewise.
21248         * iconvdata/ibm16804.h: Likewise.
21249         * iconvdata/ibm4517.h: Likewise.
21250         * iconvdata/ibm4899.h: Likewise.
21251         * iconvdata/ibm4909.h: Likewise.
21252         * iconvdata/ibm4971.h: Likewise.
21253         * iconvdata/ibm5347.h: Likewise.
21254         * iconvdata/ibm803.h: Likewise.
21255         * iconvdata/ibm856.h: Likewise.
21256         * iconvdata/ibm901.h: Likewise.
21257         * iconvdata/ibm902.h: Likewise.
21258         * iconvdata/ibm9030.h: Likewise.
21259         * iconvdata/ibm9066.h: Likewise.
21260         * iconvdata/ibm921.h: Likewise.
21261         * iconvdata/ibm922.h: Likewise.
21262         * iconvdata/ibm9448.h: Likewise.
21263         * iconvdata/isiri-3342.h: Likewise.
21264         * iconvdata/jis0201.h: Likewise.
21265         * include/link.h: Likewise.
21266         * include/netdb.h: Likewise.
21267         * inet/check_native.c: Likewise.
21268         * inet/check_pf.c: Likewise.
21269         * inet/getipv4sourcefilter.c: Likewise.
21270         * inet/getnameinfo.c: Likewise.
21271         * inet/getsourcefilter.c: Likewise.
21272         * inet/htonl.c: Likewise.
21273         * inet/setipv4sourcefilter.c: Likewise.
21274         * inet/setsourcefilter.c: Likewise.
21275         * inet/test-inet6_opt.c: Likewise.
21276         * inet/tst-network.c: Likewise.
21277         * locale/C-collate.c: Likewise.
21278         * locale/C-ctype.c: Likewise.
21279         * locale/C-time.c: Likewise.
21280         * locale/C-translit.h: Likewise.
21281         * locale/loadarchive.c: Likewise.
21282         * locale/programs/3level.h: Likewise.
21283         * locale/programs/charmap.c: Likewise.
21284         * locale/programs/charmap.h: Likewise.
21285         * locale/programs/ld-address.c: Likewise.
21286         * locale/programs/ld-collate.c: Likewise.
21287         * locale/programs/ld-ctype.c: Likewise.
21288         * locale/programs/ld-identification.c: Likewise.
21289         * locale/programs/ld-measurement.c: Likewise.
21290         * locale/programs/ld-messages.c: Likewise.
21291         * locale/programs/ld-monetary.c: Likewise.
21292         * locale/programs/ld-name.c: Likewise.
21293         * locale/programs/ld-numeric.c: Likewise.
21294         * locale/programs/ld-paper.c: Likewise.
21295         * locale/programs/ld-telephone.c: Likewise.
21296         * locale/programs/ld-time.c: Likewise.
21297         * locale/programs/linereader.c: Likewise.
21298         * locale/programs/locale.c: Likewise.
21299         * locale/programs/locarchive.c: Likewise.
21300         * locale/programs/locfile.h: Likewise.
21301         * locale/programs/repertoire.c: Likewise.
21302         * locale/programs/simple-hash.c: Likewise.
21303         * locale/programs/simple-hash.h: Likewise.
21304         * malloc/memusage.c: Likewise.
21305         * malloc/memusagestat.c: Likewise.
21306         * nis/nis_defaults.c: Likewise.
21307         * nis/nis_hash.c: Likewise.
21308         * nis/nis_print.c: Likewise.
21309         * nis/nis_xdr.c: Likewise.
21310         * nscd/connections.c: Likewise.
21311         * nscd/hstcache.c: Likewise.
21312         * nscd/nscd_gethst_r.c: Likewise.
21313         * nscd/nscd_getserv_r.c: Likewise.
21314         * nscd/nscd_helper.c: Likewise.
21315         * nscd/servicescache.c: Likewise.
21316         * nss/makedb.c: Likewise.
21317         * nss/nss_db/db-XXX.c: Likewise.
21318         * nss/nss_db/db-initgroups.c: Likewise.
21319         * nss/nss_db/db-netgrp.c: Likewise.
21320         * nss/nss_files/files-network.c: Likewise.
21321         * nss/nss_files/files-parse.c: Likewise.
21322         * posix/bug-regex5.c: Likewise.
21323         * posix/fnmatch_loop.c: Likewise.
21324         * posix/regcomp.c: Likewise.
21325         * posix/regexec.c: Likewise.
21326         * posix/tst-rfc3484-2.c: Likewise.
21327         * posix/tst-rfc3484-3.c: Likewise.
21328         * posix/tst-rfc3484.c: Likewise.
21329         * resolv/nss_dns/dns-canon.c: Likewise.
21330         * resolv/nss_dns/dns-network.c: Likewise.
21331         * resolv/res_init.c: Likewise.
21332         * resolv/res_mkquery.c: Likewise.
21333         * resolv/tst-aton.c: Likewise.
21334         * stdlib/cxa_atexit.c: Likewise.
21335         * stdlib/cxa_finalize.c: Likewise.
21336         * stdlib/gen-fpioconst.c: Likewise.
21337         * stdlib/strtol_l.c: Likewise.
21338         * string/tst-endian.c: Likewise.
21339         * sunrpc/auth_des.c: Likewise.
21340         * sunrpc/clnt_udp.c: Likewise.
21341         * sunrpc/rtime.c: Likewise.
21342         * sunrpc/svcauth_des.c: Likewise.
21343         * sunrpc/xdr.c: Likewise.
21344         * sunrpc/xdr_intXX_t.c: Likewise.
21345         * sunrpc/xdr_rec.c: Likewise.
21346         * sysdeps/generic/ldconfig.h: Likewise.
21347         * sysdeps/generic/ldsodefs.h: Likewise.
21348         * sysdeps/generic/memusage.h: Likewise.
21349         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21350         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
21351         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
21352         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21353         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21354         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21355         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21356         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21357         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21358         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21359         * sysdeps/posix/getaddrinfo.c: Likewise.
21360         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21361         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21362         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21363         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21364         * sysdeps/powerpc/test-gettimebase.c: Likewise.
21365         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21366         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
21367         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
21368         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
21369         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
21370         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21371         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21372         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
21373         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
21374         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
21375         * sysdeps/x86_64/dl-tls.h: Likewise.
21376         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
21377         * time/alt_digit.c: Likewise.
21378         * time/era.c: Likewise.
21379         * wcsmbs/tst-c16c32-1.c: Likewise.
21380
21381 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
21382
21383         * math/libm-test.inc (struct test_sincos_data): New type.
21384         (RUN_TEST_LOOP_sincos): New macro.
21385         (sincos_test_data): New variable.
21386         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
21387
21388 2013-05-16  Richard Henderson  <rth@redhat.com>
21389
21390         * math/atest-exp2.c (LIMB64): New macro.
21391         (CONSTSZ): New macro.
21392         (mp_exp1, mp_exp_m1, mp_log2): New variables.
21393         (hexdig): Move ...
21394         (print_mpn_fp): ... to function scope.
21395         (read_mpn_hex): Remove.
21396         (get_log2): Remove.
21397         (exp2_mpn): Use mp_log2.
21398         (main): Use mp_exp1.
21399
21400 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
21401
21402         * math/libm-test.inc: Remove comment about not testing "inexact"
21403         exceptions.
21404         (INEXACT_EXCEPTION): New macro.
21405         (NO_INEXACT_EXCEPTION): Likewise.
21406         (INVALID_EXCEPTION_OK): Update value.
21407         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21408         (OVERFLOW_EXCEPTION_OK): Likewise.
21409         (UNDERFLOW_EXCEPTION_OK): Likewise.
21410         (IGNORE_ZERO_INF_SIGN): Likewise.
21411         (ERRNO_UNCHANGED): Likewise.
21412         (ERRNO_EDOM): Likewise.
21413         (ERRNO_ERANGE): Likewise.
21414         (test_exceptions): Handle testing "inexact" exceptions.
21415         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
21416         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
21417         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
21418         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
21419         INEXACT_EXCEPTION.
21420         (rint_towardzero_test_data): Likewise.
21421         (rint_downward_test_data): Likewise.
21422         (rint_upward_test_data): Likewise.
21423
21424         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
21425         with OVERFLOW_EXCEPTION.
21426         (exp10_test_data): Likewise.
21427         (exp2_test_data): Likewise.
21428         (expm1_test_data): Likewise.
21429         (lgamma_test_data): Likewise.
21430         (pow_test_data): Likewise.
21431         (tgamma_test_data): Likewise.
21432         (yn_test_data): Remove duplicate test of overflow.
21433
21434         * math/libm-test.inc (struct test_cc_c_data): New type.
21435         (RUN_TEST_LOOP_cc_c): New macro.
21436         (cpow_test_data): New variable.
21437         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
21438
21439         * math/libm-test.inc (struct test_f_L_data): New type.
21440         (RUN_TEST_LOOP_f_L): New macro.
21441         (llrint_test_data): New variable.
21442         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
21443         (llrint_tonearest_test_data): New variable.
21444         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
21445         (llrint_towardzero_test_data): New variable.
21446         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
21447         (llrint_downward_test_data): New variable.
21448         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
21449         (llrint_upward_test_data): New variable.
21450         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
21451         (llround_test_data): New variable.
21452         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
21453
21454 2013-05-13  Peter Collingbourne  <pcc@google.com>
21455
21456         * math/atest-exp2.c (get_log2): Remove const attribute.
21457
21458 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
21459
21460         * math/libm-test.inc (struct test_f_l_data): New type.
21461         (RUN_TEST_LOOP_f_l): New macro.
21462         (lrint_test_data): New variable.
21463         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
21464         (lrint_tonearest_test_data): New variable.
21465         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
21466         (lrint_towardzero_test_data): New variable.
21467         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
21468         (lrint_downward_test_data): New variable.
21469         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
21470         (lrint_upward_test_data): New variable.
21471         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
21472         (lround_test_data): New variable.
21473         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
21474
21475 2013-05-15  Peter Collingbourne  <pcc@google.com>
21476
21477         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
21478         (EXTRACT_WORDS64) Use where appropriate.
21479         (INSERT_WORDS64) Likewise.
21480
21481         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
21482         constraints with x constraints.
21483         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
21484
21485         * malloc/obstack.c (_obstack_compat): Add initializer.
21486
21487 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
21488
21489         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
21490         si_trapno and add si_addr_lsb to _sifields.sigfault.
21491         (si_trapno): Remove macro.
21492         (si_addr_lsb): Define new macro.
21493         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21494
21495 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
21496
21497         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
21498         instead of TEST_f_l.
21499         (llrint_test_tonearest): Likewise.
21500         (llrint_test_towardzero): Likewise.
21501         (llrint_test_downward): Likewise.
21502         (llrint_test_upward): Likewise.
21503         (llround_test): Likewise.
21504
21505         * math/libm-test.inc (struct test_f_i_data): Add comment.
21506         (RUN_TEST_LOOP_f_b): New macro.
21507         (RUN_TEST_LOOP_f_b_tg): Likewise.
21508         (finite_test_data): New variable.
21509         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
21510         (isfinite_test_data): New variable.
21511         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21512         (isinf_test_data): New variable.
21513         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21514         (isnan_test_data): New variable.
21515         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21516         (isnormal_test_data): New variable.
21517         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21518         (issignaling_test_data): New variable.
21519         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21520         (signbit_test_data): New variable.
21521         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21522
21523         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
21524         with INVALID_EXCEPTION.
21525         (acosh_test_data): Likewise.
21526         (asin_test_data): Likewise.
21527         (atanh_test_data): Likewise.
21528         (fmod_test_data): Likewise.
21529         (log_test_data): Likewise.
21530         (log10_test_data): Likewise.
21531         (log2_test_data): Likewise.
21532         (pow_test_data): Likewise.
21533         (sqrt_test_data): Likewise.
21534         (y0_test_data): Likewise.
21535         (y1_test_data): Likewise.
21536         (yn_test_data): Likewise.
21537
21538         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
21539         function contents.
21540
21541         * math/libm-test.inc (struct test_ff_i_data): New type.
21542         (RUN_TEST_LOOP_ff_i_tg): New macro.
21543         (isgreater_test_data): New variable.
21544         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21545         (isgreaterequal_test_data): New variable.
21546         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21547         (isless_test_data): New variable.
21548         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21549         (islessequal_test_data): New variable.
21550         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21551         (islessgreater_test_data): New variable.
21552         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21553         (isunordered_test_data): New variable.
21554         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21555
21556 2013-05-14  David S. Miller  <davem@davemloft.net>
21557
21558         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21559
21560 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
21561
21562         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
21563
21564         * math/libm-test.inc (struct test_fF_f1_data): Change type of
21565         extra_test to int.
21566         (struct test_f_i_data): Change type of max_ulp to int.
21567
21568         * math/libm-test.inc (test_ffI_f1_data): New type.
21569         (RUN_TEST_LOOP_ffI_f1): New macro.
21570         (remquo_test_data): New variable.
21571         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
21572
21573         * setjmp/tst-setjmp-fp.c: New file.
21574         * setjmp/Makefile (tests): Add tst-setjmp-fp.
21575         (link-libm): New variable.
21576         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
21577
21578         * math/libm-test.inc (struct test_f_i_data): New type.
21579         (RUN_TEST_LOOP_f_i): New macro.
21580         (RUN_TEST_LOOP_f_i_tg): Likewise.
21581         (fpclassify_test_data): New variable.
21582         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
21583         (ilogb_test_data): New variable.
21584         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
21585
21586         * math/libm-test.inc (scalbln_test): Correct function name in END
21587         call.
21588
21589         * math/libm-test.inc (struct test_f_f1_data): Add comment.
21590         (RUN_TEST_LOOP_fI_f1): New macro.
21591         (frexp_test_data): New variable.
21592         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
21593
21594         * math/libm-test.inc (struct test_fF_f1_data): New type.
21595         (RUN_TEST_LOOP_fF_f1): New macro.
21596         (modf_test_data): New variable.
21597         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
21598
21599         * math/libm-test.inc (struct test_f_f1_data): New type.
21600         (RUN_TEST_LOOP_f_f1): New macro.
21601         (gamma_test_data): New variable.
21602         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21603         (lgamma_test_data): New variable.
21604         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21605
21606 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
21607
21608         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
21609         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
21610         (main): Comment "tls" pseudo-hwcap.
21611
21612 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
21613
21614         * math/libm-test.inc (struct test_fl_f_data): New type.
21615         (RUN_TEST_LOOP_fl_f): New variable.
21616         (scalbln_test_data): New variable.
21617         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
21618
21619         * math/libm-test.inc (struct test_fi_f_data): New type.
21620         (RUN_TEST_LOOP_fi_f): New macro.
21621         (ldexp_test_data): New variable.
21622         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
21623         (scalbn_test_data): New variable.
21624         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
21625
21626         * math/libm-test.inc (struct test_c_f_data): New type.
21627         (RUN_TEST_LOOP_c_f): New macro.
21628         (cabs_test_data): New variable.
21629         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
21630         (carg_test_data): New variable.
21631         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
21632         (cimag_test_data): New variable.
21633         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
21634         (creal_test_data): New variable.
21635         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
21636
21637         * math/libm-test.inc (struct test_if_f_data): New type.
21638         (RUN_TEST_LOOP_if_f): New macro.
21639         (jn_test_data): New variable.
21640         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
21641         (yn_test_data): New variable.
21642         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
21643
21644         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
21645
21646 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21647
21648         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
21649         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
21650
21651 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21652
21653         * benchtests/Makefile (CPPFLAGS-nonlib): Add
21654         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
21655         (bench-deps): Add bench-timing.h.
21656         * benchtests-bench-skeleton.c: Include bench-timing.h.
21657         (main): Use TIMING_* macros instead of clock_gettime.
21658         * benchtests/bench-timing.h: New file.
21659
21660         [BZ #14582]
21661         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
21662         Renamed from _LIB_VERSION.
21663         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
21664
21665 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
21666
21667         * math/libm-test.inc (struct test_fff_f_data): New type.
21668         (RUN_TEST_LOOP_fff_f): New macro.
21669         (fma_test_data): New variable.
21670         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
21671         (fma_towardzero_test_data): New variable.
21672         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
21673         (fma_downward_test_data): New variable.
21674         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
21675         (fma_upward_test_data): New variable.
21676         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
21677
21678         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
21679         (struct test_c_c_data): New type.
21680         (RUN_TEST_LOOP_c_c): New macro.
21681         (cacos_test_data): New variable.
21682         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
21683         (cacosh_test_data): New variable.
21684         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
21685         (casin_test_data): New variable.
21686         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
21687         (casinh_test_data): New variable.
21688         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
21689         (catan_test_data): New variable.
21690         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
21691         (catanh_test_data): New variable.
21692         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
21693         (ccos_test_data): New variable.
21694         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
21695         (ccosh_test_data): New variable.
21696         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
21697         (cexp_test_data): New variable.
21698         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
21699         (clog_test_data): New variable.
21700         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
21701         (clog10_test_data): New variable.
21702         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
21703         (conj_test_data): New variable.
21704         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
21705         (cproj_test_data): New variable.
21706         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
21707         (csin_test_data): New variable.
21708         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
21709         (csinh_test_data): New variable.
21710         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
21711         (csqrt_test_data): New variable.
21712         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
21713         (ctan_test_data): New variable.
21714         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
21715         (ctan_tonearest_test_data): New variable.
21716         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21717         (ctan_towardzero_test_data): New variable.
21718         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21719         (ctan_downward_test_data): New variable.
21720         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21721         (ctan_upward_test_data): New variable.
21722         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21723         (ctanh_test_data): New variable.
21724         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
21725         (ctanh_tonearest_test_data): New variable.
21726         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21727         (ctanh_towardzero_test_data): New variable.
21728         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21729         (ctanh_downward_test_data): New variable.
21730         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21731         (ctanh_upward_test_data): New variable.
21732         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21733         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
21734         of BUILD_COMPLEX.
21735
21736         * math/libm-test.inc (struct test_ff_f_data): New type.
21737         (struct test_ff_f_data_nexttoward): Likewise.
21738         (RUN_TEST_LOOP_2_f): New macro.
21739         (RUN_TEST_LOOP_ff_f): Likewise.
21740         (atan2_test_data): New variable.
21741         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
21742         (copysign_test_data): New variable.
21743         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
21744         (fdim_test_data): New variable.
21745         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
21746         (fmax_test_data): New variable.
21747         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
21748         (fmin_test_data): New variable.
21749         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
21750         (fmod_test_data): New variable.
21751         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
21752         (hypot_test_data): New variable.
21753         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
21754         (nextafter_test_data): New variable.
21755         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
21756         (nexttoward_test_data): New variable.
21757         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
21758         (pow_test_data): New variable.
21759         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
21760         (pow_tonearest_test_data): New variable.
21761         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
21762         (pow_towardzero_test_data): New variable.
21763         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
21764         (pow_downward_test_data): New variable.
21765         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
21766         (pow_upward_test_data): New variable.
21767         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
21768         (remainder_test_data): New variable.
21769         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
21770         (scalb_test_data): New variable.
21771         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
21772         * sysdeps/i386/fpu/libm-test-ulps: Update.
21773
21774 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
21775
21776         * math/libm-test.inc (fma_test): Use max_value instead of local
21777         variable fltmax.
21778         (nextafter_test): Likewise.
21779
21780         * math/libm-test.inc (acos_towardzero_test_data): New variable.
21781         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21782         (acos_downward_test_data): New variable.
21783         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21784         (acos_upward_test_data): New variable.
21785         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21786         (acosh_test_data): New variable.
21787         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
21788         (asin_test_data): New variable.
21789         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
21790         (asin_tonearest_test_data): New variable.
21791         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21792         (asin_towardzero_test_data): New variable.
21793         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21794         (asin_downward_test_data): New variable.
21795         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21796         (asin_upward_test_data): New variable.
21797         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21798         (asinh_test_data): New variable.
21799         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
21800         (atan_test_data): New variable.
21801         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
21802         (atanh_test_data): New variable.
21803         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
21804         (cbrt_test_data): New variable.
21805         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
21806         (ceil_test_data): New variable.
21807         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
21808         (cos_test_data): New variable.
21809         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
21810         (cos_tonearest_test_data): New variable.
21811         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21812         (cos_towardzero_test_data): New variable.
21813         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21814         (cos_downward_test_data): New variable.
21815         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21816         (cos_upward_test_data): New variable.
21817         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21818         (cosh_test_data): New variable.
21819         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
21820         (cosh_tonearest_test_data): New variable.
21821         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21822         (cosh_towardzero_test_data): New variable.
21823         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21824         (cosh_downward_test_data): New variable.
21825         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21826         (cosh_upward_test_data): New variable.
21827         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21828         (erf_test_data): New variable.
21829         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21830         (erfc_test_data): New variable.
21831         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21832         (exp_test_data): New variable.
21833         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21834         (exp_tonearest_test_data): New variable.
21835         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21836         (exp_towardzero_test_data): New variable.
21837         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21838         (exp_downward_test_data): New variable.
21839         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21840         (exp_upward_test_data): New variable.
21841         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21842         (exp10_test_data): New variable.
21843         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21844         (exp2_test_data): New variable.
21845         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21846         (expm1_test_data): New variable.
21847         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21848         (fabs_test_data): New variable.
21849         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21850         (floor_test_data): New variable.
21851         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21852         (j0_test_data): New variable.
21853         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21854         (j1_test_data): New variable.
21855         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21856         (log_test_data): New variable.
21857         (log_test): Run tests with RUN_TEST_LOOP_f_f.
21858         (log10_test_data): New variable.
21859         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21860         (log1p_test_data): New variable.
21861         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21862         (log2_test_data): New variable.
21863         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21864         (logb_test_data): New variable.
21865         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21866         (logb_downward_test_data): New variable.
21867         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21868         (nearbyint_test_data): New variable.
21869         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21870         (rint_test_data): New variable.
21871         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21872         (rint_tonearest_test_data): New variable.
21873         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21874         (rint_towardzero_test_data): New variable.
21875         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21876         (rint_downward_test_data): New variable.
21877         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21878         (rint_upward_test_data): New variable.
21879         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21880         (round_test_data): New variable.
21881         (round_test): Run tests with RUN_TEST_LOOP_f_f.
21882         (sin_test_data): New variable.
21883         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21884         (sin_tonearest_test_data): New variable.
21885         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21886         (sin_towardzero_test_data): New variable.
21887         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21888         (sin_downward_test_data): New variable.
21889         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21890         (sin_upward_test_data): New variable.
21891         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21892         (sinh_test_data): New variable.
21893         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21894         (sinh_tonearest_test_data): New variable.
21895         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21896         (sinh_towardzero_test_data): New variable.
21897         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21898         (sinh_downward_test_data): New variable.
21899         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21900         (sinh_upward_test_data): New variable.
21901         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21902         (sqrt_test_data): New variable.
21903         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21904         (tan_test_data): New variable.
21905         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21906         (tan_tonearest_test_data): New variable.
21907         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21908         (tan_towardzero_test_data): New variable.
21909         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21910         (tan_downward_test_data): New variable.
21911         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21912         (tan_upward_test_data): New variable.
21913         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21914         (tanh_test_data): New variable.
21915         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21916         (tgamma_test_data): New variable.
21917         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21918         (trunc_test_data): New variable.
21919         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21920         (y0_test_data): New variable.
21921         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21922         (y1_test_data): New variable.
21923         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21924         (significand_test_data): New variable.
21925         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21926
21927 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
21928
21929         [BZ #12387]
21930         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21931
21932 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21933
21934         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21935
21936 2013-05-10  Andreas Jaeger  <aj@suse.de>
21937
21938         [BZ #15448]
21939         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21940         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21941
21942 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
21943
21944         * math/gen-libm-test.pl (adjust_arg): New function.
21945         (special_functions): Handle generating output in both functions
21946         and arrays.
21947         (parse_args): Likewise.
21948         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
21949         $in_func argument to parse_args.
21950         * math/libm-test.inc (struct test_f_f_data): New type.
21951         (IF_ROUND_INIT_): New macro.
21952         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21953         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21954         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21955         (IF_ROUND_INIT_FE_UPWARD): Likewise.
21956         (ROUND_RESTORE_): Likewise.
21957         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21958         (ROUND_RESTORE_FE_TONEAREST): Likewise.
21959         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21960         (ROUND_RESTORE_FE_UPWARD): Likewise.
21961         (RUN_TEST_LOOP_f_f): New macro.
21962         (acos_test_data): New variable.
21963         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21964         (acos_tonearest_test_data): New variable.
21965         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21966
21967 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21968
21969         * benchtests/bench-skeleton.c (startup): Fix coding style.
21970
21971 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
21972
21973         [BZ #6809]
21974         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21975         negative infinity argument.
21976         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21977         negative infinity argument.
21978         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21979         negative infinity argument.
21980         * math/libm-test.inc (tgamma_test): Expect errno to be set for
21981         domain errors.
21982
21983 2013-05-10  Florian Weimer  <fweimer@redhat.com>
21984
21985         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21986         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21987         * iconv/iconv_prog.c (main): Likewise.
21988         * locale/programs/charmap-dir.c (charmap_readdir)
21989         (fopen_uncompressed): Likewise.
21990         * locale/programs/locfile.c (siblings_uncached)
21991         (write_locale_data): Use lstat64 instead of lstat.
21992         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21993         stat.
21994
21995 2013-05-10  Andreas Jaeger  <aj@suse.de>
21996
21997         [BZ #15395]
21998         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21999         localization.
22000         Include <locale.h>.
22001
22002 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
22003
22004         * elf/dl-close.c (_dl_close_worker): Add comments.
22005
22006 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
22007
22008         [BZ #15359]
22009         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
22010         high part of pi/2.
22011         (__ieee754_rem_pio2l): Update comments.
22012
22013         [BZ #15429]
22014         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
22015         high part of pi/2.
22016         (__ieee754_rem_pio2l): Update comments.
22017
22018         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
22019         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
22020
22021         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
22022         M_PI_4l.
22023
22024         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
22025         (M_PI_34_LOG10El): Likewise.
22026         (M_PI2_LOG10El): Likewise.
22027         (M_PI4_LOG10El): Likewise.
22028         (M_PI_LOG10El): Likewise.
22029
22030 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22031
22032         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22033
22034 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
22035
22036         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
22037         (MINUS_ZERO_INIT): Likewise.
22038         (PLUS_INFTY_INIT): Likewise.
22039         (MINUS_INFTY_INIT): Likewise.
22040         (QNAN_VALUE_INIT): Likewise.
22041         (MAX_VALUE_INIT): Likewise.
22042         (MIN_VALUE_INIT): Likewise.
22043         (MIN_SUBNORM_VALUE_INIT): Likewise.
22044         (plus_zero): Initialize with PLUS_ZERO_INIT.
22045         (minus_zero): Initialize with MINUS_ZERO_INIT.
22046         (plus_infty): Initialize with PLUS_INFTY_INIT.
22047         (minus_infty): Initialize with MINUS_INFTY_INIT.
22048         (qnan_value): Initialize with QNAN_VALUE_INIT.
22049         (max_value): Initialize with MAX_VALUE_INIT.
22050         (min_value): Initialize with MIN_VALUE_INIT.
22051         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
22052
22053         * math/libm-test.inc (RUN_TEST_if_f): New macro.
22054         (jn_test): Use TEST_if_f instead of TEST_ff_f.
22055         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
22056         (yn_test): Use TEST_if_f instead of TEST_ff_f.
22057
22058         * math/libm-test.inc (RUN_TEST_f_f): New macro.
22059         (RUN_TEST_2_f): Likewise.
22060         (RUN_TEST_ff_f): Likewise.
22061         (RUN_TEST_fi_f): Likewise.
22062         (RUN_TEST_fl_f): Likewise.
22063         (RUN_TEST_fff_f): Likewise.
22064         (RUN_TEST_c_f): Likewise.
22065         (RUN_TEST_f_f1): Likewise.
22066         (RUN_TEST_fF_f1): Likewise.
22067         (RUN_TEST_fI_f1): Likewise.
22068         (RUN_TEST_ffI_f1): Likewise.
22069         (RUN_TEST_c_c): Likewise.
22070         (RUN_TEST_cc_c): Likewise.
22071         (RUN_TEST_f_i): Likewise.
22072         (RUN_TEST_f_i_tg): Likewise.
22073         (RUN_TEST_ff_i_tg): Likewise.
22074         (RUN_TEST_f_b): Likewise.
22075         (RUN_TEST_f_b_tg): Likewise.
22076         (RUN_TEST_f_l): Likewise.
22077         (RUN_TEST_f_L): Likewise.
22078         (RUN_TEST_sincos): Likewise.
22079         * math/gen-libm-test.pl (new_test): Take new argument to indicate
22080         whether to show exceptions.  Do not include ");\n" in return
22081         value.
22082         (special_functions): Output call to RUN_TEST_sincos instead of
22083         check_float calls.  Update calls to new_test.
22084         (parse_args): Output call to single RUN_TEST_* macro instead of
22085         check_* calls and other assignments.  Update calls to new_test.
22086
22087         [BZ #2546]
22088         [BZ #2560]
22089         [BZ #5159]
22090         [BZ #15426]
22091         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
22092         input to result for tgamma overflow.
22093         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
22094         (gamma_coeff): New variable.
22095         (NCOEFF): New macro.
22096         (gamma_positive): New function.
22097         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
22098         underflow here.  Use gamma_positive instead of exp (lgamma) for
22099         other arguments.
22100         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
22101         (gamma_coeff): New variable.
22102         (NCOEFF): New macro.
22103         (gammaf_positive): New function.
22104         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
22105         underflow here.  Use gamma_positive instead of exp (lgamma) for
22106         other arguments.
22107         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
22108         (gamma_coeff): New variable.
22109         (NCOEFF): New macro.
22110         (gammal_positive): New function.
22111         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
22112         underflow here.  Use gamma_positive instead of exp (lgamma) for
22113         other arguments.
22114         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
22115         (gamma_coeff): New variable.
22116         (NCOEFF): New macro.
22117         (gammal_positive): New function.
22118         (__ieee754_gammal_r): Handle positive infinity, overflow and
22119         underflow here.  Handle NaN the same as positive infinity.  Remove
22120         check x < 0xffffffff for negative integers.  Use gamma_positive
22121         instead of exp (lgamma) for other arguments.
22122         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
22123         (gamma_coeff): New variable.
22124         (NCOEFF): New macro.
22125         (gammal_positive): New function.
22126         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
22127         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
22128         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
22129         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
22130         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
22131         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
22132         * sysdeps/generic/math_private.h (__gamma_productf): New
22133         prototype.
22134         (__gamma_product): Likewise.
22135         (__gamma_productl): Likewise.
22136         * math/Makefile (libm-calls): Add gamma_product.
22137         * math/libm-test.inc (tgamma_test): Add more tests.
22138         * sysdeps/i386/fpu/libm-test-ulps: Update.
22139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22140
22141 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
22142
22143         * benchtests/bench-skeleton.c (main): Preheat CPU.
22144
22145 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
22146
22147         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
22148
22149 2013-05-07  Roland McGrath  <roland@hack.frob.com>
22150
22151         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
22152         and _dl_skip_args_internal.
22153
22154 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
22155
22156         * manual/message.texi (Message Translation): Talk about users.
22157         Message to key mapping impacts design.
22158
22159 2013-05-06  Roland McGrath  <roland@hack.frob.com>
22160
22161         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
22162
22163         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
22164
22165         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
22166         * sysdeps/wordsize-64/glob64.c: ... here.
22167
22168         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
22169         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
22170         New macros.
22171
22172         * debug/getlogin_r_chk.c: Moved to ...
22173         * login/getlogin_r_chk.c: ... here.
22174         * debug/Makefile (routines): Move getlogin_r_chk to ...
22175         * login/Makefile (routines): ... here.
22176         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
22177         * login/Versions (libc: GLIBC_2.4): ... here.
22178
22179         * io/poll.c (__poll): Renamed from poll.
22180         Add libc_hidden_def.
22181         (poll): Define as weak alias.
22182
22183         * debug/ptsname_r_chk.c: Moved to ...
22184         * login/ptsname_r_chk.c: ... here.
22185         * debug/Makefile (routines): Move ptsname_r_chk to ...
22186         * login/Makefile (routines): ... here.
22187         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
22188         * login/Versions (libc: GLIBC_2.4): ... here.
22189
22190         * posix/getlogin.c: Moved to ...
22191         * login/getlogin.c: ... here.
22192         * posix/getlogin_r.c: Moved to ...
22193         * login/getlogin_r.c: ... here.
22194         * posix/getlogin_r.c: Moved to ...
22195         * login/getlogin_r.c: ... here.
22196         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
22197         * login/Makefile (routines): ... here.
22198         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
22199         * login/Versions (libc: GLIBC_2.0): ... here.
22200
22201         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
22202         (setrlimit): Define as weak alias.
22203
22204         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
22205         Call __ names for open, ftruncate, and close.
22206         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
22207         (truncate): Define as weak alias.
22208
22209 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
22210
22211         * math/gen-libm-test.pl (parse_args): Initialize x before each
22212         test of frexp, modf and remquo.
22213
22214         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
22215         test signgam value.
22216
22217 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22218
22219         [BZ #15418]
22220         [BZ #15419]
22221         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
22222         internal tests.
22223         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22224
22225 2013-05-06  Roland McGrath  <roland@hack.frob.com>
22226
22227         * elf/dl-writev.h: New file.
22228         * elf/dl-misc.c: Include it.
22229         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
22230         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
22231
22232 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
22233
22234         * math/libm-test.inc (noXFails): Remove variable.
22235         (noXPasses): Likewise.
22236         (BUILD_COMPLEX_INT): Remove macro.
22237         (print_screen): Remove xfail argument.
22238         (print_screen_max_error): Likewise.
22239         (update_stats): Likewise.
22240         (print_max_error): Likewise.  Update calls to other affected
22241         functions.
22242         (print_complex_max_error): Likewise.
22243         (test_single_exception): Update calls to print_screen.
22244         (test_single_errno): Likewise.
22245         (check_float_internal): Remove xfail argument.  Update calls to
22246         other affected functions.
22247         (check_float): Likewise.
22248         (check_complex): Likewise.
22249         (check_int): Likewise.
22250         (check_long): Likewise.
22251         (check_bool): Likewise.
22252         (check_longlong): Likewise.
22253         (main): Don't print noXFails and noXPasses.
22254         * math/gen-libm-test.pl (top level): Don't mention expected
22255         failure handling in comment.
22256         (new_test): Don't handle expected failures.
22257         (parse_args): Don't mention expected failure handling in comment.
22258         (generate_testfile): Don't handle expected failures.
22259         (parse_ulps): Likewise.
22260         (print_ulps_file): Likewise.
22261         (get_failure): Remove function.
22262         (output_test): Don't handle expected failures.
22263         * make/README.libm-test: Don't mention expected failure handling.
22264
22265         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
22266         (minus_zero): Likewise.
22267         (plus_infty): Likewise.
22268         (minus_infty): Likewise.
22269         (qnan_value): Likewise.
22270         (max_value): Likewise.
22271         (min_value): Likewise.
22272         (min_subnorm_value): Likewise.
22273         (initialize): Do not initialize those variables dynamically.
22274
22275 2013-05-03  Roland McGrath  <roland@hack.frob.com>
22276
22277         * io/open.c (__open_2): Moved to ...
22278         * io/open_2.c: ... this new file.
22279         * io/open64.c (__open64_2): Moved to ...
22280         * io/open64_2.c: ... this new file.
22281         * io/openat.c (__openat_2): Moved to ...
22282         * io/openat_2.c: ... this new file.
22283         * io/openat64.c (__openat64_2): Moved to ...
22284         * io/openat64_2.c: ... this new file.
22285         * io/Makefile (routines): Add them.
22286         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
22287         * sysdeps/unix/sysv/linux/open_2.c: File removed.
22288         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
22289         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
22290         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
22291         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
22292         (__openat64): Add hidden_ver.
22293         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
22294         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
22295
22296         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
22297         Separately conditionalize setting of GLRO(dl_sysinfo) so
22298         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
22299         as well, but the actual setting is only under [NEED_DL_SYSINFO].
22300
22301 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22302
22303         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
22304         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
22305         definition.
22306         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
22307         * sysdeps/unix/sysv/linux/powerpc/init-first.c
22308         (_libc_vdso_platform_setup): Add __vdso_time initialization.
22309         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
22310         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
22311
22312 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
22313
22314         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
22315         test signgam value.
22316
22317         * math/libm-test.inc (hypot_test): Do not use
22318         IGNORE_ZERO_INF_SIGN.
22319
22320 2013-05-03  Andreas Jaeger  <aj@suse.de>
22321
22322         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
22323         Linux 3.9.
22324         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
22325         (PF_MAX): Adjust for VSOCK change.
22326
22327 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22328
22329         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22330
22331 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
22332
22333         [BZ #15264]
22334         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
22335         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
22336         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
22337
22338 2013-05-02  David S. Miller  <davem@davemloft.net>
22339
22340         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22341
22342 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
22343
22344         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
22345
22346 2013-05-01  Roland McGrath  <roland@hack.frob.com>
22347
22348         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
22349
22350 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
22351
22352         [BZ #14952]
22353         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
22354         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22355         Use __attribute__ ((__gnu_inline__)).
22356         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22357         Don't use __attribute__ ((__gnu_inline__)).
22358
22359 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
22360
22361         [BZ #15423]
22362         * math/s_catan.c (__catan): Handle small real or imaginary part of
22363         input specially to avoid spurious underflow.
22364         * math/s_catanf.c (__catanf): Likewise.
22365         * math/s_catanh.c (__catanh): Likewise.
22366         * math/s_catanhf.c (__catanhf): Likewise.
22367         * math/s_catanhl.c (__catanhl): Likewise.
22368         * math/s_catanl.c (__catanl): Likewise.
22369         * math/libm-test.inc (catan_test): Add more tests.
22370         (catanh_test): Likewise.
22371         * sysdeps/i386/fpu/libm-test-ulps: Update.
22372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22373
22374 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22375
22376         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22377
22378 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
22379
22380         [BZ #15416]
22381         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
22382         accurately for denominator in atan2.
22383         * math/s_catanf.c (__catanf): Likewise.
22384         * math/s_catanh.c (__catanh): Likewise.
22385         * math/s_catanhf.c (__catanhf): Likewise.
22386         * math/s_catanhl.c (__catanhl): Likewise.
22387         * math/s_catanl.c (__catanl): Likewise.
22388         * math/libm-test.inc (catan_test): Add more tests.
22389         (catanh_test): Likewise.
22390         * sysdeps/i386/fpu/libm-test-ulps: Update.
22391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22392
22393 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
22394
22395         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
22396
22397         * benchtests/Makefile (bench): Remove slow benchmarks.
22398         * benchtests/atan-inputs: Add slow benchmark inputs.
22399         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
22400         (BENCH_FUNC): Accept variant offset.
22401         (VARIANT): Define.
22402         * benchtests/bench-skeleton.c (main): Run benchmark for each
22403         variant.
22404         * benchtests/cos-inputs: Add slow benchmark inputs.
22405         * benchtests/exp-inputs: Likewise.
22406         * benchtests/pow-inputs: Likewise.
22407         * benchtests/sin-inputs: Likewise.
22408         * benchtests/slowatan-inputs: Remove.
22409         * benchtests/slowatan.c: Remove.
22410         * benchtests/slowcos-inputs: Remove.
22411         * benchtests/slowcos.c: Remove.
22412         * benchtests/slowexp-inputs: Remove.
22413         * benchtests/slowexp.c: Remove.
22414         * benchtests/slowpow-inputs: Remove.
22415         * benchtests/slowpow.c: Remove.
22416         * benchtests/slowsin-inputs: Remove.
22417         * benchtests/slowsin.c: Remove.
22418         * benchtests/slowtan-inputs: Remove.
22419         * benchtests/slowtan.c: Remove.
22420         * benchtests/tan-inputs: Add slow benchmark inputs.
22421         * scripts/bench.pl: Parse comments and directives.
22422
22423         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
22424         in CPPFLAGS.
22425         ($(objpfx)bench-%.c): Remove *-ITER.
22426         * benchtests/bench-modf.c: Remove definition of ITER.
22427         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
22428         (main): Loop for DURATION seconds instead of fixed number of
22429         iterations.
22430         * scripts/bench.pl: Don't expect iterations in parameters.
22431
22432 2013-04-29  Roland McGrath  <roland@hack.frob.com>
22433
22434         * io/fchdir.c (__fchdir): Renamed from fchdir.
22435         (fchdir): Define as weak alias.
22436
22437 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
22438
22439         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
22440         (ERRNO_EDOM): Likewise.
22441         (ERRNO_ERANGE): Likewise.
22442         (noErrnoTests): New variable.
22443         (init_max_error): Set errno to 0.
22444         (test_single_errno): New function.
22445         (test_errno): Likewise.
22446         (check_float_internal): Call test_errno.  Set errno to 0.
22447         (check_complex): Refer to errno tests in comment.
22448         (check_int): Call test_errno.  Set errno to 0.
22449         (check_long): Likewise.
22450         (check_bool): Likewise.
22451         (check_longlong): Likewise.
22452         (cos_test): Use ERRNO_* flags for errno tests instead of
22453         check_int.
22454         (expm1_test): Likewise.
22455         (fmod_test): Likewise.
22456         (ilogb_test): Likewise.
22457         (lgamma_test): Likewise.
22458         (pow_test): Likewise.
22459         (remainder_test): Likewise.
22460         (sin_test): Likewise.
22461         (tan_test): Likewise.
22462         (yn_test): Likewise.
22463         (initialize): Set errno to 0.
22464         (main): Print number of errno tests.
22465         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
22466
22467 2013-04-29  Andreas Jaeger  <aj@suse.de>
22468
22469         [BZ #15084]
22470         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
22471         and RES_USEVC.
22472
22473         [BZ #15085]
22474         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
22475         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
22476         unimplemented.
22477
22478         [BZ #15380]
22479         * stdlib/random.c (__initstate): Return NULL if
22480         __initstate fails.
22481
22482         [BZ #15086]
22483         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
22484         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
22485         RES_SNGLKUPREOP.
22486
22487 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22488
22489         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22490
22491 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
22492
22493         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
22494         of individual tests.
22495         (casin_test): Likewise.
22496         (casinh_test): Likewise.
22497
22498 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
22499
22500         [BZ #15409]
22501         * math/s_catan.c (__catan): Handle arguments with large real or
22502         imaginary part separately without squaring.
22503         * math/s_catanf.c (__catanf): Likewise.
22504         * math/s_catanh.c (__catanh): Likewise.
22505         * math/s_catanhf.c (__catanhf): Likewise.
22506         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22507         and redefine.
22508         (__catanhl): Handle arguments with large real or imaginary part
22509         separately without squaring.
22510         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22511         and redefine.
22512         (__catanl): Handle arguments with large real or imaginary part
22513         separately without squaring.
22514         * math/libm-test.inc (catan_test): Add more tests.
22515         (catanh_test): Likewise.
22516         * sysdeps/i386/fpu/libm-test-ulps: Update.
22517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22518
22519 2013-04-27  Andreas Jaeger  <aj@suse.de>
22520
22521         [BZ #15007]
22522         * stdlib/stdlib.h: Update guards for qecvt.
22523         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
22524         <stdlib.h>.
22525
22526 2013-04-27  Allan McRae  <allan@archlinux.org>
22527
22528         * sysdeps/i386/fpu/libm-test-ulps: Update.
22529
22530 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
22531
22532         [BZ #15406]
22533         * math/s_catan.c: Include <float.h>.
22534         (__catan): Ensure underflow exception occurs for underflowed
22535         result.
22536         * math/s_catanf.c: Include <float.h>.
22537         (__catanf): Ensure underflow exception occurs for underflowed
22538         result.
22539         * math/s_catanh.c: Include <float.h>.
22540         (__catanh): Ensure underflow exception occurs for underflowed
22541         result.
22542         * math/s_catanhf.c: Include <float.h>.
22543         (__catanhf): Ensure underflow exception occurs for underflowed
22544         result.
22545         * math/s_catanhl.c: Include <float.h>.
22546         (__catanhl): Ensure underflow exception occurs for underflowed
22547         result.
22548         * math/s_catanl.c: Include <float.h>.
22549         (__catanl): Ensure underflow exception occurs for underflowed
22550         result.
22551         * math/libm-test.inc (catan_test): Add more tests.
22552         (catanh_test): Likewise.
22553
22554         [BZ #15405]
22555         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
22556         underflowed result.
22557         * math/s_ccoshf.c (__ccoshf): Likewise.
22558         * math/s_ccoshl.c (__ccoshl): Likewise.
22559         * math/s_csin.c (__csin): Likewise.
22560         * math/s_csinf.c (__csinf): Likewise.
22561         * math/s_csinh.c (__csinh): Likewise.
22562         * math/s_csinhf.c (__csinhf): Likewise.
22563         * math/s_csinhl.c (__csinhl): Likewise.
22564         * math/s_csinl.c (__csinl): Likewise.
22565         * math/libm-test.inc (ccos_test): Add more tests.
22566         (ccosh_test): Likewise.
22567         (csin_test): Likewise.
22568         (csinh_test): Likewise.
22569
22570 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22571
22572         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
22573         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
22574         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
22575         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
22576         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
22577         powerpc/power5+/fpu folders.
22578         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
22579
22580
22581 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
22582
22583         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22584
22585 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
22586
22587         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
22588         additions to variable.
22589         [$(config-machine) = x86_64] (modules-names): Likewise.
22590         ($(objpfx)tst-audit3): Remove dependency.
22591         ($(objpfx)tst-audit3.out): Likewise.
22592         ($(objpfx)tst-audit4): Likewise.
22593         ($(objpfx)tst-audit4.out): Likewise.
22594         ($(objpfx)tst-audit5): Likewise.
22595         ($(objpfx)tst-audit5.out): Likewise.
22596         ($(objpfx)tst-audit6): Likewise.
22597         ($(objpfx)tst-audit6.out): Likewise.
22598         ($(objpfx)tst-audit7): Likewise.
22599         ($(objpfx)tst-audit7.out): Likewise.
22600         (tst-audit3-ENV): Remove variable.
22601         (tst-audit4-ENV): Likewise.
22602         (tst-audit5-ENV): Likewise.
22603         (tst-audit6-ENV): Likewise.
22604         (tst-audit7-ENV): Likewise.
22605         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
22606         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
22607         addition to variable.
22608         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
22609         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
22610         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
22611         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
22612         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
22613         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
22614         tst-audit3, tst-audit4 and tst-audit5.
22615         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
22616         tst-audit6 and tst-audit7.
22617         [$(subdir) = elf] (modules-names): Add audit modules for those
22618         tests.
22619         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
22620         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
22621         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
22622         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
22623         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
22624         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
22625         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
22626         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
22627         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
22628         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
22629         [$(subdir) = elf] (tst-audit3-ENV): New variable.
22630         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
22631         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
22632         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
22633         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
22634         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
22635         Likewise.
22636         [$(subdir) = elf && $(config-cflags-avx) = yes]
22637         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
22638         [$(subdir) = elf && $(config-cflags-avx) = yes]
22639         (CFLAGS-tst-auditmod4a.c): Likewise.
22640         [$(subdir) = elf && $(config-cflags-avx) = yes]
22641         (CFLAGS-tst-auditmod4b.c): Likewise.
22642         [$(subdir) = elf && $(config-cflags-avx) = yes]
22643         (CFLAGS-tst-auditmod6b.c): Likewise.
22644         [$(subdir) = elf && $(config-cflags-avx) = yes]
22645         (CFLAGS-tst-auditmod6c.c): Likewise.
22646         [$(subdir) = elf && $(config-cflags-avx) = yes]
22647         (CFLAGS-tst-auditmod7b.c): Likewise.
22648         * elf/tst-audit3.c: Move to ...
22649         * sysdeps/x86_64/tst-audit3.c: ... here.
22650         * elf/tst-audit4.c: Move to ...
22651         * sysdeps/x86_64/tst-audit4.c: ... here.
22652         * elf/tst-audit5.c: Move to ...
22653         * sysdeps/x86_64/tst-audit5.c: ... here.
22654         * elf/tst-audit6.c: Move to ...
22655         * sysdeps/x86_64/tst-audit6.c: ... here.
22656         * elf/tst-audit7.c: Move to ...
22657         * sysdeps/x86_64/tst-audit7.c: ... here.
22658         * elf/tst-auditmod3a.c: Move to ...
22659         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
22660         * elf/tst-auditmod3b.c: Move to ...
22661         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
22662         * elf/tst-auditmod4a.c: Move to ...
22663         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
22664         * elf/tst-auditmod4b.c: Move to ...
22665         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
22666         * elf/tst-auditmod5a.c: Move to ...
22667         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
22668         * elf/tst-auditmod5b.c: Move to ...
22669         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
22670         * elf/tst-auditmod6a.c: Move to ...
22671         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
22672         * elf/tst-auditmod6b.c: Move to ...
22673         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
22674         * elf/tst-auditmod6c.c: Move to ...
22675         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
22676         * elf/tst-auditmod7a.c: Move to ...
22677         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
22678         * elf/tst-auditmod7b.c: Move to ...
22679         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
22680
22681 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
22682
22683         [BZ #15366]
22684         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
22685         define unconditionally.
22686         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
22687         define unconditionally.
22688         (INT8_C, INT16_C, etc.): Likewise.
22689
22690 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
22691
22692         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
22693         __ehdr_start with hidden visibility.
22694
22695         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
22696
22697 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
22698
22699         * math/libm-test.inc (cos_test): Use accurate hex constants.
22700         (sincost_test): Likewise.
22701
22702 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
22703
22704         * math/libm-test.inc (catan_test): Add more tests.
22705         (catanh_test): Likewise.
22706
22707         * math/s_catanf.c (__catanf): Use suffixed floating-point
22708         constants.
22709         * math/s_catanhf.c (__catanhf): Likewise.
22710         * math/s_catanhl.c (__catanhl): Likewise.
22711         * math/s_catanl.c (__catanl): Likewise.
22712
22713         [BZ #15394]
22714         * math/s_catan.c (__catan): Calculate imaginary part of result
22715         with log1p not log unless computing log of number close to 0.
22716         * math/s_catanf.c (__catanf): Likewise.
22717         * math/s_catanl.c (__catanl): Likewise.
22718         * math/s_catanh.c (__catanh): Calculate real part of result with
22719         log1p not log unless computing log of number close to 0.
22720         * math/s_catanhf.c (__catanhf): Likewise.
22721         * math/s_catanhl.c (__catanhl): Likewise.
22722         * math/libm-test.inc (catan_test): Add more tests.
22723         (catanh_test): Likewise.
22724         * sysdeps/i386/fpu/libm-test-ulps: Update.
22725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22726
22727 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22728
22729         * benchtests/Makefile: Mention files in which fast and slow
22730         paths of math functions are implemented.
22731
22732 2013-04-23  Roland McGrath  <roland@hack.frob.com>
22733
22734         * sysdeps/posix/timespec_get.c: New file.
22735
22736 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22737
22738         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
22739         POWER.
22740         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
22741         for POWER.
22742         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
22743         powerpc/power5/fpu folders.
22744         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
22745         * benchtests/Makefile: Add modf testcase.
22746         * benchtests/bench-modf.c: New file: Benchmark test for mo
22747
22748 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
22749
22750         [BZ #14888]
22751         * time/Makefile (tests): Add tst-strptime-whitespace.
22752         * time/strptime_l.c (get_number): Use ISSPACE.
22753         (__strptime_internal): Likewise.
22754         * time/tst-strptime-whitespace.c: New test case.
22755
22756 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
22757
22758         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
22759         member.
22760         (_nss_files_init): Set it here.
22761
22762 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
22763
22764         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
22765         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
22766         unsigned.
22767
22768 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
22769
22770         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
22771
22772 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
22773
22774         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
22775         size just once.
22776
22777 2013-04-21  David S. Miller  <davem@davemloft.net>
22778
22779         * po/ru.po: Update Russion translation from translation project.
22780
22781 2013-04-17  Adam Conrad  <adconrad@0c3.net>
22782
22783         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
22784         and setfsgid.
22785
22786 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
22787
22788         * configure.in: Remove i386 configure warning. Remove i386 case.
22789         * configure: Regenerate.
22790         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
22791         Add example to error message.
22792         * sysdeps/i386/configure: Regenerate.
22793
22794 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22795
22796         * benchtests/Makefile (bench): Add cos, tan, slowcos and
22797         slowtan.
22798         * benchtests/cos-inputs: New file.
22799         * benchtests/slowcos-inputs: New file.
22800         * benchtests/slowcos.c: New file.
22801         * benchtests/slowtan-inputs: New file.
22802         * benchtests/slowtan.c: New file.
22803         * benchtests/tan-inputs: New file.
22804
22805 2013-04-16  Roland McGrath  <roland@hack.frob.com>
22806
22807         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
22808         considered kosher.
22809
22810 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22811
22812         * benchtests/Makefile: Include cppflags-iterator.mk to add
22813         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
22814
22815         * Makefile.in (bench-clean): New target.
22816         * benchtests/Makefile (bench-clean): Likewise.
22817
22818 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
22819
22820         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
22821
22822 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
22823
22824         * stdio-common/tstdiomisc.c: Fix coding-style violation.
22825
22826 2013-04-15  Andreas Schwab  <schwab@suse.de>
22827
22828         * nscd/grpcache.c (cache_addgr): Properly check for short write.
22829         * nscd/initgrcache.c (addinitgroupsX): Likewise.
22830         * nscd/pwdcache.c (cache_addpw): Likewise.
22831         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
22832         more than recsize.
22833
22834 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22835
22836         * benchtests/Makefile (bench): Write all output to
22837         bench-out.tmp together.
22838
22839 2013-04-15  Andreas Schwab  <schwab@suse.de>
22840
22841         * nscd/nscd.c (main): Don't fork again after closing files.
22842
22843 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22844
22845         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22846
22847         * benchtests/Rules (bench-deps): Collect dependencies into a
22848         single variable.  Add Makefile to dependencies.
22849         ($(objpfx)bench-%.c): Depend on bench-deps.
22850
22851 2013-04-12  Roland McGrath  <roland@hack.frob.com>
22852             Xavier Roche  <roche+kml2@exalead.com>
22853
22854         [BZ #15361]
22855         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22856         just that it's a file descriptor.
22857         * manual/llio.texi (Synchronizing AIO Operations): Update description
22858         for EBADF error from aio_fsync.
22859
22860 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22861
22862         * Rules (bench): Move target definition...
22863         * benchtests/Makefile: ... here.
22864
22865 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
22866
22867         * math/libm-test.inc (cos_test): Fix PI/2 test.
22868         (sincos_test): Likewise.
22869         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22870         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22871
22872 2013-04-11  Andreas Schwab  <schwab@suse.de>
22873
22874         [BZ #13988]
22875         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22876         accept exponent character only when digits were seen.
22877         * stdio-common/Makefile (tests): Add bug26.
22878         * stdio-common/bug26.c: New file.
22879
22880         [BZ #14293]
22881         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22882         non-freeable.
22883
22884 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22885
22886         * Makeconfig (rtld-prefix): Define built linker prefix.
22887         * Rules (run-bench): Use it.
22888         * math/Makefile (run-regen-ulps): Likewise.
22889
22890         * Rules (bench): Remove eval.
22891
22892 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22893             Roland McGrath  <roland@hack.frob.com>
22894             Ondrej Bilka  <neleai@seznam.cz>
22895
22896         [BZ #15346]
22897         * time/getdate.c: Include ctype.h and alloca.h.
22898         (__getdate_r): Trim leading and trailing spaces of input.
22899         * time/tst-getdate.c (tests): Add tests with leading and
22900         trailing spaces.
22901
22902 2013-04-08  Roland McGrath  <roland@hack.frob.com>
22903
22904         [BZ #14280]
22905         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22906         when computing value.
22907
22908 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22909
22910         * math/README.libm-test (How can I generate "libm-test-ulps"?):
22911         Use testrun.sh to run libm tests.
22912
22913         [BZ #15309]
22914         * elf/dl-open.c (dl_open_worker): memset all of seen array.
22915
22916 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
22917
22918         [BZ #15264]
22919         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22920
22921 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22922
22923         * Makefile.in (regen-ulps): New target.
22924         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22925         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22926         [ifneq (no,$(PERL)] (regen-ulps): New target.
22927         [ifeq (no,$(PERL)] (regen-ulps): New target.
22928         * math/libm-test.inc (ulps_file_name): Define.
22929         (output_dir): New variable.
22930         (options): Add "output-dir" option.
22931         (parse_opt): Handle 'o' case.
22932         (main): If output_dir is non-NULL use it as a prefix
22933         otherwise use "".
22934         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22935
22936 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22937
22938         [BZ #10060, #10062]
22939         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22940         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22941         fail configure if __sync_val_compare_and_swap is not inlined.
22942         * sysdeps/i386/configure: Regenerate.
22943         * configure.in: Build for i686 when configured for i386.
22944         * configure: Regenerate.
22945         * README: Remove i386 reference.
22946
22947 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22948
22949         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22950         * sysdeps/s390/s390-64/sysdep.h: Likewise.
22951
22952 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
22953
22954         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22955         (lmsnanval): New variables.
22956         (F): Add conversion tests.
22957         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22958         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22959
22960         * stdio-common/tstdiomisc.c (F): Properly collect individual
22961         tests' results.
22962
22963         [BZ #14686, #15336]
22964         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22965         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22966         Instead, use input NaN values or generate a qNaN by arithmetic
22967         operation.  Also fix bugs to comply with the standard.
22968         * math/libm-test.inc (remainder_test): Add more tests.
22969
22970         [BZ #15335, #15342]
22971         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22972         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22973         input NaN values or generate a qNaN by arithmetic operation.
22974
22975         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22976         unreachable code.
22977
22978         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22979         definitions.
22980
22981 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
22982
22983         [BZ #14478]
22984         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22985         underflowed result.
22986         * math/s_cexpf.c (__cexpf): Likewise.
22987         * math/s_cexpl.c (__cexpl): Likewise.
22988         * math/libm-test.inc (cexp_test): Add more tests.
22989
22990 2013-04-03  Andreas Schwab  <schwab@suse.de>
22991
22992         [BZ #15330]
22993         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22994         order arrays from heap if bigger than alloca cutoff.
22995
22996 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
22997
22998         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22999         (SNAN_TESTS_double): Refer to GCC PR56831.
23000         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
23001         GCC PR56828.
23002
23003 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
23004
23005         * Rules (bench): Move bench.out after the run is complete.
23006
23007         * Rules (bench): Echo currently running benchmark.
23008
23009         * benchtests/Makefile (bench): Add atan and slowatan.
23010         * benchtests/atan-inputs: New file.
23011         * benchtests/slowatan-inputs: New file.
23012         * benchtests/slowatan.c: New file.
23013
23014         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
23015         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
23016         its value.
23017
23018         [BZ #15305]
23019         * sysdeps/unix/sysv/linux/kernel-features.h
23020         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
23021         __ASSUME_XFS_RESTRICTED_CHOWN.
23022         * sysdeps/unix/sysv/linux/pathconf.c
23023         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
23024         Save and restore errno.
23025
23026 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
23027
23028         [BZ #15327]
23029         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
23030         arguments using __kernel_casinh.
23031         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
23032         arguments using __kernel_casinhf.
23033         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
23034         arguments using __kernel_casinhl.
23035         * math/libm-test.inc (cacosh_test): Add more tests.
23036         * sysdeps/i386/fpu/libm-test-ulps: Update.
23037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23038
23039 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23040
23041         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
23042         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
23043
23044         * bench/Makefile (bench): Add sin and slowsin.
23045         * benchtests/sin-inputs: New file.
23046         * benchtests/slowsin-inputs: New file.
23047         * benchtests/slowsin.c: New file.
23048
23049         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
23050         (bench): Add slowexp and slowpow.
23051         (exp-ITER): Increase iterations.
23052         (pow-ITER): Likewise.
23053         * benchtests/exp-inputs: Change input.
23054         * benchtests/pow-inputs: Likewise.
23055         * benchtests/slowexp-inputs: New file.
23056         * benchtests/slowexp.c: New file.
23057         * benchtests/slowpow-inputs: New file.
23058         * benchtests/slowpow.c: New file.
23059
23060 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23061
23062         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
23063         instructions.
23064         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
23065         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
23066         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23067         * benchtests/Makefile: Add rint benchtest.
23068         * benchtests/rint-inputs: Input for rint benchtest.
23069
23070 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
23071
23072         * Versions.def (libm): Add GLIBC_2.18.
23073         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
23074         hidden libm prototypes.
23075         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
23076         * math/Makefile (libm-calls): Add s_issignaling.
23077         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
23078         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
23079         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
23080         declaration.
23081         * math/math.h [__USE_GNU] (issignaling): New macro.
23082         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
23083         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
23084         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
23085         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
23086         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
23087         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
23088         * manual/arith.texi (issignaling): New section.
23089         * manual/libm-err-tab.pl (@all_functions): Update comment.
23090         * math/gen-libm-test.pl (parse_args): Apply special handling for
23091         issignaling.
23092         * math/libm-test.inc (print_float, issignaling_test): New
23093         functions.
23094         (check_float_internal): Add issignaling checks.
23095         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
23096         default definition.
23097         * sysdeps/powerpc/math-tests.h: New file.
23098         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
23099         tests.
23100         * math/test-snan.c (TEST_FUNC): Likewise.
23101
23102 2013-03-30  David S. Miller  <davem@davemloft.net>
23103
23104         * po/de.po: Update from translation team.
23105
23106 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
23107
23108         [BZ #10357]
23109         * math/k_casinh.c (__kernel_casinh): Handle arguments with
23110         imaginary part less than 1.0 and real part less than 0.5
23111         specially.
23112         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23113         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23114         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
23115         (cacos_test): Add more tests.
23116         (casin_test): Likewise.
23117         (casinh_test): Likewise.
23118         * sysdeps/i386/fpu/libm-test-ulps: Update.
23119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23120
23121 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23122
23123         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
23124         ONE with its value.
23125
23126         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
23127         (__pow_mp): Replace ONE and MONE with their values.
23128         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23129         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
23130         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23131         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
23132         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23133         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23134
23135         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
23136
23137         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
23138         (__pow_mp): Replace ZERO and MZERO with their values.
23139         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23140         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23141         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23142         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23143         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23144         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
23145         (__sqr): Likewise.
23146
23147         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
23148
23149         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
23150
23151 2013-03-28  Roland McGrath  <roland@hack.frob.com>
23152
23153         * include/stdlib.h [!SHARED] (__call_tls_dtors):
23154         Declare with __attribute__ ((weak)).
23155         * stdlib/exit.c (__libc_atexit) [!SHARED]:
23156         Call __call_tls_dtors only if it's not NULL.
23157
23158 2013-03-28  Roland McGrath  <roland@hack.frob.com>
23159
23160         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
23161         didn't do it already, then set _dl_phdr and _dl_phnum based on the
23162         magic __ehdr_start linker symbol if it's defined.
23163         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
23164         them up here if it was already done.
23165
23166         * elf/dl-support.c (_dl_phdr): Make pointer to const.
23167         (_dl_aux_init): Use const in cast when setting it.
23168         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
23169         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
23170         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
23171
23172         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
23173         Declare them here.
23174         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
23175         * csu/libc-tls.c: Nor here.
23176         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
23177
23178         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
23179         (__libc_message): Never call vsyslog.
23180
23181 2013-03-28  Alan Modra  <amodra@gmail.com>
23182
23183         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
23184         Define as empty.
23185         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
23186         Likewise.
23187
23188 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23189
23190         [BZ #15214]
23191         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
23192         underflow.
23193         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23194
23195 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23196
23197         [BZ #15304]
23198         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23199         Don't add gid passed as argument.
23200
23201         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
23202
23203 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
23204
23205         [BZ #15307]
23206         * math/k_casinh.c (__kernel_casinh): Handle arguments with
23207         imaginary part between 1.0 and 1.5 and real part less than 0.5
23208         specially.
23209         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23210         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23211         * math/libm-test.inc (cacos_test): Add more tests.
23212         (casin_test): Likewise.
23213         (casinh_test): Likewise.
23214         * sysdeps/i386/fpu/libm-test-ulps: Update.
23215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23216
23217 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23218
23219         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
23220         constants.
23221         (norm): Likewise.
23222         (denorm): Likewise.
23223         (__dbl_mp): Likewise.
23224         (add_magnitudes): Likewise.
23225         (sub_magnitudes): Likewise.
23226         (__add): Likewise.
23227         (__sub): Likewise.
23228         (__mul): Likewise.
23229         (__sqr): Likewise.
23230         (__inv): Likewise.
23231         (__dvd): Likewise.
23232
23233         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
23234         commented code.
23235         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
23236         (__dubcos): Likewise.
23237         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
23238         (__ieee754_acos): Likewise.
23239         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23240         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
23241         (__exp1): Likewise.
23242         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23243         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23244         (log1): Likewise.
23245         (my_log2): Likewise.
23246         (checkint): Likewise.
23247         * sysdeps/ieee754/dbl-64/e_remainder.c
23248         (__ieee754_remainder): Likewise.
23249         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23250         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
23251         (bsloww): Likewise.
23252         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23253
23254         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23255         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
23256         MANTISSA_STORE_T to store computations on mantissa.  Use
23257         macros for rounding and division.
23258         (denorm): Likewise.
23259         (__dbl_mp): Likewise.
23260         (add_magnitudes): Likewise.
23261         (sub_magnitudes): Likewise.
23262         (__mul): Likewise.
23263         (__sqr): Likewise.
23264         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
23265         powers of two in terms of TWOPOW macro.
23266         (mp_no): Make type of mantissa as MANTISSA_T.
23267         [!RADIXI]: Define RADIXI.
23268         [!TWO52]: Define TWO52.
23269         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23270
23271 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23272
23273         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
23274         llroundl symbol when building for PPC32.
23275
23276 2013-03-24  Mark H Weaver  <mhw@netris.org>
23277
23278         * manual/arith.texi (Normalization Functions): Fix prototypes for
23279         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
23280
23281 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23282
23283         [BZ #13889]
23284         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
23285         high value to check if expl overflow.
23286         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
23287         to check for underflow and overflow.
23288         * math/libm-test.inc: Add exp test.
23289
23290 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
23291
23292         [BZ #11120]
23293         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
23294         with NOT_IN_libc.
23295
23296 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23297
23298         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
23299         symbol.
23300
23301 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
23302
23303         * math/gen-libm-test.pl (parse_args, special_functions): Properly
23304         wrap blocks consisting of several statements.
23305
23306         * sysdeps/generic/math-tests.h: New file.
23307         * sysdeps/i386/fpu/math-tests.h: Likewise.
23308         * math/test-snan.c: Include it.
23309         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
23310
23311 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
23312
23313         [BZ #15285]
23314         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
23315         (__ieee754_j0l): Do not improve calculations using cos of twice
23316         input for inputs above LDBL_MAX / 2.0L.
23317         (__ieee754_y0l): Likewise.
23318         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
23319         (__ieee754_j1l): Do not improve calculations using cos of twice
23320         input for inputs above LDBL_MAX / 2.0L.
23321         (__ieee754_y1l): Likewise.
23322         * math/libm-test.inc (j0_test): Add another test.
23323         (j1_test): Likewise.
23324         (y0_test): Likewise.
23325         (y1_test): Likewise.
23326         * sysdeps/i386/fpu/libm-test-ulps: Update.
23327
23328 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23329
23330         * Rules ($(objpfx)bench-%.c): Include code from a C source
23331         file.
23332
23333 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
23334
23335         [BZ #15287]
23336         * math/k_casinh.c (__kernel_casinh): Handle arguments with
23337         imaginary part 1.0 and real part less than 0.5 specially.
23338         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23339         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23340         * math/libm-test.inc (cacos_test): Add more tests.
23341         (casin_test): Likewise.
23342         (casinh_test): Likewise.
23343         * sysdeps/i386/fpu/libm-test-ulps: Update.
23344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23345
23346 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23347
23348         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
23349         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
23350
23351 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
23352
23353         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
23354         * config.make.in (config-cflags-sse4): Remove variable.
23355         (config-cflags-avx): Likewise.
23356         (config-cflags-sse2avx): Likewise.
23357         (config-cflags-novzeroupper): Likewise.
23358         (config-asflags-i686): Likewise.
23359         (have-mfma4): Likewise.
23360         (have-as-vis3): Likewise.
23361         (MIG): Likewise.
23362         * configure.in (MIG): Do not AC_SUBST.
23363         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
23364         (libc_cv_cc_sse4): Do not AC_SUBST.
23365         (libc_cv_cc_avx): Likewise.
23366         (libc_cv_cc_sse2avx): Likewise.
23367         (libc_cv_cc_novzeroupper): Likewise.
23368         (libc_cv_cc_fma4): Likewise.
23369         (libc_cv_as_i686): Likewise.
23370         (libc_cv_sparc_as_vis3): Likewise.
23371         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
23372         LIBC_CONFIG_VAR.
23373         (config-asflags-i686): Likewise.
23374         (config-cflags-avx): Likewise.
23375         (config-cflags-sse2avx): Likewise.
23376         (have-mfma4): Likewise.
23377         (config-cflags-novzeroupper): Likewise.
23378         * sysdeps/mach/configure.in (MIG): Likewise.
23379         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
23380         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
23381         LIBC_CONFIG_VAR.
23382         (config-cflags-avx): Likewise.
23383         (config-cflags-sse2avx): Likewise.
23384         (have-mfma4): Likewise.
23385         (config-cflags-novzeroupper): Likewise.
23386         * configure: Regenerated.
23387         * sysdeps/i386/configure: Likewise.
23388         * sysdeps/mach/configure: Likewise.
23389         * sysdeps/sparc/configure: Likewise.
23390         * sysdeps/x86_64/configure: Likewise.
23391
23392 2013-03-20  Roland McGrath  <roland@hack.frob.com>
23393
23394         [BZ #14812]
23395         * locale/programs/localedef.c (options): Put N_ translation marker
23396         on argument names, not just descriptions.
23397
23398 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23399
23400         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
23401
23402 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
23403
23404         [BZ #14176]
23405         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
23406
23407 2013-03-19  Roland McGrath  <roland@hack.frob.com>
23408
23409         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
23410         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
23411         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
23412         [!BEFORE_ABORT] (before_abort): New function.
23413         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
23414         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
23415         (writev_for_fatal): New function.
23416         (WRITEV_FOR_FATAL): New macro; call that.
23417         (backtrace_and_maps): New function.
23418         (BEFORE_ABORT): New macro; call that.
23419         (struct str_list): Type removed.
23420         (__libc_message, __libc_fatal): Functions removed.
23421         Include <sysdeps/posix/libc_fatal.c> instead.
23422
23423 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
23424
23425         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
23426         constants.
23427         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
23428         double constants.
23429
23430 2013-03-19  Andreas Schwab  <schwab@suse.de>
23431
23432         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
23433         * sysdeps/gnu/configure: Regenerate.
23434
23435         * configure.in: Substitute libc_cv_rtlddir.
23436         * configure: Regenerate.
23437         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
23438         * Makeconfig (rtlddir, inst_rtlddir): New variables.
23439         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
23440         * elf/Makefile (install-others, CFLAGS-interp.c)
23441         (ldso_install, common-ldd-rewrite): Likewise.
23442         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
23443         $(inst_slibdir)/$(rtld-installed-name).
23444         * scripts/rellns-sh: Add -p option.
23445         * Makerules (make-shlib-link): Use rellns-sh to get relative name
23446         for source.
23447
23448 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23449
23450         * manual/nptl.texi: Renamed to ...
23451         * manual/threads.texi: ... this.
23452         * manual/Makefile (chapters): Update.
23453
23454 2013-03-18  Roland McGrath  <roland@hack.frob.com>
23455
23456         [BZ #14812]
23457         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
23458         on argument names, not just descriptions.
23459         * malloc/memusagestat.c (options): Likewise.
23460         * nss/getent.c (options): Likewise.
23461
23462 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
23463
23464         [BZ #14812]
23465         * iconv/iconv_prog.c (options): Put N_ translation marker
23466         on argument names, not just descriptions.
23467         * iconv/iconvconfig.c (options): Likewise.
23468
23469 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
23470
23471         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
23472         implementation which is faster on all x86_64 architectures.
23473         Tested on AMD, Intel Nehalem, SNB, IVB.
23474         * sysdeps/x86_64/strnlen.S: Likewise.
23475
23476         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23477         Remove all multiarch strlen and strnlen versions.
23478         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23479         Remove strlen and strnlen related parts.
23480
23481         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
23482         Inline strlen part.
23483         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
23484
23485         * sysdeps/x86_64/multiarch/strlen.S: Remove.
23486         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
23487         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
23488         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
23489         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23490         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
23491
23492 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
23493
23494         * manual/memory.texi (Malloc Tunable Parameters):
23495         Sort parameters alphabetically. Add comments for missing entries.
23496
23497 2013-03-17  David S. Miller  <davem@davemloft.net>
23498
23499         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23500
23501 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
23502
23503         [BZ #15283]
23504         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
23505         for arguments at most half maximum finite value.
23506         * math/libm-test.inc (j0_test): Add more tests.
23507         (j1_test): Likewise.
23508         (y0_test): Likewise.
23509         (y1_test): Likewise.
23510         * sysdeps/i386/fpu/libm-test-ulps: Update.
23511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23512
23513         [BZ #14155]
23514         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
23515         1 / x and functions P and Q for arguments above 0x1p256L.
23516         (__ieee754_y0l): Likewise.
23517         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
23518         (__ieee754_y1l): Likewise.
23519         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
23520         (j1_test): Likewise.
23521         (y0_test): Likewise.
23522         (y1_test): Likewise.
23523
23524 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
23525
23526         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
23527         variable.
23528
23529 2013-03-15  Roland McGrath  <roland@hack.frob.com>
23530
23531         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
23532         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
23533         zero since it's initialized to EXEC_PAGESIZE.
23534
23535         * sysdeps/unix/sysv/linux/ldsodefs.h
23536         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
23537         * sysdeps/generic/ldsodefs.h: ... here.
23538
23539 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
23540
23541         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
23542
23543         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
23544         math/test-snan.c.
23545         * math/test-snan.c: Renamed from
23546         sysdeps/powerpc/fpu/test-powerpc-snan.c.
23547         * math/Makefile (tests): Add test-snan.
23548         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
23549         test-powerpc-snan.
23550
23551         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
23552         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
23553         functions.
23554         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
23555         __builtin_nan family of functions.
23556         * math/libm-test.inc (initialize): Initialize qnan_value with
23557         __builtin_nan family of functions.
23558         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
23559         Remove variables.
23560         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
23561         Remove functions.
23562         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
23563         storage class.  Initialize qNaN_var and sNaN_var with
23564         __builtin_nan and __builtin_nans families of functions,
23565         respectively.
23566
23567         * math/libm-test.inc (acosh_test): Also test with qNaN input.
23568         (sqrt_test): Remove duplicate test with qNaN input.
23569         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
23570         (round_test, signbit_test, significand_test): Note missing +/-Inf
23571         as well as qNaN tests.
23572
23573         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
23574         qNaN_var.  Fix a few strings, too.
23575         * math/libm-test.inc (nan_value): Rename to qnan_value.
23576         * math/gen-libm-test.pl (%beautify): Adjust to that.
23577         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
23578         * math/test-misc.c (main): Likewise.
23579         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
23580         to __qnan_bytes, and __qnan_union, respectively.
23581         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
23582         Likewise.
23583         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
23584         and lqnanval, respectively.
23585         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
23586         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
23587         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
23588         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
23589
23590         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
23591         * math/test-misc.c (main) [__x86_64__]: Enable test for long
23592         doubles.
23593
23594         * math/test-misc.c (main): Fix copy'n'pastos.
23595         * misc/tst-efgcvt.c (special): Likewise.
23596
23597         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
23598         Remove declarations.
23599
23600 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23601
23602         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
23603         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
23604         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
23605         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
23606
23607 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23608
23609         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
23610         macro to return vdso values correctly in IFUNC implementations.
23611         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23612         Optimization by using IFUNC.
23613
23614 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23615             Richard Henderson  <rth@redhat.com>
23616             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23617
23618         * Makefile.in (bench): New target.
23619         * NEWS: Mention the benchmark framework.
23620         * Rules (bench): Likewise.
23621         (binaries-bench): Generate binaries for functions to
23622         benchmark.
23623         * benchtests/Makefile: New makefile for benchmark tests.
23624         * benchtests/bench-skeleton.c: New skeleton file for benchmark
23625         programs.
23626         * benchtests/exp-inputs: New input file for EXP function.
23627         * benchtests/pow-inputs: New input file for POW function.
23628         * scripts/bench.pl: New script to generate source files for
23629         benchmark programs.
23630
23631 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23632
23633         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23634         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
23635         computations on mantissa.  Use macros for rounding and
23636         division.
23637         (denorm): Likewise.
23638         (__dbl_mp): Likewise.
23639         (add_magnitudes): Likewise.
23640         (sub_magnitudes): Likewise.
23641         (__mul): Likewise.
23642         (__sqr): Likewise.
23643         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
23644         powers of two in terms of TWOPOW macro.
23645         (mp_no): Make type of mantissa as MANTISSA_T.
23646         [!RADIXI]: Define RADIXI.
23647         [!TWO52]: Define TWO52.
23648         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23649
23650         * manual/nptl.texi (cindex): Modify threads to pthreads.
23651
23652 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
23653
23654         * sysdeps/x86_64/preconfigure: Regenerated.
23655
23656 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
23657
23658         [BZ #14155]
23659         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
23660         0x1p28 and above.
23661         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
23662         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
23663         0x1p28 and above.
23664         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
23665         * math/libm-test.inc (j0_test): Do not allow one spurious
23666         underflow exception.
23667         (y1_test): Likewise.
23668
23669 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23670
23671         * manual/Makefile (chapters): Add nptl.
23672         * manual/debug.texi (Debugging Support): Add link to Threads
23673         chapter.
23674         * manual/nptl.texi: New file.
23675
23676         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
23677
23678 2013-03-14  Petr Baudis  <pasky@ucw.cz>
23679
23680         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
23681         for non-NULL pointer before the memory validity test. Pointed
23682         out by Holger Brunck <holger.brunck@keymile.com>.
23683
23684 2013-03-13  Andreas Schwab  <schwab@suse.de>
23685
23686         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
23687         instead of .os.
23688
23689 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
23690
23691         * timezone/zic.c: Update from tzcode 2013b.
23692
23693 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
23694
23695         * manual/install.texi (Configuring and compiling):
23696         Mention i686 and i586.
23697         * INSTALL: Regenerate.
23698
23699 2013-03-12  Roland McGrath  <roland@hack.frob.com>
23700
23701         * sysdeps/init_array/elf-init.c: New file.
23702         * csu/elf-init.c
23703         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
23704         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
23705
23706         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
23707         __gmon_start__ as global, but as static with a .preinit_array pointer.
23708         * sysdeps/init_array/gmon-start.c: New file.  Use that.
23709         * sysdeps/init_array/crti.S: New file, empty except for comments.
23710         * sysdeps/init_array/crtn.S: Likewise.
23711
23712 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
23713
23714         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
23715         definining bcopy.
23716         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23717         Remove Prefer_SSE_for_memop.
23718         * sysdeps/x86_64/multiarch/init-arch.h: Remove
23719         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
23720         HAS_PREFER_SSE_FOR_MEMOP.
23721         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23722         memset-x86-64.
23723         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23724         Remove bzero, memset ifunc support.
23725         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
23726         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
23727         * sysdeps/x86_64/multiarch/memset.S: Likewise.
23728         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23729
23730 2013-03-11  Andreas Schwab  <schwab@suse.de>
23731
23732         [BZ #15234]
23733         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
23734         by SHLIB_COMPAT.
23735         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
23736         (GLIBC_2.16): Remove pthread_atfork.
23737
23738 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
23739
23740         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
23741         (ptestcases.h): Likewise.
23742
23743 2013-03-08  Roland McGrath  <roland@hack.frob.com>
23744
23745         * Makeconfig ($(common-objpfx)config.status): Depend on
23746         sysdeps/*/preconfigure{,.in} too.
23747
23748 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
23749
23750         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
23751         (__free_hook): Use void * instead of __malloc_ptr_t.
23752         (__malloc_hook): Likewise.
23753         (__realloc_hook): Likewise.
23754         (__memalign_hook): Likewise.
23755         (__after_morecore_hook): Likewise.
23756         * malloc/arena.c (save_malloc_hook): Likewise.
23757         (save_free_hook): Likewise.
23758         * malloc/hooks.c (malloc_hook_ini): Likewise.
23759         (realloc_hook_ini): Likewise.
23760         (memalign_hook_ini): Likewise.
23761         * malloc/malloc.c (malloc_hook_ini): Likewise.
23762         (realloc_hook_ini): Likewise.
23763         (memalign_hook_ini): Likewise.
23764         (__free_hook): Likewise.
23765         (__malloc_hook): Likewise.
23766         (__realloc_hook): Likewise.
23767         (__memalign_hook): Likewise.
23768         (__libc_malloc): Likewise.
23769         (__libc_free): Likewise.
23770         (__libc_realloc): Likewise.
23771         (__libc_memalign): Likewise.
23772         (__libc_valloc): Likewise.
23773         (__libc_pvalloc): Likewise.
23774         (__libc_calloc): Likewise.
23775         (__posix_memalign): Likewise.
23776         * malloc/morecore.c (__sbrk): Likewise.
23777         (__default_morecore): Likewise.
23778
23779         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
23780
23781         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
23782         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
23783         __malloc_ptrdiff_t.
23784
23785         * malloc/malloc.h (__malloc_size_t): Remove macro.
23786         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
23787         __malloc_size_t.
23788         (old_memalign_hook): Likewise.
23789         (old_realloc_hook): Likewise.
23790         (struct hdr): Likewise.
23791         (flood): Likewise.
23792         (mallochook): Likewise.
23793         (memalignhook): Likewise.
23794         (reallochook): Likewise.
23795         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
23796         (tr_old_realloc_hook): Likewise.
23797         (tr_old_memalign_hook): Likewise.
23798         (tr_mallochook): Likewise.
23799         (tr_reallochook): Likewise.
23800         (tr_memalignhook): Likewise.
23801
23802 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23803
23804         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
23805         default_ldbl_pack and using as default implementation.
23806         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
23807         implementation.
23808         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
23809         redundant definition.
23810         (ldbl_insert_mantissa): Likewise.
23811         (ldbl_canonicalize): Likewise.
23812         (ldbl_nearbyint): Likewise.
23813         (ldbl_pack): Rename to ldbl_pack_ppc.
23814         (ldbl_unpack): Rename to ldbl_unpack_ppc.
23815         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
23816         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
23817
23818 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23819
23820         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
23821         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
23822         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
23823         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
23824         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
23825         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
23826         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
23827         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
23828
23829 2013-03-07  Andreas Jaeger  <aj@suse.de>
23830
23831         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23832         bits/mman-linux.h.
23833
23834 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
23835
23836         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23837         Include mpa.h and declare __MPEXP.
23838         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23839         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23840         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23841         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23842         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23843         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23844         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23845
23846         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23847         (__slowpow): Use long double EXPL and LOGL functions to
23848         compute POW.
23849         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23850         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23851         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23852         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23853         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23854         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23855
23856         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23857         intermediate variable to calculate exponent.
23858         (__sqr): Likewise.
23859         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23860         Likewise.
23861         (__sqr): Likewise.
23862
23863         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23864         [!NO__SQR]: Define __sqr.
23865         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23866         and NO__SQR.  Remove all code except __mul and __sqr.  Include
23867         sysdeps/ieee754/dbl-64/mpa.c.
23868         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23869
23870         [BZ #12723]
23871         * posix/Makefile (tests): Add tst-pathconf.
23872         * posix/tst-pathconf.c: New test case.
23873         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23874         _PC_PIPE_BUF.
23875         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23876
23877 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
23878
23879         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23880
23881 2013-03-06  Andreas Jaeger  <aj@suse.de>
23882
23883         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23884         definition via __MAP_ANONYMOUS.
23885
23886         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23887         it's not part of Linux headers.
23888
23889         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23890         (MAP_HUGE_MASK): Define.
23891
23892         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23893         Define.
23894         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23895         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23896         Define.
23897         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23898         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23899         Define.
23900         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23901         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23902         Define.
23903         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23904
23905         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23906         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
23907         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
23908         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23909         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
23910         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23911
23912         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23913         Handle f2fs.
23914
23915         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23916         Handle f2fs and efivarfs.
23917
23918         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23919         f2fs.
23920
23921         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23922         (EFIVARFS_MAGIC): Add.
23923         (F2FS_LINK_MAX): Add.
23924
23925 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23926
23927         * stdio-common/vfprintf.c: Replace __builtin_expect with
23928         __glibc_unlikely.
23929
23930 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
23931
23932         [BZ #13550]
23933         * sysdeps/generic/bp-sym.h: Remove file.
23934         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23935         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23936         <bp-sym.h> and <bp-asm.h>.
23937         (__longjmp): Don't use BP_SYM.
23938         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23939         and <bp-asm.h>.
23940         (memcpy): Don't use BP_SYM.
23941         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23942         <bp-sym.h> and <bp-asm.h>.
23943         (memcpy): Don't use BP_SYM.
23944         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23945         <bp-asm.h>.
23946         (memcpy): Don't use BP_SYM.
23947         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23948         <bp-asm.h>.
23949         (memset): Don't use BP_SYM.
23950         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23951         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23952         (__bzero): Don't use BP_SYM.
23953         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23954         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23955         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23956         <bp-sym.h> and <bp-asm.h>.
23957         (memcmp): Don't use BP_SYM.  Remove comment about bounded
23958         pointers.
23959         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23960         <bp-sym.h> and <bp-asm.h>.
23961         (memcpy): Don't use BP_SYM.
23962         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23963         <bp-sym.h> and <bp-asm.h>.
23964         (memset): Don't use BP_SYM.
23965         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23966         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23967         (__bzero): Don't use BP_SYM.
23968         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23969         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23970         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23971         <bp-sym.h> and <bp-asm.h>.
23972         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23973         pointers.
23974         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23975         <bp-sym.h> and <bp-asm.h>.
23976         (memcpy): Don't use BP_SYM.
23977         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23978         <bp-sym.h> and <bp-asm.h>.
23979         (memset): Don't use BP_SYM.
23980         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23981         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23982         (__bzero): Don't use BP_SYM.
23983         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23984         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23985         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23986         <bp-sym.h> and <bp-asm.h>.
23987         (__memchr): Don't use BP_SYM.
23988         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23989         <bp-sym.h> and <bp-asm.h>.
23990         (memcmp): Don't use BP_SYM.  Remove comment about bounded
23991         pointers.
23992         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23993         <bp-sym.h> and <bp-asm.h>.
23994         (memcpy): Don't use BP_SYM.
23995         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23996         <bp-sym.h> and <bp-asm.h>.
23997         (__mempcpy): Don't use BP_SYM.
23998         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23999         <bp-sym.h> and <bp-asm.h>.
24000         (__memrchr): Don't use BP_SYM.
24001         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
24002         <bp-sym.h> and <bp-asm.h>.
24003         (memset): Don't use BP_SYM.
24004         (__bzero): Likewise.
24005         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
24006         <bp-sym.h> and <bp-asm.h>.
24007         (__rawmemchr): Don't use BP_SYM.
24008         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
24009         <bp-sym.h> and <bp-asm.h>.
24010         (__STRCMP): Don't use BP_SYM.
24011         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
24012         <bp-sym.h> and <bp-asm.h>.
24013         (strchr): Don't use BP_SYM.
24014         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
24015         <bp-sym.h> and <bp-asm.h>.
24016         (__strchrnul): Don't use BP_SYM.
24017         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
24018         <bp-sym.h> and <bp-asm.h>.
24019         (strlen): Don't use BP_SYM.
24020         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
24021         <bp-sym.h> and <bp-asm.h>.
24022         (strncmp): Don't use BP_SYM.  Remove comment about bounded
24023         pointers.
24024         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
24025         <bp-sym.h> and <bp-asm.h>.
24026         (__strnlen): Don't use BP_SYM.
24027         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
24028         <bp-sym.h> and <bp-asm.h>.
24029         (__GI__setjmp): Don't use BP_SYM.
24030         (_setjmp): Likewise.
24031         (__sigsetjmp): Likewise.
24032         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
24033         (L(start_addresses)): Don't use BP_SYM.
24034         (_start): Likewise.
24035         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
24036         <bp-asm.h>.
24037         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
24038         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
24039         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24040         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24041         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
24042         <bp-asm.h>.
24043         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
24044         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
24045         about bounded pointers.
24046         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24047         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24048         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
24049         <bp-asm.h>.
24050         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
24051         about bounded pointers.  Remove GKM FIXME comments.
24052         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24053         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
24054         <bp-asm.h>.
24055         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
24056         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
24057         Remove GKM FIXME comments.
24058         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24059         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24060         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
24061         <bp-asm.h>.
24062         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
24063         about bounded pointers.  Remove GKM FIXME comment.
24064         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
24065         and <bp-asm.h>.
24066         (strncmp): Don't use BP_SYM.  Remove comment about bounded
24067         pointers.
24068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
24069         <bp-sym.h> and <bp-asm.h>.
24070         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
24072         <bp-sym.h> and <bp-asm.h>.
24073         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
24074         comment.
24075
24076 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24077
24078         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
24079         call free(NULL).
24080
24081 2013-03-05  David S. Miller  <davem@davemloft.net>
24082
24083         * po/es.po: Update from translation team.
24084
24085 2013-03-05  Andreas Jaeger  <aj@suse.de>
24086
24087         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
24088         <bits/mman-linux.h>.
24089         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24090         is fine.
24091         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
24092         <bits/mman-linux.h> to end of file.
24093         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24094         is fine.
24095         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
24096         <bits/mman-linux.h> to end of file.
24097         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24098         is fine.
24099         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
24100         <bits/mman-linux.h> to end of file.
24101
24102         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
24103         (MCL_CURRENT, MCL_FUTURE): Define here.
24104
24105 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24106
24107         [BZ #15232]
24108         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
24109         attribute_hidden.
24110         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24111
24112 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24113
24114         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
24115         fourth parameter needed for rt_sigprocmask syscall.
24116         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
24117         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24118         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
24119         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24120         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24121         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
24122
24123 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
24124
24125         [BZ #13550]
24126         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
24127         comment about bounded pointers.
24128         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
24129         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
24130
24131 2013-03-04  Andreas Jaeger  <aj@suse.de>
24132
24133         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
24134         common definitions.
24135
24136         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
24137         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
24138         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
24139         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24140         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
24141         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24142
24143 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24144
24145         [BZ #15055]
24146         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
24147         __ieee754_sqrl instead of __sqrl.
24148
24149 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
24150
24151         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
24152         * sysdeps/powerpc/fpu_control.h: ... here.
24153         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
24154         * sysdeps/powerpc/bits/fenvinline.h: ... here.
24155         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
24156         * sysdeps/powerpc/bits/mathinline.h: ... here.
24157
24158 2013-03-01  Roland McGrath  <roland@hack.frob.com>
24159
24160         * elf/dl-hwcaps.c (_dl_important_hwcaps):
24161         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
24162         to just [NEED_DL_SYSINFO_DSO].
24163         * elf/dl-support.c: Likewise.
24164         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
24165         * elf/rtld.c (dl_main): Likewise.
24166         * elf/setup-vdso.h (setup_vdso): Likewise.
24167         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
24168         * sysdeps/unix/sysv/linux/dl-sysdep.c
24169         (_dl_discover_osversion): Likewise.
24170
24171 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
24172
24173         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
24174         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24175
24176 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
24177
24178         * NEWS: Mention libm performance improvements and non-x86 PI
24179         futex support.
24180
24181         * csu/libc-start.c (__pthread_initialize_minimal): Change
24182         function arguments.
24183         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24184
24185 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
24186
24187         [BZ #13550]
24188         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
24189         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
24190         <bp-sym.h> and <bp-asm.h>.
24191         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24192         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
24193         and <bp-asm.h>.
24194         (memcpy): Don't use BP_SYM.
24195         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
24196         <bp-asm.h>.
24197         (__mpn_add_n): Don't use BP_SYM.
24198         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
24199         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
24200         and <bp-asm.h>.
24201         (__mpn_addmul_1): Don't use BP_SYM.
24202         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24203         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
24204         <bp-sym.h>.
24205         (_setjmp): Don't use BP_SYM.
24206         (__novmx_setjmp): Likewise.
24207         (__GI__setjmp): Likewise.
24208         (__vmx_setjmp): Likewise.
24209         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
24210         <bp-sym.h>.
24211         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
24212         (__bzero): Don't use BP_SYM.
24213         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24214         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24215         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
24216         <bp-sym.h> and <bp-asm.h>.
24217         (memcpy): Don't use BP_SYM.
24218         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
24219         <bp-sym.h> and <bp-asm.h>.
24220         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24221         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
24222         <bp-sym.h> and <bp-asm.h>.
24223         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24224         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
24225         <bp-asm.h>.
24226         (__mpn_lshift): Don't use BP_SYM.
24227         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24228         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
24229         <bp-asm.h>.
24230         (memset): Don't use BP_SYM.
24231         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24232         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24233         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
24234         <bp-asm.h>.
24235         (__mpn_mul_1): Don't use BP_SYM.
24236         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24237         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
24238         <bp-sym.h> and <bp-asm.h>.
24239         (memcmp): Don't use BP_SYM.
24240         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
24241         <bp-sym.h> and <bp-asm.h>.
24242         (memcpy): Don't use BP_SYM.
24243         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
24244         <bp-sym.h> and <bp-asm.h>.
24245         (memset): Don't use BP_SYM.
24246         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
24247         <bp-sym.h> and <bp-asm.h>.
24248         (strncmp): Don't use BP_SYM.
24249         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
24250         <bp-sym.h> and <bp-asm.h>.
24251         (memcpy): Don't use BP_SYM.
24252         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
24253         <bp-sym.h> and <bp-asm.h>.
24254         (memset): Don't use BP_SYM.
24255         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
24256         <bp-sym.h> and <bp-asm.h>.
24257         (__memchr): Don't use BP_SYM.
24258         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
24259         <bp-sym.h> and <bp-asm.h>.
24260         (memcmp): Don't use BP_SYM.
24261         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
24262         <bp-sym.h> and <bp-asm.h>.
24263         (memcpy): Don't use BP_SYM.
24264         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
24265         <bp-sym.h> and <bp-asm.h>.
24266         (__mempcpy): Don't use BP_SYM.
24267         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
24268         <bp-sym.h> and <bp-asm.h>.
24269         (__memrchr): Don't use BP_SYM.
24270         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
24271         <bp-sym.h> and <bp-asm.h>.
24272         (memset): Don't use BP_SYM.
24273         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
24274         <bp-sym.h> and <bp-asm.h>.
24275         (__rawmemchr): Don't use BP_SYM.
24276         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
24277         <bp-sym.h> and <bp-asm.h>.
24278         (__STRCMP): Don't use BP_SYM.
24279         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
24280         <bp-sym.h> and <bp-asm.h>.
24281         (strchr): Don't use BP_SYM.
24282         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
24283         <bp-sym.h> and <bp-asm.h>.
24284         (__strchrnul): Don't use BP_SYM.
24285         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
24286         <bp-sym.h> and <bp-asm.h>.
24287         (strlen): Don't use BP_SYM.
24288         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
24289         <bp-sym.h> and <bp-asm.h>.
24290         (strncmp): Don't use BP_SYM.
24291         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
24292         <bp-sym.h> and <bp-asm.h>.
24293         (__strnlen): Don't use BP_SYM.
24294         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
24295         <bp-asm.h>.
24296         (__mpn_rshift): Don't use BP_SYM.
24297         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24298         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
24299         <bp-sym.h> and <bp-asm.h>.
24300         (__sigsetjmp): Don't use BP_SYM.
24301         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
24302         (L(start_addresses)): Don't use BP_SYM.
24303         (_start): Likewise.
24304         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
24305         <bp-asm.h>.
24306         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
24307         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24308         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24309         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
24310         <bp-asm.h>.
24311         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
24312         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24313         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24314         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
24315         <bp-asm.h>.
24316         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
24317         comments.
24318         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24319         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
24320         <bp-asm.h>.
24321         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
24322         FIXME comments.
24323         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24324         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24325         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
24326         <bp-asm.h>.
24327         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
24328         comment.
24329         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
24330         and <bp-asm.h>.
24331         (strncmp): Don't use BP_SYM,
24332         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
24333         <bp-asm.h>.
24334         (__mpn_sub_n): Don't use BP_SYM.
24335         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24336         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
24337         and <bp-asm.h>.
24338         (__mpn_submul_1): Don't use BP_SYM.
24339         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
24341         <bp-sym.h> and <bp-asm.h>.
24342         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
24344         <bp-sym.h> and <bp-asm.h>.
24345         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
24346         comment.
24347
24348 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24349
24350         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
24351         Use ZK to minimize writes to Z.
24352         (sub_magnitudes): Simplify code a bit.
24353         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
24354         Use ZK to minimize writes to Z.
24355         (sub_magnitudes): Simplify code a bit.
24356
24357 2013-02-27  Roland McGrath  <roland@hack.frob.com>
24358
24359         * csu/gmon-start.c: Add special exception to license text.
24360
24361 2013-02-27  Richard Henderson  <rth@redhat.com>
24362
24363         * scripts/config.guess: Update from config.git.
24364         * scripts/config.sub: Likewise.
24365
24366 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24367
24368         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
24369
24370         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
24371
24372         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
24373
24374         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
24375
24376         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
24377
24378 2013-02-26  Roland McGrath  <roland@hack.frob.com>
24379
24380         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
24381         [$(build-shared = yes].
24382
24383 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24384
24385         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
24386         (__mul): Reduce iterations for calculating mantissa.
24387
24388         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
24389         MPTWO.
24390         (__mpranred): Likewise.
24391
24392         [BZ #15160]
24393         * malloc/memusagestat.c (main): Draw graphs for heap and stack
24394         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
24395
24396 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
24397
24398         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
24399         Define __attribute__.
24400
24401 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24402
24403         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
24404         unused.
24405         * posix/regex_internal.h (__attribute): Remove.
24406         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
24407         (re_string_context_at): Likewise.
24408         (bitset_not): Use __attribute__ and mark function as possibly
24409         unused.
24410         (bitset_merge): Likewise.
24411         (bitset_mask): Likewise.
24412         (re_string_char_size_at): Likewise.
24413         (re_string_wchar_at): Likewise.
24414         (re_string_elem_size_at): Likewise.
24415
24416 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
24417
24418         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
24419         code.
24420         (cc32): Likewise.
24421
24422         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
24423         (__acr): Likewise.
24424         (__cpy): Likewise.
24425         (norm): Likewise.
24426         (denorm): Likewise.
24427         (__dbl_mp): Likewise.
24428         (add_magnitudes): Likewise.
24429         (sub_magnitudes): Likewise.
24430         (__mul): Likewise.
24431         (__inv): Likewise.
24432
24433         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
24434         style.
24435
24436         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
24437         style.
24438
24439         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
24440         code.
24441
24442         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
24443         up changes with default code.
24444         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
24445         Likewise.
24446
24447 2013-02-24  Allan McRae  <allan@archlinux.org>
24448
24449         * manual/socket.texi (The Internet Namespace): Order menu items
24450         to match that in the file.
24451
24452         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
24453         node listing of the info page menu.
24454
24455 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
24456
24457         [BZ #13550]
24458         * sysdeps/i386/bp-asm.h: Remove file.
24459         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24460         (PARMS): Do not use macros from bp-asm.h.
24461         (S1): Likewise.
24462         (S2): Likewise.
24463         (SIZE): Likewise.
24464         (__mpn_add_n): Do not use BP_SYM
24465         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
24466         "bp-asm.h".
24467         (PARMS): Do not use macros from bp-asm.h.
24468         (S1): Likewise.
24469         (SIZE): Likewise.
24470         (__mpn_addmul_1): Do not use BP_SYM
24471         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
24472         "bp-asm.h".
24473         (PARMS): Do not use macros from bp-asm.h.
24474         (SIGMSK): Likewise.
24475         (_setjmp): Likewise.  Do not use BP_SYM.
24476         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
24477         "bp-asm.h".
24478         (PARMS): Do not use macros from bp-asm.h.
24479         (SIGMSK): Likewise.
24480         (setjmp): Likewise.  Do not use BP_SYM.
24481         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
24482         "bp-asm.h".
24483         (PARMS): Do not use macros from bp-asm.h.
24484         (__frexp): Do not use BP_SYM.
24485         (frexp): Likewise.
24486         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
24487         "bp-asm.h".
24488         (PARMS): Do not use macros from bp-asm.h.
24489         (__frexpf): Do not use BP_SYM.
24490         (frexpf): Likewise.
24491         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
24492         "bp-asm.h".
24493         (PARMS): Do not use macros from bp-asm.h.
24494         (__frexpl): Do not use BP_SYM.
24495         (frexpl): Likewise.
24496         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
24497         "bp-asm.h".
24498         (PARMS): Do not use macros from bp-asm.h.
24499         (__remquo): Do not use BP_SYM.
24500         (remquo): Likewise.
24501         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
24502         "bp-asm.h".
24503         (PARMS): Do not use macros from bp-asm.h.
24504         (__remquof): Do not use BP_SYM.
24505         (remquof): Likewise.
24506         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
24507         "bp-asm.h".
24508         (PARMS): Do not use macros from bp-asm.h.
24509         (__remquol): Do not use BP_SYM.
24510         (remquol): Likewise.
24511         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
24512         "bp-asm.h".
24513         (PARMS): Do not use macros from bp-asm.h.
24514         (DEST): Likewise.
24515         (SRC): Likewise.
24516         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
24517         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
24518         "bp-asm.h".
24519         (PARMS): Do not use macros from bp-asm.h.
24520         (strlen): Do not use BP_SYM.
24521         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
24522         "bp-asm.h".
24523         (PARMS): Do not use macros from bp-asm.h.
24524         (S1): Likewise.
24525         (S2): Likewise.
24526         (SIZE): Likewise.
24527         (__mpn_add_n): Do not use BP_SYM.
24528         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
24529         "bp-asm.h".
24530         (PARMS): Do not use macros from bp-asm.h.
24531         (S1): Likewise.
24532         (SIZE): Likewise.
24533         (__mpn_addmul_1): Do not use BP_SYM.
24534         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
24535         weak_alias.
24536         (bzero): Likewise.
24537         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
24538         "bp-asm.h".
24539         (PARMS): Do not use macros from bp-asm.h.
24540         (S): Likewise.
24541         (SIZE): Likewise.
24542         (__mpn_lshift): Do not use BP_SYM.
24543         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
24544         "bp-asm.h".
24545         (PARMS): Do not use macros from bp-asm.h.
24546         (DEST): Likewise.
24547         (SRC): Likewise.
24548         (LEN): Likewise.
24549         (memcpy): Likewise.  Do not use BP_SYM.
24550         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
24551         libc_hidden_def and weak_alias.
24552         (mempcpy): Do not use BP_SYM in weak_alias.
24553         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
24554         "bp-asm.h".
24555         (PARMS): Do not use macros from bp-asm.h.
24556         (DEST): Likewise.
24557         (LEN): Likewise.
24558         [!BZERO_P] (CHR): Likewise.
24559         (memset): Likewise.  Do not use BP_SYM.
24560         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
24561         "bp-asm.h".
24562         (PARMS): Do not use macros from bp-asm.h.
24563         (S1): Likewise.
24564         (SIZE): Likewise.
24565         (__mpn_mul_1): Do not use BP_SYM.
24566         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
24567         "bp-asm.h".
24568         (PARMS): Do not use macros from bp-asm.h.
24569         (S): Likewise.
24570         (SIZE): Likewise.
24571         (__mpn_rshift): Do not use BP_SYM.
24572         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
24573         "bp-asm.h".
24574         (PARMS): Do not use macros from bp-asm.h.
24575         (STR): Likewise.
24576         (CHR): Likewise.
24577         (strchr): Likewise.  Do not use BP_SYM.
24578         (index): Do not use BP_SYM in weak_alias.
24579         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
24580         "bp-asm.h".
24581         (PARMS): Do not use macros from bp-asm.h.
24582         (DEST): Likewise.
24583         (SRC): Likewise.
24584         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
24585         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
24586         "bp-asm.h".
24587         (PARMS): Do not use macros from bp-asm.h.
24588         (strlen): Do not use BP_SYM.
24589         * sysdeps/i386/i586/sub_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_sub_n): Do not use BP_SYM.
24596         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
24597         "bp-asm.h".
24598         (PARMS): Do not use macros from bp-asm.h.
24599         (S1): Likewise.
24600         (SIZE): Likewise.
24601         (__mpn_submul_1): Do not use BP_SYM.
24602         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
24603         "bp-asm.h".
24604         (PARMS): Do not use macros from bp-asm.h.
24605         (S1): Likewise.
24606         (S2): Likewise.
24607         (SIZE): Likewise.
24608         (__mpn_add_n): Do not use BP_SYM.
24609         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
24610         weak_alias.
24611         (bzero): Likewise.
24612         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
24613         "bp-asm.h".
24614         (PARMS): Do not use macros from bp-asm.h.
24615         (BLK2): Likewise.
24616         (LEN): Likewise.
24617         (memcmp): Do not use BP_SYM.
24618         (bcmp): Do not use BP_SYM in weak_alias.
24619         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
24620         "bp-asm.h".
24621         (PARMS): Do not use macros from bp-asm.h.
24622         (DEST): Likewise.
24623         (SRC): Likewise.
24624         (LEN): Likewise.
24625         (memcpy): Likewise.  Do not use BP_SYM.
24626         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
24627         "bp-asm.h".
24628         (PARMS): Do not use macros from bp-asm.h.
24629         (DEST): Likewise.
24630         (SRC): Likewise.
24631         (LEN): Likewise.
24632         (memmove): Likewise.  Do not use BP_SYM.
24633         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
24634         "bp-asm.h".
24635         (PARMS): Do not use macros from bp-asm.h.
24636         (DEST): Likewise.
24637         (SRC): Likewise.
24638         (LEN): Likewise.
24639         (__mempcpy): Likewise.  Do not use BP_SYM.
24640         (mempcpy): Do not use BP_SYM in weak_alias.
24641         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
24642         "bp-asm.h".
24643         (PARMS): Do not use macros from bp-asm.h.
24644         (DEST): Likewise.
24645         (LEN): Likewise.
24646         [!BZERO_P] (CHR): Likewise.
24647         (memset): Likewise.  Do not use BP_SYM.
24648         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
24649         "bp-asm.h".
24650         (PARMS): Do not use macros from bp-asm.h.
24651         (STR2): Likewise.
24652         (strcmp): Do not use BP_SYM.
24653         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
24654         "bp-asm.h".
24655         (PARMS): Do not use macros from bp-asm.h.
24656         (STR): Likewise.
24657         (DELIM): Likewise.
24658         [USE_AS_STRTOK_R] (SAVE): Likewise.
24659         (FUNCTION): Likewise.  Do not use BP_SYM.
24660         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
24661         aliases.
24662         (strtok_r): Likewise.
24663         (__GI___strtok_r): Likewise.
24664         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24665         (PARMS): Do not use macros from bp-asm.h.
24666         (S): Likewise.
24667         (SIZE): Likewise.
24668         (__mpn_lshift): Do not use BP_SYM.
24669         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24670         (PARMS): Do not use macros from bp-asm.h.
24671         (STR): Likewise.
24672         (CHR): Likewise.
24673         (__memchr): Do not use BP_SYM.
24674         (memchr): Do not use BP_SYM in weak_alias.
24675         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24676         (PARMS): Do not use macros from bp-asm.h.
24677         (BLK2): Likewise.
24678         (LEN): Likewise.
24679         (memcmp): Do not use BP_SYM.
24680         (bcmp): Do not use BP_SYM in weak_alias.
24681         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
24682         (PARMS): Do not use macros from bp-asm.h.
24683         (S1): Likewise.
24684         (SIZE): Likewise.
24685         (__mpn_mul_1): Do not use BP_SYM.
24686         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
24687         "bp-asm.h".
24688         (PARMS): Do not use macros from bp-asm.h.
24689         (STR): Likewise.
24690         (CHR): Likewise.
24691         (__rawmemchr): Do not use BP_SYM.
24692         (rawmemchr): Do not use BP_SYM in weak_alias.
24693         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24694         (PARMS): Do not use macros from bp-asm.h.
24695         (S): Likewise.
24696         (SIZE): Likewise.
24697         (__mpn_rshift): Do not use BP_SYM.
24698         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24699         (PARMS): Do not use macros from bp-asm.h.
24700         (SIGMSK): Likewise.
24701         (__sigsetjmp): Likewise.  Do not use BP_SYM.
24702         * sysdeps/i386/start.S: Do not include "bp-sym.h".
24703         (_start): Do not use BP_SYM.
24704         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
24705         (PARMS): Do not use macros from bp-asm.h.
24706         (DEST): Likewise.
24707         (SRC): Likewise.
24708         (__stpcpy): Likewise.  Do not use BP_SYM.
24709         (stpcpy): Do not use BP_SYM in weak_alias.
24710         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
24711         "bp-asm.h".
24712         (PARMS): Do not use macros from bp-asm.h.
24713         (DEST): Likewise.
24714         (SRC): Likewise.
24715         (LEN): Likewise.
24716         (__stpncpy): Likewise.  Do not use BP_SYM.
24717         (stpncpy): Do not use BP_SYM in weak_alias.
24718         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24719         (PARMS): Do not use macros from bp-asm.h.
24720         (STR): Likewise.
24721         (CHR): Likewise.
24722         (strchr): Likewise.  Do not use BP_SYM.
24723         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
24724         "bp-asm.h".
24725         (PARMS): Do not use macros from bp-asm.h.
24726         (STR): Likewise.
24727         (CHR): Likewise.
24728         (__strchrnul): Likewise.  Do not use BP_SYM.
24729         (strchrnul): Do not use BP_SYM in weak_alias.
24730         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
24731         "bp-asm.h".
24732         (PARMS): Do not use macros from bp-asm.h.
24733         (STOP): Likewise.
24734         (strcspn): Do not use BP_SYM.
24735         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
24736         "bp-asm.h".
24737         (PARMS): Do not use macros from bp-asm.h.
24738         (STR): Likewise.
24739         (STOP): Likewise.
24740         (strpbrk): Likewise.  Do not use BP_SYM.
24741         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
24742         "bp-asm.h".
24743         (PARMS): Do not use macros from bp-asm.h.
24744         (STR): Likewise.
24745         (CHR): Likewise.
24746         (strrchr): Likewise.  Do not use BP_SYM.
24747         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
24748         (PARMS): Do not use macros from bp-asm.h.
24749         (SKIP): Likewise.
24750         (strspn): Do not use BP_SYM.
24751         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
24752         (PARMS): Do not use macros from bp-asm.h.
24753         (STR): Likewise.
24754         (DELIM): Likewise.
24755         (SAVE): Likewise.
24756         (FUNCTION): Likewise.  Do not use BP_SYM.
24757         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
24758         aliases.
24759         (strtok_r): Likewise.
24760         (__GI___strtok_r): Likewise.
24761         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24762         (PARMS): Do not use macros from bp-asm.h.
24763         (S1): Likewise.
24764         (S2): Likewise.
24765         (SIZE): Likewise.
24766         (__mpn_sub_n): Do not use BP_SYM.
24767         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
24768         "bp-asm.h".
24769         (PARMS): Do not use macros from bp-asm.h.
24770         (S1): Likewise.
24771         (SIZE): Likewise.
24772         (__mpn_submul_1): Do not use BP_SYM.
24773         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
24774         <bp-sym.h>.
24775         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
24776         and <bp-asm.h>.
24777         (PARMS): Do not use macros from bp-asm.h.
24778         (FLAGS): Likewise.
24779         (PTID): Likewise.
24780         (TLS): Likewise.
24781         (CTID): Likewise.
24782         (__clone): Do not use BP_SYM.
24783         (clone): Do not use BP_SYM in weak_alias.
24784         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
24785         and <bp-asm.h>.
24786         (PARMS): Do not use macros from bp-asm.h.
24787         (LEN): Likewise.
24788         (__mmap64): Do not use BP_SYM.
24789         (mmap64): Do not use BP_SYM in weak_alias.
24790         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24791         <bp-sym.h> and <bp-asm.h>.
24792         (PARMS): Do not use macros from bp-asm.h.
24793         (__posix_fadvise64_l64): Do not use BP_SYM.
24794         * sysdeps/unix/sysv/linux/i386/semtimedop.S
24795         (PARMS): Do not use macros from bp-asm.h.
24796         (NSOPS): Likewise.
24797         (semtimedop): Do not use BP_SYM.
24798         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
24799         and <bp-asm.h>.
24800
24801 2013-02-21  Allan McRae  <allan@archlinux.org>
24802
24803         * manual/message.texi (Charset conversion in gettext):
24804         Move @end statement to beginning of line.
24805
24806 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24807
24808         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
24809         static.
24810         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24811         Likewise.
24812
24813         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
24814         (denorm): Likewise.
24815         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
24816         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
24817
24818 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24819
24820         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
24821         tail-call to the resolved function if pltexit isn't needed.
24822
24823 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24824
24825         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
24826         or Y being zero as being unlikely.
24827         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24828         Likewise.
24829
24830 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
24831
24832         * manual/nss.texi (System Databases and Name Service Switch):
24833         Remove frobnicate @pxref.
24834
24835 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
24836
24837         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24838         __attribute__ ((unused)) to __attribute__ ((__unused__)).
24839
24840 2013-02-20  Petr Machata  <pmachata@redhat.com>
24841
24842         * elf/elf.h (R_ARM_TARGET1): New macro.
24843         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24844         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24845         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24846         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24847         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24848         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24849         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24850         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24851         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24852         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24853         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24854         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24855         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24856         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24857         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24858         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24859         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24860         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24861         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24862         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24863         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24864         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24865         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24866         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24867         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24868         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24869         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24870         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24871         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24872         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24873         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24874         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24875         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24876         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24877         (R_ARM_THM_GOT_BREL12): Likewise.
24878         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24879         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24880         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24881         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24882         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24883         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24884         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24885         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24886         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24887
24888 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
24889
24890         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24891         __attribute_used__ to __attribute__ ((unused)).
24892
24893 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24894
24895         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24896         powerpc mpa.c.
24897         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24898         comment formatting.
24899         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24900
24901 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
24902
24903         [BZ #13550]
24904         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24905         Remove macro.
24906         (ENTER): Remove both macro definitions.
24907         (LEAVE): Likewise.
24908         (CHECK_BOUNDS_LOW): Likewise.
24909         (CHECK_BOUNDS_HIGH): Likewise.
24910         (CHECK_BOUNDS_BOTH): Likewise.
24911         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24912         (RETURN_BOUNDED_POINTER): Likewise.
24913         (RETURN_NULL_BOUNDED_POINTER): Likewise.
24914         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24915         (POP_ERRNO_LOCATION_RETURN): Likewise.
24916         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24917         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24918         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24919         macros.
24920         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24921         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24922         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24923         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24924         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24925         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24926         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24927         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24928         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24929         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24930         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24931         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24932         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24933         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24934         removed macros.
24935         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24936         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24937         macros.
24938         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24939         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24940         * sysdeps/i386/i586/memset.S (memset): Likewise.
24941         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24942         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24943         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24944         macros.
24945         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24946         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24947         Change uses of L(2) to L(out).
24948         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24949         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24950         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24951         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24952         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24953         removed macros.
24954         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24955         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24956         macros.
24957         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24958         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24959         (RETURN): Do not use macro LEAVE.
24960         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24961         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24962         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24963         * sysdeps/i386/i686/memset.S (memset): Likewise.
24964         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24965         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24966         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24967         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24968         Likewise.
24969         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24970         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
24971         L(1_2) and L(1_3) into L(1).
24972         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24973         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24974         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24975         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24976         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24977         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24978         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24979         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24980         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24981         macros.
24982         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24983         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24984         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24985         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24986         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24987         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24988         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24989         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24990         * sysdeps/i386/strcspn.S (strcspn): Likewise.
24991         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24992         * sysdeps/i386/strrchr.S (strrchr): Likewise.
24993         * sysdeps/i386/strspn.S (strspn): Likewise.
24994         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24995         conditional code.
24996         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24997         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24998         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24999         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
25000         L(1_3) into L(1_1).
25001         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
25002         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25003         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
25004         macros.
25005         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25006
25007 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
25008
25009         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
25010         macro.
25011
25012 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25013
25014         * math/atest-exp.c (exp_mpn): Remove ROUND.
25015         * math/atest-exp2.c (exp_mpn): Likewise.
25016         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
25017
25018         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
25019         * stdlib/tst-tls-atexit-lib.c: Likewise.
25020         * stdlib/tst-tls-atexit.c: Likewise.
25021
25022 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
25023
25024         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
25025         and __attribute_alloc_size__.
25026
25027 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
25028
25029         * include/programs/xmalloc.h: Change __attribute_alloc_size to
25030         __attribute_alloc_size__.
25031         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
25032         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
25033
25034 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
25035
25036         * include/programs/xmalloc.h: New file.
25037         * catgets/gencat.c: Include it.
25038         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
25039         * elf/pldd.c: Likewise.
25040         * iconv/iconv_charmap.c: Likewise.
25041         * iconv/iconvconfig.c: Likewise.
25042         * iconv/strtab.c: Likewise.
25043         * locale/programs/locale.c: Likewise.
25044         * locale/programs/localedef.h: Likewise.
25045         * locale/programs/simple-hash.c: Likewise.
25046         * nscd/nscd.h: Likewise.
25047         * nss/makedb.c: Likewise.
25048         * sysdeps/generic/ldconfig.h: Likewise.
25049
25050 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25051
25052         * Versions.def: Add GLIBC_2.18.
25053         * include/link.h (struct link_map): New member l_tls_dtor_count.
25054         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
25055         (__call_tls_dtors): Likewise.
25056         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
25057         __cxa_thread_atexit_impl.
25058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25059         Likewise.
25060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25061         Likewise.
25062         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25063         Likewise.
25064         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25065         Likewise.
25066         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25067         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
25068         Likewise.
25069         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
25070         Likewise.
25071         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25072         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
25073         Likewise.
25074         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
25075         (tests): Add test case tst-tls-atexit.
25076         (modules-names): Add shared library for tst-tls-atexit.
25077         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
25078         (GLIBC_PRIVATE): Add __call_tls_dtors.
25079         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
25080         for libstdc++.
25081         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
25082         * stdlib/tst-tls-atexit.c: New test case.
25083         * stdlib/tst-tls-atexit-lib.c: New test case.
25084
25085         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
25086
25087         * elf/Versions (ld): Add _dl_find_dso_for_object.
25088         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
25089         * elf/dl-open.c (_dl_find_dso_for_object): New function.
25090         (dl_open_worker): Use _dl_find_dso_for_object.
25091         * elf/dl-sym.c (do_sym): Likewise.
25092         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
25093
25094 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25095
25096         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
25097         Syntactic changes only.
25098         (_dl_runtime_profile): Do a tail-call to the resolved function.
25099
25100 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
25101
25102         [BZ #13550]
25103         * sysdeps/x86_64/bp-asm.h: Remove file.
25104         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
25105         <bp-sym.h> and <bp-asm.h>.
25106         (__clone): Do not use BP_SYM.
25107         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
25108         <bp-sym.h> and <bp-asm.h>.
25109         * sysdeps/unix/x86_64/sysdep.S: Likewise.
25110         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
25111         "bp-asm.h".
25112         (_setjmp): Do not use BP_SYM.
25113         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
25114         "bp-asm.h".
25115         (setjmp): Do not use BP_SYM.
25116         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
25117         libc_hidden_def.
25118         (mempcpy): Do not use BP_SYM in weak_alias.
25119         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
25120         "bp-asm.h".
25121         (strchr): Do not use BP_SYM.
25122         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
25123         "bp-asm.h".
25124         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
25125         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
25126         (_start): Do not use BP_SYM.
25127         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
25128         "bp-asm.h".
25129         (strcat): Do not use BP_SYM.
25130         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
25131         "bp-asm.h".
25132         (STRCMP): Do not use BP_SYM.
25133         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
25134         "bp-asm.h".
25135         (STRCPY): Do not use BP_SYM.
25136         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
25137         "bp-asm.h".
25138         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
25139         "bp-asm.h".
25140         (FUNCTION): Do not use BP_SYM.
25141         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
25142         weak_alias.
25143         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
25144
25145 2013-02-17  Andreas Jaeger  <aj@suse.de>
25146
25147         * time/Versions: Sort entries.
25148         * string/Versions: Likewise.
25149         * resolv/Versions: Likewise.
25150         * posix/Versions: Likewise.
25151         * iconv/Versions: Likewise.
25152         * elf/Versions: Likewise.
25153         * wcsmbs/Versions: Likewise.
25154
25155 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25156
25157         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
25158         loop termination condition.
25159
25160         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
25161         variable to calculate EZ.
25162         (__sqr): Likewise.
25163
25164         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
25165         the lower precision input.
25166
25167 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
25168
25169         [BZ #13550]
25170         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
25171         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
25172         (run-via-rtld-prefix): Do not handle %-bp tests.
25173         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
25174         (all-object-suffixes): Remove .ob.
25175         (bppfx): Remove variable.
25176         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
25177         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
25178         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
25179         [$(build-bounded) = yes] (libtype.ob): Likewise.
25180         * Makerules (elide-routines.ob): Remove variable.
25181         (do-tests-clean): Do not handle *-bp.out.
25182         (common-mostlyclean): Do not handle *-bp and *-bp.out.
25183         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
25184         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
25185         (tests): Do not include $(tests-bp.out).
25186         (xtests): Do not include $(xtests-bp.out).
25187         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
25188         [$(build-bounded) = yes] ($(addprefix
25189         $(objpfx),$(binaries-bounded))): Remove rule.
25190         ($(objpfx)%-bp.out): Remove rule.
25191         * config.make.in (build-bounded): Remove variable.
25192         * crypt/Makefile [$(build-bounded) = yes]
25193         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
25194         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
25195         append to variable.
25196         [$(build-bounded) = yes] (install-lib): Likewise.
25197         [$(build-bounded) = yes] (generated): Likewise.
25198         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
25199         Remove rule.
25200         * intl/Makefile [$(build-bounded) = yes]
25201         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
25202         * math/Makefile [$(build-bounded) = yes]
25203         ($(tests:%=$(objpfx)%-bp): Likewise.
25204         * misc/Makefile [$(build-bounded) = yes]
25205         ($(objpfx)tst-tsearch-bp): Likewise.
25206         * nptl/Makeconfig (bounded-thread-library): Remove variable.
25207         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
25208         Remove dependency.
25209         * string/Makefile (o-objects.ob): Remove variable.
25210         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
25211         (CFLAGS-.ob): Remove variable.
25212         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
25213         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
25214         both definitions of variable.
25215         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
25216         (ASFLAGS-.ob): Remove variable.
25217
25218 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
25219
25220         [BZ #13550]
25221         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
25222         Remove __BOUNDED_POINTERS__ from condition.
25223         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
25224         * string/bits/string2.h [!__NO_STRING_INLINES &&
25225         !__BOUNDED_POINTERS__]: Likewise.
25226         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
25227         Likewise.
25228         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
25229         Remove conditional code.
25230         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
25231         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
25232         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
25233         condition.
25234
25235         [BZ #13550]
25236         * csu/libc-start.c: Do not include <bp-sym.h>.
25237         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
25238         * elf/dl-open.c: Do not include <bp-sym.h>.
25239         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
25240         * math/fegetenv.c: Do not include <bp-sym.h>.
25241         (fegetenv): Do not use BP_SYM in versioned symbols.
25242         * nptl/sysdeps/pthread/bits/libc-lockP.h
25243         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
25244         <bp-sym.h>.
25245         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25246         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
25247         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25248         (__pthread_mutex_destroy): Likewise.
25249         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25250         (__pthread_mutex_lock): Likewise.
25251         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25252         (__pthread_mutex_trylock): Likewise.
25253         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25254         (__pthread_mutex_unlock): Likewise.
25255         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25256         (__pthread_mutexattr_init): Likewise.
25257         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25258         (__pthread_mutexattr_destroy): Likewise.
25259         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25260         (__pthread_mutexattr_settype): Likewise.
25261         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25262         (__pthread_rwlock_init): Likewise.
25263         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25264         (__pthread_rwlock_destroy): Likewise.
25265         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25266         (__pthread_rwlock_rdlock): Likewise.
25267         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25268         (__pthread_rwlock_tryrdlock): Likewise.
25269         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25270         (__pthread_rwlock_wrlock): Likewise.
25271         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25272         (__pthread_rwlock_trywrlock): Likewise.
25273         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25274         (__pthread_rwlock_unlock): Likewise.
25275         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25276         (__pthread_key_create): Likewise.
25277         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25278         (__pthread_setspecific): Likewise.
25279         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25280         (__pthread_getspecific): Likewise.
25281         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
25282         Likewise.
25283         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25284         (_pthread_cleanup_push_defer): Likewise.
25285         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25286         (_pthread_cleanup_pop_restore): Likewise.
25287         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25288         (pthread_setcancelstate): Likewise.
25289         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
25290         <bp-sym.h>.
25291         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
25292         (memchr): Do not use BP_SYM in weak_alias.
25293         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
25294         (fegetenv): Do not use BP_SYM in versioned symbols.
25295         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
25296         (fesetenv): Do not use BP_SYM in versioned symbols.
25297         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25298         (feupdateenv): Do not use BP_SYM in versioned symbols.
25299         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25300         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25301         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
25302         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
25303         (open64): Do not use BP_SYM in weak_alias.
25304         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
25305         (fegetenv): Do not use BP_SYM in versioned symbols.
25306         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
25307         (fesetenv): Do not use BP_SYM in versioned symbols.
25308         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25309         (feupdateenv): Do not use BP_SYM in versioned symbols.
25310         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
25311         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
25312         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
25313         (feraiseexcept): Do not use BP_SYM in versioned symbols.
25314         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25315         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25316         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
25317         <bp-sym.h>.
25318         (__libc_start_main): Do not use BP_SYM.
25319
25320 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25321
25322         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
25323         redundant return line.
25324         (norm): Likewise.
25325         (denorm): Likewise.
25326         (dbl_mp): Likewise.
25327         (sub_magnitudes): Likewise.
25328         (__add): Likewise.
25329         (__sub): Likewise.
25330         (__mul): Likewise.
25331         (__inv): Likewise.
25332         (__dvd): Likewise.
25333         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
25334         (norm): Likewise.
25335         (denorm): Likewise.
25336         (dbl_mp): Likewise.
25337         (sub_magnitudes): Likewise.
25338         (__add): Likewise.
25339         (__sub): Likewise.
25340         (__mul): Likewise.
25341         (__inv): Likewise.
25342         (__dvd): Likewise.
25343
25344         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
25345         instead of __mul.
25346         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25347         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
25348         (cc32): Likewise.
25349
25350         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
25351         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
25352         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
25353         of __mul for squares.
25354         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
25355         function
25356         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
25357         Likewise.
25358         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
25359         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25360
25361 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
25362
25363         [BZ #13550]
25364         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
25365         code.
25366         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
25367         prototype or function definition.  Rename ubp_* variables and
25368         parameters.  Remove argv definitions conditional on
25369         [__BOUNDED_POINTERS__].
25370         * debug/backtrace.c (__backtrace): Do not use __unbounded.
25371         * elf/dl-runtime.c (_dl_fixup): Likewise.
25372         * include/set-hooks.h (RUN_HOOK): Likewise.
25373         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
25374         definition.
25375         * string/strcpy.c (strcpy): Do not use __unbounded.
25376         * sysdeps/generic/frame.h (struct layout): Likewise.
25377         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
25378         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
25379         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
25380         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
25381         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
25382         (__backtrace): Likewise.
25383         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
25384         use __ptrvalue.
25385         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
25386         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25387         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
25388         Likewise.
25389         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
25390         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
25391         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25392         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25393         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
25394         Do not use __unbounded.
25395         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
25396         Rename __unboundedrlimits parameter to rlimits in prototype.
25397         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
25398         Do not use __unbounded.
25399         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
25400         not use __ptrvalue.
25401         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25402         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
25403         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25404         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
25405         __ptrvalue or __unbounded.
25406         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
25407         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
25408         use __unbounded.
25409         (__new_msgctl): Do not use __ptrvalue.
25410         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
25411         __unbounded.
25412         (__libc_msgrcv): Do not use __ptrvalue.
25413         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
25414         startup_info): Do not use __unbounded.
25415         (__libc_start_main): Likewise.  Rename ubp_* variables and
25416         parameters.  Remove argv definitions conditional on
25417         [__BOUNDED_POINTERS__].
25418         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
25419         __ptrvalue.
25420         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
25421         use __unbounded.
25422         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
25423         or __ptrvalue.
25424         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
25425         use __unbounded.
25426         (__new_shmctl): Do not use __ptrvalue.
25427         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
25428         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
25429         Likewise.
25430         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
25431         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
25432         (__libc_sigaction): Likewise.
25433         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
25434         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
25435         Likewise.
25436         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25437
25438 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
25439
25440         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
25441
25442         * string/mempcpy.c: Implement by calling memcpy.
25443
25444 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25445
25446         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
25447
25448         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
25449         evaluation.
25450
25451         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
25452         values in the mantissa.
25453
25454         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
25455         minimize writes to Z.
25456         (sub_magnitudes): Simplify code a bit.
25457
25458 2013-02-12  Roland McGrath  <roland@hack.frob.com>
25459
25460         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
25461         from the message.  The linker prefixes all warnings with that already.
25462
25463 2013-02-12  Andreas Schwab  <schwab@suse.de>
25464
25465         [BZ #15078]
25466         * posix/regexec.c (extend_buffers): Add parameter min_len.
25467         (check_matching): Pass minimum needed length.
25468         (clean_state_log_if_needed): Likewise.
25469         (get_subexp): Likewise.
25470         * posix/Makefile (tests): Add bug-regex34.
25471         (bug-regex34-ENV): Define.
25472         * posix/bug-regex34.c: New file.
25473
25474         [BZ #11561]
25475         * posix/regcomp.c (parse_bracket_exp): When looking up collating
25476         elements compare against the byte sequence of it, not its name.
25477         * posix/Makefile (tests): Add bug-regex35.
25478         (bug-regex35-ENV): Define.
25479         * posix/bug-regex35.c: New file.
25480
25481 2013-02-11  Tom de Vries  <tom@codesourcery.com>
25482
25483         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
25484         comment.
25485         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
25486         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
25487         (CHECK_EOL): Add undef.
25488
25489 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
25490
25491         * bits/stdlib-bsearch.h: New file.
25492         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
25493         * stdlib/stdlib.h: Likewise.
25494
25495 2013-02-11  Roland McGrath  <roland@hack.frob.com>
25496
25497         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
25498         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
25499         declaration.
25500         * manual/search.texi (Array Search Function): Add missing const in
25501         lfind prototype.
25502         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
25503         declaration to use rlim_t.
25504         (Basic Scheduling Functions): Remove erroneous const from
25505         sched_getparam prototype.  Remove erroneous * from
25506         sched_get_priority_max and sched_get_priority_min prototypes.
25507         (Resource Usage): Fix summary @comment on vtimes to refer to
25508         sys/vtimes.h rather than vtimes.h.
25509         Add missing *s in vtimes prototype.
25510         (Limits on Resources): Fix ulimit prototype to return long int.
25511         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
25512         prototypes to use long int rather than double.
25513         (BSD Random): Fix initstate and setstate to use char *, not void *.
25514         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
25515         prototype to make second argument 'struct aiocb64 *const[]'.
25516         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
25517         (Status of AIO Operations): Remove erroneous const in aio_return and
25518         aio_return64 prototypes.
25519         (Synchronizing I/O): Fix sync prototype to return void.
25520         * manual/startup.texi (Suboptions): Remove an erroneous const in
25521         getsubopt prototype.
25522         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
25523         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
25524         use size_t rather than int.
25525         (Scanning All Users): Likewise for getpwent_r.
25526         (Setting Groups): Add missing const to setgroups prototype.
25527         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
25528         * manual/socket.texi (Host Names): Fix gethostbyaddr and
25529         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
25530         'const void *' rather than 'const char *'.
25531         (Host Address Functions): Likewise for inet_ntop.
25532         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
25533         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
25534         ssize_t for return value.
25535         (Sending Data): Likewise for send, sendto, sendmsg.
25536         (Socket Option Functions): Add a missing const in setsockopt prototype.
25537         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
25538         use wchar_t for the argument.
25539         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
25540         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
25541         take no arguments.
25542         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
25543         double/float/long double for second argument.
25544         Fix return types of significand, significandf, significandl.
25545         * manual/filesys.texi (Setting Permissions): Use mode_t for second
25546         argument in fchmod prototype.
25547         (File Owner): Use uid_t and gid_t in fchown prototype.
25548         (File Times): Add const to utimes, futimes, and lutimes prototypes.
25549         (Making Special Files): Use mode_t and dev_t in mknod prototype.
25550         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
25551         use 'const struct dirent **' as argument types to CMP function pointer
25552         argument.
25553         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
25554         (File Times): Fix summary magic @comment for struct utimbuf and utime
25555         to refer to utime.h, not time.h.
25556         * manual/string.texi (Argz Functions): Add missing const in
25557         argz_extract and argz_next prototypes.
25558         (Finding Tokens in a String): Likewise for basename.
25559         (String/Array Comparison): Fix typo in wcscasecmp prototype.
25560         (Copying and Concatenation): Fix typo in wmemmove prototype.
25561         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
25562         (Signal Stack): Remove erroneous const in sigstack prototype.
25563         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
25564         prototype.
25565         (Simple Calendar Time): Likewise for stime.
25566         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
25567         prototype.
25568         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
25569         say sys/sysctl.h instead.
25570         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
25571         and vsyslog prototypes.
25572
25573 2013-02-11  Tom de Vries  <tom@codesourcery.com>
25574
25575         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
25576         Remove.
25577
25578 2013-02-11  Roland McGrath  <roland@hack.frob.com>
25579
25580         * misc/sys/mman.h: Fix typo in mremap comment.
25581
25582 2013-02-08  Roland McGrath  <roland@hack.frob.com>
25583
25584         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
25585         the '\0' terminator.
25586
25587 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
25588
25589         [BZ #13550]
25590         * debug/segfault.c: Don't include <bp-checks.h>.
25591         * sysdeps/generic/bp-checks.h: Remove file.
25592         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
25593         (__GETDENTS): Don't use CHECK_N.
25594         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
25595         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25596         (__getgroups): Don't use CHECK_N.
25597         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
25598         (setgroups): Don't use CHECK_N.
25599         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
25600         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
25601         (__libc_msgrcv): Don't use CHECK_N.
25602         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
25603         (__libc_msgsnd): Don't use CHECK_N.
25604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
25605         <bp-checks.h>.
25606         (__libc_pread): Don't use CHECK_N.
25607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
25608         include <bp-checks.h>.
25609         (__libc_pread64): Don't use CHECK_N.
25610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
25611         include <bp-checks.h>.
25612         (__libc_pwrite): Don't use CHECK_N.
25613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
25614         include <bp-checks.h>.
25615         (__libc_pwrite64): Don't use CHECK_N.
25616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
25617         <bp-checks.h>.
25618         (__libc_pread): Don't use CHECK_N.
25619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
25620         include <bp-checks.h>.
25621         (__libc_pread64): Don't use CHECK_N.
25622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
25623         include <bp-checks.h>.
25624         (__libc_pwrite): Don't use CHECK_N.
25625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
25626         include <bp-checks.h>.
25627         (__libc_pwrite64): Don't use CHECK_N.
25628         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
25629         (do_pread): Don't use CHECK_N.
25630         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
25631         (do_pread64): Don't use CHECK_N.
25632         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
25633         (do_pwrite): Don't use CHECK_N.
25634         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
25635         (do_pwrite64): Don't use CHECK_N.
25636         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
25637         (__libc_readv): Don't use CHECK_N.
25638         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
25639         (semop): Don't use CHECK_N.
25640         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
25641         <bp-checks.h>.
25642         (semtimedop): Don't use CHECK_N.
25643         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
25644         (__libc_pread): Don't use CHECK_N.
25645         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
25646         <bp-checks.h>.
25647         (__libc_pread64): Don't use CHECK_N.
25648         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
25649         <bp-checks.h>.
25650         (__libc_pwrite): Don't use CHECK_N.
25651         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
25652         <bp-checks.h>.
25653         (__libc_pwrite64): Don't use CHECK_N.
25654         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
25655         <bp-checks.h>.
25656         (__libc_msgrcv): Don't use CHECK_N.
25657         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
25658         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
25659         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
25660         (__libc_writev): Don't use CHECK_N.
25661
25662 2013-02-08  Roland McGrath  <roland@hack.frob.com>
25663
25664         * string/strcpy.c: Removed unused variable.
25665
25666         * Makeconfig (+sysdep-includes): Define with := rather than =.
25667         Use an existing include/ subdir of each sysdeps dir before it.
25668
25669 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25670
25671         * nscd/connection.c (register_traced_file): Comment function.
25672         [HAVE_INOTIFY] (union __inev): Define.
25673         [HAVE_INOTIFY] (inotify_check_files): New function.
25674         [HAVE_INOTIFY] (clear_db_cache): Likewise.
25675         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
25676         clear_db_cache.
25677         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
25678
25679 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25680
25681         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
25682         loaded if not already and that a failure is permanent.
25683
25684 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25685
25686         [BZ #15006]
25687         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
25688         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
25689
25690 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
25691
25692         [BZ #13550]
25693         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
25694         (CHECK_1_NULL_OK): Likewise.
25695         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
25696         (__fxstat): Do not use CHECK_1.
25697         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
25698         <bp-checks.h>.
25699         (___fxstat64): Do not use CHECK_1.
25700         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25701         <bp-checks.h>.
25702         (__fxstatat): Do not use CHECK_1.
25703         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25704         <bp-checks.h>.
25705         (__fxstatat64): Do not use CHECK_1.
25706         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
25707         <bp-checks.h>.
25708         (__fxstat): Do not use CHECK_1.
25709         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25710         <bp-checks.h>.
25711         (__fxstatat): Do not use CHECK_1.
25712         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
25713         <bp-checks.h>.
25714         (__getresgid): Do not use CHECK_1.
25715         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
25716         <bp-checks.h>.
25717         (__getresuid): Do not use CHECK_1.
25718         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
25719         <bp-checks.h>.
25720         (__lxstat): Do not use CHECK_1.
25721         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
25722         <bp-checks.h>.
25723         (__old_msgctl): Do not use CHECK_1.
25724         (__new_msgctl): Likewise.
25725         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
25726         <bp-checks.h>.
25727         (__new_setrlimit): Do not use CHECK_1.
25728         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
25729         <bp-checks.h>.
25730         (__old_shmctl): Do not use CHECK_1.
25731         (__new_shmctl): Likewise.
25732         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
25733         <bp-checks.h>.
25734         (__xstat): Do not use CHECK_1.
25735         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
25736         (__lxstat): Do not use CHECK_1.
25737         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
25738         <bp-checks.h>.
25739         (___lxstat64): Do not use CHECK_1.
25740         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
25741         (__old_msgctl): Do not use CHECK_1.
25742         (__new_msgctl): Likewise.
25743         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
25744         <bp-checks.h>.
25745         (__gettimeofday): Do not use CHECK_1.
25746         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
25747         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
25748         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
25749         <bp-checks.h>.
25750         (__gettimeofday): Do not use CHECK_1.
25751         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
25752         (__old_shmctl): Do not use CHECK_1_NULL_OK.
25753         (__new_shmctl): Do not use CHECK_1.
25754         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
25755         <bp-checks.h>.
25756         (do_sigtimedwait): Do not use CHECK_1.
25757         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
25758         <bp-checks.h>.
25759         (do_sigwaitinfo): Do not use CHECK_1.
25760         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
25761         <bp-checks.h>.
25762         (msgctl): Do not use CHECK_1.
25763         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
25764         <bp-checks.h>.
25765         (shmctl): Do not use CHECK_1.
25766         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
25767         (ustat): Do not use CHECK_1.
25768         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
25769         <bp-checks.h>.
25770         (__fxstat): Do not use CHECK_1.
25771         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25772         <bp-checks.h>.
25773         (__fxstatat): Do not use CHECK_1.
25774         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
25775         <bp-checks.h>.
25776         (__lxstat): Do not use CHECK_1.
25777         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
25778         <bp-checks.h>.
25779         (__xstat): Do not use CHECK_1.
25780         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
25781         (__xstat): Do not use CHECK_1.
25782         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
25783         (___xstat64): Do not use CHECK_1.
25784
25785         [BZ #13550]
25786         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
25787         definitions.
25788         (CHECK_BOUNDS_HIGH): Likewise.
25789         * string/strcpy.c: Do not include <bp-checks.h>.
25790         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
25791
25792 2013-02-07  Roland McGrath  <roland@hack.frob.com>
25793
25794         * nscd/nscd-client.h (__nscd_drop_map_ref):
25795         Add __attribute__ ((unused)).
25796         * nis/nss-nisplus.h (niserr2nss): Likewise.
25797
25798         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
25799         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
25800
25801         * csu/libc-tls.c (init_static_tls, init_slotinfo):
25802         Remove inline keyword.
25803         * include/rounding-mode.h (round_away): Likewise.
25804         * libio/wfileops.c (adjust_wide_data): Likewise.
25805         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
25806         (__m128i_strloadu_tolower): Likewise.
25807         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
25808         (__m128i_strloadu_tolower): Likewise.
25809         * time/mktime.c (ydhms_diff): Likewise.
25810         * locale/elem-hash.h (elem_hash): Likewise.
25811         * locale/setlocale.c (setdata): Likewise.
25812         * posix/regex_internal.h (re_string_char_size_at): Likewise.
25813         (re_string_wchar_at): Likewise.
25814         (bitset_not, bitset_merge, bitset_mask): Likewise.
25815         [!(__GNUC__ > 3)] (inline): Remove macro.
25816         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
25817         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
25818         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25819         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25820         * string/memcmp.c (memcmp_bytes): Likewise.
25821         * locale/programs/locarchive.c (compute_hashval): Likewise.
25822         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
25823         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
25824         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
25825         * nss/getent.c (print_rpc, print_protocols): Likewise.
25826         (print_passwd, print_group, print_aliases): Likewise.
25827         * nis/nss-nisplus.h (niserr2nss): Likewise.
25828         * nscd/connections.c (restart_p): Likewise.
25829         Change return type to bool.
25830
25831 2013-02-05  Roland McGrath  <roland@hack.frob.com>
25832
25833         * Makeconfig (all-Depend-files): Add existing
25834         $(sorted-subdirs:=/Depend) files.
25835         (all-subdirs): Remove nss.
25836         * sysdeps/unix/inet/Subdirs: Add it here instead.
25837         * hesiod/Depend: New file.
25838
25839         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25840         instead of calling alloca.
25841
25842         * io/lseek.c (__lseek): Rename to __libc_lseek.
25843         Define __lseek as an alias.
25844
25845         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25846
25847 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
25848
25849         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25850         else clause and remove check for non-standard endianness.
25851
25852 2013-02-04  David S. Miller  <davem@davemloft.net>
25853
25854         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25855
25856 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
25857
25858         [BZ #13550]
25859         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25860         (__ubp_memchr): Remove prototype.
25861         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25862         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25863         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25864         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25865         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25866         Remove alias.
25867         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25868         (__ubp_memchr): Likewise.
25869         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25870         (__ubp_memchr): Likewise.
25871         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25872         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25873         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25874         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25875         CHECK_STRING.
25876         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25877         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25878         (__getcwd): Do not use CHECK_STRING.
25879         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25880         <bp-checks.h>.
25881         (__real_chown): Do not use CHECK_STRING.
25882         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25883         <bp-checks.h>.
25884         (fchownat): Do not use CHECK_STRING.
25885         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25886         CHECK_STRING.
25887         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25888         <bp-checks.h>.
25889         (__lchown): Do not use CHECK_STRING.
25890         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25891         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25892         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25893         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25895         include <bp-checks.h>.
25896         (truncate64): Do not use CHECK_STRING.
25897         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25898         <bp-checks.h>.
25899         (__real_chown): Do not use CHECK_STRING.
25900         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25901         <bp-checks.h>.
25902         (__lchown): Do not use CHECK_STRING.
25903         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25904         <bp-checks.h>.
25905         (__chown): Do not use CHECK_STRING.
25906         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
25907         <bp-checks.h>.
25908         (truncate64): Do not use CHECK_STRING.
25909         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
25910         Likewise.
25911         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25912         (__xmknod): Do not use CHECK_STRING.
25913         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25914         <bp-checks.h>.
25915         (__xmknodat): Do not use CHECK_STRING.
25916         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25917         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25918
25919 2013-02-04  Andreas Schwab  <schwab@suse.de>
25920
25921         [BZ #14142]
25922         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25923         * include/netdb.h: Likewise for h_errno.
25924         * elf/tst-stackguard1.c: Include <tls.h>.
25925
25926 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
25927
25928         * elf/link.h (struct link_map): Extend the l_addr comment.
25929         * include/link.h (struct link_map): Likewise.
25930
25931 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
25932
25933         [BZ #13550]
25934         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25935         (BOUNDED_1): Remove macro.
25936         * debug/backtrace.c: Don't include <bp-checks.h>.
25937         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25938         (__backtrace): Likewise.
25939         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25940         <bp-checks.h>.
25941         (__backtrace): Don't use BOUNDED_1.
25942         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25943         <bp-checks.h>.
25944         (__backtrace): Don't use BOUNDED_1.
25945         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25946         (__backtrace): Don't use BOUNDED_1.
25947         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25948         (shmat): Don't use BOUNDED_N.
25949
25950 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
25951
25952         [BZ #13550]
25953         * sysdeps/generic/bp-start.h: Remove file.
25954         * csu/libc-start.c: Don't include <bp-start.h>.
25955         (LIBC_START_MAIN): Set up __environ directly instead of using
25956         INIT_ARGV_and_ENVIRON.
25957         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25958         <bp-start.h>.
25959
25960         [BZ #13550]
25961         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25962         definitions.
25963         (CHECK_FCNTL): Likewise.
25964         (CHECK_N_PAGES): Likewise.
25965
25966         [BZ #13550]
25967         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25968         definitions.
25969         (CHECK_SIGSET_NULL_OK): Likewise.
25970         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25971         <bp-checks.h>.
25972         (sigpending): Don't use CHECK_SIGSET.
25973         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25974         <bp-checks.h>.
25975         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25976         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25977         <bp-checks.h>.
25978         (do_sigsuspend): Don't use CHECK_SIGSET.
25979         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25980         use CHECK_SIGSET.
25981         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25982         (do_sigwait): Don't use CHECK_SIGSET.
25983         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25984         use CHECK_SIGSET.
25985         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25986         include <bp-checks.h>.
25987         (sigpending): Don't use CHECK_SIGSET.
25988         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25989         include <bp-checks.h>.
25990         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25991         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25992         <bp-checks.h>.
25993         (sigpending): Don't use CHECK_SIGSET.
25994         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25995         <bp-checks.h>.
25996         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25997
25998         [BZ #13550]
25999         * sysdeps/generic/bp-semctl.h: Remove file.
26000         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
26001         <bp-checks.h> and <bp-semctl.h>.
26002         (__old_semctl): Don't use CHECK_SEMCTL.
26003         (__new_semctl): Likewise.
26004         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
26005         and <bp-semctl.h>.
26006         (__old_semctl): Don't use CHECK_SEMCTL.
26007         (__new_semctl): Likewise.
26008         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
26009         <bp-checks.h> and <bp-semctl.h>.
26010         (__old_semctl): Don't use CHECK_SEMCTL.
26011         (__new_semctl): Likewise.
26012         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
26013         <bp-checks.h> and <bp-semctl.h>.
26014         (semctl): Don't use CHECK_SEMCTL.
26015
26016         [BZ #13550]
26017         * Makerules (elide-bp-thunks): Remove variable.
26018         (elide-routines.oS): Don't use $(elide-bp-thunks).
26019         (elide-routines.os): Likewise.
26020         (elide-routines.o): Likewise.
26021         (elide-routines.op): Likewise.
26022         (elide-routines.og): Likewise.
26023         (objects): Don't use $(bp-thunks).
26024         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
26025         include.
26026         (common-generated): Do not add s-proto-bp.d.
26027         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
26028         (int): Likewise.
26029         (typ): Likewise.
26030         Do not generate makefile rules for bounded-pointer thunks.
26031         * sysdeps/generic/bp-thunks.h: Remove file.
26032         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
26033         * sysdeps/unix/s-proto-bp.S: Likewise.
26034
26035         [BZ #15062]
26036         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
26037         parts of result separately when argument is not close to line from
26038         -i to i and one part of argument is small.
26039         * math/k_casinhf.c (__kernel_casinhf): Likewise.
26040         * math/k_casinhl.c (__kernel_casinhl): Likewise.
26041         * math/libm-test.inc (cacos_test): Add more tests.
26042         (casin_test): Likewise.
26043         (casinh_test): Likewise.
26044         * sysdeps/i386/fpu/libm-test-ulps: Update.
26045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26046
26047 2013-01-31  David S. Miller  <davem@davemloft.net>
26048
26049         * po/de.po: Update from translation team.
26050
26051 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
26052
26053         * time/tzfile.c: Include stdint.h for SIZE_MAX.
26054
26055 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
26056
26057         * configure.in (_AC_PROG_CC_C89): New definition.
26058         * configure: Regenerate.
26059
26060         * configure.in (AC_PROG_CPP): New definition.
26061         * configure: Regenerate.
26062
26063 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
26064
26065         * debug/tst-backtrace.h: New file.
26066         * debug/tst-backtrace2.c: Include tst-backtrace.h.
26067         (ret): Remove variable.
26068         (x): Likewise.
26069         (FAIL): Remove macro.
26070         (NO_INLINE): Likewise.
26071         (fn1): Use match function instead of strstr.
26072         * debug/tst-backtrace3.c: Include tst-backtrace.h.
26073         (ret): Remove variable.
26074         (x): Likewise.
26075         (FAIL): Remove macro.
26076         (NO_INLINE): Likewise.
26077         (fn): Use match function instead of strstr.
26078         * debug/tst-backtrace4.c: Include tst-backtrace.h.
26079         (ret): Remove variable.
26080         (x): Likewise.
26081         (FAIL): Remove macro.
26082         (NO_INLINE): Likewise.
26083         (handle_signal): Use match function instead of strstr.
26084         * debug/tst-backtrace5.c: Include tst-backtrace.h.
26085         (ret): Remove variable.
26086         (x): Likewise.
26087         (FAIL): Remove macro.
26088         (NO_INLINE): Likewise.
26089         (handle_signal): Use match function instead of strstr.
26090
26091 2013-01-23  Roland McGrath  <roland@hack.frob.com>
26092
26093         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
26094
26095 2013-01-23  David S. Miller  <davem@davemloft.net>
26096
26097         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
26098         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
26099         argument of CAS if possible.
26100         * sysdeps/sparc/sparc64/bits/atomic.h
26101         (__arch_compare_and_exchange_val_32_acq): Likewise.
26102         (__arch_compare_and_exchange_val_64_acq): Likewise.
26103
26104 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
26105
26106         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
26107         * sysdeps/posix/ulimit.c: ... this.
26108         Include <limits.h>.
26109         * sysdeps/unix/bsd/ulimit.c: Remove file.
26110
26111 2013-01-23  Adam Conrad  <adconrad@0c3.net>
26112
26113         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
26114         (LDFLAGS-tst-array5): Likewise.
26115
26116 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
26117
26118         [BZ #15036]
26119         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
26120         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
26121         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
26122         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
26123
26124 2013-01-21  David S. Miller  <davem@davemloft.net>
26125
26126         * sysdeps/sparc/backtrace.c: New file.
26127         * sysdeps/sparc/sparc32/backtrace.h: New file.
26128         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
26129         * sysdeps/sparc/sparc64/backtrace.h: New file.
26130         * sysdeps/sparc/sparc64/backtrace.c: Delete.
26131         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
26132         -funwind-tables.
26133
26134 2013-01-21  Andreas Schwab  <schwab@suse.de>
26135
26136         [BZ #15020]
26137         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
26138         closed its stdout.
26139
26140 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
26141
26142         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
26143         "mpa2.h".
26144         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26145
26146 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
26147             Mark Mitchell  <mark@codesourcery.com>
26148             Tom de Vries  <tom@codesourcery.com>
26149             Paul Pluzhnikov  <ppluzhnikov@google.com>
26150
26151         * debug/tst-backtrace2.c: New file.
26152         * debug/tst-backtrace3.c: Likewise.
26153         * debug/tst-backtrace4.c: Likewise.
26154         * debug/tst-backtrace5.c: Likewise.
26155         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
26156         (CFLAGS-tst-backtrace3.c): Likewise.
26157         (CFLAGS-tst-backtrace4.c): Likewise.
26158         (CFLAGS-tst-backtrace5.c): Likewise.
26159         (LDFLAGS-tst-backtrace2): Likewise.
26160         (LDFLAGS-tst-backtrace3): Likewise.
26161         (LDFLAGS-tst-backtrace4): Likewise.
26162         (LDFLAGS-tst-backtrace5): Likewise.
26163         (tests): Add new tests tst-backtrace2, tst-backtrace3,
26164         tst-backtrace4 and tst-backtrace5.
26165
26166 2013-01-18  Anton Blanchard  <anton@samba.org>
26167             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26168
26169         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
26170         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
26171         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
26172         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
26173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26174         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
26175         "+r" and remove output regs list as redundant.  Add explicit inline
26176         asm to specify register of return val to work around compiler codegen
26177         bug.  Remove (int) cast on return value.  Add return type parameter to
26178         use in macro so that this macro does not truncate return value for
26179         64-bit values.
26180         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
26181         pass to INTERNAL_VSYSCALL_NCS.
26182         (INLINE_VSYSCALL): Add 'long int' as return type to
26183         INTERNAL_VSYSCALL_NCS macro invocation.
26184         (INTERNAL_VSYSCALL): Add 'long int' as return type to
26185         INTERNAL_VSYSCALL_NCS macro invocation.
26186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26187
26188 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26189
26190         [BZ #14496]
26191         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
26192         Fix application of SIMD FP exception mask.
26193
26194         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
26195         mp_no from a power of two.
26196         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
26197         __mpexp_twomm1.  Use __pow_mp.
26198
26199         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
26200         multiplication.
26201
26202 2013-01-17  David S. Miller  <davem@davemloft.net>
26203
26204         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26205
26206 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
26207
26208         [BZ #15023]
26209         * include/complex.h: Condition contents on [!_COMPLEX_H].
26210         (__kernel_casinhf): New prototype.
26211         (__kernel_casinh): Likewise.
26212         (__kernel_casinhl): Likewise.
26213         * math/Makefile (libm_calls): Add k_casinh.
26214         * math/k_casinh.c: New file.
26215         * math/k_casinhf.c: Likewise.
26216         * math/k_casinhl.c: Likewise.
26217         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
26218         finite nonzero arguments.
26219         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
26220         finite nonzero arguments.
26221         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
26222         finite nonzero arguments.
26223         * math/s_casinh.c: Do not include <float.h>.
26224         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
26225         * math/s_casinhf.c: Do not include <float.h>.
26226         (__casinhf): Move code for finite nonzero arguments to
26227         k_casinhf.c.
26228         * math/s_casinhl.c: Do not include <float.h>.
26229         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
26230         redefine.
26231         (__casinhl): Move code for finite nonzero arguments to
26232         k_casinhl.c.
26233         * math/libm-test.inc (cacos_test): Add more tests.
26234         * sysdeps/i386/fpu/libm-test-ulps: Update.
26235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26236
26237 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
26238
26239         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
26240         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
26241         [!HAVE_MREMAP]: Remove [defined linux] case.
26242         * malloc/arena.c: Do not include <malloc-sysdep.h>.
26243
26244 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26245
26246         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
26247
26248 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
26249
26250         * elf/elf.h (R_386_SIZE32): New relocation.
26251         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
26252         R_386_SIZE32.
26253         (elf_machine_rela): Likewise.
26254         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26255         R_X86_64_SIZE64 and R_X86_64_SIZE32.
26256
26257 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
26258
26259         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
26260         (FP_FAST_FMA): Do not define.
26261         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
26262         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
26263         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
26264         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
26265         !_SOFT_FLOAT]: Likewise.
26266         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
26267         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
26268         value.
26269         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
26270         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
26271         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
26272         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
26273         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
26274         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
26275         file.
26276
26277 2013-01-16  Andreas Schwab  <schwab@suse.de>
26278
26279         [BZ #14327]
26280         * include/stdlib.h (__mktemp): Add declaration.
26281         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
26282         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
26283
26284 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26285
26286         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
26287         definitions.
26288         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26289         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
26290         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
26291         definitions here.
26292         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
26293         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
26294         definitions.
26295         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
26296         and ONE.
26297         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
26298         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
26299         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
26300         definitions.
26301         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
26302         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
26303         definitions.
26304         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26305
26306         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
26307
26308 2013-01-15  David S. Miller  <davem@davemloft.net>
26309
26310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26311         trunc{,f} to libm-sysdep_routes.
26312         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
26314         file.
26315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
26316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
26317         file.
26318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
26319         file.
26320         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
26321         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
26322         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
26323         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
26324         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
26325         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
26326         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
26327         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
26328
26329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26330         nearbyint{,f} to libm-sysdep_routes.
26331         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
26333         New file.
26334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
26335         file.
26336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
26337         New file.
26338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
26339         file.
26340         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
26341         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
26342         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
26343         file.
26344         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
26345         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
26346         file.
26347         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
26348         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
26349         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
26350
26351         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26352         libc_feholdexcept and libc_fesetenv.
26353
26354 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
26355
26356         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
26357
26358 2013-01-14  David S. Miller  <davem@davemloft.net>
26359
26360         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
26361         (SPARC_ASM_VIS2_IFUNC): Likewise.
26362         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
26363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
26364         use of 'siam' instruction.
26365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
26366         Likewise.
26367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
26368         Likewise.
26369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
26370         Likewise.
26371         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
26372         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
26373         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
26374         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
26375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
26376         file.
26377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
26378         file.
26379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
26380         file.
26381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
26382         file.
26383         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
26384         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
26385         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
26386         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
26387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
26388         new VIS2 routines.
26389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
26390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26392         Likewise.
26393         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26394         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26395         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26396         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
26398         routines to libm-sysdep_routines.
26399         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26400
26401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26402         fdim/fdimf to libm-sysdep_routines.
26403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
26404         file.
26405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
26406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
26407         file.
26408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
26409         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
26410         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
26411         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
26412         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
26413         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
26414         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
26415
26416 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26417
26418         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
26419         to optimize copies.
26420
26421         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
26422         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26423         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26424
26425         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
26426         local variable MPTWO.
26427         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26428         Likewise.
26429
26430 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26431
26432         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
26433         GLOB_NOESCAPE.
26434
26435 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26436
26437         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
26438
26439 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26440
26441         * manual/pattern.texi (glob_t): Document gl_flags.
26442         (glob64_t): Likewise.
26443
26444 2013-01-11  David S. Miller  <davem@davemloft.net>
26445
26446         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
26447         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
26448         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
26449         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
26450         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
26451         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
26452         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
26453         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
26454         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
26455         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
26456         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
26457         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
26458         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
26459
26460         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26461         sparc V9 rather than using V8 code.
26462         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26463         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26464
26465         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26466         Move to...
26467         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
26468         Here.
26469
26470 2013-01-11  Roland McGrath  <roland@hack.frob.com>
26471
26472         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
26473         not in the main loop.
26474         * configure: Regenerated.
26475
26476 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
26477
26478         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
26479         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
26480         to just #else.
26481         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
26482         [!__GLIBC_HAVE_LONG_LONG] case.
26483         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
26484         condition to just #else.
26485         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
26486         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
26487         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
26488         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
26489         unconditional.
26490         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
26491         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26492         #elif condition to just #else.
26493         * sysdeps/unix/sysv/linux/sys/sysmacros.h
26494         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
26495         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26496         #elif condition to just #else.
26497
26498 2013-01-11  Steve Ellcey  <sellcey@mips.com>
26499
26500         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
26501         (EF_MIPS_ARCH_64): Fix value.
26502         (EF_MIPS_ARCH_32R2): New.
26503         (EF_MIPS_ARCH_64R2): New.
26504
26505 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
26506
26507         * Makeconfig (+link-pie-before-libc): New.
26508         (+link-pie-after-libc): Likewise.
26509         (+link-pie-tests): Likewise.
26510         (+link-pie): Rewritten.
26511         (link-before-libc): Remove $(config-LDFLAGS).
26512         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
26513         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
26514         (config-LDFLAGS): Renamed to ...
26515         (rtld-LDFLAGS): This.
26516         (rtld-tests-LDFLAGS): New macro.
26517         (link-libc-rpath-link): Likewise.
26518         (link-libc-tests-rpath-link): Likewise.
26519         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
26520         (link-libc): Prepand $(link-libc-rpath-link).
26521         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
26522         (test-program-prefix): New macro.
26523         (test-via-rtld-prefix): Likewise.
26524         (test-program-cmd): Likewise.
26525         (host-test-program-cmd): Likewise.
26526         * Makefile ($(common-objpfx)testrun.sh): Replace
26527         $(run-program-prefix) with $(test-program-prefix).
26528         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
26529         $(rtld-LDFLAGS).
26530         ($(common-objpfx)shlib.lds): Likewise.
26531         (build-module-helper): Likewise.
26532         ($(common-objpfx)format.lds): Likewise.
26533         * Rules (binaries-pie-tests): New.
26534         (binaries-pie-notests): Likewise.
26535         (binaries-pie): Rewritten.
26536         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
26537         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
26538         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
26539         (make-test-out): Replace $(host-built-program-cmd) with
26540         $(host-test-program-cmd).
26541         * config.make.in (build-hardcoded-path-in-tests): New variable.
26542         * configure.in (--enable-hardcoded-path-in-tests): New configure
26543         option.
26544         (hardcoded_path_in_tests): New AC_SUBST.
26545         * configure: Regenerated.
26546         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
26547         $(built-program-cmd) with $(test-program-cmd).
26548         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
26549         (test_program_cmd): This.
26550         * elf/Makefile ($(objpfx)order.out): Run test with
26551         $(test-program-prefix).
26552         ($(objpfx)order2.out): Likewise.
26553         ($(objpfx)tst-initorder.out): Likewise.
26554         ($(objpfx)tst-initorder2.out): Likewise.
26555         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
26556         $(test-program-cmd).
26557         ($(objpfx)tst-array1-static.out): Likewise.
26558         ($(objpfx)tst-array2.out): Likewise.
26559         ($(objpfx)tst-array3.out): Likewise.
26560         ($(objpfx)tst-array4.out): Likewise.
26561         ($(objpfx)tst-array5.out): Likewise.
26562         ($(objpfx)tst-array5-static.out): Likewise.
26563         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
26564         $(test-program-cmd).
26565         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
26566         $(run-program-prefix) with $(test-program-prefix).
26567         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
26568         (test_program_prefix): This.
26569         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
26570         $(run-program-prefix) with $(test-program-prefix).
26571         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
26572         (test_program_prefix): This.
26573         * iconvdata/tst-tables.sh: Likewise.
26574         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
26575         $(run-program-prefix) with $(test-program-prefix).
26576         ($(objpfx)tst-translit.out): Likewise.
26577         ($(objpfx)tst-gettext2.out): Likewise.
26578         ($(objpfx)tst-gettext4.out): Likewise.
26579         ($(objpfx)tst-gettext6.out): Likewise.
26580         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
26581         (test_program_prefix): This.
26582         * intl/tst-gettext2.sh: Likewise.
26583         * intl/tst-gettext4.sh  Likewise.
26584         * intl/tst-gettext6.sh: Likewise.
26585         * intl/tst-translit.sh: Likewise.
26586         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
26587         with $(test-program-cmd).
26588         * libio/Makefile ($(objpfx)test-freopen.out): Replace
26589         $(run-program-prefix) with $(test-program-prefix).
26590         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
26591         (test_program_prefix): This.
26592         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
26593         $(run-program-prefix) with $(test-program-prefix).
26594         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
26595         (test_program_prefix): This.
26596         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
26597         * posix/Makefile ($(objpfx)globtest.out): Replace
26598         $(run-via-rtld-prefix) and $(test-wrapper) with
26599         $(test-program-prefix) and $(test-via-rtld-prefix).
26600         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
26601         $(test-program-prefix).
26602         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
26603         $(host-test-program-cmd).
26604         (tst-spawn-ARGS): Likewise.
26605         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
26606         $(test-program-prefix).
26607         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
26608         (test_via_rtld_prefix): This.
26609         (test_wrapper): Renamed to ...
26610         (test_program_prefix): This.
26611         (run_program_prefix): Replaced by test_program_prefix.
26612         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
26613         (test_program_prefix): This.
26614         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
26615         with $(host-test-program-cmd).
26616         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
26617         $(run-program-prefix) with $(test-program-prefix).
26618         ($(objpfx)tst-printf.out): Likewise.
26619         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
26620         $(test-program-cmd).
26621         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
26622         (test_program_prefix): This.
26623         * stdio-common/tst-unbputc.sh: Likewise.
26624         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
26625         $(run-program-prefix) with $(test-program-prefix).
26626         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
26627         (test_program_prefix): This.
26628         * string/Makefile ($(objpfx)tst-svc.out):  Replace
26629         $(built-program-cmd) with $(test-program-cmd).
26630
26631 2013-01-11  Andreas Jaeger  <aj@suse.de>
26632
26633         [BZ #15003]
26634         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
26635         value. Sync with Linux 3.7.
26636
26637 2013-01-10  David S. Miller  <davem@davemloft.net>
26638
26639         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
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         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
26646         never set.
26647         * configure: Regenerated.
26648
26649 2013-01-10  David S. Miller  <davem@davemloft.net>
26650
26651         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26652         sparc V9 rather than using V8 code.
26653         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26654         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26655
26656 2013-01-10  Roland McGrath  <roland@hack.frob.com>
26657
26658         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
26659         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
26660         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
26661         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
26662         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
26663         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
26664         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
26665         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
26666         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
26667         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
26668         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
26669         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
26670         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
26671         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
26672         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
26673         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
26674         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
26675         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
26676         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
26677         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
26678         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
26679         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
26680         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
26681         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
26682         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
26683         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
26684         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
26685
26686 2013-01-10  David S. Miller  <davem@davemloft.net>
26687
26688         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26689
26690 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
26691
26692         * posix/Makefile (tests-static): New variable.
26693         (tests): Add $(tests-static).
26694         (tst-exec-static-ARGS): New variable.
26695         (tst-spawn-static-ARGS): Likewise.
26696         * posix/tst-exec-static.c: New file.
26697         * posix/tst-spawn-static.c: Likewise.
26698         * posix/tst-exec.c: Support run directly.
26699         * posix/tst-spawn.c: Likewise.
26700
26701 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
26702
26703         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
26704         long.
26705         * math/bits/mathcalls.h (llrint): Likewise.
26706         (llround): Likewise.
26707         * stdlib/stdlib.h (struct drand48_data): Likewise.
26708         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
26709         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
26710         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
26711         Likewise.
26712         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
26713         Likewise.
26714         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
26715         (elf_greg_t): Likewise.
26716         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
26717         (__jmp_buf): Likewise.
26718         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
26719         definitions.
26720         (llrint): Likewise, for all definitions.
26721         (llrintl): Likewise.
26722
26723         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
26724         Remove [__GNUC__] condition.
26725         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
26726         condition to just [__USE_ISOC99].
26727         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
26728
26729 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
26730
26731         [BZ #14200]
26732         * sysdeps/unix/sysv/linux/x86/bits/environments.h
26733         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
26734         defined.
26735         (_POSIX_V6_ILP32_OFF32): Likewise.
26736         (_XBS5_ILP32_OFF32): Likewise.
26737         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
26738         (__ILP32_OFFBIG_LDFLAGS): Likewise.
26739
26740 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26741
26742         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
26743
26744         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
26745         doubles __mpexp_twomm1.  Adjust usage.
26746         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
26747         Remove.
26748
26749 2013-01-10  Andreas Schwab  <schwab@suse.de>
26750
26751         [BZ #14964]
26752         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
26753         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
26754
26755 2013-01-09  David S. Miller  <davem@davemloft.net>
26756
26757         [BZ #15003]
26758         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
26759         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
26760         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
26761         (TCP_FASTOPEN): Define.
26762         (tcp_repair_opt): New structure.
26763         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
26764         enum values.
26765         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
26766         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
26767         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
26768         (tcp_cookie_transactions): New structure.
26769
26770 2013-01-09  Anton Blanchard  <anton@samba.org>
26771
26772         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
26773         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
26774         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
26775         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26776
26777 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
26778
26779         * include/features.h (__USE_ANSI): Remove.
26780
26781 2013-01-09  Roland McGrath  <roland@hack.frob.com>
26782
26783         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
26784
26785         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
26786
26787 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
26788
26789         * sysdeps/s390/fpu/libm-test-ulps: Update.
26790
26791         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26792
26793         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
26794         (__acr): Likewise.
26795         (__cpy): Likewise.
26796         (norm): Likewise.
26797         (denorm): Likewise.
26798         (__mp_dbl): Likewise.
26799         (__dbl_mp): Likewise.
26800         (add_magnitudes): Likewise.
26801         (sub_magnitudes): Likewise.
26802         (__add): Likewise.
26803         (__sub): Likewise.
26804         (__mul): Likewise.
26805         (__inv): Likewise.
26806         (__dvd): Likewise.
26807         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
26808         (__acr): Likewise.
26809         (__cpy): Likewise.
26810         (norm): Likewise.
26811         (denorm): Likewise.
26812         (__mp_dbl): Likewise.
26813         (__dbl_mp): Likewise.
26814         (add_magnitudes): Likewise.
26815         (sub_magnitudes): Likewise.
26816         (__add): Likewise.
26817         (__sub): Likewise.
26818         (__mul): Likewise.
26819         (__inv): Likewise.
26820         (__dvd): Likewise.
26821         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
26822         (__acr): Likewise.
26823         (__cpy): Likewise.
26824         (norm): Likewise.
26825         (denorm): Likewise.
26826         (__mp_dbl): Likewise.
26827         (__dbl_mp): Likewise.
26828         (add_magnitudes): Likewise.
26829         (sub_magnitudes): Likewise.
26830         (__add): Likewise.
26831         (__sub): Likewise.
26832         (__mul): Likewise.
26833         (__inv): Likewise.
26834         (__dvd): Likewise.
26835
26836 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
26837
26838         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26839         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26840         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26841         2 && __USE_EXTERN_INLINES]: Likewise.
26842
26843 2013-01-08  Andreas Jaeger  <aj@suse.de>
26844
26845         [BZ# 14985]
26846         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26847         Remove.
26848         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26849         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26850
26851 2013-01-07  Anton Blanchard  <anton@samba.org>
26852
26853         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26854         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26855         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26856         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26857         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26858         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26859         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26860         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26861         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26862         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26863         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26864         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26865         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26866         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26867         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26868         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26869         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26870         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26871         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26872         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26873         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26874         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26875         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26876         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26877         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26878         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26879         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26880         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26881         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26882         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26883         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26884         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26885         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26886         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26887         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26888         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26889         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26890         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26891         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26892         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26893         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26894         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26895         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26896
26897 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
26898
26899         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26900         (__MALLOC_PMT): Likewise.
26901         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26902         [__GNUC__], only on [_LIBC].
26903         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26904         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26905         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26906         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
26907         forward declaration.
26908         (realloc_hook_ini): Likewise.
26909         (memalign_hook_ini): Likewise.
26910         (__libc_memalign): Do not use __MALLOC_PMT in variable
26911         declaration.
26912         (__libc_valloc): Likewise.
26913         (__libc_pvalloc): Likewise.
26914         (__libc_calloc): Likewise.
26915         (__posix_memalign): Likewise.
26916
26917         [BZ #14996]
26918         * math/s_casinh.c: Include <float.h>.
26919         (__casinh): Do not do computation with squaring and square root
26920         for large arguments.
26921         * math/s_casinhf.c: Include <float.h>.
26922         (__casinhf): Do not do computation with squaring and square root
26923         for large arguments.
26924         * math/s_casinhl.c: Include <float.h>.
26925         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26926         (__casinhl): Do not do computation with squaring and square root
26927         for large arguments.
26928         * math/libm-test.inc (casin_test): Add more tests.
26929         (casinh_test): Likewise.
26930         * sysdeps/i386/fpu/libm-test-ulps: Update.
26931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26932
26933 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
26934
26935         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26936         (__x86_64_raw_data_cache_size): Likewise.
26937         (__x86_64_data_cache_size_half): Likewise.
26938         (__x86_64_raw_data_cache_size_half): Likewise.
26939         (__x86_64_shared_cache_size): Likewise.
26940         (__x86_64_raw_shared_cache_size): Likewise.
26941         (__x86_64_shared_cache_size_half): Likewise.
26942         (__x86_64_raw_shared_cache_size_half): Likewise.
26943         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26944         to ...
26945         (__x86_data_cache_size): This.
26946         (__x86_64_raw_data_cache_size): Renamed to ...
26947         (__x86_raw_data_cache_size): This.
26948         (__x86_64_data_cache_size_half): Renamed to ...
26949         (__x86_data_cache_size_half): This.
26950         (__x86_64_raw_data_cache_size_half): Renamed to ...
26951         (__x86_raw_data_cache_size_half): This.
26952         (__x86_64_shared_cache_size): Renamed to ...
26953         (__x86_shared_cache_size): This.
26954         (__x86_64_raw_shared_cache_size): Renamed to ...
26955         (__x86_raw_shared_cache_size): This.
26956         (__x86_64_shared_cache_size_half): Renamed to ...
26957         (__x86_shared_cache_size_half): This.
26958         (__x86_64_raw_shared_cache_size_half): Renamed to ...
26959         (__x86_raw_shared_cache_size_half): This.
26960         * sysdeps/x86_64/memcpy.S: Updated.
26961         * sysdeps/x86_64/memset.S: Likewise.
26962         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26963         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26964         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26965
26966 2013-01-04  David S. Miller  <davem@davemloft.net>
26967
26968         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26969
26970 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
26971
26972         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26973         1 to avoid redefinition warning.
26974         (__USE_GNU): Don't define.
26975         (init_signaling_nan): Protoize.
26976
26977         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26978
26979 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26980
26981         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26982         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26983         (__cpymn): Likewise.
26984         (norm): Remove commented code.
26985         (denorm): Likewise.
26986         (__mp_dbl): Likewise.
26987         (__inv): Likewise.
26988         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26989         (__cpymn): Likewise.
26990         (norm): Remove commented code.
26991         (denorm): Likewise.
26992         (__mp_dbl): Likewise.
26993         (__inv): Likewise.
26994
26995         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26996         mp_no value for 1.0 and 2.0.
26997         (norm): Use RADIXI instead of radixi.d.
26998         (denorm): Likewise.
26999         (__mul): Use 0.0 instead of zero.d.
27000         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
27001         mp_no value for 1.0 and 2.0.
27002         (norm): Use RADIXI instead of radixi.d.
27003         (denorm): Likewise.
27004         (__mul): Use 0.0 instead of zero.d.
27005
27006 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
27007
27008         [BZ #14994]
27009         * math/s_casinh.c (__casinh): Reduce finite argument to first
27010         quadrant then set signs of results at the end.
27011         * math/s_casinhf.c (__casinhf): Likewise.
27012         * math/s_casinhl.c (__casinhl): Likewise.
27013         * math/libm-test.inc (casin_test): Add more tests.
27014         (casinh_test): Likewise.
27015         * sysdeps/i386/fpu/libm-test-ulps: Update.
27016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27017
27018 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27019
27020         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
27021
27022         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
27023
27024         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
27025         declarations.
27026         (denorm): Likewise.
27027         (__mp_dbl): Likewise.
27028         (__inv): Likewise.
27029
27030         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
27031         and adjust the header comment.
27032
27033         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
27034         variable name from declaration.
27035
27036 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
27037
27038         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27039         Initialize COMMON_CPUID_INDEX_7 element.
27040         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
27041         (CPUID_RTM): Likewise.
27042         (HAS_RTM): Likewise.
27043         (COMMON_CPUID_INDEX_7): New enum.
27044
27045 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
27046
27047         [BZ #14981]
27048         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
27049         size is zero, record memory as freed.
27050
27051 2013-01-03  Andreas Jaeger  <aj@suse.de>
27052
27053         * po/ia.po: Add new Interlingua translation.
27054
27055 2012-01-03  Allan McRae  <allan@archlinux.org>
27056
27057         * locale/programs/localedef.c: Fix description of '--posix' flag.
27058
27059 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
27060
27061         * NEWS: Update dates in second copyright notice.
27062         * README: Update copyright dates in example.
27063         * manual/libc.texinfo: Update copyright dates.
27064         * scripts/test-installation.pl: Update copyright date in --version
27065         output.
27066
27067         * hurd/ctty-input.c: Fix copyright notice formatting.
27068         * hurd/ctty-output.c: Likewise.
27069         * hurd/dtable.c: Likewise.
27070         * hurd/hurd-raise.c: Likewise.
27071         * hurd/hurdprio.c: Likewise.
27072         * hurd/msgportdemux.c: Likewise.
27073         * misc/sys/file.h: Likewise.
27074         * misc/sys/ioctl.h: Likewise.
27075         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
27076         * sysdeps/mach/hurd/chdir.c: Likewise.
27077         * sysdeps/mach/hurd/fchdir.c: Likewise.
27078         * sysdeps/mach/hurd/rename.c: Likewise.
27079         * sysdeps/mach/hurd/rmdir.c: Likewise.
27080         * sysdeps/mach/hurd/seekdir.c: Likewise.
27081         * sysdeps/mach/hurd/setsid.c: Likewise.
27082         * sysdeps/posix/wait3.c: Likewise.
27083
27084         * All files with FSF copyright notices: Update copyright dates
27085         using scripts/update-copyrights.
27086         * intl/plural.c: Regenerated.
27087         * locale/programs/charmap-kw.h: Likewise.
27088         * locale/programs/locfile-kw.h: Likewise.
27089
27090 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27091
27092         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
27093         four values.
27094
27095         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
27096         calculation loop and add branch prediction.
27097
27098         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
27099         check access beyond bounds of m1np.
27100
27101         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27102         MPTWO.
27103         (__inv): Remove local variable MPTWO to use the global
27104         constant.
27105         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
27106         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27107         variable MPTWO.
27108         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
27109         MP3HALFS static const.
27110
27111 2013-01-01  David S. Miller  <davem@davemloft.net>
27112
27113         * po/ca.po: Update from translation team.
27114
27115 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
27116
27117         * scripts/update-copyrights: New file.
27118         * Makeconfig: Reformat copyright notice.
27119         * ctype/ctype.h: Likewise.
27120         * debug/swprintf_chk.c: Likewise.
27121         * elf/dl-cache.c: Likewise.
27122         * elf/dl-debug.c: Likewise.
27123         * elf/dl-object.c: Likewise.
27124         * grp/initgroups.c: Likewise.
27125         * hurd/Makefile: Likewise.
27126         * hurd/hurd/signal.h: Likewise.
27127         * hurd/hurdfault.c: Likewise.
27128         * hurd/hurdioctl.c: Likewise.
27129         * hurd/hurdlookup.c: Likewise.
27130         * hurd/intr-msg.c: Likewise.
27131         * iconv/gconv_open.c: Likewise.
27132         * libio/swprintf.c: Likewise.
27133         * locale/lc-ctype.c: Likewise.
27134         * locale/nl_langinfo.c: Likewise.
27135         * mach/Machrules: Likewise.
27136         * mach/Makefile: Likewise.
27137         * malloc/obstack.h: Likewise.
27138         * manual/Makefile: Likewise.
27139         * manual/tsort.awk: Likewise.
27140         * misc/bits/stab.def: Likewise.
27141         * nis/nis_print_group_entry.c: Likewise.
27142         * nis/nis_table.c: Likewise.
27143         * nis/nss_compat/compat-pwd.c: Likewise.
27144         * nis/nss_compat/compat-spwd.c: Likewise.
27145         * po/Makefile: Likewise.
27146         * posix/fnmatch.c: Likewise.
27147         * posix/regex.h: Likewise.
27148         * resolv/Makefile: Likewise.
27149         * resolv/nss_dns/dns-network.c: Likewise.
27150         * resolv/res_hconf.c: Likewise.
27151         * scripts/gen-sorted.awk: Likewise.
27152         * soft-fp/soft-fp.h: Likewise.
27153         * stdio-common/printf.h: Likewise.
27154         * stdlib/monetary.h: Likewise.
27155         * stdlib/random.c: Likewise.
27156         * stdlib/random_r.c: Likewise.
27157         * sysdeps/generic/Makefile: Likewise.
27158         * sysdeps/gnu/Makefile: Likewise.
27159         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27160         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27161         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27162         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27163         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27164         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27165         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27166         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27167         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27168         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27169         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27170         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27171         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27172         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27173         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
27174         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27175         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27176         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27177         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27178         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27179         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27180         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27181         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27182         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27183         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
27184         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27185         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
27186         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
27187         * sysdeps/mach/hurd/errnos.awk: Likewise.
27188         * sysdeps/mach/hurd/fork.c: Likewise.
27189         * sysdeps/mach/hurd/getcwd.c: Likewise.
27190         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
27191         * sysdeps/mach/hurd/mmap.c: Likewise.
27192         * sysdeps/mach/hurd/utimes.c: Likewise.
27193         * sysdeps/mach/hurd/xmknod.c: Likewise.
27194         * sysdeps/posix/profil.c: Likewise.
27195         * sysdeps/posix/readdir_r.c: Likewise.
27196         * sysdeps/powerpc/bits/mathdef.h: Likewise.
27197         * sysdeps/powerpc/bits/setjmp.h: Likewise.
27198         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
27199         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
27200         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27201         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27202         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27203         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27204         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27205         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27206         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27207         * sysdeps/pthread/lio_listio.c: Likewise.
27208         * sysdeps/sparc/dl-procinfo.h: Likewise.
27209         * sysdeps/unix/i386/sysdep.S: Likewise.
27210         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
27211         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
27212         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
27213         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
27214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27215         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
27216         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
27217         * sysdeps/unix/sysv/linux/speed.c: Likewise.
27218         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
27219         * sysdeps/wordsize-32/divdi3.c: Likewise.
27220         * time/sys/time.h: Likewise.
27221         * wcsmbs/Makefile: Likewise.
27222
27223 2013-01-01  David S. Miller  <davem@davemloft.net>
27224
27225         * po/fr.po: Update from translation team.
27226
27227         * catgets/gencat.c: Update copyright year.
27228         * csu/version.c: Likewise.
27229         * debug/catchsegv.sh: Likewise.
27230         * debug/pcprofiledump.c: Likewise.
27231         * debug/xtrace.sh: Likewise.
27232         * elf/ldconfig.c: Likewise.
27233         * elf/ldd.bash.in: Likewise.
27234         * elf/pldd.c: Likewise.
27235         * elf/sotruss.ksh: Likewise.
27236         * elf/sprof.c: Likewise.
27237         * iconv/iconv_prog.c: Likewise.
27238         * iconv/iconvconfig.c: Likewise.
27239         * locale/programs/locale.c: Likewise.
27240         * locale/programs/localedef.c: Likewise.
27241         * login/programs/pt_chown.c: Likewise.
27242         * malloc/memusage.sh: Likewise.
27243         * malloc/memusagestat.c: Likewise.
27244         * malloc/mtrace.pl: Likewise.
27245         * nscd/nscd.c: Likewise.
27246         * nss/getent.c: Likewise.
27247         * nss/makedb.c: Likewise.
27248         * posix/getconf.c: Likewise.
27249
27250 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
27251
27252         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
27253         numbers.
27254
27255 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
27256
27257         * math/bits/mathcalls.h (modf): Use __nonnull.
27258
27259 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27260
27261         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
27262         (split): Use macro CN instead of the bare value.
27263         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
27264         could be used.
27265         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
27266         instead of the bare value.
27267         (power1): Likewise.
27268
27269 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27270
27271         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
27272         __ATAN_TWOM.
27273         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27274
27275         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
27276         their values.
27277         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27278         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27279         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
27280         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
27281
27282 2012-12-28  Andreas Jaeger  <aj@suse.de>
27283
27284         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
27285         values are from Linux 3.7.
27286
27287         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
27288         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
27289
27290 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27291
27292         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
27293         TRUE case.
27294
27295         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
27296         (norm): Likewise.
27297         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
27298         variables with preprocessor constants.
27299         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27300         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27301         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27302
27303 2012-12-27  Bruno Haible  <bruno@clisp.org>
27304
27305         [BZ #14317]
27306         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
27307         only if needed.
27308
27309 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27310
27311         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
27312         and use variable directly.
27313         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
27314
27315         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27316         MPONE.
27317         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
27318         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27319         variable MPONE.
27320         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27321         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27322         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
27323         include directive.  Remove local variable MPONE.
27324         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
27325         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
27326         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27327
27328 2012-12-25  David S. Miller  <davem@davemloft.net>
27329
27330         * version.h (RELEASE): Set to "development".
27331         (VERSION): Set to "2.17.90".
27332         * NEWS: Add 2.18 section.
27333
27334 2012-12-21  David S. Miller  <davem@davemloft.net>
27335
27336         * po/hr.po: Update from translation team.
27337
27338 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27339
27340         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
27341
27342 2012-12-19  Steve Ellcey  <sellcey@mips.com>
27343
27344         * NEWS:  Mention new memcpy for MIPS.
27345
27346 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27347
27348         * manual/contrib.texi (Contributors): Spelling correction.
27349
27350 2012-12-15  David S. Miller  <davem@davemloft.net>
27351
27352         * po/ru.po: Update from translation team.
27353
27354 2012-12-13  David S. Miller  <davem@davemloft.net>
27355
27356         * NEWS: Mention IFUNC testsuite enhancements.
27357
27358         * po/pl.po: Update from translation team.
27359         * po/bg.po: Likewise.
27360
27361         * manual/contrib.texi (Contributors): Update entries for Hongjiu
27362         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
27363
27364 2012-12-11  David S. Miller  <davem@davemloft.net>
27365
27366         * po/sv.po: Update from translation team.
27367
27368         * po/vi.po: Update from translation team.
27369
27370         * po/cs.po: Update from translation team.
27371
27372         * po/de.po: Update from translation team.
27373         * po/eo.po: Likewise.
27374         * po/nl.po: Likewise.
27375
27376 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27377
27378         [BZ #14246]
27379         * manual/argp.texi (Argp Helper Functions): Move node to follow
27380         Argp Parsing State.
27381
27382         [BZ #14872]
27383         * manual/conf.texi (Limits on File System Capacity): Mention if
27384         terminating null is included in the max size.
27385
27386 2012-12-10  Andreas Jaeger  <aj@suse.de>
27387
27388         * po/cs.po: Update from translation team.
27389
27390 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27391
27392         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
27393         void pointer and cast to uintptr_t.
27394         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
27395         path.
27396         * sysdeps/s390/s390-64/memcpy.S: Likewise.
27397         * sysdeps/s390/s390-64/memset.S: Likewise.
27398
27399 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
27400
27401         [BZ #14833]
27402         * menual/message.texi (Message Translation): Fix typos.
27403         (Helper programs for gettext): Likewise.
27404
27405 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
27406
27407         [BZ #14898]
27408         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
27409         Change to -1.
27410
27411 2012-12-07  David S. Miller  <davem@davemloft.net>
27412
27413         * po/libc.pot: Update.
27414
27415 2012-12-07  Richard Henderson  <rth@redhat.com>
27416
27417         [BZ #10114]
27418         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
27419         normal/normal case to before the switch.
27420         (_FP_DIV): Likewise.
27421
27422 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
27423             Mike Frysinger  <vapier@gentoo.org>
27424
27425         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
27426         check for __NR_fadvise64_64.
27427
27428 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
27429
27430         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
27431         0, not just to plain "0" as a statement.
27432         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
27433         with cw.
27434
27435 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
27436
27437         * NEWS: Use sourceware.org in Bugzilla URL.
27438
27439 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
27440
27441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27442         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27443
27444         * stdio-common/tst-put-error.c (do_test): Add newline to the
27445         padded test to ensure flush.
27446
27447 2012-12-05  Jeff Law  <law@redhat.com>
27448
27449         * sunrpc/etc.rpc (fedfs_admin): Add entry.
27450
27451 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
27452
27453         * README: Don't refer to ports add-on as distributed separately.
27454         Mention AArch64 in list of systems supported in the ports add-on.
27455
27456         * LICENSES: Add more non-FSF copyright and license notices.
27457
27458         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
27459         ((unused)).
27460
27461         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
27462
27463         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
27464         10000 as width of padded output.
27465
27466 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
27467
27468         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
27469
27470         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
27471         variable LX with __attribute__ ((unused)).
27472         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27473         Likewise.
27474         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27475         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27476         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
27477         with __attribute__ ((unused)).
27478
27479 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
27480
27481         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
27482
27483 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
27484
27485         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
27486         (CFLAGS-nldbl-acos.c): New variable.
27487         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
27488         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
27489         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
27490         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
27491         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
27492         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
27493         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
27494         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
27495         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
27496         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
27497         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
27498         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
27499         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
27500         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
27501         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
27502         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
27503         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
27504         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
27505         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
27506         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
27507         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
27508         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
27509         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
27510         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
27511         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
27512         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
27513         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
27514         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
27515         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
27516         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
27517         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
27518         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
27519         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
27520         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
27521         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
27522         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
27523         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
27524         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
27525         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
27526         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
27527         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
27528         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
27529         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
27530         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
27531         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
27532         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
27533         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
27534         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
27535         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
27536         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
27537         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
27538         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
27539         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
27540         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
27541         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
27542         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
27543         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
27544         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
27545         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
27546         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
27547         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
27548         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
27549         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
27550         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
27551         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
27552         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
27553         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
27554         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
27555         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
27556         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
27557         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
27558         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
27559         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
27560         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
27561         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
27562         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
27563         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
27564         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
27565         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
27566         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
27567         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
27568         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
27569         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
27570         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
27571         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
27572         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
27573         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
27574         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
27575         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
27576         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
27577         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
27578         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
27579         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
27580         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
27581         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
27582         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
27583         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
27584
27585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27586         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27587
27588         [BZ #14914]
27589         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
27590         whole low double instead of just low 47 bits when splitting values
27591         into two parts.
27592
27593 2012-12-03  Allan McRae  <allan@archlinux.org>
27594
27595         * manual/stdio.texi (Predefined Printf Handlers): Remove
27596         @hsep and @vsep usage.
27597
27598 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
27599
27600         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
27601         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
27602
27603 2012-12-03  Jeff Law  <law@redhat.com>
27604
27605         * time/sys/time.h (settimeofday): Do not mark TV argument
27606         as __nonnull.
27607
27608 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
27609
27610         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
27611         when currently writing and seek to current position when not.
27612         * libio/Makefile (tests): Remove bug-fclose1.
27613         * libio/bug-fclose1.c: Delete.
27614
27615 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
27616
27617         * manual/arith.texi (feenableexcept): Fix typo.
27618         (fedisableexcept): Likewise.
27619
27620 2012-11-30  Roland McGrath  <roland@hack.frob.com>
27621
27622         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
27623         second, differently-typed declaration, rather than a cast.
27624
27625 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27626
27627         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
27628         * include/rpc/svc.h: ... here.
27629
27630 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
27631
27632         [BZ #13013]
27633         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
27634         depending n and resplen2 to catch cases where answer
27635         equals answerp2.
27636
27637 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
27638
27639         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
27640         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
27641
27642 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
27643
27644         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
27645
27646 2012-11-29  Roland McGrath  <roland@hack.frob.com>
27647
27648         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
27649
27650 2012-11-28  Jeff Law  <law@redhat.com>
27651
27652         [BZ #13761]
27653         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
27654         dataset_temporary.  Track alloca usage into alloca_used.
27655         If dataset is large allocate and release it via malloc/free.
27656
27657 2012-06-04  Florian Weimer  <fweimer@redhat.com>
27658
27659         [BZ #14197]
27660         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
27661
27662 2012-11-28  David S. Miller  <davem@davemloft.net>
27663
27664         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27665
27666 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
27667
27668         [BZ #14803]
27669         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
27670         of pi/2 rounded to nearest to 64 bits.
27671         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
27672         nearest to 64 bits.
27673         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
27674         bits.
27675
27676 2012-11-28  Jeff Law <law@redhat.com>
27677             Martin Osvald <mosvald@redhat.com>
27678
27679         [BZ #14889]
27680         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
27681         * sunrpc/svc.c: Include time.h.
27682         (__svc_accept_failed): New function.
27683         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
27684         any reason other than EINTR, call __svc_accept_failed.
27685         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
27686         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
27687
27688 2012-11-28  Andreas Schwab  <schwab@suse.de>
27689
27690         * scripts/abilist.awk: Also handle indirect functions in .opd
27691         section.
27692
27693 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
27694
27695         [BZ #13881]
27696         * sysdeps/x86/fpu/powl_helper.c: New file.
27697         * sysdeps/x86/fpu/Makefile: Likewise.
27698         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
27699         (p3): New object.
27700         (__ieee754_powl): Use __powl_helper for finite arguments except
27701         integer exponents below 8.
27702         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
27703         (p3): New object.
27704         (__ieee754_powl): Use __powl_helper for finite arguments except
27705         integer exponents below 8.
27706         * math/libm-test.inc (pow_test): Add more tests and enable some
27707         previously disabled tests.
27708         * sysdeps/i386/fpu/libm-test-ulps: Update.
27709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27710
27711 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27712             Carlos O'Donell  <carlos_odonell@mentor.com>
27713
27714         * nss/makedb.c (is_prime): Assert that input is odd and greater
27715         than 4.  Note that fact in a comment too.
27716         (next_prime): Add 4 to input.
27717
27718 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27719
27720         [BZ #11741]
27721         * libio/Makefile (tests): Add test case tst-fwrite-error.
27722         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
27723         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27724         * libio/tst-fwrite-error.c: New test case.
27725
27726 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
27727
27728         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
27729         before casting to void *.
27730         * include/libc-internal.h (__pointer_type): New macro.
27731         (__integer_if_pointer_type_sub): Likewise.
27732         (__integer_if_pointer_type): Likewise.
27733         (cast_to_integer): Likewise.
27734         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
27735         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
27736         before casting to atomic64_t.
27737         (atomic_exchange_acq): Likewise.
27738         (__arch_exchange_and_add_body): Likewise.
27739         (__arch_add_body): Likewise.
27740         (atomic_add_negative): Likewise.
27741         (atomic_add_zero): Likewise.
27742
27743 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
27744
27745         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
27746         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
27747         (add_fdes): Likewise.
27748         (linear_search_fdes): Likewise.
27749         (binary_search_unencoded_fdes): Likewise.
27750
27751 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
27752
27753         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
27754
27755 2012-11-24  Adam Conrad  <adconrad@0c3.net>
27756
27757         * configure.in: Autodetect C++ header directories.
27758         * configure: Regenerated.
27759
27760 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
27761
27762         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
27763
27764 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
27765
27766         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27767
27768 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
27769
27770         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
27771         LDBL_MANT_DIG == 106]: Disable some tests.
27772         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27773         Likewise.
27774         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27775         Likewise.
27776
27777         [BZ #14871]
27778         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
27779         input for small inputs.  Return +/- pi/2 for large inputs.
27780         * math/libm-test.inc (atan_test): Add more tests.
27781
27782         * sysdeps/generic/unwind-dw2-fde-glibc.c
27783         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
27784         __attribute__ ((unused)).
27785
27786         [BZ #14645]
27787         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
27788         x * y if x and y are nonzero and z is zero.
27789
27790         [BZ #14811]
27791         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
27792         nonzero exponents with absolute value below 0x1p-117 to +/-
27793         0x1p-117.
27794
27795         [BZ #14869]
27796         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
27797         up arguments below 2**-450, not just those below 2**-500.
27798         * math/libm-test.inc (hypot_test): Add another test.
27799
27800         [BZ #14868]
27801         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27802         Return a+b for ratio over 2**120, not 2**60.
27803         * math/libm-test.inc (hypot_test): Add another test.
27804
27805         * math/libm-test.inc (clog_test): Use
27806         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
27807         (clog10_test): Likewise.
27808
27809         [BZ #6778]
27810         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
27811
27812 2012-11-22  Andreas Schwab  <schwab@suse.de>
27813
27814         * sysdeps/i386/fpu/libm-test-ulps: Update.
27815
27816 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
27817
27818         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
27819         printf output with newline.
27820
27821 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
27822
27823         [BZ #14865]
27824         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
27825         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
27826         -z nodlopen, -z initfirst and -z execstack support.
27827         * configure: Regenerated.
27828
27829         * elf/elf.h (DF_1_NODIRECT): New macro.
27830         (DF_1_IGNMULDEF): Likewise.
27831         (DF_1_NOKSYMS): Likewise.
27832         (DF_1_NOHDR): Likewise.
27833         (DF_1_EDITED): Likewise.
27834         (DF_1_NORELOC): Likewise.
27835         (DF_1_SYMINTPOSE): Likewise.
27836         (DF_1_GLOBAUDIT): Likewise.
27837         (DF_1_SINGLETON): Likewise.
27838         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27839         DT_1_SUPPORTED_MASK bits.
27840         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27841
27842 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
27843
27844         * sysdeps/unix/make-syscalls.sh: Document prefixes.
27845
27846 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
27847
27848         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27849         macro.
27850
27851         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27852         (sendmmsg): Move declarations...
27853         * socket/sys/socket.h: ... here.
27854         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27855         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27856         include it from...
27857         * socket/recvmmsg.c: ... this new file.
27858         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27859         (sendmmsg): Rename to __sendmmsg, create weak alias and make
27860         definition of __sendmmsg hidden.
27861         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27862         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27863         Move ENOSYS stub into and include it from...
27864         * socket/sendmmsg.c: ... this new file.
27865         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27866         (sysdep_routines): Move recvmmsg and sendmmsg...
27867         * socket/Makefile (routines): ... here.
27868         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27869         (GLIBC_PRIVATE): Add __sendmmsg.
27870         * include/sys/socket.h (__sendmmsg): Add declarations.
27871         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27872         sendmmsg.
27873
27874 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
27875
27876         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27877         variable I1 with __attribute__ ((unused)).
27878         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27879
27880 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
27881
27882         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27883         DUMMY variables with __attribute__ ((unused)).
27884
27885         * bits/byteswap.h: Include <bits/types.h>.
27886         (__bswap_64): Use __uint64_t instead of unsigned long long int.
27887
27888 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
27889
27890         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27891         string_t.  Do not manually set errno.
27892         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27893         length with __strnlen.  Make sure to both set errno and return it on
27894         failure.
27895
27896 2012-11-19  David S. Miller  <davem@davemloft.net>
27897
27898         With help from Joseph Myers.
27899         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27900         very large arguments properly.
27901         * math/libm-test.inc (atan_test): New tests.
27902         (atan2_test): New tests.
27903         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27904         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27905
27906 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
27907
27908         [BZ #14856]
27909         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
27910         Define to 3.
27911
27912         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27913         [POSIX] (EADDRNOTAVAIL): Likewise.
27914         [POSIX] (EAFNOSUPPORT): Likewise.
27915         [POSIX] (EALREADY): Likewise.
27916         [POSIX] (ECONNABORTED): Likewise.
27917         [POSIX] (ECONNREFUSED): Likewise.
27918         [POSIX] (ECONNRESET): Likewise.
27919         [POSIX] (EDESTADDRREQ): Likewise.
27920         [POSIX] (EDQUOT): Likewise.
27921         [POSIX] (EHOSTUNREACH): Likewise.
27922         [POSIX] (EIDRM): Likewise.
27923         [POSIX] (EISCONN): Likewise.
27924         [POSIX] (ELOOP): Likewise.
27925         [POSIX] (EMULTIHOP): Likewise.
27926         [POSIX] (ENETDOWN): Likewise.
27927         [POSIX] (ENETUNREACH): Likewise.
27928         [POSIX] (ENOBUFS): Likewise.
27929         [POSIX] (ENODATA): Likewise.
27930         [POSIX] (ENOLINK): Likewise.
27931         [POSIX] (ENOMSG): Likewise.
27932         [POSIX] (ENOPROTOOPT): Likewise.
27933         [POSIX] (ENOSR): Likewise.
27934         [POSIX] (ENOSTR): Likewise.
27935         [POSIX] (ENOTCONN): Likewise.
27936         [POSIX] (ENOTSOCK): Likewise.
27937         [POSIX] (EOPNOTSUPP): Likewise.
27938         [POSIX] (EOVERFLOW): Likewise.
27939         [POSIX] (EPROTO): Likewise.
27940         [POSIX] (EPROTONOSUPPORT): Likewise.
27941         [POSIX] (EPROTOTYPE): Likewise.
27942         [POSIX] (ESTALE): Likewise.
27943         [POSIX] (ETIME): Likewise.
27944         [POSIX] (ETXTBSY): Likewise.
27945         [POSIX] (EWOULDBLOCK): Likewise.
27946         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27947         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27948         [POSIX] (SEEK_CUR): Likewise.
27949         [POSIX] (SEEK_END): Likewise.
27950         [POSIX || UNIX98] (mode_t): Do not require.
27951         [POSIX] (off_t): Likewise.
27952         [POSIX] (pid_t): Likewise.
27953         [POSIX] (sys/stat.h): Do not allow header.
27954         [POSIX] (unistd.h): Likewise.
27955         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27956         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27957         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27958         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27959         require.
27960         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27961         sigevent): Specify elements.
27962         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27963         entry.
27964         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27965         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27966
27967         * conform/data/cpio.h-data [POSIX]: Disable whole file.
27968         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27969         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27970         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27971         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27972         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27973         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27974         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27975         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27976         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27977         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27978         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27979         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27980         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27981         Likewise.
27982         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27983         Likewise.
27984         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27985         Likewise.
27986         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27987         Likewise.
27988         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27989         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27990         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27991         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27992         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27993         Specify lower bound on value.
27994         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27995         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27996         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27997         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27998         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27999         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
28000         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
28001         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
28002         value.
28003         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
28004         as optional.
28005         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
28006         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
28007         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
28008         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
28009         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
28010         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
28011         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
28012         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
28013         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
28014         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
28015         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
28016         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
28017         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
28018         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
28019         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
28020         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
28021         entry.
28022         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
28023         optional.
28024         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
28025         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
28026         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
28027         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
28028         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
28029         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
28030         Likewise.
28031         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
28032         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
28033         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
28034         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
28035         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
28036         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
28037         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
28038         as optional.
28039         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
28040         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
28041         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
28042         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
28043         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
28044         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
28045         specify as optional.
28046         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
28047         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
28048         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
28049         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
28050         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
28051         [XPG3] (NL_LANGMAX): Likewise.
28052         [POSIX || XPG3] (NL_MSGMAX): Likewise.
28053         [POSIX || XPG3] (NL_NMAX): Likewise.
28054         [POSIX || XPG3] (NL_SETMAX): Likewise.
28055         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
28056         [XPG3] (NZERO): Likewise.
28057         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
28058         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
28059         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
28060         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
28061         (REG_ERANGE): Expect.
28062         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
28063         optional-constant.
28064         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
28065         Use (void) in prototype.
28066         [POSIX] (*_t): Allow.
28067         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
28068         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
28069         (WRDE_BADVAL): Expect.
28070
28071         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
28072         expect.
28073         [XPG3 || XPG4] (O_RSYNC): Likewise.
28074         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
28075         Likewise.
28076         [XPG3 || XPG4] (pthread_sigmask): Likewise.
28077         [XPG3 || XPG4] (sigqueue): Likewise.
28078         [XPG3 || XPG4] (sigtimedwait): Likewise.
28079         [XPG3 || XPG4] (sigwaitinfo): Likewise.
28080         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
28081         [XPG3 || XPG4] (vsnprintf): Likewise.
28082         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
28083         Likewise.
28084         [XPG3 || XPG4] (blksize_t): Likewise.
28085         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
28086         Likewise.
28087         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
28088         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
28089         [XPG3 || XPG4] (struct itimerspec): Likewise.
28090         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
28091         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
28092         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
28093         [XPG3 || XPG4] (clockid_t): Likewise.
28094         [XPG3 || XPG4] (timer_t): Likewise.
28095         [XPG3 || XPG4] (clock_getres): Likewise.
28096         [XPG3 || XPG4] (clock_gettime): Likewise.
28097         [XPG3 || XPG4] (clock_settime): Likewise.
28098         [XPG3 || XPG4] (nanosleep): Likewise.
28099         [XPG3 || XPG4] (timer_create): Likewise.
28100         [XPG3 || XPG4] (timer_delete): Likewise.
28101         [XPG3 || XPG4] (timer_gettime): Likewise.
28102         [XPG3 || XPG4] (timer_getoverrun): Likewise.
28103         [XPG3 || XPG4] (timer_settime): Likewise.
28104         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
28105         [XPG3 || XPG4] (getlogin_r): Likewise.
28106         [XPG3 || XPG4] (pread): Likewise.
28107         [XPG3 || XPG4] (pthread_atfork): Likewise.
28108         [XPG3 || XPG4] (pwrite): Likewise.
28109
28110         [BZ #14835]
28111         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
28112         <bits/siginfo.h>.
28113
28114 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
28115
28116         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
28117         finalizing MALLSTREAM.
28118
28119         * sysdeps/mach/hurd/syncfs.c: New file.
28120
28121 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28122
28123         [BZ #14719]
28124         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
28125         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
28126         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
28127         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
28128         (_nss_dns_gethostbyname4_r): Likewise.
28129         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
28130         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
28131
28132 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
28133
28134         [BZ #13763]
28135         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
28136
28137 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
28138
28139         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
28140         * elf/cache.c (print_entry): Print ",AArch64" for
28141         FLAG_AARCH64_LIB64
28142
28143         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
28144         * elf/cache.c (print_entry): Print ",hard-float" for
28145         FLAG_ARM_LIBHF.
28146
28147 2012-11-18  David S. Miller  <davem@davemloft.net>
28148
28149         With help from Joseph Myers.
28150         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
28151         cutoff to 2**-13.
28152         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
28153         cutoff to 2**-25.
28154         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
28155         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
28156         small.
28157         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
28158         * math/libm-test.inc (y0_test): New tests.
28159         (y1_test): New tests.
28160         * sysdeps/i386/fpu/libm-test-ulps: Update.
28161         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28162         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28163
28164 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
28165
28166         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
28167         64-bit targets.
28168         * configure: Regenerated.
28169
28170 2012-11-17  David S. Miller  <davem@davemloft.net>
28171
28172         [BZ #14811]
28173         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
28174         nonzero exponents with absolute value below 0x1p-128 to +/-
28175         0x1p-128.
28176
28177 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
28178
28179         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
28180
28181         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
28182
28183         * posix/getconf-speclist.c: New file.
28184         * posix/posix-envs.def: Likewise.
28185         * posix/confstr.c (START_ENV_GROUP): New macro.
28186         (END_ENV_GROUP): Likewise.
28187         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28188         (KNOWN_PRESENT_ENV_STRING): Likewise.
28189         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28190         (UNKNOWN_ENVIRONMENT): Likewise.
28191         (confstr): Include posix-envs.def instead of handling
28192         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
28193         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
28194         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
28195         (END_ENV_GROUP): Likewise.
28196         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28197         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28198         (UNKNOWN_ENVIRONMENT): Likewise.
28199         (__sysconf): Include posix-envs.def instead of handling associated
28200         cases directly here.
28201         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
28202         preprocessing getconf-speclist.c rather than running getconf or
28203         generating empty file.
28204
28205 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
28206
28207         * scripts/check-local-headers.sh: Ignore 'mach' headers.
28208
28209 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
28210
28211         [BZ #14672]
28212         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
28213
28214 2012-11-16  David S. Miller  <davem@davemloft.net>
28215
28216         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
28217         smaller than LDBL_EPSILON/2.0L, just return xm1.
28218
28219 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
28220
28221         * elf/tst-array1.c (init): Set constructor priority to 1000.
28222         (fini): Set destructor priority to 1000.
28223         * elf/tst-array2dep.c: Likewise.
28224
28225 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28226
28227         [BZ #11741]
28228         * libio/fileops.c (_IO_new_file_write): Correctly return error.
28229         (_IO_new_file_xsputn): Also return EOF if none of the input
28230         data was written when overflow failed.
28231         * libio/iopadn.c (_IO_padn): Likewise.
28232         * libio/iowpadn.c (_IO_wpadn): Likewise.
28233         * stdio-common/tst-put-error.c: Add copyright notice.
28234         (do_test): Add case for printing padded string.
28235         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
28236         _IO_padn returned error.
28237         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
28238         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
28239         return EOF.
28240
28241 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28242
28243         * libio/libioP.h: Add comment note that the references to C++
28244         bits are now obsolete.
28245
28246 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28247
28248         * math/libm-test.inc (check_complex): Use asprintf.
28249
28250 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
28251
28252         * debug/pcprofiledump.c (print_version): Update copyright year.
28253         * malloc/memusagestat.c (print_version): Likewise.
28254
28255 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
28256
28257         [BZ #14831]
28258         * elf/Makefile (tests): Add tst-audit8.
28259         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
28260         ($(objpfx)tst-audit8.out): New target.
28261         (tst-audit8-ENV): New variable.
28262         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
28263         audit if l_reloc_result is NULL.
28264         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
28265         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
28266         * elf/tst-audit8.c: New file.
28267
28268 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28269
28270         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
28271         * misc/Makefile (CFLAGS-select.c): Define.
28272         * posix/Makefile (CFLAGS-pause.c): Define.
28273
28274 2012-11-13  David S. Miller  <davem@davemloft.net>
28275
28276         * crypt/Makefile: Move test targets after toplevel Rules
28277         inclusion.  Grab any necessary sysdep routines when linking.
28278         * crypt/md5.c (md5_process_block): Remove define, we will always
28279         name it __md5_process_block.
28280         (md5_finish_ctx): Update md5_process_block call.
28281         (md5_stream): Likewise.
28282         (md5_process_bytes): Likewise.
28283         (md5_process_block): Rename to __md5_process_block and move to ...
28284         * crypt/md5-block.c: ... here.
28285         * crypt/sha256.c (sha256_process_block): Move to ...
28286         * crypt/sha256-block.c: ... here.
28287         * crypt/sha512.c (sha512_process_block): Move to ...
28288         * crypt/sha512-block.c: ... here.
28289         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
28290         path.
28291         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
28292         * sysdeps/sparc/sparc64/multiarch/Makefile
28293         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
28294         crypt subdir.
28295         (localedef-aux): Add md5 crypto assembler when in locale subdir.
28296         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
28297         multiarch changes.
28298         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
28299         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
28300         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
28301         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
28302         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
28303         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
28304         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
28305         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
28306         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
28307         file.
28308         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
28309         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
28310         file.
28311         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
28312
28313 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
28314
28315         * timezone/tzselect.ksh: Update from tzcode git revision
28316         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
28317         * timezone/zdump.c: Likewise.
28318         * timezone/zic.c: Likewise.
28319         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
28320         in TZVERSION setting, not $(PKGVERSION).
28321         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
28322         REPORT_BUGS_TO settings.
28323
28324         [BZ #14838]
28325         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
28326         macro.
28327
28328 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28329
28330         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
28331         detection to immediately after _FP_ROUND().
28332         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
28333         bits are 0.
28334
28335 2012-11-11  David S. Miller  <davem@davemloft.net>
28336
28337         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
28338         inttypes.h
28339         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
28340         __close rather than their public counterparts.
28341
28342 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
28343
28344         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
28345         file.
28346         [UNIX98] (sem_timedwait): Do not expect.
28347         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
28348         [XPG4 || UNIX98] (sockatmark): Do not expect.
28349         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
28350         (clock_getcpuclockid): Do not expect.
28351         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
28352         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
28353         Do not expect.
28354         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
28355         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
28356         [UNIX98] (vwscanf): Likewise.
28357         [UNIX98] (vswscanf): Likewise.
28358
28359 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
28360
28361         * timezone/version.h: Remove file.
28362         * timezone/README: Do not refer to version.h.
28363         * timezone/Makefile ($(objpfx)zic.o): New dependency on
28364         $(objpfx)version.h.
28365         ($(objpfx)zdump.o): Likewise.
28366         ($(objpfx)version.h): New target.
28367
28368         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
28369         2012i.
28370         * timezone/README: Don't mention modification to tzselect.ksh.
28371         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
28372         work on unmodified tzselect.ksh.  Substitute version numbers in
28373         tzselect.ksh.
28374
28375         * Makefile (format-me): Remove.
28376         (INSTALL): Adjust indentation.  Use commands directly instead of
28377         using $(format-me).
28378
28379         * aclocal.m4 (ACX_PKGVERSION): New macro.
28380         (ACX_BUGURL): Likewise.
28381         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
28382         (PKGVERSION): New AC_DEFINE_UNQUOTED.
28383         (REPORT_BUGS_TO): Likewise.
28384         * configure: Regenerated.
28385         * config.h.in (PKGVERSION): New macro.
28386         (REPORT_BUGS_TO): Likewise.
28387         * config.make.in (PKGVERSION): New variable.
28388         (PKGVERSION_TEXI): Likewise.
28389         (REPORT_BUGS_TO): Likewise.
28390         (REPORT_BUGS_TEXI): Likewise.
28391         * Makefile (format-me): Use -I$(common-objpfx)manual.
28392         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
28393         ($(common-objpfx)manual/%): New target.
28394         (manual/%): Remove target.
28395         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
28396         (print_version): Use PKGVERSION.
28397         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
28398         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
28399         and REPORT_BUGS_TO.
28400         ($(objpfx)xtrace): Likewise.
28401         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
28402         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
28403         (print_version): Use PKGVERSION.
28404         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
28405         (do_version): Use PKGVERSION.
28406         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
28407         REPORT_BUGS_TO.
28408         (common-ldd-rewrite): Likewise.
28409         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
28410         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
28411         (print_version): Use PKGVERSION.
28412         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
28413         * elf/pldd.c (argp_program_bug_address): Remove variable.
28414         (more_help): New function.
28415         (argp): Use more_help.
28416         (print_version): Use PKGVERSION.
28417         * elf/sln.c (main): Use PKGVERSION.
28418         (usage): Use REPORT_BUGS_TO.
28419         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
28420         (top level): Use PKGVERSION.
28421         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
28422         (print_version): Use PKGVERSION.
28423         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
28424         (print_version): Use PKGVERSION.
28425         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
28426         (print_version): Use PKGVERSION.
28427         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
28428         (print_version): Use PKGVERSION.
28429         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
28430         (print_version): Use PKGVERSION.
28431         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
28432         (print_version): Use PKGVERSION.
28433         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
28434         and BUGURL.
28435         ($(objpfx)memusage): Likewise.
28436         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
28437         (do_version): Use PKGVERSION.
28438         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
28439         (print_version): Use PKGVERSION.
28440         * malloc/mtrace.pl ($PACKAGE): Remove variable.
28441         ($PKGVERSION): New variable.
28442         ($REPORT_BUGS_TO): Likewise.
28443         (usage): Use $REPORT_BUGS_TO.
28444         (top level): Use $PKGVERSION.
28445         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
28446         ($(objpfx)pkgvers.texi): New rule.
28447         ($(objpfx)stamp-pkgvers): Likewise.
28448         * manual/install.texi: Include pkgvers.texi.
28449         (--with-pkgversion): Document new configure option.
28450         (--with-bugurl): Likewise.
28451         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
28452         than necessarily for this particular distribution.  Use
28453         REPORT_BUGS_TO for where to report bugs.
28454         * INSTALL: Regenerated.
28455         * manual/libc.texinfo: Include pkgvers.texi.
28456         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
28457         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
28458         (print_version): Use PKGVERSION.
28459         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
28460         (print_version): Use PKGVERSION.
28461         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
28462         (print_version): Use PKGVERSION.
28463         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
28464         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
28465         macro.
28466         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
28467         (print_version): Use PKGVERSION.
28468         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
28469         (print_version): Use PKGVERSION.
28470         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
28471         and PKGVERSION.
28472
28473         * timezone/checktab.awk: Update from tzcode 2012i.
28474         * timezone/ialloc.c: Likewise.
28475         * timezone/private.h: Likewise.
28476         * timezone/scheck.c: Likewise.
28477         * timezone/tzfile.h: Likewise.
28478         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
28479         (TZVERSION): Hardcode tzcode version number.
28480         * timezone/zdump.c: Update from tzcode 2012i.
28481         * timezone/zic.c: Likewise.
28482         * timezone/version.h: New file.
28483         * timezone/README: Describe version.h.  Update upstream location.
28484
28485         [BZ #14824]
28486         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
28487         (mktemp): Enable declaration.
28488         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
28489         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
28490         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
28491         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
28492         Likewise.
28493         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
28494         Likewise.
28495         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
28496         Likewise.
28497         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
28498         Likewise.
28499         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
28500         Likewise.
28501         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
28502         Likewise.
28503
28504         [BZ #14821]
28505         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
28506         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
28507         for copies of such integer values.
28508         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28509         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28510
28511 2012-11-09  Andreas Jaeger  <aj@suse.de>
28512
28513         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
28514         definitions and declarations that are provided by
28515         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28516
28517 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28518
28519         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
28520         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
28521         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
28522         definition.
28523
28524 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28525
28526         * elf/elf.h: Update comment before AArch64 relocations.
28527
28528 2012-11-07  David S. Miller  <davem@davemloft.net>
28529
28530         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
28531         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28532         (__start_context): Declare.
28533         (__makecontext_ret): Delete.
28534         (__makecontext): Hook up __start_context instead of
28535         __makecontext_ret.
28536         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
28537         (sysdep_routines): Add __start_context when in stdlib.
28538
28539 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28540
28541         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
28542         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
28543         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
28544         hardcoded "nm".
28545         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
28546         (READELF): New variable.  Use it instead of hardcoded "readelf".
28547
28548 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
28549
28550         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
28551         * sysdeps/x86/Makefile: Here.
28552         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
28553         * sysdeps/x86/tst-xmmymm.sh: This.
28554
28555 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28556
28557         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
28558         expectations.
28559         [UNIX98] (pthread_barrier_t): Do not expect.
28560         [UNIX98] (pthread_barrierattr_t): Likewise.
28561         [UNIX98] (pthread_spinlock_t): Likewise.
28562         [UNIX98] (pthread_barrier_destroy): Likewise.
28563         [UNIX98] (pthread_barrier_init): Likewise.
28564         [UNIX98] (pthread_barrier_wait): Likewise.
28565         [UNIX98] (pthread_barrierattr_destroy): Likewise.
28566         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
28567         [UNIX98] (pthread_barrierattr_init): Likewise.
28568         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
28569         [UNIX98] (pthread_getcpuclockid): Likewise.
28570         [UNIX98] (pthread_mutex_timedlock): Likewise.
28571         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
28572         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
28573         [UNIX98] (pthread_sigmask): Likewise.
28574         [UNIX98] (pthread_spin_destroy): Likewise.
28575         [UNIX98] (pthread_spin_init): Likewise.
28576         [UNIX98] (pthread_spin_lock): Likewise.
28577         [UNIX98] (pthread_spin_trylock): Likewise.
28578         [UNIX98] (pthread_spin_unlock): Likewise.
28579         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
28580         Do not expect.
28581         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
28582         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
28583         [XPG3 || XPG4] (pthread_cond_t): Likewise.
28584         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
28585         [XPG3 || XPG4] (pthread_key_t): Likewise.
28586         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
28587         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
28588         [XPG3 || XPG4] (pthread_once_t): Likewise.
28589         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
28590         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
28591         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
28592         [XPG3 || XPG4] (pthread_t): Likewise.
28593
28594         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
28595         not expect.
28596         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
28597
28598         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
28599         Change function return type to int.
28600
28601         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
28602         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
28603         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
28604         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
28605         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
28606         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
28607         [!POSIX] (posix_madvise): Likewise.
28608         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
28609         && !UNIX98].
28610         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
28611         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
28612         (mode_t): Likewise.
28613         (posix_mem_offset): Likewise.
28614         (posix_typed_mem_get_info): Likewise.
28615         (posix_typed_mem_open): Likewise.
28616
28617         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
28618         Change condition to [XOPEN2K8].
28619
28620         * conform/conformtest.pl: Preprocess allow-header data with -x c
28621         instead of from stdin.
28622         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
28623         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
28624         [C99-based standards] (cerfc): Likewise.
28625         [C99-based standards] (cexp2): Likewise.
28626         [C99-based standards] (cexpm1): Likewise.
28627         [C99-based standards] (clog10): Likewise.
28628         [C99-based standards] (clog1p): Likewise.
28629         [C99-based standards] (clog2): Likewise.
28630         [C99-based standards] (clgamma): Likewise.
28631         [C99-based standards] (ctgamma): Likewise.
28632         [C99-based standards] (cerff): Likewise.
28633         [C99-based standards] (cerfcf): Likewise.
28634         [C99-based standards] (cexp2f): Likewise.
28635         [C99-based standards] (cexpm1f): Likewise.
28636         [C99-based standards] (clog10f): Likewise.
28637         [C99-based standards] (clog1pf): Likewise.
28638         [C99-based standards] (clog2f): Likewise.
28639         [C99-based standards] (clgammaf): Likewise.
28640         [C99-based standards] (ctgammaf): Likewise.
28641         [C99-based standards] (cerfl): Likewise.
28642         [C99-based standards] (cerfcl): Likewise.
28643         [C99-based standards] (cexp2l): Likewise.
28644         [C99-based standards] (cexpm1l): Likewise.
28645         [C99-based standards] (clog10l): Likewise.
28646         [C99-based standards] (clog1pl): Likewise.
28647         [C99-based standards] (clog2l): Likewise.
28648         [C99-based standards] (clgammal): Likewise.
28649         [C99-based standards] (ctgammal): Likewise.
28650         * conform/data/inttypes.h-data [C99-based standards]: Include
28651         stdint.h-data.  Remove all expectations for stdint.h contents.
28652         [C99-based standards] (PRI*): Do not allow.
28653         [C99-based standards] (SCN*): Likewise.
28654         [C99-based standards] (*_t): Likewise.
28655         [C99-based-standards] (PRId8): Expect macro.
28656         [C99-based-standards] (PRIi8): Likewise.
28657         [C99-based-standards] (PRIo8): Likewise.
28658         [C99-based-standards] (PRIu8): Likewise.
28659         [C99-based-standards] (PRIx8): Likewise.
28660         [C99-based-standards] (PRIX8): Likewise.
28661         [C99-based-standards] (SCNd8): Likewise.
28662         [C99-based-standards] (SCNi8): Likewise.
28663         [C99-based-standards] (SCNo8): Likewise.
28664         [C99-based-standards] (SCNu8): Likewise.
28665         [C99-based-standards] (SCNx8): Likewise.
28666         [C99-based-standards] (PRIdLEAST8): Likewise.
28667         [C99-based-standards] (PRIiLEAST8): Likewise.
28668         [C99-based-standards] (PRIoLEAST8): Likewise.
28669         [C99-based-standards] (PRIuLEAST8): Likewise.
28670         [C99-based-standards] (PRIxLEAST8): Likewise.
28671         [C99-based-standards] (PRIXLEAST8): Likewise.
28672         [C99-based-standards] (SCNdLEAST8): Likewise.
28673         [C99-based-standards] (SCNiLEAST8): Likewise.
28674         [C99-based-standards] (SCNoLEAST8): Likewise.
28675         [C99-based-standards] (SCNuLEAST8): Likewise.
28676         [C99-based-standards] (SCNxLEAST8): Likewise.
28677         [C99-based-standards] (PRIdFAST8): Likewise.
28678         [C99-based-standards] (PRIiFAST8): Likewise.
28679         [C99-based-standards] (PRIoFAST8): Likewise.
28680         [C99-based-standards] (PRIuFAST8): Likewise.
28681         [C99-based-standards] (PRIxFAST8): Likewise.
28682         [C99-based-standards] (PRIXFAST8): Likewise.
28683         [C99-based-standards] (SCNdFAST8): Likewise.
28684         [C99-based-standards] (SCNiFAST8): Likewise.
28685         [C99-based-standards] (SCNoFAST8): Likewise.
28686         [C99-based-standards] (SCNuFAST8): Likewise.
28687         [C99-based-standards] (SCNxFAST8): Likewise.
28688         [C99-based-standards] (PRId16): Likewise.
28689         [C99-based-standards] (PRIi16): Likewise.
28690         [C99-based-standards] (PRIo16): Likewise.
28691         [C99-based-standards] (PRIu16): Likewise.
28692         [C99-based-standards] (PRIx16): Likewise.
28693         [C99-based-standards] (PRIX16): Likewise.
28694         [C99-based-standards] (SCNd16): Likewise.
28695         [C99-based-standards] (SCNi16): Likewise.
28696         [C99-based-standards] (SCNo16): Likewise.
28697         [C99-based-standards] (SCNu16): Likewise.
28698         [C99-based-standards] (SCNx16): Likewise.
28699         [C99-based-standards] (PRIdLEAST16): Likewise.
28700         [C99-based-standards] (PRIiLEAST16): Likewise.
28701         [C99-based-standards] (PRIoLEAST16): Likewise.
28702         [C99-based-standards] (PRIuLEAST16): Likewise.
28703         [C99-based-standards] (PRIxLEAST16): Likewise.
28704         [C99-based-standards] (PRIXLEAST16): Likewise.
28705         [C99-based-standards] (SCNdLEAST16): Likewise.
28706         [C99-based-standards] (SCNiLEAST16): Likewise.
28707         [C99-based-standards] (SCNoLEAST16): Likewise.
28708         [C99-based-standards] (SCNuLEAST16): Likewise.
28709         [C99-based-standards] (SCNxLEAST16): Likewise.
28710         [C99-based-standards] (PRIdFAST16): Likewise.
28711         [C99-based-standards] (PRIiFAST16): Likewise.
28712         [C99-based-standards] (PRIoFAST16): Likewise.
28713         [C99-based-standards] (PRIuFAST16): Likewise.
28714         [C99-based-standards] (PRIxFAST16): Likewise.
28715         [C99-based-standards] (PRIXFAST16): Likewise.
28716         [C99-based-standards] (SCNdFAST16): Likewise.
28717         [C99-based-standards] (SCNiFAST16): Likewise.
28718         [C99-based-standards] (SCNoFAST16): Likewise.
28719         [C99-based-standards] (SCNuFAST16): Likewise.
28720         [C99-based-standards] (SCNxFAST16): Likewise.
28721         [C99-based-standards] (PRId32): Likewise.
28722         [C99-based-standards] (PRIi32): Likewise.
28723         [C99-based-standards] (PRIo32): Likewise.
28724         [C99-based-standards] (PRIu32): Likewise.
28725         [C99-based-standards] (PRIx32): Likewise.
28726         [C99-based-standards] (PRIX32): Likewise.
28727         [C99-based-standards] (SCNd32): Likewise.
28728         [C99-based-standards] (SCNi32): Likewise.
28729         [C99-based-standards] (SCNo32): Likewise.
28730         [C99-based-standards] (SCNu32): Likewise.
28731         [C99-based-standards] (SCNx32): Likewise.
28732         [C99-based-standards] (PRIdLEAST32): Likewise.
28733         [C99-based-standards] (PRIiLEAST32): Likewise.
28734         [C99-based-standards] (PRIoLEAST32): Likewise.
28735         [C99-based-standards] (PRIuLEAST32): Likewise.
28736         [C99-based-standards] (PRIxLEAST32): Likewise.
28737         [C99-based-standards] (PRIXLEAST32): Likewise.
28738         [C99-based-standards] (SCNdLEAST32): Likewise.
28739         [C99-based-standards] (SCNiLEAST32): Likewise.
28740         [C99-based-standards] (SCNoLEAST32): Likewise.
28741         [C99-based-standards] (SCNuLEAST32): Likewise.
28742         [C99-based-standards] (SCNxLEAST32): Likewise.
28743         [C99-based-standards] (PRIdFAST32): Likewise.
28744         [C99-based-standards] (PRIiFAST32): Likewise.
28745         [C99-based-standards] (PRIoFAST32): Likewise.
28746         [C99-based-standards] (PRIuFAST32): Likewise.
28747         [C99-based-standards] (PRIxFAST32): Likewise.
28748         [C99-based-standards] (PRIXFAST32): Likewise.
28749         [C99-based-standards] (SCNdFAST32): Likewise.
28750         [C99-based-standards] (SCNiFAST32): Likewise.
28751         [C99-based-standards] (SCNoFAST32): Likewise.
28752         [C99-based-standards] (SCNuFAST32): Likewise.
28753         [C99-based-standards] (SCNxFAST32): Likewise.
28754         [C99-based-standards] (PRId64): Likewise.
28755         [C99-based-standards] (PRIi64): Likewise.
28756         [C99-based-standards] (PRIo64): Likewise.
28757         [C99-based-standards] (PRIu64): Likewise.
28758         [C99-based-standards] (PRIx64): Likewise.
28759         [C99-based-standards] (PRIX64): Likewise.
28760         [C99-based-standards] (SCNd64): Likewise.
28761         [C99-based-standards] (SCNi64): Likewise.
28762         [C99-based-standards] (SCNo64): Likewise.
28763         [C99-based-standards] (SCNu64): Likewise.
28764         [C99-based-standards] (SCNx64): Likewise.
28765         [C99-based-standards] (PRIdLEAST64): Likewise.
28766         [C99-based-standards] (PRIiLEAST64): Likewise.
28767         [C99-based-standards] (PRIoLEAST64): Likewise.
28768         [C99-based-standards] (PRIuLEAST64): Likewise.
28769         [C99-based-standards] (PRIxLEAST64): Likewise.
28770         [C99-based-standards] (PRIXLEAST64): Likewise.
28771         [C99-based-standards] (SCNdLEAST64): Likewise.
28772         [C99-based-standards] (SCNiLEAST64): Likewise.
28773         [C99-based-standards] (SCNoLEAST64): Likewise.
28774         [C99-based-standards] (SCNuLEAST64): Likewise.
28775         [C99-based-standards] (SCNxLEAST64): Likewise.
28776         [C99-based-standards] (PRIdFAST64): Likewise.
28777         [C99-based-standards] (PRIiFAST64): Likewise.
28778         [C99-based-standards] (PRIoFAST64): Likewise.
28779         [C99-based-standards] (PRIuFAST64): Likewise.
28780         [C99-based-standards] (PRIxFAST64): Likewise.
28781         [C99-based-standards] (PRIXFAST64): Likewise.
28782         [C99-based-standards] (SCNdFAST64): Likewise.
28783         [C99-based-standards] (SCNiFAST64): Likewise.
28784         [C99-based-standards] (SCNoFAST64): Likewise.
28785         [C99-based-standards] (SCNuFAST64): Likewise.
28786         [C99-based-standards] (SCNxFAST64): Likewise.
28787         [C99-based-standards] (PRIdMAX): Likewise.
28788         [C99-based-standards] (PRIiMAX): Likewise.
28789         [C99-based-standards] (PRIoMAX): Likewise.
28790         [C99-based-standards] (PRIuMAX): Likewise.
28791         [C99-based-standards] (PRIxMAX): Likewise.
28792         [C99-based-standards] (PRIXMAX): Likewise.
28793         [C99-based-standards] (SCNdMAX): Likewise.
28794         [C99-based-standards] (SCNiMAX): Likewise.
28795         [C99-based-standards] (SCNoMAX): Likewise.
28796         [C99-based-standards] (SCNuMAX): Likewise.
28797         [C99-based-standards] (SCNxMAX): Likewise.
28798         [C99-based-standards] (PRIdPTR): Likewise.
28799         [C99-based-standards] (PRIiPTR): Likewise.
28800         [C99-based-standards] (PRIoPTR): Likewise.
28801         [C99-based-standards] (PRIuPTR): Likewise.
28802         [C99-based-standards] (PRIxPTR): Likewise.
28803         [C99-based-standards] (PRIXPTR): Likewise.
28804         [C99-based-standards] (SCNdPTR): Likewise.
28805         [C99-based-standards] (SCNiPTR): Likewise.
28806         [C99-based-standards] (SCNoPTR): Likewise.
28807         [C99-based-standards] (SCNuPTR): Likewise.
28808         [C99-based-standards] (SCNxPTR): Likewise.
28809         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
28810         allow.
28811         * conform/data/stdint.h-data: Update comments to clarify
28812         requirements.
28813         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
28814         type.
28815         [C99-based standards] (INT8_MAX): Likewise.
28816         [C99-based standards] (INT16_MIN): Likewise.
28817         [C99-based standards] (INT16_MAX): Likewise.
28818         [C99-based standards] (INT32_MIN): Likewise.
28819         [C99-based standards] (INT32_MAX): Likewise.
28820         [C99-based standards] (INT64_MIN): Likewise.
28821         [C99-based standards] (INT64_MAX): Likewise.
28822         [C99-based standards] (UINT8_MAX): Likewise.
28823         [C99-based standards] (UINT16_MAX): Likewise.
28824         [C99-based standards] (UINT32_MAX): Likewise.
28825         [C99-based standards] (UINT64_MAX): Likewise.
28826         [C99-based standards] (INT_LEAST8_MIN): Likewise.
28827         [C99-based standards] (INT_LEAST8_MAX): Likewise.
28828         [C99-based standards] (INT_LEAST16_MIN): Likewise.
28829         [C99-based standards] (INT_LEAST16_MAX): Likewise.
28830         [C99-based standards] (INT_LEAST32_MIN): Likewise.
28831         [C99-based standards] (INT_LEAST32_MAX): Likewise.
28832         [C99-based standards] (INT_LEAST64_MIN): Likewise.
28833         [C99-based standards] (INT_LEAST64_MAX): Likewise.
28834         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28835         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28836         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28837         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28838         [C99-based standards] (INT_FAST8_MIN): Likewise.
28839         [C99-based standards] (INT_FAST8_MAX): Likewise.
28840         [C99-based standards] (INT_FAST16_MIN): Likewise.
28841         [C99-based standards] (INT_FAST16_MAX): Likewise.
28842         [C99-based standards] (INT_FAST32_MIN): Likewise.
28843         [C99-based standards] (INT_FAST32_MAX): Likewise.
28844         [C99-based standards] (INT_FAST64_MIN): Likewise.
28845         [C99-based standards] (INT_FAST64_MAX): Likewise.
28846         [C99-based standards] (UINT_FAST8_MAX): Likewise.
28847         [C99-based standards] (UINT_FAST16_MAX): Likewise.
28848         [C99-based standards] (UINT_FAST32_MAX): Likewise.
28849         [C99-based standards] (UINT_FAST64_MAX): Likewise.
28850         [C99-based standards] (INTPTR_MIN): Likewise.
28851         [C99-based standards] (INTPTR_MAX): Likewise.
28852         [C99-based standards] (UINTPTR_MAX): Likewise.
28853         [C99-based standards] (INTMAX_MIN): Likewise.
28854         [C99-based standards] (INTMAX_MAX): Likewise.
28855         [C99-based standards] (UINTMAX_MAX): Likewise.
28856         [C99-based standards] (PTRDIFF_MIN): Likewise.
28857         [C99-based standards] (PTRDIFF_MAX): Likewise.
28858         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28859         [C99-based standards] (SIZE_MAX): Likewise.
28860         [C99-based standards] (WCHAR_MAX): Likewise.
28861         [C99-based standards] (WINT_MAX): Likewise.
28862         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
28863         constraint on value.
28864         [C99-based standards] (WCHAR_MIN): Likewise.
28865         [C99-based standards] (WINT_MIN): Likewise.
28866         [C99-based standards] (*_t): Allow.
28867         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28868         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28869         Include math.h-data and complex.h-data.  Remove all expectations
28870         of math.h and complex.h contents.
28871         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28872         at end of line.
28873         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28874         (struct tm): Expect tag.
28875         [C99-based-standards] (wcstof): Expect function.
28876         [C99-based-standards] (wcstold): Likewise.
28877         [C99-based-standards] (wcstoll): Likewise.
28878         [C99-based-standards] (wcstoull): Likewise.
28879         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28880         macro-int-constant.  Specify type.
28881         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
28882         constraint on value.
28883         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28884         Specify type.
28885         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28886         Specify value.
28887         [ISO C standards]: Do not allow headers.
28888         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28889         wcs[abcdefghijklmnopqrstuvwxyz]*.
28890         [ISO C standards] (*_t): Do not allow.
28891         * conform/data/wctype.h-data [C99-based standards] (iswblank):
28892         Expect function.
28893         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28894         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28895         Specify type.
28896         [ISO C standards]: Do not allow headers.
28897         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28898         is[abcdefghijklmnopqrstuvwxyz]*.
28899         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28900         to[abcdefghijklmnopqrstuvwxyz]*.
28901         [ISO C standards] (*_t): Do not allow.
28902         * conform/data/stdalign.h-data: New file.
28903         * conform/data/stdbool.h-data: Likewise.
28904         * conform/data/stdnoreturn.h-data: Likewise.
28905
28906 2012-11-07  Roland McGrath  <roland@hack.frob.com>
28907
28908         [BZ #14815]
28909         * manual/filesys.texi (Directory Entries): Typo fix.
28910         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28911
28912 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28913
28914         * elf/elf.h (EM_AARCH64): New macro.
28915         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28916         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28917         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28918         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28919         (R_AARCH64_TLSDESC): Likewise.
28920         (NT_ARM_TLS): Likewise.
28921         (NT_ARM_HW_BREAK): Likewise.
28922         (NT_ARM_HW_WATCH): Likewise.
28923
28924 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28925
28926         [BZ #14811]
28927         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28928         (__ieee754_powl): Saturate nonzero exponents with absolute value
28929         below 0x1p-79 to +/- 0x1p-79.
28930         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28931         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28932         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28933         nonzero exponents with absolute value below 0x1p-32 to +/-
28934         0x1p-32.
28935         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28936         (__ieee754_powl): Saturate nonzero exponents with absolute value
28937         below 0x1p-79 to +/- 0x1p-79.
28938         * math/libm-test.inc (pow_test): Add more tests.
28939
28940 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28941
28942         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28943         _dl_s390_cap_flags with kernel. Increase string length.
28944         (_dl_s390_platforms): Add z196 and zEC12.
28945
28946 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28947
28948         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28949         Change XOPEN21K to XOPEN2K.
28950
28951 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
28952
28953         * string/memmove.c: Use memcpy when possible.
28954
28955 2012-11-06  Andreas Jaeger  <aj@suse.de>
28956
28957         * po/eo.po: Update from translation team.
28958
28959 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
28960
28961         [BZ #14793]
28962         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28963         exponent and small x and y exponents, scale x or y up.  Increase
28964         by 2 the exponent used in scaling up.
28965         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28966         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28967         * math/libm-test.inc (fma_test): Add more tests.
28968         (fma_test_towardzero): Likewise.
28969         (fma_test_downward): Likewise.
28970         (fma_test_upward): Likewise.
28971
28972 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
28973
28974         [BZ #14805]
28975         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28976         fenv_t *.
28977
28978         [BZ #14801]
28979         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28980         namespace for names of struct fields.
28981         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28982         fenv_t fields.
28983         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28984         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28985
28986 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28987
28988         [BZ #3665]
28989         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28990
28991 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
28992
28993         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28994         PTR_DEMANGLE.
28995
28996         [BZ #5246]
28997         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28998         PTR_DEMANGLE.
28999
29000 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
29001
29002         [BZ #14797]
29003         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
29004         definitely overflow as x * y not x * y + z.
29005         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29006         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29007         * math/libm-test.inc (fma_test): Add more tests.
29008         (fma_test_towardzero): Likewise.
29009         (fma_test_downward): Likewise.
29010         (fma_test_upward): Likewise.
29011
29012 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
29013
29014         [BZ #157]
29015
29016         * include/stub-tag.h: Remove file.
29017         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
29018         '#include' of it.
29019         * manual/maint.texi (Porting): Don't reference it.
29020         * Makerules ($(objpfx)stubs): Likewise.
29021         * dirent/closedir.c: Don't include <stub-tag.h>.
29022         * dirent/dirfd.c: Likewise.
29023         * dirent/fdopendir.c: Likewise.
29024         * dirent/getdents.c: Likewise.
29025         * dirent/getdents64.c: Likewise.
29026         * dirent/opendir.c: Likewise.
29027         * dirent/readdir.c: Likewise.
29028         * dirent/readdir64.c: Likewise.
29029         * dirent/readdir64_r.c: Likewise.
29030         * dirent/readdir_r.c: Likewise.
29031         * dirent/rewinddir.c: Likewise.
29032         * dirent/seekdir.c: Likewise.
29033         * dirent/telldir.c: Likewise.
29034         * gmon/profil.c: Likewise.
29035         * grp/setgroups.c: Likewise.
29036         * inet/if_index.c: Likewise.
29037         * io/access.c: Likewise.
29038         * io/chdir.c: Likewise.
29039         * io/chmod.c: Likewise.
29040         * io/chown.c: Likewise.
29041         * io/close.c: Likewise.
29042         * io/dup.c: Likewise.
29043         * io/dup2.c: Likewise.
29044         * io/dup3.c: Likewise.
29045         * io/euidaccess.c: Likewise.
29046         * io/faccessat.c: Likewise.
29047         * io/fchdir.c: Likewise.
29048         * io/fchmod.c: Likewise.
29049         * io/fchmodat.c: Likewise.
29050         * io/fchown.c: Likewise.
29051         * io/fchownat.c: Likewise.
29052         * io/fcntl.c: Likewise.
29053         * io/flock.c: Likewise.
29054         * io/fstatfs.c: Likewise.
29055         * io/fstatfs64.c: Likewise.
29056         * io/fstatvfs.c: Likewise.
29057         * io/fstatvfs64.c: Likewise.
29058         * io/futimens.c: Likewise.
29059         * io/fxstat.c: Likewise.
29060         * io/fxstat64.c: Likewise.
29061         * io/fxstatat.c: Likewise.
29062         * io/fxstatat64.c: Likewise.
29063         * io/getcwd.c: Likewise.
29064         * io/isatty.c: Likewise.
29065         * io/lchmod.c: Likewise.
29066         * io/lchown.c: Likewise.
29067         * io/link.c: Likewise.
29068         * io/linkat.c: Likewise.
29069         * io/lseek.c: Likewise.
29070         * io/lseek64.c: Likewise.
29071         * io/lxstat64.c: Likewise.
29072         * io/mkdir.c: Likewise.
29073         * io/mkdirat.c: Likewise.
29074         * io/mkfifo.c: Likewise.
29075         * io/mkfifoat.c: Likewise.
29076         * io/open.c: Likewise.
29077         * io/open64.c: Likewise.
29078         * io/openat.c: Likewise.
29079         * io/openat64.c: Likewise.
29080         * io/pipe.c: Likewise.
29081         * io/pipe2.c: Likewise.
29082         * io/poll.c: Likewise.
29083         * io/posix_fadvise.c: Likewise.
29084         * io/posix_fadvise64.c: Likewise.
29085         * io/posix_fallocate.c: Likewise.
29086         * io/posix_fallocate64.c: Likewise.
29087         * io/read.c: Likewise.
29088         * io/readlink.c: Likewise.
29089         * io/readlinkat.c: Likewise.
29090         * io/rmdir.c: Likewise.
29091         * io/sendfile.c: Likewise.
29092         * io/sendfile64.c: Likewise.
29093         * io/statfs.c: Likewise.
29094         * io/statfs64.c: Likewise.
29095         * io/statvfs.c: Likewise.
29096         * io/statvfs64.c: Likewise.
29097         * io/symlink.c: Likewise.
29098         * io/symlinkat.c: Likewise.
29099         * io/ttyname.c: Likewise.
29100         * io/ttyname_r.c: Likewise.
29101         * io/umask.c: Likewise.
29102         * io/unlink.c: Likewise.
29103         * io/unlinkat.c: Likewise.
29104         * io/utime.c: Likewise.
29105         * io/utimensat.c: Likewise.
29106         * io/write.c: Likewise.
29107         * io/xmknod.c: Likewise.
29108         * io/xmknodat.c: Likewise.
29109         * io/xstat.c: Likewise.
29110         * io/xstat64.c: Likewise.
29111         * login/getpt.c: Likewise.
29112         * login/grantpt.c: Likewise.
29113         * login/unlockpt.c: Likewise.
29114         * math/e_acoshl.c: Likewise.
29115         * math/e_acosl.c: Likewise.
29116         * math/e_asinl.c: Likewise.
29117         * math/e_atan2l.c: Likewise.
29118         * math/e_atanhl.c: Likewise.
29119         * math/e_coshl.c: Likewise.
29120         * math/e_expl.c: Likewise.
29121         * math/e_fmodl.c: Likewise.
29122         * math/e_gammal_r.c: Likewise.
29123         * math/e_hypotl.c: Likewise.
29124         * math/e_j0l.c: Likewise.
29125         * math/e_j1l.c: Likewise.
29126         * math/e_jnl.c: Likewise.
29127         * math/e_lgammal_r.c: Likewise.
29128         * math/e_log10l.c: Likewise.
29129         * math/e_log2l.c: Likewise.
29130         * math/e_logl.c: Likewise.
29131         * math/e_powl.c: Likewise.
29132         * math/e_rem_pio2l.c: Likewise.
29133         * math/e_sinhl.c: Likewise.
29134         * math/e_sqrtl.c: Likewise.
29135         * math/fclrexcpt.c: Likewise.
29136         * math/fedisblxcpt.c: Likewise.
29137         * math/feenablxcpt.c: Likewise.
29138         * math/fegetenv.c: Likewise.
29139         * math/fegetexcept.c: Likewise.
29140         * math/fegetround.c: Likewise.
29141         * math/feholdexcpt.c: Likewise.
29142         * math/fesetenv.c: Likewise.
29143         * math/fesetround.c: Likewise.
29144         * math/feupdateenv.c: Likewise.
29145         * math/fgetexcptflg.c: Likewise.
29146         * math/fraiseexcpt.c: Likewise.
29147         * math/fsetexcptflg.c: Likewise.
29148         * math/ftestexcept.c: Likewise.
29149         * math/k_cosl.c: Likewise.
29150         * math/k_rem_pio2l.c: Likewise.
29151         * math/k_sinl.c: Likewise.
29152         * math/k_tanl.c: Likewise.
29153         * math/s_asinhl.c: Likewise.
29154         * math/s_atanl.c: Likewise.
29155         * math/s_cbrtl.c: Likewise.
29156         * math/s_erfl.c: Likewise.
29157         * math/s_expm1l.c: Likewise.
29158         * math/s_log1pl.c: Likewise.
29159         * math/s_tanhl.c: Likewise.
29160         * misc/acct.c: Likewise.
29161         * misc/brk.c: Likewise.
29162         * misc/chflags.c: Likewise.
29163         * misc/chroot.c: Likewise.
29164         * misc/fchflags.c: Likewise.
29165         * misc/fgetxattr.c: Likewise.
29166         * misc/flistxattr.c: Likewise.
29167         * misc/fremovexattr.c: Likewise.
29168         * misc/fsetxattr.c: Likewise.
29169         * misc/fsync.c: Likewise.
29170         * misc/ftruncate.c: Likewise.
29171         * misc/futimes.c: Likewise.
29172         * misc/futimesat.c: Likewise.
29173         * misc/getdomain.c: Likewise.
29174         * misc/getdtsz.c: Likewise.
29175         * misc/gethostid.c: Likewise.
29176         * misc/gethostname.c: Likewise.
29177         * misc/getloadavg.c: Likewise.
29178         * misc/getpagesize.c: Likewise.
29179         * misc/getsysstats.c: Likewise.
29180         * misc/getxattr.c: Likewise.
29181         * misc/gtty.c: Likewise.
29182         * misc/ioctl.c: Likewise.
29183         * misc/lgetxattr.c: Likewise.
29184         * misc/listxattr.c: Likewise.
29185         * misc/llistxattr.c: Likewise.
29186         * misc/lremovexattr.c: Likewise.
29187         * misc/lsetxattr.c: Likewise.
29188         * misc/lutimes.c: Likewise.
29189         * misc/madvise.c: Likewise.
29190         * misc/mincore.c: Likewise.
29191         * misc/mlock.c: Likewise.
29192         * misc/mlockall.c: Likewise.
29193         * misc/mmap.c: Likewise.
29194         * misc/mprotect.c: Likewise.
29195         * misc/msync.c: Likewise.
29196         * misc/munlock.c: Likewise.
29197         * misc/munlockall.c: Likewise.
29198         * misc/munmap.c: Likewise.
29199         * misc/preadv.c: Likewise.
29200         * misc/preadv64.c: Likewise.
29201         * misc/ptrace.c: Likewise.
29202         * misc/pwritev.c: Likewise.
29203         * misc/pwritev64.c: Likewise.
29204         * misc/readv.c: Likewise.
29205         * misc/reboot.c: Likewise.
29206         * misc/remap_file_pages.c: Likewise.
29207         * misc/removexattr.c: Likewise.
29208         * misc/revoke.c: Likewise.
29209         * misc/select.c: Likewise.
29210         * misc/setdomain.c: Likewise.
29211         * misc/setegid.c: Likewise.
29212         * misc/seteuid.c: Likewise.
29213         * misc/sethostid.c: Likewise.
29214         * misc/sethostname.c: Likewise.
29215         * misc/setregid.c: Likewise.
29216         * misc/setreuid.c: Likewise.
29217         * misc/setxattr.c: Likewise.
29218         * misc/sstk.c: Likewise.
29219         * misc/stty.c: Likewise.
29220         * misc/swapoff.c: Likewise.
29221         * misc/swapon.c: Likewise.
29222         * misc/sync.c: Likewise.
29223         * misc/syncfs.c: Likewise.
29224         * misc/syscall.c: Likewise.
29225         * misc/truncate.c: Likewise.
29226         * misc/ualarm.c: Likewise.
29227         * misc/usleep.c: Likewise.
29228         * misc/ustat.c: Likewise.
29229         * misc/utimes.c: Likewise.
29230         * misc/vhangup.c: Likewise.
29231         * misc/writev.c: Likewise.
29232         * posix/_exit.c: Likewise.
29233         * posix/alarm.c: Likewise.
29234         * posix/execve.c: Likewise.
29235         * posix/fexecve.c: Likewise.
29236         * posix/fork.c: Likewise.
29237         * posix/fpathconf.c: Likewise.
29238         * posix/getaddrinfo.c: Likewise.
29239         * posix/getegid.c: Likewise.
29240         * posix/geteuid.c: Likewise.
29241         * posix/getgid.c: Likewise.
29242         * posix/getgroups.c: Likewise.
29243         * posix/getlogin.c: Likewise.
29244         * posix/getlogin_r.c: Likewise.
29245         * posix/getpgid.c: Likewise.
29246         * posix/getpid.c: Likewise.
29247         * posix/getppid.c: Likewise.
29248         * posix/getresgid.c: Likewise.
29249         * posix/getresuid.c: Likewise.
29250         * posix/getsid.c: Likewise.
29251         * posix/getuid.c: Likewise.
29252         * posix/glob64.c: Likewise.
29253         * posix/nanosleep.c: Likewise.
29254         * posix/pathconf.c: Likewise.
29255         * posix/pause.c: Likewise.
29256         * posix/posix_madvise.c: Likewise.
29257         * posix/pread.c: Likewise.
29258         * posix/pread64.c: Likewise.
29259         * posix/pwrite.c: Likewise.
29260         * posix/pwrite64.c: Likewise.
29261         * posix/sched_getaffinity.c: Likewise.
29262         * posix/sched_getp.c: Likewise.
29263         * posix/sched_gets.c: Likewise.
29264         * posix/sched_primax.c: Likewise.
29265         * posix/sched_primin.c: Likewise.
29266         * posix/sched_rr_gi.c: Likewise.
29267         * posix/sched_setaffinity.c: Likewise.
29268         * posix/sched_setp.c: Likewise.
29269         * posix/sched_sets.c: Likewise.
29270         * posix/sched_yield.c: Likewise.
29271         * posix/setgid.c: Likewise.
29272         * posix/setlogin.c: Likewise.
29273         * posix/setpgid.c: Likewise.
29274         * posix/setresgid.c: Likewise.
29275         * posix/setresuid.c: Likewise.
29276         * posix/setsid.c: Likewise.
29277         * posix/setuid.c: Likewise.
29278         * posix/sleep.c: Likewise.
29279         * posix/spawni.c: Likewise.
29280         * posix/sysconf.c: Likewise.
29281         * posix/times.c: Likewise.
29282         * posix/wait.c: Likewise.
29283         * posix/wait3.c: Likewise.
29284         * posix/wait4.c: Likewise.
29285         * posix/waitpid.c: Likewise.
29286         * resolv/gai_sigqueue.c: Likewise.
29287         * resource/getpriority.c: Likewise.
29288         * resource/getrlimit.c: Likewise.
29289         * resource/getrusage.c: Likewise.
29290         * resource/nice.c: Likewise.
29291         * resource/setpriority.c: Likewise.
29292         * resource/setrlimit.c: Likewise.
29293         * resource/ulimit.c: Likewise.
29294         * rt/aio_cancel.c: Likewise.
29295         * rt/aio_fsync.c: Likewise.
29296         * rt/aio_read.c: Likewise.
29297         * rt/aio_sigqueue.c: Likewise.
29298         * rt/aio_suspend.c: Likewise.
29299         * rt/aio_write.c: Likewise.
29300         * rt/clock_getres.c: Likewise.
29301         * rt/clock_gettime.c: Likewise.
29302         * rt/clock_nanosleep.c: Likewise.
29303         * rt/clock_settime.c: Likewise.
29304         * rt/lio_listio.c: Likewise.
29305         * rt/mq_close.c: Likewise.
29306         * rt/mq_getattr.c: Likewise.
29307         * rt/mq_notify.c: Likewise.
29308         * rt/mq_open.c: Likewise.
29309         * rt/mq_receive.c: Likewise.
29310         * rt/mq_send.c: Likewise.
29311         * rt/mq_setattr.c: Likewise.
29312         * rt/mq_timedreceive.c: Likewise.
29313         * rt/mq_timedsend.c: Likewise.
29314         * rt/mq_unlink.c: Likewise.
29315         * rt/shm_open.c: Likewise.
29316         * rt/shm_unlink.c: Likewise.
29317         * rt/timer_create.c: Likewise.
29318         * rt/timer_delete.c: Likewise.
29319         * rt/timer_getoverr.c: Likewise.
29320         * rt/timer_gettime.c: Likewise.
29321         * rt/timer_settime.c: Likewise.
29322         * setjmp/__longjmp.c: Likewise.
29323         * setjmp/setjmp.c: Likewise.
29324         * signal/kill.c: Likewise.
29325         * signal/killpg.c: Likewise.
29326         * signal/raise.c: Likewise.
29327         * signal/sigaction.c: Likewise.
29328         * signal/sigaltstack.c: Likewise.
29329         * signal/sigblock.c: Likewise.
29330         * signal/sigignore.c: Likewise.
29331         * signal/sigintr.c: Likewise.
29332         * signal/signal.c: Likewise.
29333         * signal/sigpause.c: Likewise.
29334         * signal/sigpending.c: Likewise.
29335         * signal/sigqueue.c: Likewise.
29336         * signal/sigreturn.c: Likewise.
29337         * signal/sigset.c: Likewise.
29338         * signal/sigsetmask.c: Likewise.
29339         * signal/sigstack.c: Likewise.
29340         * signal/sigsuspend.c: Likewise.
29341         * signal/sigtimedwait.c: Likewise.
29342         * signal/sigvec.c: Likewise.
29343         * signal/sigwait.c: Likewise.
29344         * signal/sigwaitinfo.c: Likewise.
29345         * signal/sysv_signal.c: Likewise.
29346         * socket/accept.c: Likewise.
29347         * socket/accept4.c: Likewise.
29348         * socket/bind.c: Likewise.
29349         * socket/connect.c: Likewise.
29350         * socket/getpeername.c: Likewise.
29351         * socket/getsockname.c: Likewise.
29352         * socket/getsockopt.c: Likewise.
29353         * socket/isfdtype.c: Likewise.
29354         * socket/listen.c: Likewise.
29355         * socket/recv.c: Likewise.
29356         * socket/recvfrom.c: Likewise.
29357         * socket/recvmsg.c: Likewise.
29358         * socket/send.c: Likewise.
29359         * socket/sendmsg.c: Likewise.
29360         * socket/sendto.c: Likewise.
29361         * socket/setsockopt.c: Likewise.
29362         * socket/shutdown.c: Likewise.
29363         * socket/sockatmark.c: Likewise.
29364         * socket/socket.c: Likewise.
29365         * socket/socketpair.c: Likewise.
29366         * stdio-common/ctermid.c: Likewise.
29367         * stdio-common/cuserid.c: Likewise.
29368         * stdio-common/remove.c: Likewise.
29369         * stdio-common/rename.c: Likewise.
29370         * stdio-common/renameat.c: Likewise.
29371         * stdio-common/tempname.c: Likewise.
29372         * stdlib/getcontext.c: Likewise.
29373         * stdlib/makecontext.c: Likewise.
29374         * stdlib/setcontext.c: Likewise.
29375         * stdlib/swapcontext.c: Likewise.
29376         * stdlib/system.c: Likewise.
29377         * streams/fattach.c: Likewise.
29378         * streams/fdetach.c: Likewise.
29379         * streams/getmsg.c: Likewise.
29380         * streams/getpmsg.c: Likewise.
29381         * streams/putmsg.c: Likewise.
29382         * streams/putpmsg.c: Likewise.
29383         * sysdeps/unix/bsd/getpt.c: Likewise.
29384         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
29385         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
29386         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29388         Likewise.
29389         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
29390         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29391         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
29392         * sysvipc/msgctl.c: Likewise.
29393         * sysvipc/msgget.c: Likewise.
29394         * sysvipc/msgrcv.c: Likewise.
29395         * sysvipc/msgsnd.c: Likewise.
29396         * sysvipc/semctl.c: Likewise.
29397         * sysvipc/semget.c: Likewise.
29398         * sysvipc/semop.c: Likewise.
29399         * sysvipc/semtimedop.c: Likewise.
29400         * sysvipc/shmat.c: Likewise.
29401         * sysvipc/shmctl.c: Likewise.
29402         * sysvipc/shmdt.c: Likewise.
29403         * sysvipc/shmget.c: Likewise.
29404         * termios/tcdrain.c: Likewise.
29405         * termios/tcflow.c: Likewise.
29406         * termios/tcflush.c: Likewise.
29407         * termios/tcgetattr.c: Likewise.
29408         * termios/tcgetpgrp.c: Likewise.
29409         * termios/tcsendbrk.c: Likewise.
29410         * termios/tcsetattr.c: Likewise.
29411         * termios/tcsetpgrp.c: Likewise.
29412         * time/adjtime.c: Likewise.
29413         * time/clock.c: Likewise.
29414         * time/getitimer.c: Likewise.
29415         * time/gettimeofday.c: Likewise.
29416         * time/setitimer.c: Likewise.
29417         * time/settimeofday.c: Likewise.
29418         * time/stime.c: Likewise.
29419         * time/time.c: Likewise.
29420
29421 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
29422
29423         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
29424         /usr/old/bin.
29425
29426         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
29427         instead of spaces.
29428         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
29429
29430 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
29431
29432         [BZ #14796]
29433         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
29434         FE_TONEAREST before applying Dekker multiplication and Knuth
29435         addition.  Clear inexact exceptions and check for exact zero
29436         results afterwards.
29437         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29438         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29439         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29440         * math/libm-test.inc (fma_test): Add more tests.
29441         (fma_test_towardzero): Likewise.
29442         (fma_test_downward): Likewise.
29443         (fma_test_upward): Likewise.
29444         * sysdeps/generic/math_private.h (default_libc_fesetround): New
29445         function.
29446         (libc_fesetround): New macro.
29447         (libc_fesetroundf): Likewise.
29448         (libc_fesetroundl): Likewise.
29449         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
29450         function.
29451         (libc_fesetround_387): Likewise.
29452         (libc_fesetroundf): New macro.
29453         (libc_fesetround): Likewise.
29454         (libc_fesetroundl): Likewise.
29455         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
29456         function.
29457         (libc_fesetroundf): New macro.
29458         (libc_fesetround): Likewise.
29459         (libc_fesetroundl): Likewise.
29460         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
29461         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
29462         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
29463         libm_hidden_ver.
29464         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
29465         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
29466         libm_hidden_def.
29467         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
29468         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
29469         libm_hidden_ver.
29470         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
29471         libm_hidden_def.
29472
29473         [BZ #3439]
29474         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
29475         integer constant usable in #if and use that to give value to enum
29476         constant.
29477         (FE_DIVBYZERO): Likewise.
29478         (FE_UNDERFLOW): Likewise.
29479         (FE_OVERFLOW): Likewise.
29480         (FE_INVALID): Likewise.
29481         (FE_INVALID_SNAN): Likewise.
29482         (FE_INVALID_ISI): Likewise.
29483         (FE_INVALID_IDI): Likewise.
29484         (FE_INVALID_ZDZ): Likewise.
29485         (FE_INVALID_IMZ): Likewise.
29486         (FE_INVALID_COMPARE): Likewise.
29487         (FE_INVALID_SOFTWARE): Likewise.
29488         (FE_INVALID_SQRT): Likewise.
29489         (FE_INVALID_INTEGER_CONVERSION): Likewise.
29490         (FE_TONEAREST): Likewise.
29491         (FE_TOWARDZERO): Likewise.
29492         (FE_UPWARD): Likewise.
29493         (FE_DOWNWARD): Likewise.
29494         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
29495         (FE_DIVBYZERO): Likewise.
29496         (FE_OVERFLOW): Likewise.
29497         (FE_UNDERFLOW): Likewise.
29498         (FE_INEXACT): Likewise.
29499         (FE_TONEAREST): Likewise.
29500         (FE_DOWNWARD): Likewise.
29501         (FE_UPWARD): Likewise.
29502         (FE_TOWARDZERO): Likewise.
29503         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
29504         (FE_UNDERFLOW): Likewise.
29505         (FE_OVERFLOW): Likewise.
29506         (FE_DIVBYZERO): Likewise.
29507         (FE_INVALID): Likewise.
29508         (FE_TONEAREST): Likewise.
29509         (FE_TOWARDZERO): Likewise.
29510         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
29511         (FE_OVERFLOW): Likewise.
29512         (FE_UNDERFLOW): Likewise.
29513         (FE_DIVBYZERO): Likewise.
29514         (FE_INEXACT): Likewise.
29515         (FE_TONEAREST): Likewise.
29516         (FE_TOWARDZERO): Likewise.
29517         (FE_UPWARD): Likewise.
29518         (FE_DOWNWARD): Likewise.
29519         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
29520         (FE_DIVBYZERO): Likewise.
29521         (FE_OVERFLOW): Likewise.
29522         (FE_UNDERFLOW): Likewise.
29523         (FE_INEXACT): Likewise.
29524         (FE_TONEAREST): Likewise.
29525         (FE_DOWNWARD): Likewise.
29526         (FE_UPWARD): Likewise.
29527         (FE_TOWARDZERO): Likewise.
29528
29529 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
29530
29531         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
29532
29533 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
29534
29535         * scripts/cross-test-ssh.sh (command): Use newlines to separate
29536         commands.  Quote $PWD.
29537         (blacklist_exports): Don't use remove_newlines.  Replace "declare
29538         -x" by "export".
29539         (remove_newlines): Remove.
29540
29541 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
29542
29543         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
29544         * stdlib/stdlib.h (atof): Moved to ...
29545         * include/bits/stdlib-float.h: Here.  New file.
29546         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
29547         * stdlib/bits/stdlib-float.h: New file.
29548         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
29549         -mno-sse -mno-mmx.
29550         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
29551         <xmmintrin.h>.
29552
29553 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
29554
29555         * conform/conformtest.pl (@headers): Add fenv.h.
29556         * conform/data/fenv.h-data: New file.
29557         * include/fenv.h [_ISOMAC]: Disable all contents of file except
29558         include of <math/fenv.h>.
29559
29560         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
29561         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
29562         && !UNIX98].  Enables tests for XOPEN2K8.
29563         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
29564         POSIX2008]: Likewise.
29565
29566         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
29567         (struct rusage): Do not expect type or its members.
29568
29569         [BZ #3439]
29570         * math/math.h (FP_NAN): Define macro to integer constant usable in
29571         #if and use that to give value to enum constant.
29572         (FP_INFINITE): Likewise.
29573         (FP_ZERO): Likewise.
29574         (FP_SUBNORMAL): Likewise.
29575         (FP_NORMAL): Likewise.
29576
29577 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
29578
29579         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
29580         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
29581         arguments.
29582
29583 2012-11-02  Roland McGrath  <roland@hack.frob.com>
29584
29585         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
29586         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
29587         autoconf-time if not.
29588         * configure.in: Remove AC_PREREQ.
29589
29590 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29591
29592         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
29593         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
29594         of the internal implementation.
29595
29596 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
29597
29598         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
29599         except include of <misc/sys/syslog.h>.
29600
29601 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29602
29603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
29604         function returns with a NULL context exit with zero.
29605
29606 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29607
29608         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
29609
29610 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
29611
29612         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
29613         (run_program_cmd): This.
29614         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
29615         (tst_langinfo): New variable.  Use it.
29616
29617 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
29618
29619         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
29620         floating point opcodes.
29621
29622 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29623
29624         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
29625         variable.
29626
29627         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
29628
29629         * sysdeps/mach/hurd/powerpc: Remove directory.
29630         * sysdeps/mach/powerpc: Likewise.
29631
29632 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29633
29634         * scripts/check-local-headers.sh: Ignore c++ headers.
29635
29636 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29637
29638         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
29639         __libc_cleanup_region_start argument.
29640
29641 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
29642
29643         [BZ #14784]
29644         [BZ #14785]
29645         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
29646         x * y using scaling, not as x * y + z.
29647         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29648         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29649         * math/libm-test.inc (fma_test): Add more tests.
29650         (fma_test_towardzero): Likewise.
29651         (fma_test_downward): Likewise.
29652         (fma_test_upward): Likewise.
29653
29654 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29655
29656         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
29657
29658 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
29659
29660         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
29661         New variable.
29662
29663 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
29664
29665         * rt/tst-shm.c (worker): Correct checking for mmap failure.
29666
29667 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
29668
29669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29670         Fix sort order.
29671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29672         Likewise.
29673
29674 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29675
29676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29677         Fix the order of the list for glibc 2.17.
29678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29679         Likewise.
29680
29681 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
29682
29683         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29684
29685 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
29686
29687         [BZ #14610]
29688         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
29689         for low part of x being zero before using __atanl (y).
29690         * math/libm-test.inc (atan2_test): Add another test.
29691
29692         * manual/install.texi (Configuring and compiling): Document
29693         general use of test-wrapper and test-wrapper-env.
29694         * INSTALL: Regenerated.
29695
29696         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
29697         (__fma): Do not extract and scale down low bits on after-rounding
29698         systems when result rounded to normal precision would have normal
29699         exponent.
29700         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
29701         (__fmal): Do not extract and scale down low bits on after-rounding
29702         systems when result rounded to normal precision would have normal
29703         exponent.
29704         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
29705         (__fmal): Do not extract and scale down low bits on after-rounding
29706         systems when result rounded to normal precision would have normal
29707         exponent.
29708         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
29709         macro.
29710         (fma_test): Add more tests.
29711         (fma_test_towardzero): Likewise.
29712         (fma_test_downward): Likewise.
29713         (fma_test_upward): Likewise.
29714
29715 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
29716
29717         * sysdeps/i386/tininess.h: Renamed to ...
29718         * sysdeps/x86/tininess.h: This.
29719         * sysdeps/x86_64/tininess.h: Removed.
29720
29721 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
29722
29723         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
29724         input.  Use $(build-program-cmd).
29725         ($(objpfx)tst-array1-static.out): Likewise.
29726         ($(objpfx)tst-array2.out): Likewise.
29727         ($(objpfx)tst-array3.out): Likewise.
29728         ($(objpfx)tst-array4.out): Likewise.
29729         ($(objpfx)tst-array5.out): Likewise.
29730         ($(objpfx)tst-array5-static.out): Likewise.
29731
29732 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
29733
29734         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
29735         if defined.
29736
29737         * nss/nsswitch.h (nss_interface_function): Provide new
29738         macro for use with NSS functions.
29739         * grp/initgroups.c: Use new macro.
29740         * nss/getXXbyYY.c: Likewise.
29741         * nss/getXXbyYY_r.c: Likewise.
29742         * nss/getXXent.c: Likewise.
29743         * nss/getXXent_r.c: Likewise.
29744         * sysdeps/posix/getaddrinfo.c: Likewise.
29745
29746 2012-10-30  Andreas Jaeger  <aj@suse.de>
29747
29748         * po/ru.po: Update Russion translation from translation project.
29749
29750 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
29751
29752         [BZ #14152]
29753         [BZ #14783]
29754         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
29755         result and shift together with sticky bit instead of replicating
29756         round-to-nearest rounding.
29757         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29758         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29759         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
29760         missing underflow exceptions.
29761         (fma_test_towardzero): Add more tests.
29762         (fma_test_downward): Likewise.
29763         (fma_test_upward): Likewise.
29764
29765         [BZ #14047]
29766         * sysdeps/generic/tininess.h: New file.
29767         * sysdeps/i386/tininess.h: Likewise.
29768         * sysdeps/sh/tininess.h: Likewise.
29769         * sysdeps/x86_64/tininess.h: Likewise.
29770         * stdlib/tst-strtod-underflow.c: Likewise.
29771         * stdlib/tst-tininess.c: Likewise.
29772         * stdlib/strtod_l.c: Include <tininess.h>.
29773         (round_and_return): Do not set errno for exact underflow cases.
29774         Force an underflow exception when setting errno for underflow.
29775         Determine underflow based on rounding to normal precision if
29776         TININESS_AFTER_ROUNDING.
29777         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
29778         ERANGE for exact underflow cases.
29779         * stdlib/Makefile (tests): Add tst-tininess and
29780         tst-strtod-underflow.
29781         ($(objpfx)tst-tininess): Use $(link-libm).
29782         ($(objpfx)tst-strtod-underflow): Likewise.
29783
29784 2012-10-30  Andreas Jaeger  <aj@suse.de>
29785
29786         [BZ#14767]
29787         * elf/Makefile (tests): Remove conditional for have-initfini-array
29788         since this is now always required and the variable does not exist
29789         anymore.
29790         (tests-static): Likewise.
29791         (modules-names): Likewise.
29792
29793         * po/eo.po: Add Esperanto translation from translation project.
29794
29795         * elf/tst-array1.c (fini_array): Make writeable so that it can be
29796         merged with constructor/destructor.
29797         (init_array): Likewise.
29798         * elf/tst-array2dep.c (fini_array): Likewise.
29799         (init_array): Likewise.
29800
29801 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
29802
29803         * manual/message.texi: Delete @cartouche tags.
29804
29805 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
29806
29807         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
29808         EOPNOTSUPP.
29809         * sysdeps/mach/hurd/fsync.c: Likewise.
29810
29811         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
29812         [_POSIX_REALTIME_SIGNALS]: Change condition to
29813         [_POSIX_REALTIME_SIGNALS > 0].
29814
29815 2012-10-27  Andreas Jaeger  <aj@suse.de>
29816
29817         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
29818         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
29819         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
29820         [__WORDSIZE != 64]: Likewise.
29821
29822 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
29823
29824         *  iconvdata/tst-table.sh: Remove ${SHELL}.
29825         *  iconvdata/tst-tables.sh: Likewise.
29826
29827 2012-10-25  David S. Miller  <davem@davemloft.net>
29828
29829         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29830         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29831         of strtoull.
29832
29833         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29834         ifunc-impl-list.c
29835         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29836         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29837         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29838         file.
29839
29840 2012-10-25  Roland McGrath  <roland@hack.frob.com>
29841
29842         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29843         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29844         __getdirentries.
29845
29846 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
29847             Jim Blandy  <jimb@codesourcery.com>
29848
29849         * scripts/cross-test-ssh.sh: New file.
29850         * manual/install.texi (Configuring and compiling): Document use of
29851         cross-test-ssh.sh.
29852         * INSTALL: Regenerated.
29853
29854 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
29855
29856         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29857         EOPNOTSUPP.
29858
29859 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
29860
29861         * Makeconfig (run-program-prefix): Fix comment.
29862
29863 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
29864             Jim Blandy  <jimb@codesourcery.com>
29865
29866         * Makeconfig (test-wrapper): New variable,
29867         (test-wrapper-env): Likewise.
29868         [$(cross-compiling) = yes && $(test-wrapper) != ""]
29869         (run-built-tests): Define to yes.
29870         (run-program-prefix): Use $(test-wrapper).
29871         (built-program-cmd): Likewise.
29872         * Rules (make-test-out): Use $(test-wrapper-env) and
29873         $(host-built-program-cmd).
29874         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29875         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29876         tst-pathopt.sh.
29877         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29878         $(test-wrapper-env) to tst-rtld-load-self.sh.
29879         ($(objpfx)order2.out): Use $(test-wrapper).
29880         ($(objpfx)tst-initorder.out): Likewise.
29881         ($(objpfx)tst-initorder2.out): Likewise.
29882         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29883         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29884         (test_wrapper_env): New variable.  Use it to run ld.so.
29885         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29886         Use it to run ld.so.
29887         (test_wrapper_env): Likewise.
29888         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29889         $(test-wrapper) to run-iconv-test.sh.
29890         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29891         (ICONV): Use $test_wrapper.
29892         * posix/Makefile ($(objpfx)globtest.out): Pass
29893         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29894         globtest.sh, not $(run-program-prefix).
29895         * posix/globtest.sh (run_via_rtld_prefix): New variable.
29896         (test_wrapper): Likewise.
29897         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
29898         set together with run_via_rtld_prefix.
29899         (run_program_prefix): Define in terms of test_wrapper and
29900         run_via_rtld_prefix.
29901
29902 2012-10-24  Roland McGrath  <roland@hack.frob.com>
29903
29904         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29905         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29906         Targets removed.
29907
29908         [BZ #14743]
29909         * include/time.h: Remove librt_hidden_proto (clock_gettime).
29910         Declare __clock_getres, __clock_gettime, __clock_settime,
29911         __clock_nanosleep, and __clock_getcpuclockid.
29912         * rt/clock_gettime.c: Define __clock_gettime as an alias.
29913         Remove librt_hidden_def (clock_gettime).
29914         * sysdeps/unix/clock_gettime.c: Likewise.
29915         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29916         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29917         * rt/clock_getres.c: Define __clock_getres as an alias.
29918         * sysdeps/posix/clock_getres.c: Likewise.
29919         * rt/clock_settime.c: Define __clock_settime as an alias.
29920         * sysdeps/unix/clock_settime.c: Likewise.
29921         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29922         * sysdeps/unix/clock_nanosleep.c: Likewise.
29923         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29924         * rt/clock-compat.c: New file.
29925         * rt/Makefile (librt-routines): Add clock-compat and move
29926         $(clock-routines) to ...
29927         (routines): ... here, new variable.
29928         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29929         Don't add get_clockfreq here.
29930         * rt/Versions (libc: GLIBC_2.17): New version set.
29931         Add clock_* symbols here.
29932         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
29933         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29934         (GLIBC_2.17): Add clock_* symbols.
29935         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29936         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29937         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29939         Likewise.
29940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29941         Likewise.
29942         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29943         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29944         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29945         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29946         * NEWS: Mention the move.
29947
29948         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29949         Use __open, __read, __close rather than their public counterparts.
29950         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29951         (__get_clockfreq_via_cpuinfo): Likewise.
29952         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29953         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29954
29955         * config.h.in (HAVE_IFUNC): New #undef.
29956         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29957         was successful.
29958         * configure: Regenerated.
29959
29960 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
29961
29962         * configure.in: Move READELF check to start of file.
29963         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29964         libc_cv_asm_gnu_indirect_function in the process.
29965         * configure: Regenerated.
29966
29967 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
29968
29969         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29970         send the output to /dev/null.
29971         (libc_cv_cc_with_libunwind): Likewise.
29972         (libc_cv_as_noexecstack): Likewise.
29973         * configure: Regenerate.
29974
29975 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
29976
29977         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29978
29979         * posix/globtest.sh (TMPDIR): Do not set.
29980         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29981         (testout): Likewise.
29982
29983 2012-10-24  Andreas Jaeger  <aj@suse.de>
29984
29985         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29986         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29987         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29988         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29989         posix_fadvise64, posix_fallocate64.
29990
29991         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29992         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29993         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29994         Likewise.
29995         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29996         Likewise.
29997         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29998
29999         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
30000         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
30001         <bits/fcntl-linux.h>.
30002         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
30003
30004         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
30005         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
30006         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
30007         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
30008         [__WORDSIZE != 64]: Likewise.
30009
30010 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
30011
30012         * Makeconfig (run-built-tests): New variable.
30013         * Rules [$(cross-compiling) = yes]: Change condition to
30014         [$(run-built-tests) = no].
30015         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
30016         to [$(run-built-tests) = yes].
30017         * elf/Makefile [$(cross-compiling) = no]: Likewise
30018         * grp/Makefile [$(cross-compiling) = no]: Likewise.
30019         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
30020         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
30021         * intl/Makefile [$(cross-compiling) = no]: Likewise.
30022         * io/Makefile [$(cross-compiling) = no]: Likewise.
30023         * libio/Makefile [$(cross-compiling) = no]: Likewise.
30024         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
30025         * misc/Makefile [$(cross-compiling) = no]: Likewise.
30026         * posix/Makefile [$(cross-compiling) = no]: Likewise.
30027         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
30028         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
30029         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
30030         * string/Makefile [$(cross-compiling) = no]: Likewise.
30031
30032         * posix/Makefile ($(objpfx)globtest.out): Pass
30033         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
30034         $(rtld-installed-name).
30035         * posix/globtest.sh (elf_objpfx): Remove variable.
30036         (rtld_installed_name): Likewise.
30037         (library_path): Likewise.
30038         (run_program_prefix): New variable.  Use for running globtest
30039         binary.
30040
30041 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
30042             Joseph Myers  <joseph@codesourcery.com>
30043
30044         * Makeconfig (host-built-program-cmd): New variable.
30045         * elf/Makefile (tst-stackguard1-ARGS): Use
30046         $(host-built-program-cmd).
30047         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
30048         (tst-spawn-ARGS): Likewise.
30049         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
30050
30051 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
30052             Jim Blandy  <jimb@codesourcery.com>
30053
30054         * Makeconfig (run-via-rtld-prefix): New variable.
30055         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
30056         (built-program-cmd): Likewise.
30057
30058 2012-10-22  Andreas Jaeger  <aj@suse.de>
30059
30060         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
30061         __O_RSYNC if it exists, otherwise to O_SYNC.
30062
30063 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
30064             Joseph Myers  <joseph@codesourcery.com>
30065
30066         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
30067         /dev/null.
30068         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
30069         from /dev/null
30070         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
30071         /dev/null.
30072
30073 2012-10-22  Andreas Jaeger  <aj@suse.de>
30074
30075         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
30076         Define always.
30077         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
30078
30079         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30080         bits/fcntl-linux.h.
30081
30082         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
30083         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
30084
30085         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
30086         to __O_LARGEFILE.
30087         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
30088         to __O_LARGEFILE.
30089
30090 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
30091             Joseph Myers  <joseph@codesourcery.com>
30092
30093         * config.make.in (NM): New variable.
30094
30095 2012-10-21  Andreas Jaeger  <aj@suse.de>
30096
30097         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
30098         definitions and declarations that are provided by
30099         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30100
30101 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
30102
30103         [BZ #14683]
30104         * elf/Makefile (tests-static): Add tst-leaks1-static.
30105         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
30106         ($(objpfx)tst-leaks1-static): New rule.
30107         ($(objpfx)tst-leaks1-static-mem): Likewise.
30108         (tst-leaks1-static-ENV): New macro.
30109         * elf/dl-open.c (dl_open_worker): Check the main application
30110         only if SHARED is defined.
30111         * elf/tst-leaks1-static.c: New file.
30112
30113 2012-10-20  Andreas Jaeger  <aj@suse.de>
30114
30115         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
30116         generic values for Linux.
30117         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
30118         and declarations that are provided by <bits/fcntl-linux.h> and
30119         include <bits/fcntl-linux.h>.
30120         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30121         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30122
30123 2012-10-20  Roland McGrath  <roland@hack.frob.com>
30124
30125         * io/fcntl.h: Move include of <bits/types.h> to the top and
30126         include it unconditionally.
30127
30128 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
30129
30130         * wcsmbs/Makefile (tests-ifunc): New variable.
30131         (tests): Add $(tests-ifunc).
30132         * wcsmbs/test-wcschr-ifunc.c: New file.
30133         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
30134         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
30135         * wcsmbs/test-wcslen-ifunc.c: Likewise.
30136         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
30137         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
30138
30139         * string/Makefile (tests-ifunc): New variable.
30140         (tests): Add $(tests-ifunc).
30141         * string/test-memccpy.c (TEST_NAME): New macro.
30142         * string/test-memchr.c (TEST_NAME): Likewise.
30143         * string/test-memcmp.c (TEST_NAME): Likewise.
30144         * string/test-memcpy.c (TEST_NAME): Likewise.
30145         * string/test-memmem.c (TEST_NAME): Likewise.
30146         * string/test-memmove.c (TEST_NAME): Likewise.
30147         * string/test-memset.c (TEST_NAME): Likewise.
30148         * string/test-rawmemchr.c (TEST_NAME): Likewise.
30149         * string/test-stpcpy.c (TEST_NAME): Likewise.
30150         * string/test-stpncpy.c (TEST_NAME): Likewise.
30151         * string/test-strcasecmp.c (TEST_NAME): Likewise.
30152         * string/test-strcasestr.c (TEST_NAME): Likewise.
30153         * string/test-strcat.c (TEST_NAME): Likewise.
30154         * string/test-strchr.c (TEST_NAME): Likewise.
30155         * string/test-strcmp.c(TEST_NAME): Likewise.
30156         * string/test-strcpy.c (TEST_NAME): Likewise.
30157         * string/test-strcspn.c (TEST_NAME): Likewise.
30158         * string/test-strlen.c (TEST_NAME): Likewise.
30159         * string/test-strncasecmp.c (TEST_NAME): Likewise.
30160         * string/test-strncmp.c (TEST_NAME): Likewise.
30161         * string/test-strncpy.c (TEST_NAME): Likewise.
30162         * string/test-strnlen.c (TEST_NAME): Likewise.
30163         * string/test-strpbrk.c (TEST_NAME): Likewise.
30164         * string/test-strrchr.c (TEST_NAME): Likewise.
30165         * string/test-strspn.c (TEST_NAME): Likewise.
30166         * string/test-strstr.c (TEST_NAME): Likewise.
30167         * string/test-bcopy-ifunc.c: New file.
30168         * string/test-bzero-ifunc.c: Likewise.
30169         * string/test-memccpy-ifunc.c: Likewise.
30170         * string/test-memchr-ifunc.c: Likewise.
30171         * string/test-memcmp-ifunc.c: Likewise.
30172         * string/test-memcpy-ifunc.c: Likewise.
30173         * string/test-memmem-ifunc.c: Likewise.
30174         * string/test-memmove-ifunc.c: Likewise.
30175         * string/test-mempcpy-ifunc.c: Likewise.
30176         * string/test-memset-ifunc.c: Likewise.
30177         * string/test-rawmemchr-ifunc.c: Likewise.
30178         * string/test-stpcpy-ifunc.c: Likewise.
30179         * string/test-stpncpy-ifunc.c: Likewise.
30180         * string/test-strcasecmp-ifunc.c: Likewise.
30181         * string/test-strcasestr-ifunc.c: Likewise.
30182         * string/test-strcat-ifunc.c: Likewise.
30183         * string/test-strchr-ifunc.c: Likewise.
30184         * string/test-strchrnul-ifunc.c: Likewise.
30185         * string/test-strcmp-ifunc.c: Likewise.
30186         * string/test-strcpy-ifunc.c: Likewise.
30187         * string/test-strcspn-ifunc.c: Likewise.
30188         * string/test-strlen-ifunc.c: Likewise.
30189         * string/test-strncasecmp-ifunc.c: Likewise.
30190         * string/test-strncat-ifunc.c: Likewise.
30191         * string/test-strncmp-ifunc.c: Likewise.
30192         * string/test-strncpy-ifunc.c: Likewise.
30193         * string/test-strnlen-ifunc.c: Likewise.
30194         * string/test-strpbrk-ifunc.c: Likewise.
30195         * string/test-strrchr-ifunc.c: Likewise.
30196         * string/test-strspn-ifunc.c: Likewise.
30197         * string/test-strstr-ifunc.c: Likewise.
30198
30199         * debug/Makefile (tests-ifunc): New variable.
30200         (tests): Add $(tests-ifunc).
30201         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
30202         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
30203         * debug/test-stpcpy_chk-ifunc.c: New file.
30204         * debug/test-strcpy_chk-ifunc.c: Likewise.
30205
30206 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
30207
30208         [BZ #13601]
30209         * elf/dl-load.c (open_verify): Retry read if the entire ELF
30210         header is not read in.
30211
30212 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
30213
30214         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
30215         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
30216         directly.  Pass built executable to script as
30217         $(built-program-cmd).
30218         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
30219         $testprogram without using LD_LIBRARY_PATH and $ldso.
30220
30221         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
30222         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
30223         $(rtld-installed-name).
30224         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
30225         (rtld_installed_name): Likewise.
30226         (library_path): Likewise.
30227         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
30228         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
30229         $(run-program-prefix) to tst-tables.sh.
30230         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
30231         it to run tst-table-from and tst-table-to.
30232         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
30233         Pass it to tst-table.sh.
30234         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
30235         $(run-program-prefix) to tst-gettext.sh.
30236         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
30237         tst-translit.sh.
30238         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
30239         tst-gettext2.sh.
30240         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
30241         to run tst-gettext.
30242         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
30243         to run tst-gettext2.
30244         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
30245         to run tst-translit.
30246         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
30247         $(run-program-prefix) to tst-mtrace.sh.
30248         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
30249         to run tst-mtrace.
30250         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
30251         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
30252         $(rtld-installed-name).
30253         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
30254         (rtld_installed_name): Likewise.
30255         (run_program_prefix): New variable.  Use it to run wordexp-test.
30256
30257         * Makeconfig (ARCH): Remove all definitions.
30258         (machine): Likewise.
30259         [ARCH]: Remove conditional code.
30260         [!objdir]: Give error.
30261         [!objdir] (objpfx): Remove.
30262         [!objdir] (common-objpfx): Likewise.
30263         [!objdir] (common-objdir): Likewise.
30264         * configure.in (config_makefile): Remove.  Hardcode Makefile in
30265         AC_CONFIG_FILES call.
30266         * configure: Regenerated.
30267
30268         [BZ #13888]
30269         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
30270         or TMPDIR.
30271         (testout): Likewise.
30272
30273         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
30274         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
30275         $(rtld-installed-name).
30276         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
30277         (rtld_installed_name): Likwise.
30278         (runit): Remove function.
30279         (run_getconf): New variable,  Use it for running getconf binary.
30280
30281 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
30282
30283         [BZ #14716]
30284         * string/test-memmem.c (check_result): New function.
30285         (do_one_test): Use it.
30286         (check1): New function.
30287         (test_main): Use it.
30288
30289 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
30290
30291         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
30292
30293 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
30294
30295         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
30296         (_G_LSEEK64): Likewise.
30297         (_G_MMAP64): Likewise.
30298         (_G_FSTAT64): Likewise.
30299         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
30300         (_G_LSEEK64): Likewise.
30301         (_G_MMAP64): Likewise.
30302         (_G_FSTAT64): Likewise.
30303         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
30304         unconditional.  Call __mmap64 directly.
30305         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
30306         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
30307         __lseek64 directly.
30308         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
30309         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
30310         __mmap64 directly.
30311         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
30312         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
30313         __lseek64 directly.
30314         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
30315         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
30316         __lseek64 directly.
30317         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
30318         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
30319         __lseek64 directly.
30320         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
30321         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
30322         __fxstat64 directly.
30323         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
30324         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
30325         unconditional.
30326         (freopen64) [!_G_OPEN64]: Remove conditional code.
30327         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
30328         unconditional.
30329         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
30330         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
30331         unconditional.
30332         (ftello64) [!_G_LSEEK64]: Remove conditional code.
30333         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
30334         unconditional.
30335         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30336         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
30337         unconditional.
30338         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
30339         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
30340         unconditional.
30341         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30342         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
30343         unconditional.
30344         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30345         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
30346         unconditional.
30347         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30348
30349 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30350
30351         [BZ #12140]
30352         * manual/memory.texi (Malloc Tunable Parameters): Add note
30353         about free list pointers overwriting some perturb bytes.
30354         Wording suggested by Roland McGrath.
30355
30356 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
30357
30358         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
30359         (lgamma_test): Likewise.
30360         (tgamma_test): Likewise.
30361
30362 2012-10-16  Florian Weimer  <fweimer@redhat.com>
30363
30364         [BZ #14700]
30365         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
30366         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
30367
30368 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
30369
30370         * NEWS: Mention BZ #14716.
30371         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
30372         when removing AVAILABLE1_USES_J macro.
30373
30374 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
30375
30376         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
30377         (__bswap_64): __uint64_t for unsigned 64-bit int.
30378
30379 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
30380
30381         * include/string.h (memmem): Declare libc hidden alias.
30382         * string/memmem.c (memmem): Define libc hidden alias.
30383         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
30384         __read, __close instead of open, read, close.
30385
30386 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
30387
30388         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
30389         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
30390         global and hidden.
30391         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
30392         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
30393         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
30394         Likewise.
30395         (__rawmemchr_sse2): Likewise.
30396         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
30397         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
30398         (__strchr_sse2): Likewise.
30399         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
30400         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
30401         (__strcasecmp_sse2): Likewise.
30402         (__strncasecmp_sse2): Likewise.
30403         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
30404         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
30405         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
30406         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
30407         (__strrchr_sse2): Likewise.
30408         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
30409         ifunc-impl-list.c.
30410         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30411         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30412         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30413         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30414         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30415         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30416         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30417         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30418         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
30419         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
30420         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
30421         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
30422         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
30423         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30424         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30425         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30426         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30427         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30428         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
30429         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
30430         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
30431         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
30432         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
30433         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30434         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
30435         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30436         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30437         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30438         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30439         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30440
30441         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
30442         global and hidden.
30443         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
30444         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
30445         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
30446         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
30447         Likewise.
30448         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
30449         Likewise.
30450         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
30451         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
30452         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
30453         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
30454         ifunc-impl-list.c.
30455         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30456         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30457         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30458         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30459         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30460         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30461         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30462         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30463         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30464         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30465         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30466         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30467         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30468         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
30469         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
30470         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30471         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
30472         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
30473         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30474         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30475         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30476         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30477         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30478         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30479         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30480         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
30481         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
30482         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
30483         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
30484         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30485         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
30486         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30487         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30488         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
30489         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30490         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30491         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30492         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30493         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30494         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30495         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
30496
30497         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
30498         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
30499         * include/ifunc-impl-list.h: New file.
30500         * misc/ifunc-impl-list.c: Likewise.
30501         * misc/Makefile (routines): Add ifunc-impl-list.
30502         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
30503         * string/test-string.h: Include <ifunc-impl-list.h>.
30504         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
30505         TEST_NAME]: New variables.
30506         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
30507         are defined.
30508         (test_init): Call __libc_ifunc_impl_list to initialize
30509         func_list if TEST_IFUNC and TEST_NAME are defined.
30510
30511         * string/Makefile (strop-tests): Add bcopy and bzero.
30512         * string/test-bcopy.c: New file.
30513         * string/test-bzero.c: Likewise.
30514         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
30515         defined.
30516         * string/test-memset.c: Support bzero test if TEST_BZERO is
30517         defined.
30518         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
30519         __libc_memmove.
30520         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
30521         __libc_memset.
30522         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
30523         of memset.
30524
30525 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
30526
30527         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
30528         * configure: Regenerated.
30529
30530         * Makeconfig (+link-static-before-libc): Don't include
30531         $(link-static-libc).
30532
30533         * libio/libio.h (_IO_pos_t): Remove.
30534
30535 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30536
30537         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
30538         McGrath.
30539
30540 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30541
30542         * crypt/crypt-entry.c: Include fips-private.h.
30543         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
30544         * crypt/md5c-test.c (main): Tolerate disabled MD5.
30545         * sysdeps/unix/sysv/linux/fips-private.h: New file.
30546         * sysdeps/generic/fips-private.h: New file, dummy fallback.
30547
30548 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30549
30550         * crypt/crypt-private.h: Include stdbool.h.
30551         (_ufc_setup_salt_r): Return bool.
30552         * crypt/crypt-entry.c: Include errno.h.
30553         (__crypt_r): Return NULL with EINVAL for bad salt.
30554         * crypt/crypt_util.c (bad_for_salt): New.
30555         (_ufc_setup_salt_r): Check that salt is long enough and within
30556         the specified alphabet.
30557         * crypt/badsalttest.c: New file.
30558         * crypt/Makefile (tests): Add it.
30559         ($(objpfx)badsalttest): New.
30560
30561 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
30562
30563         * NEWS: Add entry for BZ #14602.
30564
30565 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
30566
30567         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
30568         type-generic.
30569         * math/libm-test.inc: Update comment listing what functions and
30570         macros are tested.
30571         (isgreater_test): New function.
30572         (isgreaterequal_test): Likewise.
30573         (isless_test): Likewise.
30574         (islessequal_test): Likewise.
30575         (islessgreater_test): Likewise.
30576         (isunordered_test): Likewise.
30577         (main): Call the new functions.
30578
30579 2012-10-09  Roland McGrath  <roland@hack.frob.com>
30580
30581         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
30582         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
30583         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
30584         * sysdeps/i386/configure: Regenerated.
30585         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
30586         * sysdeps/mach/configure: Regenerated.
30587         * sysdeps/mach/hurd/configure: Regenerated.
30588         * sysdeps/powerpc/configure: Regenerated.
30589         * sysdeps/powerpc/powerpc32/configure: Regenerated.
30590         * sysdeps/powerpc/powerpc64/configure: Regenerated.
30591         * sysdeps/s390/s390-32/configure: Regenerated.
30592         * sysdeps/s390/s390-64/configure: Regenerated.
30593         * sysdeps/sh/configure: Regenerated.
30594         * sysdeps/sparc/configure: Regenerated.
30595         * sysdeps/unix/sysv/linux/configure: Regenerated.
30596         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30597         * sysdeps/x86_64/configure: Regenerated.
30598
30599         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
30600         defined.  Don't check if MAP is NULL.
30601
30602 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
30603
30604         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
30605         (_G_stat64): Likewise.
30606         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
30607         (_G_stat64): Likewise.
30608         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
30609         instead of struct _G_stat64.
30610         * libio/fileops.c (mmap_remap_check): Likewise.
30611         (decide_maybe_mmap): Likewise.
30612         (_IO_new_file_seekoff): Likewise.
30613         (_IO_file_stat): Likewise.
30614         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
30615         _G_off64_t.
30616         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
30617         instead of struct _G_stat64.
30618         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30619
30620 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
30621
30622         [BZ #14602]
30623         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30624         Replace with ...
30625         (CHECK_EOL): New macro.
30626         (two_way_short_needle): Check beginning of haystack for EOL.  Use
30627         CHECK_EOL.
30628         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30629         Replace with CHECK_EOL.
30630         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30631         Replace with CHECK_EOL.
30632
30633 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
30634
30635         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
30636         type-generic.
30637         * math/libm-test.inc: Update comment listing what functions and
30638         macros are tested.
30639         (finite_test): New function.
30640         (isinf_test): Likewise.
30641         (isnan_test): Likewise.
30642         (fpclassify_test): Test subnormal input.
30643         (isfinite_test): Likewise.
30644         (isnormal_test): Likewise.
30645         (main): Call the new functions.
30646
30647 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
30648
30649         [BZ #14660]
30650         * Makerules (%.dynsym): Force C locale when running
30651         $(OBJDUMP) --dynamic-syms.
30652
30653 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
30654
30655         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
30656         <stdint.h>.
30657
30658 2012-10-06  David S. Miller  <davem@davemloft.net>
30659
30660         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
30661         upper 32-bits of the length value in %o2 since we use branch-on-register
30662         tests which consider the entire 64-bit register.
30663
30664 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
30665
30666         * string/test-strstr.c (check2): Add a test for page boundary.
30667
30668 2012-10-05  David S. Miller  <davem@davemloft.net>
30669
30670         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
30671         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
30672         file.
30673         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30674         sysdep_routines.
30675         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30676         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
30677         and bzero when HWCAP_SPARC_CRYPTO is present.
30678
30679 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
30680
30681         [BZ #14602]
30682         * string/test-strstr.c (check2): New function.
30683         (test_main): Call check2.
30684
30685         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
30686         and bug-strchr1.
30687         * string/bug-strcasestr1.c (do_test): Moved to ...
30688         * string/test-strcasestr.c (check1): Here.  New function.
30689         (do_one_test): Break out result checking code into ...
30690         (check_result): This.  New function.
30691         (do_one_test): Call check_result.
30692         (test_main): Call check1.
30693         * string/bug-strchr1.c (do_test): Moved to ...
30694         * string/test-strchr.c (check1): Here.  New function.
30695         (do_one_test): Break out result checking code into ...
30696         (check_result): This.  New function.
30697         (do_one_test): Call check_result.
30698         (test_main): Call check1.
30699         * string/bug-strstr1.c (main): Moved to ...
30700         * string/test-strstr.c (check1): Here.  New function.
30701         (do_one_test): Break out result checking code into ...
30702         (check_result): This.  New function.
30703         (do_one_test): Call check_result.
30704         (test_main): Call check1.
30705         * string/bug-strcasestr1.c: Removed.
30706         * string/bug-strchr1.c: Likewise.
30707         * string/bug-strstr1.c: Likewise.
30708
30709         * elf/Makefile (dl-routines): Add hwcaps.
30710         * elf/dl-support.c (_dl_important_hwcaps): Removed.
30711         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
30712         (_dl_important_hwcaps): Moved to ...
30713         * elf/dl-hwcaps.c: Here.  New file.
30714         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
30715
30716         [BZ #14557]
30717         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
30718         if IS_IN_rtld isn't defined.
30719
30720         * elf/dl-support.c (_dl_sysinfo_map): New.
30721         Include "get-dynamic-info.h" and "setup-vdso.h".
30722         (_dl_non_dynamic_init): Call setup_vdso.
30723         * elf/dynamic-link.h: Don't include <assert.h>.
30724         (elf_get_dynamic_info): Moved to ...
30725         * elf/get-dynamic-info.h: Here.  New file.
30726         * elf/dynamic-link.h: Include "get-dynamic-info.h".
30727         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
30728         * elf/setup-vdso.h: Here.  New file.
30729         * elf/rtld.c: Include "setup-vdso.h".
30730         (dl_main): Call setup_vdso.
30731
30732 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
30733
30734         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
30735         creal in comment listing functions tested.  List finite, isinf,
30736         isnan, isless, islessequal, isgreater, isgreaterequal,
30737         islessgreater, isunordered, lgamma_r and pow10 as functions and
30738         macros not tested.  Mention which functions not tested are aliases
30739         for other functions.  Fix typo.  Note that signs of NaNs are not
30740         tested.
30741
30742         * scripts/config.guess: Update from config.git.
30743         * scripts/config.sub: Likewise.
30744
30745 2012-10-04  Roland McGrath  <roland@hack.frob.com>
30746
30747         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
30748         * misc/madvise.c (madvise): Renamed to __madvise.
30749         Make madvise a weak alias.
30750         * include/sys/mman.h: Declare __madvise.
30751         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
30752         * sysdeps/unix/syscalls.list
30753         (madvise): Make __madvise the strong name, and madvise a weak alias.
30754         * sysdeps/unix/sysv/linux/syscalls.list
30755         (madvise, mmap): Remove redundant entries.
30756         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
30757         * malloc/malloc.c (mtrim): Likewise.
30758         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
30759
30760 2012-10-03  Roland McGrath  <roland@hack.frob.com>
30761
30762         * sysdeps/mach/hurd/dl-cache.c: File removed.
30763         * config.h.in (USE_LDCONFIG): New #undef.
30764         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
30765         * configure: Regenerated.
30766         * elf/Makefile (dl-routines): Add dl-cache only under
30767         [$(use-ldconfig) = yes].
30768         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
30769         cache on [USE_LDCONFIG].
30770         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
30771         [USE_LDCONFIG].
30772         * elf/rtld.c (dl_main): Likewise.
30773
30774 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
30775
30776         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
30777         _SC_LEVEL4_CACHE_LINESIZE.
30778
30779 2012-10-03  Roland McGrath  <roland@hack.frob.com>
30780
30781         * sysdeps/unix/bsd/confstr.h: File removed.
30782
30783 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
30784
30785         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
30786         sys/sdt-config.h.
30787
30788 2012-10-02  Roland McGrath  <roland@hack.frob.com>
30789
30790         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
30791         Make 'mapoff' field ElfW(Off) rather than off_t.
30792
30793 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
30794
30795         * nscd/Makefile: Remove nscd-cflags and all its users.
30796         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
30797         (CFLAGS-nonlib): Add compiler flags for nscd modules.
30798
30799         [BZ #10631]
30800         * malloc.c (malloc_printerr): Clarify error message.
30801
30802 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
30803
30804         [BZ #14648]
30805         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30806         Set bit_FMA_Usable if FMA is supported.
30807         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
30808         macro.
30809         (bit_FMA4_Usable): Updated.
30810         (index_FMA_Usable): New macro.
30811         (CPUID_FMA): Likewise
30812         (HAS_FMA): Defined with bit_FMA_Usable.
30813
30814 2012-10-01  Roland McGrath  <roland@hack.frob.com>
30815
30816         * bits/types.h (__swblk_t): Type removed.
30817         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
30818         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
30819         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30820         (__SWBLK_T_TYPE): Likewise.
30821         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30822         (__SWBLK_T_TYPE): Likewise.
30823         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30824         (__SWBLK_T_TYPE): Likewise.
30825         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30826         (__SWBLK_T_TYPE): Likewise.
30827
30828 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
30829             Honza Horak <hhorak@redhat.com>
30830
30831         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30832         (xdr_mapname): Use YPMAXMAP as maxsize.
30833         (xdr_peername): Use YPMAXPEER as maxsize.
30834         (xdr_keydat): Use YPAXRECORD as maxsize.
30835         (xdr_valdat): Use YPMAXRECORD as maxsize.
30836
30837 2012-10-01  Roland McGrath  <roland@hack.frob.com>
30838
30839         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30840
30841         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30842         * csu/init-first.c: ... here.
30843         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30844         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30845         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30846         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30847         * sysdeps/i386/init-first.c: File removed.
30848         * sysdeps/sh/init-first.c: File removed.
30849
30850 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
30851
30852         [BZ #14645]
30853         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30854         if x * y might underflow to zero and z is zero.
30855         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30856         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30857         * math/libm-test.inc (min_subnorm_value): New variable.
30858         (fma_test): Add more tests.
30859         (fma_test_towardzero): Likewise.
30860         (fma_test_downward): Likewise
30861         (fma_test_upward): Likewise.
30862         (initialize): Set min_subnorm_value.
30863
30864 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
30865
30866         [BZ #14638]
30867         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30868         0 + 0.
30869         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30870         mode for addition resulting in exact zero.
30871         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30872         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30873         exact 0 + 0.
30874         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30875         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30876         * math/libm-test.inc (fma_test): Add more tests.
30877         (fma_test_towardzero): New function.
30878         (fma_test_downward): Likewise.
30879         (fma_test_upward): Likewise.
30880         (main): Call the new functions.
30881
30882 2012-09-28  David S. Miller  <davem@davemloft.net>
30883
30884         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30885
30886 2012-09-28  Roland McGrath  <roland@hack.frob.com>
30887
30888         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30889         instead of SIGALRM.
30890
30891         * sysdeps/gnu/_G_config.h: Moved to ...
30892         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30893         * sysdeps/mach/hurd/_G_config.h: Moved to ...
30894         * sysdeps/generic/_G_config.h: ... here.
30895
30896         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
30897
30898         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30899
30900         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30901         Conditionalize target on [libnss_test1.so-version].
30902
30903         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30904
30905         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30906         (elfobjdir): Move out of conditionals.
30907
30908         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
30909         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
30910         (__nss_lookup_function): Conditionalize label remove_from_tree on
30911         [!DO_STATIC_NSS || SHARED], matching its only use.
30912
30913 2012-09-28  David S. Miller  <davem@davemloft.net>
30914
30915         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30916         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30917         file.
30918         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30919         sysdep_routines.
30920         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30921         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30922         when HWCAP_SPARC_CRYPTO is present.
30923
30924 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30925
30926         * io/tst-mknodat.c: Create a FIFO instead of a socket.
30927
30928 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
30929
30930         [BZ #6530]
30931         * stdio-common/vfprintf.c (process_string_arg): Revert
30932         2000-07-22 change.
30933
30934 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
30935
30936         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30937         for testcase.
30938         * stdio-common/tst-sprintf.c: Include <locale.h>
30939         (main): Test sprintf's handling of incomplete multibyte
30940         characters.
30941
30942 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
30943
30944         * elf/dl-runtime.c (VERSYMIDX): Removed.
30945         * elf/dl-version.c (VERSYMIDX): Likewise.
30946         * elf/do-rel.h (VERSYMIDX): Likewise.
30947         (VALIDX): Likewise.
30948         * elf/dynamic-link.h (VERSYMIDX): Likewise.
30949         * elf/rtld.c (VALIDX): Likewise.
30950         (ADDRIDX): Likewise.
30951         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30952         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30953         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
30954         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30955         (VALIDX): Likewise.
30956         (ADDRIDX): Likewise.
30957
30958 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30959
30960         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30961
30962 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
30963
30964         [BZ #11438]
30965         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30966         to global scope.
30967         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30968         addresses are in the same scope as 192.0.2/24.
30969         * posix/gai.conf: Document new scope table defaults.
30970
30971 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30972
30973         [BZ #5298]
30974         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30975         for ftell.  Compute offsets from write pointers instead.
30976         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30977
30978 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30979
30980         [BZ #14543]
30981         * libio/Makefile (tests): New test case tst-fseek.
30982         * libio/tst-fseek.c: New test case to verify that fseek/ftell
30983         combination works in wide mode.
30984         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30985         state when the external buffer state changes.
30986
30987 2012-09-27  David S. Miller  <davem@davemloft.net>
30988
30989         [BZ #14376]
30990         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30991         pass reloc->r_addend in as the 'high' argument to
30992         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30993
30994         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30995
30996 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30997
30998         * rt/tst-aio2.c: Include <pthread.h>.
30999         * rt/tst-aio3.c: Likewise.
31000
31001 2012-09-27  Steve Ellcey  <sellcey@mips.com>
31002
31003         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
31004
31005 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
31006
31007         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
31008         contents on [SHARED].
31009
31010 2012-09-26  Marek Polacek  <polacek@redhat.com>
31011
31012         [BZ #14530]
31013         [BZ #13741]
31014         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
31015         for C++ and GCC <4.3 as well as for non GCC compilers.
31016
31017 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
31018
31019         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31020
31021 2012-09-25  Roland McGrath  <roland@hack.frob.com>
31022
31023         * Makefile.in (all, install): Declare with .PHONY.
31024         Reported by Michael Hope <michael.hope@linaro.org>.
31025
31026 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31027
31028         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
31029         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
31030         system header.
31031         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
31032         Likewise.
31033         (sydep_routines): Add the new and the internal functions.
31034         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
31035         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
31036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
31037         (GLIBC_2.17): Add the new function.
31038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31039         (GLIBC_2.17): Likewise.
31040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
31041         (GLIBC_2.17): Likewise.
31042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
31043         (GLIBC_2.17): Likewise.
31044         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
31045
31046 2012-09-25  Alan Modra  <amodra@gmail.com>
31047
31048         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
31049         Add release barrier before setting once_control to say
31050         initialisation is done.  Add hints on lwarx.  Use macro in
31051         place of isync.
31052         (clear_once_control): Add release barrier.
31053
31054 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
31055
31056         [BZ #13629]
31057         * math/s_clog.c (__clog): Handle more values close to |z| = 1
31058         specially.
31059         * math/s_clog10.c (__clog10): Likewise.
31060         * math/s_clog10f.c (__clog10f): Likewise.
31061         * math/s_clog10l.c (__clog10l): Likewise.
31062         * math/s_clogf.c (__clogf): Likewise.
31063         * math/s_clogl.c (__clogl): Likewise.
31064         * math/Makefile (libm-calls): Add x2y2m1.
31065         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
31066         (__x2y2m1): Likewise.
31067         (__x2y2m1l): Likewise.
31068         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
31069         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
31070         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
31071         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
31072         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
31073         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
31074         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
31075         * sysdeps/i386/fpu/libm-test-ulps: Update.
31076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31077
31078         [BZ #14621]
31079         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
31080         int as type of variable DEPTH.
31081         (glob): Use size_t instead of int as type of variables NEWCOUNT
31082         and OLD_PATHC.
31083
31084 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31085
31086         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31087         Add s_sincosf-sse2.
31088         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
31089         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
31090         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
31091         macros for using routine as __sincosf_ia32.
31092         Use macro for function declaration and weak_alias.
31093         * sysdeps/i386/fpu/libm-test-ulps: Update.
31094
31095         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
31096         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31097
31098         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
31099         subnormal argument.
31100         * math/s_cexpf.c (__cexpf): Likewise.
31101         * math/s_csinf.c (__csinf): Likewise.
31102         * math/s_csinhf.c (__csinhf): Likewise.
31103         * math/s_ctanf.c (__ctanf): Likewise.
31104         * math/s_ctanhf.c (__ctanhf): Likewise.
31105         * math/s_ccosh.c (__ccoshf): Likewise.
31106         * math/s_cexp.c (__cexpl): Likewise.
31107         * math/s_csin.c (__csin): Likewise.
31108         * math/s_csinh.c (__csinh): Likewise.
31109         * math/s_ctan.c (__ctan): Likewise.
31110         * math/s_ctanh.c (ctanh): Likewise.
31111         * math/s_ccoshl.c (__ccoshl): Likewise.
31112         * math/s_cexpl.c (__cexpl): Likewise.
31113         * math/s_csinl.c (__csinl): Likewise.
31114         * math/s_csinhl.c (__csinhl): Likewise.
31115         * math/s_ctanl.c (__ctanl): Likewise.
31116         * math/s_ctanhl.c (__ctanhl): Likewise.
31117
31118 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
31119
31120         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
31121         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
31122         (_IO_off_t): Define to __off_t, not _G_off_t.
31123         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
31124         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
31125         (_IO_wint_t): Define to wint_t, not _G_wint_t.
31126         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
31127         type of __dummy and __dummy2 fields.
31128         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
31129         (_G_ssize_t): Likewise.
31130         (_G_off_t): Likewise.
31131         (_G_pid_t): Likewise.
31132         (_G_uid_t): Likewise.
31133         (_G_wchar_t): Likewise.
31134         (_G_wint_t): Likewise.
31135         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
31136         (_G_ssize_t): Likewise.
31137         (_G_off_t): Likewise.
31138         (_G_pid_t): Likewise.
31139         (_G_uid_t): Likewise.
31140         (_G_wchar_t): Likewise.
31141         (_G_wint_t): Likewise.
31142         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
31143         (_G_ssize_t): Likewise.
31144         (_G_off_t): Likewise.
31145         (_G_pid_t): Likewise.
31146         (_G_uid_t): Likewise.
31147         (_G_wchar_t): Likewise.
31148         (_G_wint_t): Likewise.
31149
31150 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31151
31152         * malloc/arena.c: Include malloc-sysdep.h.
31153         (shrink_heap): Use check_may_shrink_heap to decide if madvise
31154         is sufficient to shrink the heap or an unmap is needed.
31155         * sysdeps/generic/malloc-sysdep.h: New file.  Define
31156         new function check_may_shrink_heap.
31157         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
31158         new function check_may_shrink_heap.
31159
31160 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31161
31162         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
31163         comments.
31164
31165 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
31166
31167         * catgets/test-gencat.sh: Add "set -e".
31168         * elf/tst-pathopt.sh: Likewise.
31169         * grp/tst_fgetgrent.sh: Likewise.
31170         * iconvdata/run-iconv-test.sh: Likewise.
31171         * intl/tst-gettext.sh: Likewise.
31172         * intl/tst-gettext2.sh: Likewise.
31173         * intl/tst-gettext4.sh: Likewise.
31174         * intl/tst-gettext6.sh: Likewise.
31175         * intl/tst-translit.sh: Likewise.
31176         * io/ftwtest-sh: Likewise.
31177         * libio/test-freopen.sh: Likewise.
31178         * malloc/tst-mtrace.sh: Likewise.
31179         * posix/globtest.sh: Likewise.
31180         * posix/tst-getconf.sh: Likewise.
31181         * posix/wordexp-tst.sh: Likewise.
31182         * stdio-common/tst-printf.sh: Likewise.
31183         * stdio-common/tst-unbputc.sh: Likewise.
31184         * stdlib/tst-fmtmsg.sh: Likewise.
31185         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31186         * catgets/Makefile: Do not specify -e option when running
31187         testsuite shell scripts.
31188         * elf/Makefile: Likewise.
31189         * grp/Makefile: Likewise.
31190         * iconvdata/Makefile: Likewise.
31191         * intl/Makefile: Likewise.
31192         * io/Makefile: Likewise.
31193         * libio/Makefile: Likewise.
31194         * malloc/Makefile: Likewise.
31195         * posix/Makefile: Likewise.
31196         * stdio-common/Makefile: Likewise.
31197         * stdlib/Makefile: Likewise.
31198         * sysdeps/x86_64/Makefile: Likewise.
31199
31200         * io/ftwtest-sh: Add copyright header.
31201         * posix/globtest.sh: Likewise.
31202         * posix/tst-getconf.sh: Likewise.
31203         * posix/wordexp-tst.sh: Likewise.
31204         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31205
31206 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
31207
31208         [BZ #13679]
31209         * Makeconfig (+link): Defined as $(+link-static) if
31210         $(build-shared) isn't yes.
31211         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
31212         isn't yes.
31213         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
31214
31215         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
31216
31217         [BZ #14562]
31218         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
31219         new chunk size with MALLOC_ALIGN_MASK.
31220
31221 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
31222
31223         [BZ #5044]
31224         * stdio-common/printf_fphex.c: Include <stdbool.h> and
31225         <rounding-mode.h>.
31226         (__printf_fphex): Determine rounding using get_rounding_mode and
31227         round_away.
31228         * stdio-common/tst-printf-round.c (struct hex_test): New
31229         structure.
31230         (hex_tests): New variable.
31231         (test_hex_in_one_mode): New function.
31232         (do_test): Also run tests for hex float output.
31233
31234 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
31235
31236         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31237         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31238         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
31239         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31240         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31241         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
31242         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31243         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31244
31245 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
31246
31247         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
31248         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
31249         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
31250         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
31251
31252 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
31253
31254         [BZ #14579]
31255         * elf/rtld.c (dl_main): Limit the check for self loading to normal
31256         mode only.
31257         * elf/tst-rtld-load-self.sh: New test.
31258         * elf/Makefile: Run it.
31259
31260 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
31261
31262         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
31263         (tst-writev-ENV): Remove.
31264         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
31265
31266 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
31267
31268         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
31269
31270 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
31271
31272         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
31273         unconditional.
31274         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
31275         Likewise.
31276         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
31277         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
31278         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
31279         Likewise.
31280
31281 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
31282
31283         [BZ #14587]
31284         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
31285         * config.make.in (have-cpp-asm-debuginfo): Removed.
31286         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
31287         * configure: Regenerated.
31288
31289 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
31290
31291         [BZ #5044]
31292         * stdio-common/printf_fp.c: Include <stdbool.h> and
31293         <rounding-mode.h>.
31294         (___printf_fp): Determine rounding using get_rounding_mode and
31295         round_away.
31296         * stdio-common/tst-printf-round.c: New file.
31297         * stdio-common/Makefile (tests): Add tst-printf-round.
31298         (link-libm): New variable.
31299         ($(objpfx)tst-printf-round): Depend in $(link-libm).
31300
31301 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
31302
31303         [BZ #14576]
31304         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
31305         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
31306         Likewise.
31307         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
31308         Likewise.
31309
31310 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
31311
31312         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
31313         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31314         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31315         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31316
31317 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
31318
31319         [BZ #14518]
31320         * include/rounding-mode.h: New file.
31321         * sysdeps/generic/get-rounding-mode.h: Likewise.
31322         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
31323         * stdlib/strtod_l.c: Include <rounding-mode.h>.
31324         (MAX_VALUE): New macro.
31325         (MIN_VALUE): Likewise.
31326         (overflow_value): New function.
31327         (underflow_value): Likewise.
31328         (round_and_return): Use overflow_value and underflow_value to
31329         determine return values in overflow and underflow cases.  Use
31330         round_away to determine rounding depending on rounding mode.
31331         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
31332         determine return values in overflow and underflow cases.
31333         * stdlib/tst-strtod-round.c: Include <fenv.h>.
31334         (struct test_results): New structure.
31335         (struct test): Use struct test_results to store expected results
31336         for all rounding modes.
31337         (TEST): Include expected results for all rounding modes.
31338         (test_in_one_mode): New function.
31339         (do_test): Use test_in_one_mode to compute and check results.
31340         Check results for all rounding modes.
31341         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
31342         $(link-libm).
31343
31344 2012-12-09  Allan McRae  <allan@archlinux.org>
31345
31346         * sysdeps/i386/fpu/libm-test-ulps: Update
31347
31348 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
31349
31350         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
31351         (_G_int32_t): Likewise.
31352         (_G_uint16_t): Likewise.
31353         (_G_uint32_t): Likewise.
31354         (_G_HAVE_BOOL): Likewise.
31355         (_G_HAVE_ATEXIT): Likewise.
31356         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31357         (_G_HAVE_IO_FILE_OPEN): Likewise.
31358         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
31359         (_G_int32_t): Likewise.
31360         (_G_uint16_t): Likewise.
31361         (_G_uint32_t): Likewise.
31362         (_G_HAVE_BOOL): Likewise.
31363         (_G_HAVE_ATEXIT): Likewise.
31364         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31365         (_G_HAVE_IO_FILE_OPEN): Likewise.
31366         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
31367         (_G_int32_t): Likewise.
31368         (_G_uint16_t): Likewise.
31369         (_G_uint32_t): Likewise.
31370         (_G_HAVE_BOOL): Likewise.
31371         (_G_HAVE_ATEXIT): Likewise.
31372         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31373         (_G_HAVE_IO_FILE_OPEN): Likewise.
31374
31375 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
31376
31377         * csu/libc-tls.c: Update copyright years.
31378
31379 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
31380
31381         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
31382         [!_G_USING_THUNKS]: Remove conditional code.
31383         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
31384         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
31385
31386         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
31387         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
31388         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31389         (_G_VTABLE_LABEL_PREFIX): Likewise.
31390         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31391         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31392         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31393         (_G_VTABLE_LABEL_PREFIX): Likewise.
31394         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31395         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31396         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31397         (_G_VTABLE_LABEL_PREFIX): Likewise.
31398         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31399
31400 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
31401
31402         * libio/Makefile: Include ../Makeconfig before tests.
31403         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
31404         only if $(build-shared) is yes.
31405
31406         * iconv/gconv_db.c: Update copyright years.
31407
31408 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31409
31410         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
31411         unwind info if defined PIC. Fix special cases description.
31412         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
31413
31414         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
31415         DP_HI_MASK entry.
31416         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
31417
31418 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
31419
31420         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
31421
31422         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
31423         is NULL.
31424
31425         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
31426         (LDLIBS-tst-chk4): This.
31427         (LDFLAGS-tst-chk5): Renamed to ...
31428         (LDLIBS-tst-chk5): This.
31429         (LDFLAGS-tst-chk6): Renamed to ...
31430         (LDLIBS-tst-chk6): This.
31431         (LDFLAGS-tst-lfschk4): Renamed to ...
31432         (LDLIBS-tst-lfschk4): This.
31433         (LDFLAGS-tst-lfschk5): Renamed to ...
31434         (LDLIBS-tst-lfschk5): This.
31435         (LDFLAGS-tst-lfschk6): Renamed to ...
31436         (LDLIBS-tst-lfschk6): This.
31437
31438         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
31439         on $(common-objpfx)soversions.mk.
31440
31441 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
31442
31443         [BZ #10014]
31444         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
31445         example host name.
31446
31447 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
31448
31449         * malloc/arena.c (arena_get_retry): New function that gets
31450         another arena for the caller to try its request on.
31451         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
31452         current arena cannot fulfill the request.
31453         (__libc_memalign): Likewise.
31454         (__libc_memalign): Likewise.
31455         (__libc_pvalloc): Likewise.
31456         (__libc_calloc): Likewise.
31457
31458 2012-09-05  John Tobey  <john.tobey@gmail.com>
31459
31460         [BZ #13542]
31461         * manual/arith.texi (Operations on Complex): Fix description
31462         of carg branch cut.
31463
31464 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
31465
31466         [BZ #10014]
31467         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
31468         host name.
31469
31470         [BZ #10038]
31471         * manual/memory.texi (Memory): Make order of menu items match
31472         order of sections.
31473
31474 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31475
31476         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
31477         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
31478         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
31479
31480 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31481
31482         * csu/libc-tls.c (static_dtv): Renamed to ...
31483         (_dl_static_dtv): This.  Make it global.
31484         (_dl_initial_dtv): Removed.
31485         (__libc_setup_tls): Updated.
31486         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
31487         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
31488         DL_INITIAL_DTV.
31489
31490 2012-09-06  Petr Machata  <pmachata@redhat.com>
31491
31492         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
31493         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
31494         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
31495         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
31496
31497 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31498
31499         [BZ #14545]
31500         * csu/libc-tls.c (_dl_initial_dtv): New variable.
31501         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
31502         freeing dtv[-1].
31503
31504 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31505
31506         [BZ #14544]
31507         * Makeconfig (link-static-before-libc): Replace $(+prector)
31508         with $(+prectorT).
31509         (link-static-after-libc): Replace $(+postctor) with
31510         $(+postctorT).
31511         (link-bounded): Replace $(+prector)/$(+postctor) with
31512         $(+prectorT)/$(+postctorT).
31513         (+prectorT): New macro.
31514         (+postctorT): Likewise.
31515
31516 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
31517
31518         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
31519         (round_str): Handle values above the maximum for IBM long double
31520         as inexact.
31521         * stdlib/tst-strtod-round.c (tests): Regenerated.
31522
31523 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31524
31525         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
31526         assembler flag.
31527         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
31528         zarch_nohighgprs around the zarch optimized routines.
31529         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
31530         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
31531         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
31532         for zarch.
31533
31534 2012-09-05  David S. Miller  <davem@davemloft.net>
31535
31536         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31537
31538         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
31539         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
31540         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
31541         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31542         entries.
31543
31544 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31545
31546         * malloc/arena.c: Fold copyright years.
31547         * malloc/mcheck.c, malloc/memusage.c: Likewise.
31548
31549 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31550
31551         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
31552
31553 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31554
31555         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
31556
31557 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31558
31559         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
31560         change internal state upon failure.
31561
31562 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31563
31564         * malloc/mcheck.c (mcheck_check_all): Fix typo.
31565         * malloc/memusage.c (mmap): Likewise.
31566         (mmap64, mremap): Likewise.  Adjust name in comment.
31567
31568 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31569
31570         * libio/fileops.c: Fix typos in comments.
31571         * libio/oldfileops.c: Likewise.
31572         * libio/wfileops.c: Likewise.
31573
31574 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31575
31576         [BZ #1349]
31577         * malloc/Makefile (tests): Add tst-malloc-usable test case.
31578         (tst-malloc-usable-ENV): Set environment for test case.
31579         * malloc/hooks.c (malloc_check_get_size): New function to get
31580         requested size.
31581         * malloc/malloc.c (musable): Use malloc_check_get_size.
31582         * malloc/tst-malloc-usable.c: New test case.
31583
31584 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31585
31586         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
31587
31588 2012-09-05  Allan McRae  <allan@archlinux.org>
31589
31590         [BZ #13966]
31591         * configure.in (CXX_SYSINCLUDES): Use compiler output to
31592         determine header location.
31593         * configure: Regenerated.
31594
31595 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31596
31597         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
31598         float format.
31599         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
31600         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
31601         format.
31602         (test): Regenerate.
31603
31604 2012-09-04  David S. Miller  <davem@davemloft.net>
31605
31606         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
31607         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
31608         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
31609
31610 2012-09-04  Florian Weimer  <fweimer@redhat.com>
31611
31612         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
31613         failures.
31614
31615         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
31616
31617 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
31618
31619         [BZ #9914]
31620         * libio/iogetdelim.c: Include <limits.h>.
31621         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
31622         + len + 1 would overflow.
31623
31624 2012-09-03  Andreas Jaeger  <aj@suse.de>
31625
31626         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31627         * sysdeps/i386/fpu/libm-test-ulps: Update.
31628
31629 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31630
31631         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31632         Add s_sinf-sse2, s_conf-sse2.
31633
31634         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
31635         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
31636         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
31637         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
31638
31639         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
31640         for using routine as __sinf_ia32.
31641         Use macro for function declaration and weak_alias.
31642         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
31643         for using routine as __cosf_ia32.
31644         Use macro for function declaration and weak_alias.
31645
31646         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
31647         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
31648
31649         * sysdeps/x86_64/fpu/s_sinf.S: New file.
31650         * sysdeps/x86_64/fpu/s_cosf.S: New file.
31651         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31652
31653         * math/libm-test.inc (cos_test): Add more test cases.
31654         (sin_test): Likewise.
31655         (sincos_test): Likewise.
31656
31657 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31658
31659         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
31660         (IFUNC_RESOLVE): Make pointers to the specialized implementations
31661         hidden.
31662         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31663
31664 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
31665
31666         [BZ #14538]
31667         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
31668         first element of the GOT.
31669         (elf_machine_load_address): Return the difference between
31670         the runtime address of _DYNAMIC and elf_machine_dynamic ().
31671
31672 2012-09-01  Allan McRae  <allan@archlinux.org>
31673
31674         [BZ #13412]
31675         * configure.in (AWK): Require gawk version 3.0 or later.
31676         * configure: Regenerated.
31677
31678 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
31679
31680         * sysdeps/unix/sysv/linux/kernel-features.h
31681         (__ASSUME_POSIX_CPU_TIMERS): Remove.
31682         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31683         [__NR_clock_getres]: Make code unconditional.
31684         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
31685         (clock_getcpuclockid): Remove code left unreachable by removal of
31686         conditionals.
31687         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
31688         code unconditional.
31689         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31690         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31691         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
31692         Make code unconditional.
31693         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31694         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31695         * sysdeps/unix/sysv/linux/clock_settime.c
31696         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
31697         conditional code.
31698         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
31699         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31700
31701 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
31702
31703         [BZ #14476]
31704         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
31705         scripts/test-installation.pl.
31706
31707         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
31708         and $ld_so_version if it is set.
31709
31710 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31711
31712         [BZ #14516]
31713         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
31714         failure if reading from procfs failed.
31715         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
31716
31717 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
31718
31719         * sysdeps/unix/sysv/linux/kernel-features.h
31720         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
31721         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31722         Remove conditional code.
31723         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31724         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
31725         Remove conditional code.
31726         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31727         * sysdeps/unix/sysv/linux/i386/fxstat.c
31728         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31729         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31730         * sysdeps/unix/sysv/linux/i386/fxstatat.c
31731         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31732         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31733         * sysdeps/unix/sysv/linux/i386/lxstat.c
31734         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31735         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31736         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
31737         Remove conditional code.
31738         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31739         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31740         Remove conditional code.
31741         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31742         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
31743         <kernel-features.h>.
31744         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
31745         Remove.
31746         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
31747         Remove conditional code.
31748         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31749         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
31750         Remove conditional.
31751
31752 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
31753
31754         [BZ #5400]
31755         * NEWS: Add fixed bug number.
31756
31757 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
31758
31759         [BZ #14519]
31760         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
31761         underflowing exponent in case of negative sign.
31762         * stdlib/tst-strtod-round-data: Add more tests.
31763         * stdlib/tst-strtod-round.c (tests): Regenerated.
31764
31765         [BZ #3479]
31766         * stdlib/strtod_l.c (NDIG): Remove.
31767         (HEXNDIG): Likewise.
31768         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
31769         smallest representable value.
31770         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
31771         lie within an exact representation of 1/2 ulp of the result.
31772         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
31773         unconditionally.
31774         (TENS_P9_IDX): Define unconditionally.
31775         (TENS_P9_SIZE): Likewise.
31776         (TENS_P10_IDX): Likewise.
31777         (TENS_P10_SIZE): Likewise.
31778         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
31779         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
31780         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
31781         entries for 10^2^13 and 10^2^14.
31782         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
31783         (TENS_P13_IDX): Define.
31784         (TENS_P13_SIZE): Likewise.
31785         (TENS_P14_IDX): Likewise.
31786         (TENS_P14_SIZE): Likewise.
31787         (_fpioconst_pow10): Change array size to
31788         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
31789         unconditional.
31790         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
31791         1024]: Add entries for 10^2^13 and 10^2^14.
31792         [LAST_POW10 > _LAST_POW10]: Remove #error.
31793         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
31794         (_fpioconst_pow10): Change array size to
31795         FPIOCONST_POW10_ARRAY_SIZE.
31796         * stdlib/gen-fpioconst.c: New file.
31797         * stdlib/gen-tst-strtod-round.c: Likewise.
31798         * stdlib/tst-strtod-round-data: Likewise.
31799         * stdlib/tst-strtod-round.c: Likewise.
31800         * stdlib/Makefile (tests): Add tst-strtod-round.
31801
31802         [BZ #14459]
31803         * stdlib/strtod_l.c: Include <stdint.h>.
31804         (NDEBUG): Do not define.
31805         (round_and_return): Change EXPONENT parameter to type intmax_t.
31806         Rearrange calculations to avoid internal overflow possibilities.
31807         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
31808         Rearrange calculations to avoid internal overflow possibilities.
31809         Assert that number fits inside MPNSIZE limbs.
31810         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
31811         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
31812         calculations and add assertions to avoid internal overflow
31813         possibilities.  Add casts to avoid signed/unsigned operations.
31814         * stdlib/tst-strtod-overflow.c: New file.
31815         * stdlib/Makefile (tests): Add tst-strtod-overflow.
31816
31817 2012-08-25  Marek Polacek  <polacek@redhat.com>
31818
31819         * time/time.h: Fix some typos in comments.
31820
31821 2012-08-23  Roland McGrath  <roland@hack.frob.com>
31822
31823         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
31824         * posix/tst-rfc3484-2.c: Likewise.
31825         * posix/tst-rfc3484-3.c: Likewise.
31826
31827 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
31828
31829         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31830         (EF_ARM_ABI_FLOAT_HARD): Likewise.
31831
31832 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
31833
31834         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31835         #include of fxstatat64.c.
31836
31837 2012-08-22  Roland McGrath  <roland@hack.frob.com>
31838
31839         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31840         * shadow/getspent_r.c: Likewise.
31841         * shadow/getspnam.c: Likewise.
31842         * shadow/getspnam_r.c: Likewise.
31843         * gshadow/getsgent.c: Likewise.
31844         * gshadow/getsgent_r.c: Likewise.
31845         * gshadow/getsgnam.c: Likewise.
31846         * gshadow/getsgnam_r.c: Likewise.
31847         * inet/getnetbyad.c: Likewise.
31848         * inet/getnetbyad_r.c: Likewise.
31849         * inet/getnetbynm.c: Likewise.
31850         * inet/getnetbynm_r.c: Likewise.
31851         * inet/getnetent.c: Likewise.
31852         * inet/getnetent_r.c: Likewise.
31853         * inet/getproto.c: Likewise.
31854         * inet/getproto_r.c: Likewise.
31855         * inet/getprtent.c: Likewise.
31856         * inet/getprtent_r.c: Likewise.
31857         * inet/getprtname.c: Likewise.
31858         * inet/getprtname_r.c: Likewise.
31859         * inet/getrpcbyname.c: Likewise.
31860         * inet/getrpcbyname_r.c: Likewise.
31861         * inet/getrpcbynumber.c: Likewise.
31862         * inet/getrpcbynumber_r.c: Likewise.
31863         * inet/getrpcent.c: Likewise.
31864         * inet/getrpcent_r.c: Likewise.
31865         * inet/getaliasent.c: Likewise.
31866         * inet/getaliasent_r.c: Likewise.
31867         * inet/getaliasname.c: Likewise.
31868         * inet/getaliasname_r.c: Likewise.
31869         * nscd/getgrgid_r.c: Likewise.
31870         * nscd/getgrnam_r.c: Likewise.
31871         * nscd/gethstbyad_r.c: Likewise.
31872         * nscd/gethstbynm3_r.c: Likewise.
31873         * nscd/getpwnam_r.c: Likewise.
31874         * nscd/getpwuid_r.c: Likewise.
31875         * nscd/getsrvbynm_r.c: Likewise.
31876         * nscd/getsrvbypt_r.c: Likewise.
31877         * nscd/gai.c: Likewise.
31878
31879         * configure.in (build_nscd): New substituted variable, set
31880         by --disable-build-nscd and defaults to $use_nscd.
31881         * configure: Regenerated.
31882         * config.make.in (build-nscd): New substituted variable.
31883         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31884         Change conditional to require [$(build-nscd) = yes] as well.
31885         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31886
31887         [BZ# 13696]
31888         * configure.in (use_nscd): New substituted variable, set by
31889         --disable-nscd.  If enabled, define USE_NSCD.
31890         * configure: Regenerated.
31891         * config.h.in: Add USE_NSCD.
31892         * config.make.in (use-nscd): New substituted variable.
31893         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31894         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31895         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31896         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31897         (CFLAGS-getgrnam_r.c): Likewise.
31898         (CFLAGS-initgroups.c): Likewise.
31899         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31900         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31901         Variables removed.
31902         * inet/getnetgrent_r.c
31903         (nscd_setnetgrent): New function, broken out of ...
31904         (setnetgrent): ... here.  Call it.
31905         (innetgr): Conditionalize nscd bits on [USE_NSCD].
31906         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31907         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
31908         * nscd/Makefile (routines, aux): Move definitions after include of
31909         Makeconfig.  Conditionalize on [$(use-nscd) != no].
31910         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31911         Conditionalize on [USE_NSCD].
31912         (is_nscd, nscd_init_cb): Likewise.
31913         (nss_load_library): Conditionalize init callback on [USE_NSCD].
31914         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31915         * nss/nss_db/db-init.c: Likewise.
31916         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31917         [USE_NSCD].
31918         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31919         (make_request): Use it.
31920         (cache_valid_p): New function.
31921         (__check_pf): Use it.
31922         * NEWS: Add item for --disable-nscd.
31923
31924 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
31925
31926         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31927         to support sed >= 4.2.1-20-ga9bf076.
31928         * configure: Regenerated.
31929
31930 2012-08-22  Roland McGrath  <roland@hack.frob.com>
31931
31932         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31933         Conditionalize whole body on [IREL].
31934
31935 2012-08-22  Jeff Law <law@redhat.com>
31936
31937         [BZ #14505]
31938         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31939         if the family is PF_UNSPEC.
31940
31941 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
31942
31943         * Makerules (lib-version): Rename from V.
31944         (install-lib-nosubdir): Change V to lib-version.
31945
31946 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
31947
31948         [BZ #14252]
31949         * powerpc32/power6/wcschr.c: New file.
31950         * powerpc32/power6/wcscpy.c: New file.
31951         * powerpc32/power6/wcsrchr.c: New file.
31952         * powerpc64/power6/wcschr.c: New file.
31953         * powerpc64/power6/wcscpy.c: New file.
31954         * powerpc64/power6/wcsrchr.c: New file.
31955
31956 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
31957
31958         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31959         (two_way_short_needle): Use it.
31960         * string/strstr.c (AVAILABLE1_USES_J): Define.
31961         * string/strcasestr.c: Likewise.
31962
31963         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31964         array references.
31965         * string/strcasestr.c (TOLOWER): Make side-effect safe.
31966
31967         [BZ #11607]
31968         * NEWS: Add an entry.
31969         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31970         define their defaults.
31971         (two_way_short_needle): Detect end-of-string on-the-fly.
31972         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31973         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31974         * string/bug-strcasestr1.c: New test.
31975         * string/Makefile: Run it.
31976
31977 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
31978
31979         [BZ #11607]
31980         * string/str-two-way.h (two_way_short_needle): Optimize matching of
31981         the first character.
31982
31983 2012-08-21  Roland McGrath  <roland@hack.frob.com>
31984
31985         * csu/elf-init.c (__libc_csu_irel): Function removed.
31986         * csu/libc-start.c (apply_irel): New function.
31987         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31988
31989 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
31990
31991         * sysdeps/unix/sysv/linux/kernel-features.h
31992         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31993         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31994         <kernel-features.h>.
31995         [__NR_fadvise64_64]: Make code unconditional.
31996         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31997         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31998         !__NR_fadvise64_64)]: Likewise.
31999         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
32000         !__NR_fadvise64_64))]: Likewise.
32001         [__NR_fadvise64]: Make code unconditional.
32002         [!__NR_fadvise64]: Remove conditional code.
32003         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
32004         <kernel-features.h>.
32005         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32006         unconditional.
32007         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32008         conditional code.
32009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
32010         not include <kernel-features.h>.
32011         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32012         unconditional.
32013         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32014         conditional code.
32015         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
32016         include <kernel-features.h>.
32017         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32018         unconditional.
32019         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32020         conditional code.
32021
32022 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
32023
32024         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
32025         slight instruction rearrangements per scrollpipe analysis.
32026         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32027
32028 2012-08-20  Roland McGrath  <roland@hack.frob.com>
32029
32030         * manual/syslog.texi (syslog; vsyslog, closelog):
32031         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
32032         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
32033
32034         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
32035         DSOCAPS to match condition on defining it.
32036
32037 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
32038
32039         * sysdeps/unix/sysv/linux/kernel-features.h
32040         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
32041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
32042         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32043         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
32045         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32046         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
32048         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32049         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32050
32051         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
32052         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
32053
32054         * sysdeps/unix/sysv/linux/kernel-features.h
32055         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
32056         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
32057         unconditional.
32058         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32059         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
32060         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32061         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32062         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
32063         Make code unconditional.
32064         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32065         (__mmap64) [!__NR_mmap2]: Likewise.
32066         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
32067         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32068         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32069         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
32070         [__NR_mmap2]: Make code unconditional.
32071         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32072         (__mmap64) [!__NR_mmap2]: Likewise.
32073
32074 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32075
32076         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
32077
32078 2012-08-18  Andreas Jaeger  <aj@suse.de>
32079
32080         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
32081
32082 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
32083
32084         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
32085         * include/unistd.h (__have_sock_cloexec): Likewise.
32086         (__have_pipe2): Likewise.
32087         (__have_dup3): Likewise.
32088
32089 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
32090
32091         [BZ #9685]
32092         * include/unistd.h (__have_pipe2): Change define into an extern int.
32093         (__have_dup3): Likewise.
32094         * socket/have_sock_cloexec.c: Include fcntl.h.
32095         (__have_pipe2): New variable.
32096         (__have_dup3): Likewise.
32097
32098 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
32099
32100         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
32101
32102 2012-08-17  Marek Polacek  <polacek@redhat.com>
32103
32104         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
32105         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
32106
32107 2012-08-17  Roland McGrath  <roland@hack.frob.com>
32108
32109         * configure.in: Add AC_SUBST for sysheaders.
32110         * configure: Regenerated.
32111         * config.make.in (sysheaders): New substituted variable.
32112
32113         * sysdeps/unix/mkfifo.c: Moved ...
32114         * sysdeps/posix/mkfifo.c: ... here.
32115         * sysdeps/unix/mkfifoat.c: Moved ...
32116         * sysdeps/posix/mkfifoat.c: ... here.
32117
32118         * sysdeps/unix/utime.c: Moved ...
32119         * sysdeps/posix/utime.c: ... here.
32120
32121         * sysdeps/unix/time.c: Moved ...
32122         * sysdeps/posix/time.c: ... here.
32123         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
32124         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
32125
32126         * sysdeps/unix/nice.c: Moved ...
32127         * sysdeps/posix/nice.c: ... here.
32128
32129         * sysdeps/unix/alarm.c: Moved ...
32130         * sysdeps/posix/alarm.c: ... here.
32131
32132         * intl/Makefile ($(codeset_mo)): Depend on the input file.
32133
32134 2012-08-17  Jeff Law <law@redhat.com>
32135
32136         * intl/Makefile (codeset_mo): New variable.
32137         ($(codeset_mo)): New target.
32138         (tst-codeset.out): Depend on that.  Remove explicit rule.
32139         (tst-gettext3.out, tst-gettext5.out): Likewise.
32140         (LOCPATH-ENV, tst-codeset-ENV): New variables.
32141         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
32142         * intl/tst-codeset.sh: Remove.
32143         * intl/tst-gettext3.sh: Likewise.
32144         * intl/tst-gettext5.sh: Likewise.
32145
32146 2012-08-17  Roland McGrath  <roland@hack.frob.com>
32147
32148         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
32149         * sysdeps/unix/syscalls.list: ... here.
32150
32151         * sysdeps/posix/getaddrinfo.c
32152         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
32153         (gaiconf_init, gaiconf_reload): Use them.
32154         [!_STATBUF_ST_NSEC]
32155         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
32156         Define using time_t rather than struct timespec.
32157
32158         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
32159         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
32160         Macros removed.
32161         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
32162         [!NO_THREADS].
32163         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
32164         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
32165         Likewise.
32166
32167         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
32168         __libc_cleanup_push argument.
32169
32170         * bits/param.h: New file.
32171         * misc/sys/param.h: New file.
32172         * include/sys/param.h: New file.
32173         * misc/Makefile (headers): Add bits/param.h.
32174         * sysdeps/generic/sys/param.h: File removed.
32175         * sysdeps/unix/sysv/linux/bits/param.h: New file.
32176         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
32177         * sysdeps/mach/hurd/bits/param.h: New file.
32178         * sysdeps/mach/hurd/sys/param.h: File removed.
32179
32180         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
32181         last change.
32182
32183         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
32184         [_IO_MTSAFE_IO].
32185         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
32186         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
32187         New macros.
32188
32189         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
32190         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
32191         rather than -D_IO_MTSAFE_IO conditionally.
32192         * stdio-common/Makefile (CPPFLAGS): Likewise.
32193         * wcsmbs/Makefile (CPPFLAGS): Likewise.
32194         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
32195         Use $(libio-mtsafe).
32196         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
32197         of -D_IO_MTSAFE_IO.
32198         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
32199         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
32200         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
32201         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
32202         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
32203         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
32204         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
32205         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
32206         (CFLAGS-fread_u_chk.c): Likewise.
32207         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
32208         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
32209         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
32210         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
32211         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
32212         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
32213         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
32214         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
32215         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
32216
32217         * libio/Makefile: Test [$(libc-reentrant) = yes]
32218         instead of [$(filter %REENTRANT, $(defines)) nonempty].
32219
32220         * Makeconfig
32221         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
32222         * sysdeps/pthread/configure: File removed.
32223         * sysdeps/pthread/Makeconfig: New file.
32224         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
32225         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
32226
32227 2012-08-16  Gary Benson  <gbenson@redhat.com>
32228
32229         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
32230         unmapping the first object in a namespace.
32231
32232 2012-08-16  Roland McGrath  <roland@hack.frob.com>
32233
32234         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
32235         (__internal_setnetgrent): ... this.  Add internal_function to
32236         definition.  Add libc_hidden_def.
32237         (setnetgrent): Update caller.
32238         (internal_endnetgrent): Renamed to ...
32239         (__internal_endnetgrent): ... this.  Add internal_function to
32240         definition.  Add libc_hidden_def.
32241         (endnetgrent): Update caller.
32242         (internal_getnetgrent_r): Renamed to ...
32243         (__internal_getnetgrent_r): ... this.  Add internal_function to
32244         definition.  Add libc_hidden_def.
32245         (__getnetgrent_r): Update caller.
32246         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
32247
32248 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
32249
32250         * stdlib/longlong.h: Update from GCC.
32251
32252 2012-08-16  Roland McGrath  <roland@hack.frob.com>
32253
32254         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
32255         on _QL, which is set by umul_ppmm but never used.
32256         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
32257         variables, which are set by GMP macros but never used.
32258         * stdio-common/_itowa.c (_itowa): Likewise.
32259         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
32260         * stdlib/mod_1.c (mpn_mod_1): Likewise.
32261
32262 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
32263
32264         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
32265         struct La_sh_regs is not constant.
32266         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
32267         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
32268         and struct La_sparc64_regs are not constant.
32269
32270 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
32271
32272         * sysdeps/unix/sysv/linux/kernel-features.h
32273         (__ASSUME_POSIX_TIMERS): Remove.
32274         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32275         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32276         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
32277         Make code unconditional.
32278         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32279         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
32280         Make code unconditional.
32281         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32282         * sysdeps/unix/sysv/linux/clock_nanosleep.c
32283         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
32284         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32285         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
32286         Make code unconditional.
32287         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32288         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
32289         (__libc_missing_posix_timers): Remove.
32290
32291 2012-08-15  Roland McGrath  <roland@hack.frob.com>
32292
32293         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
32294         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
32295
32296         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
32297
32298         * elf/dl-sym.c: Include <stdlib.h>.
32299
32300         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
32301         constants, which avoids warnings in 32-bit builds.
32302
32303         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
32304         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
32305
32306         * misc/lseek.c: File moved to ...
32307         * io/lseek.c: ... here.
32308
32309         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
32310
32311         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
32312         shifting LEN more than 31 bits at once.
32313
32314 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32315
32316         [BZ #14195]
32317         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
32318         segmentation fault for a case of two empty input strings.
32319         * string/test-strncasecmp.c (check1): Renamed to...
32320         (bz12205): ...this.
32321         (bz14195): Add new testcase for two empty input strings and N > 0.
32322         (test_main): Call new testcase, adapt for renamed function.
32323
32324 2012-08-15  Andreas Jaeger  <aj@suse.de>
32325
32326         [BZ #14090]
32327         * crypt/md5test2.c: New test, based on test supplied by Serge
32328         Belyshev <belyshev@depni.sinp.msu.ru>.
32329         * crypt/Makefile (xtests): Add md5test-giant..
32330         * crypt/Makefile ($(objpfx)md5test-giant): Add.
32331
32332 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
32333
32334         [BZ #14090]
32335         * crypt/md5.c (md5_process_block): Don't assume the buffer
32336         length is less than 2**32.
32337         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
32338         length is less than 2**64.
32339
32340 2012-08-15  Roland McGrath  <roland@hack.frob.com>
32341
32342         * string/str-two-way.h: Include <sys/param.h>.
32343         (MAX): Macro removed.
32344
32345         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
32346         Move #define and #undef of memmove to just before and after
32347         including <string.h>.
32348
32349         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
32350         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
32351         and after including <string.h>.  Move declarations of
32352         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
32353         to before #include "string/memmove.c".
32354
32355         * include/dirent.h: Declare __getdirentries.
32356
32357         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
32358         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
32359
32360 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
32361
32362         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
32363         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
32364         * sysdeps/i386/configure: Regenerated.
32365         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
32366         STABS_CURRENT_FILE, and STABS_FUN.
32367         (END): Remove call to STABS_FUN_END.
32368         (STABS_CURRENT_FILE1): Delete.
32369         (STABS_CURRENT_FILE): Likewise.
32370         (STABS_FUN): Likewise.
32371         (STABS_FUN_END): Likewise.
32372         (STABS_FUN2): Likewise.
32373         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
32374         * sysdeps/x86_64/configure: Regenerated.
32375
32376 2012-08-14  Roland McGrath  <roland@hack.frob.com>
32377
32378         * elf/dl-open.c: Include <atomic.h>.
32379         * elf/dl-lookup.c: Likewise.
32380
32381 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
32382
32383         * sysdeps/unix/sysv/linux/kernel-features.h
32384         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
32385         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
32386         unconditionally.
32387         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
32388         unconditionally.
32389         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
32390         condition on __ASSUME_CLONE_THREAD_FLAGS.
32391
32392 2012-08-14  Andreas Jaeger  <aj@suse.de>
32393
32394         * sysdeps/i386/fpu/libm-test-ulps: Update.
32395
32396 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
32397
32398         * include/atomic.h (atomic_exchange_and_add): Split into ...
32399         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
32400         New atomic macros.
32401
32402 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
32403
32404         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32405
32406 2012-08-13  Jeff Law <law@redhat.com>
32407
32408         * manual/stdio.texi (snprintf): Clarify handling of the trailing
32409         null byte in the output string.
32410
32411 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
32412
32413         * sysdeps/unix/sysv/linux/kernel-features.h
32414         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
32415         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
32416         (__ASSUME_ARG_MAX_STACK_BASED): Define.
32417         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
32418         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
32419         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
32420         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
32421
32422 2012-08-09  Jeff Law <law@redhat.com>
32423
32424         [BZ #13939]
32425         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
32426         When avoid_arena is set, don't retry in the that arena.  Pick the
32427         next one, whatever it might be.
32428         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
32429         (arena_lock): Pass in new parameter to arena_get2.
32430         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
32431         arena_get2.
32432         (__libc_malloc): Unify retrying after main arena failure with
32433         __libc_memalign version.
32434         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
32435
32436 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
32437
32438         [BZ #14166]
32439         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
32440         to __redirect_strstr.
32441         (__strstr_sse42): Use typeof __redirect_strstr.
32442         (__strstr_ia32): Likewise.
32443         (__libc_strstr): New prototype.
32444         (strstr): Renamed to ...
32445         (__libc_strstr): This.
32446         (strstr): New strong alias of __libc_strstr.
32447         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32448         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
32449         __redirect_time.
32450         Include <time.h>.
32451         (__libc_time): New prototype.
32452         (time_ifunc): Replace time with __libc_time.
32453         (time): New strong alias and hidden definition of __libc_time.
32454         (__GI_time): Remove strong alias.
32455         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
32456         Include <stddef.h>.
32457         (memmove): Redefined to __redirect_memmove.
32458         (__memmove_sse2): Use typeof __redirect_memmove.
32459         (__memmove_ssse3): Likewise.
32460         (__memmove_ssse3_back): Likewise.
32461         (__libc_memmove): New prototype.
32462         (memmove): Renamed to ...
32463         (__libc_memmove): This.
32464         (memmove): New strong alias of __libc_memmove.
32465
32466 2012-08-08  Mark Salter  <msalter@redhat.com>
32467
32468         * elf/elf.h
32469         (R_MN10300_TLS_GD): Define.
32470         (R_MN10300_TLS_LD): Likewise.
32471         (R_MN10300_TLS_LDO): Likewise.
32472         (R_MN10300_TLS_GOTIE): Likewise.
32473         (R_MN10300_TLS_IE): Likewise.
32474         (R_MN10300_TLS_LE): Likewise.
32475         (R_MN10300_TLS_DTPMOD): Likewise.
32476         (R_MN10300_TLS_DTPOFF): Likewise.
32477         (R_MN10300_TLS_TPOFF): Likewise.
32478         (R_MN10300_SYM_DIFF): Likewise.
32479         (R_MN10300_ALIGN): Likewise.
32480         (R_MN10300_NUM): Update.
32481
32482 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
32483
32484         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
32485         Remove.
32486
32487 2012-08-08  Roland McGrath  <roland@hack.frob.com>
32488
32489         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
32490
32491         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
32492         sysdeps/unix -> sysdeps/posix move.
32493         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32494
32495 2012-08-07      Allan McRae     <allan@archlinux.org>
32496
32497         [BZ #14303]
32498         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
32499         (SUNOS_CPP): Likewise.
32500         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
32501         not found.
32502         (open_input): Call CPP using execvp.
32503
32504 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
32505
32506         * sysdeps/unix/sysv/linux/kernel-features.h
32507         (__ASSUME_PROT_GROWSUPDOWN): Remove.
32508         (__ASSUME_NO_CLONE_DETACHED): Likewise.
32509         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32510         (__ASSUME_WAITID_SYSCALL): Likewise.
32511         * sysdeps/unix/sysv/linux/dl-execstack.c
32512         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
32513         code unconditional.
32514         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
32515         conditional code.
32516         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
32517         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
32518         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
32519         code.
32520         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
32521         unconditional.
32522         [__ASSUME_WAITID_SYSCALL]: Likewise.
32523         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
32524
32525 2012-08-07  Roland McGrath  <roland@hack.frob.com>
32526
32527         * sysdeps/unix/closedir.c: Renamed to ...
32528         * sysdeps/posix/closedir.c: ... here.
32529         * sysdeps/unix/dirfd.c: Renamed to ...
32530         * sysdeps/posix/dirfd.c: ... here.
32531         * sysdeps/unix/dirstream.h: Renamed to ...
32532         * sysdeps/posix/dirstream.h: ... here.
32533         * sysdeps/unix/fdopendir.c: Renamed to ...
32534         * sysdeps/posix/fdopendir.c: ... here.
32535         * sysdeps/unix/opendir.c: Renamed to ...
32536         * sysdeps/posix/opendir.c: ... here.
32537         * sysdeps/unix/readdir.c: Renamed to ...
32538         * sysdeps/posix/readdir.c: ... here.
32539         * sysdeps/unix/readdir_r.c: Renamed to ...
32540         * sysdeps/posix/readdir_r.c: ... here.
32541         * sysdeps/unix/rewinddir.c: Renamed to ...
32542         * sysdeps/posix/rewinddir.c: ... here.
32543         * sysdeps/unix/seekdir.c: Renamed to ...
32544         * sysdeps/posix/seekdir.c: ... here.
32545         * sysdeps/unix/telldir.c: Renamed to ...
32546         * sysdeps/posix/telldir.c: ... here.
32547         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
32548         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
32549         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32550         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
32551
32552         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
32553         * bits/fcntl.h: ... here.
32554
32555         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
32556         not 0.
32557         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
32558         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
32559         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
32560         (struct flock): Move l_start, l_len to the beginning.
32561         Use __pid_t for l_pid.
32562         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
32563         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
32564         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
32565         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
32566         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
32567         [__USE_LARGEFILE64] (struct flock64): New type.
32568         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
32569
32570         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
32571         * bits/dirent.h: ... here.
32572
32573         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
32574         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
32575
32576 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
32577
32578         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32579         Change from 2.6.0 to 2.6.16.
32580         * sysdeps/unix/sysv/linux/configure: Regenerated.
32581         * sysdeps/unix/sysv/linux/kernel-features.h
32582         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
32583         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
32584         version.
32585         (__ASSUME_UTIMES): Likewise.
32586         (__ASSUME_CLONE_STOPPED): Remove.
32587         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
32588         architectures, not kernel version.
32589         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
32590         (__ASSUME_NO_CLONE_DETACHED): Likewise.
32591         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32592         (__ASSUME_WAITID_SYSCALL): Likewise.
32593         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
32594         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
32595         * README: State 2.6.16 as minimum Linux kernel version.  Do not
32596         refer to older versions.
32597
32598 2012-08-06  Roland McGrath  <roland@hack.frob.com>
32599
32600         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
32601         Define alphasort64 as an alias.
32602         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
32603         Define versionsort64 as an alias.
32604         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
32605         Define scandir64 as an alias.
32606         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
32607         Define scandirat64 as an alias.
32608         * dirent/alphasort64.c (alphasort64):
32609         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
32610         * dirent/versionsort64.c: Likewise.
32611         * dirent/scandir64.c: Likewise.
32612         * dirent/scandirat64.c: Likewise.
32613         * sysdeps/wordsize-64/alphasort.c: File removed.
32614         * sysdeps/wordsize-64/alphasort64.c: File removed.
32615         * sysdeps/wordsize-64/scandir.c: File removed.
32616         * sysdeps/wordsize-64/scandir64.c: File removed.
32617         * sysdeps/wordsize-64/scandirat.c: File removed.
32618         * sysdeps/wordsize-64/scandirat64.c: File removed.
32619         * sysdeps/wordsize-64/versionsort.c: File removed.
32620         * sysdeps/wordsize-64/versionsort64.c: File removed.
32621         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
32622         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
32623         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
32624         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
32625         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
32626         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
32627         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
32628         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
32629
32630         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
32631         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32632         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
32633         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32634         [defined __arch64__ || defined __sparcv9]
32635         (__INO_T_MATCHES_INO64_T): New macro.
32636         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32637         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
32638         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
32639         * sysdeps/unix/sysv/linux/bits/dirent.h
32640         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
32641         (_DIRENT_MATCHES_DIRENT64): New macro.
32642
32643         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
32644         Define lockf64 as an alias.
32645         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
32646         Define fseeko64 as an alias.
32647         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
32648         Define ftello64 as an alias.
32649         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
32650         Define _IO_fgetpos64 and fgetpos64 as aliases.
32651         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
32652         Define _IO_fsetpos64 and fsetpos64 as aliases.
32653         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
32654         Conditionalize body on this.
32655         * libio/fseeko64.c: Likewise.
32656         * libio/ftello64.c: Likewise.
32657         * libio/iofgetpos64.c: Likewise.
32658         * libio/iofsetpos64.c: Likewise.
32659         * sysdeps/wordsize-64/lockf.c: File removed.
32660         * sysdeps/wordsize-64/lockf64.c: File removed.
32661         * sysdeps/wordsize-64/fseeko.c: File removed.
32662         * sysdeps/wordsize-64/fseeko64.c: File removed.
32663         * sysdeps/wordsize-64/ftello.c: File removed.
32664         * sysdeps/wordsize-64/ftello64.c: File removed.
32665         * sysdeps/wordsize-64/iofgetpos.c: File removed.
32666         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
32667         * sysdeps/wordsize-64/iofsetpos.c: File removed.
32668         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
32669         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
32670         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
32671         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
32672         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
32673         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
32674         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
32675         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
32676         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
32677         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
32678         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
32679
32680         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32681         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32682         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
32683         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32684         [defined __arch64__ || defined __sparcv9]
32685         (__OFF_T_MATCHES_OFF64_T): New macro.
32686         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32687         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32688         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32689         (__OFF_T_MATCHES_OFF64_T): New macro.
32690
32691 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
32692
32693         * stdlib/secure-getenv.c (__secure_getenv): Replace
32694         GLIBC_2_16 with GLIBC_2_17.
32695
32696 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
32697
32698         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
32699         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32700
32701 2012-08-03  David S. Miller  <davem@davemloft.net>
32702
32703         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32704
32705 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
32706
32707         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
32708         Remove.
32709         (__ASSUME_CORRECT_SI_PID): Likewise.
32710         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
32711         (__ASSUME_TMPFS_NAME): Likewise.
32712         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
32713         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
32714         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
32715         (HAVE_AUX_SECURE): Make definition unconditional.
32716         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
32717         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
32718
32719 2012-08-03  Roland McGrath  <roland@hack.frob.com>
32720
32721         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
32722         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
32723         * sysdeps/mach/hurd/eloop-threshold.h: New file.
32724         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32725         __eloop_threshold instead of SYMLOOP_MAX.
32726
32727         * sysdeps/generic/eloop-threshold.h: New file.
32728         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
32729         of MAXSYMLINKS.
32730         * elf/chroot_canon.c (chroot_canon): Likewise.
32731
32732 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
32733
32734         [BZ #13717]
32735         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32736         Change to 2.6.0 everywhere.
32737         * sysdeps/unix/sysv/linux/configure: Regenerated.
32738         * sysdeps/unix/sysv/linux/kernel-features.h
32739         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
32740         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
32741         kernel versions.
32742         (__ASSUME_POSIX_TIMERS): Define unconditionally.
32743         (__ASSUME_FUTEX_REQUEUE): Remove.
32744         (__ASSUME_STATFS64): Define unconditionally.
32745         (__ASSUME_AT_SECURE): Likewise.
32746         (__ASSUME_CORRECT_SI_PID): Likewise.
32747         (__ASSUME_TGKILL): Define without depending on kernel version for
32748         i386.
32749         (__ASSUME_UTIMES): Likewise.
32750         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
32751         kernel version.
32752         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
32753         (__ASSUME_TMPFS_NAME): Likewise.
32754         * README: Update reference to Linux kernel versions.
32755
32756 2012-08-02  Marek Polacek  <polacek@redhat.com>
32757
32758         [BZ# 14150]
32759         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
32760         libc_cv_asm_type_prefix with %.
32761         * configure: Regenerated.
32762         * include/libc-symbols.h: Remove comment about
32763         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32764         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
32765         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
32766         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
32767         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
32768         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32769         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
32770         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
32771         * elf/tst-unique2mod1.c: Likewise.
32772         * elf/tst-unique1mod2.c: Likewise.
32773         * elf/tst-unique1mod1.c: Likewise.
32774         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
32775         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
32776         Replace ASM_TYPE_DIRECTIVE with .type.
32777         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32778         * sysdeps/i386/sysdep.h: Likewise.
32779         * sysdeps/x86_64/sysdep.h: Likewise.
32780         * sysdeps/sh/sysdep.h: Likewise.
32781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32782         Do not define ASM_TYPE_DIRECTIVE.
32783         * sysdeps/powerpc/sysdep.h: Likewise.
32784         * sysdeps/powerpc/powerpc32/sysdep.h:
32785         Replace ASM_TYPE_DIRECTIVE with .type.
32786         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32787         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32788         * sysdeps/i386/fpu/e_powf.S: Likewise.
32789         * sysdeps/i386/fpu/e_expl.S: Likewise.
32790         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32791         * sysdeps/i386/fpu/e_acosh.S: Likewise.
32792         * sysdeps/i386/fpu/e_pow.S: Likewise.
32793         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32794         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32795         * sysdeps/i386/fpu/s_expm1.S: Likewise.
32796         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32797         * sysdeps/i386/fpu/e_log2.S: Likewise.
32798         * sysdeps/i386/fpu/e_log2l.S: Likewise.
32799         * sysdeps/i386/fpu/e_scalb.S: Likewise.
32800         * sysdeps/i386/fpu/e_powl.S: Likewise.
32801         * sysdeps/i386/fpu/e_log10f.S: Likewise.
32802         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32803         * sysdeps/i386/fpu/e_logl.S: Likewise.
32804         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32805         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32806         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32807         * sysdeps/i386/fpu/e_log2f.S: Likewise.
32808         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32809         * sysdeps/i386/fpu/e_log.S: Likewise.
32810         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32811         * sysdeps/i386/fpu/e_logf.S: Likewise.
32812         * sysdeps/i386/fpu/e_log10l.S: Likewise.
32813         * sysdeps/i386/fpu/e_atanh.S: Likewise.
32814         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32815         * sysdeps/i386/fpu/e_log10.S: Likewise.
32816         * sysdeps/i386/fpu/s_frexp.S: Likewise.
32817         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32818         * sysdeps/i386/fpu/s_asinh.S: Likewise.
32819         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32820         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32821         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
32822         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32823         * sysdeps/i386/i686/strtok.S: Likewise.
32824         * sysdeps/i386/i386-mcount.S: Likewise.
32825         * sysdeps/i386/strtok.S: Likewise.
32826         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
32827         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32828         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32829         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32830         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32831         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32832         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32833         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32834         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32835         * sysdeps/x86_64/_mcount.S: Likewise.
32836         * sysdeps/x86_64/strtok.S: Likewise.
32837         * sysdeps/sh/_mcount.S: Likewise.
32838
32839 2012-08-01  Roland McGrath  <roland@hack.frob.com>
32840
32841         * libio/iofopen.c: Include <fcntl.h>.
32842         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32843         (_IO_fopen64, fopen64): Define as aliases.
32844         * libio/iofopen64.c: Include <fcntl.h>.
32845         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32846         Conditionalize body on this.
32847         * sysdeps/wordsize-64/iofopen.c: File removed.
32848         * sysdeps/wordsize-64/iofopen64.c: File removed.
32849
32850 2012-08-01  Marek Polacek  <polacek@redhat.com>
32851
32852         * libc/Makeconfig: Use elf in place of binfmt-subdir.
32853         Use dlfcn directly instead of a variable.
32854         (binfmt-subdir): Do not define.
32855         (dlfcn): Likewise.
32856
32857 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
32858
32859         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32860         Remove all definitions.
32861         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32862         <kernel-features.h>.
32863         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32864         (miss_F_GETOWN_EX): Remove all definitions.
32865         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32866         macro definition.
32867         [!__ASSUME_FCNTL64]: Remove conditional code.
32868         [__ASSUME_FCNTL64]: Make code unconditional.
32869         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32870         <kernel-features.h>.
32871         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32872         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32873         (lockf64) [__NR_fcntl64]: Make code unconditional.
32874         (lockf64) [__ASSUME_FCNTL64]: Likewise.
32875
32876         * sysdeps/unix/sysv/linux/kernel-features.h
32877         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32878         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32879         Make code unconditional.
32880         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32881         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32883         [__NR_vfork]: Make code unconditional.
32884         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32885         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32887         [__NR_vfork]: Make code unconditional.
32888         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32889         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32890
32891 2012-08-01  Roland McGrath  <roland@hack.frob.com>
32892
32893         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32894         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32895
32896         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32897         Define mkstemp64 as an alias.
32898         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32899         Define mkstemps64 as an alias.
32900         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32901         Define mkostemp64 as an alias.
32902         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32903         Define mkostemps64 as an alias.
32904         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32905         Conditionalize body on this.
32906         * misc/mkostemp64.c: Likewise.
32907         * misc/mkostemps64.c: Likewise.
32908         * misc/mkstemps64.c: Likewise.
32909         * sysdeps/wordsize-64/mkstemp64.c: File removed.
32910         * sysdeps/wordsize-64/mkostemp64.c: File removed.
32911         * sysdeps/wordsize-64/mkostemp.c: File removed.
32912         * sysdeps/wordsize-64/mkstemp.c: File removed.
32913         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32914         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32915         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32916         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32917
32918         [BZ #14138]
32919         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32920         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32921         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32922         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32923
32924         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32925         compat_symbol macros from <shlib-compat.h> rather than the underlying
32926         default_symbol_version and symbol_version macros, so that DEFAULT
32927         lines in shlib-versions are respected.
32928         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32929
32930 2012-08-01  Florian Weimer  <fweimer@redhat.com>
32931
32932         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32933         Declare with warn_unused_result.
32934         (setgid, setregid, setegid, setresgid): Likewise.
32935         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32936         Likewise.
32937         * WUR-REPORT: Remove set*id functions.
32938
32939 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
32940
32941         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32942
32943 2012-07-31  Roland McGrath  <roland@hack.frob.com>
32944
32945         [BZ #10191]
32946         * include/sys/socket.h (__libc_accept, __libc_accept4):
32947         Add attribute_hidden.
32948         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32949
32950         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32951         use of PTR_MANGLE.
32952         * inet/getnetgrent_r.c (setup): Likewise.
32953
32954         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32955
32956 2012-07-31  David S. Miller  <davem@davemloft.net>
32957
32958         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32959
32960 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
32961
32962         [BZ #13629]
32963         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32964         value between 1.0 and 2.0 and smaller part has absolute value less
32965         than 1.0.
32966         * math/s_clog10.c (__clog10): Likewise.
32967         * math/s_clog10f.c (__clog10f): Likewise.
32968         * math/s_clog10l.c (__clog10l): Likewise.
32969         * math/s_clogf.c (__clogf): Likewise.
32970         * math/s_clogl.c (__clogl): Likewise.
32971         * math/libm-test.inc (clog_test): Add more tests.
32972         (clog10_test): Likewise.
32973         * sysdeps/i386/fpu/libm-test-ulps: Update.
32974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32975
32976 2012-07-31  Florian Weimer  <fweimer@redhat.com>
32977
32978         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32979         Exit with zero in case no suitable GID is found, and write a
32980         message to standard error.
32981
32982 2012-07-30  Roland McGrath  <roland@hack.frob.com>
32983
32984         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32985         rather than to 1.
32986         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32987         (MAXPATHLEN): Removed.
32988         (NOGROUP, NODEV): New macros.
32989         (setbit, clrbit, isset, isclr): New macros.
32990         (howmany, roundup, powerof2): New macros.
32991         (DEV_BSIZE): New macro.
32992
32993         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32994         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32995
32996         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32997         definition on [!__NO_LONG_DOUBLE_MATH].
32998
32999         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
33000         PTR_MANGLE and PTR_DEMANGLE.
33001
33002         * socket/accept4.c (accept4): Rename to __libc_accept4.
33003         Define accept4 as a weak alias.
33004
33005         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
33006         on [_DIRENT_HAVE_D_TYPE].
33007         * io/ftw.c (ftw_dir): Likewise.
33008
33009         * io/xmknod.c (__xmknod): Don't check PATH for being null.
33010
33011         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
33012
33013         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
33014         Use the BSD numbers rather than the arbitrary ones we had.
33015         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
33016         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
33017         (SIGXCPU, SIGXFSZ): New macros.
33018         (_NSIG): Now 32.
33019
33020         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
33021         initializer on [_LIBC_REENTRANT].
33022
33023         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
33024         definitions inside [_POSIX_MAPPED_FILES].
33025
33026         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
33027
33028         * dirent/opendir.c: Include <fcntl.h>.
33029
33030         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
33031         (__libc_getspecific): Likewise.
33032         (__libc_key_create): Likewise.
33033
33034         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
33035         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
33036         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
33037         (tmpfile64): Define as alias.
33038         * sysdeps/wordsize-64/tmpfile.c: File removed.
33039         * sysdeps/wordsize-64/tmpfile64.c: File removed.
33040         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
33041         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
33042
33043         * stdio-common/vfscanf.c: Include <stdbool.h>.
33044         * nss/makedb.c: Likewise.
33045         * stdio-common/_i18n_number.h: Likewise.
33046         * argp/argp-help.c: Likewise.
33047         * posix/wordexp.c: Likewise.
33048         * sysdeps/posix/spawni.c: Likewise.
33049         * nss/nss_files/files-initgroups.c: Likewise.
33050         * stdio-common/reg-modifier.c: Include <stdlib.h>.
33051         * nss/nss_files/files-initgroups.c: Likewise.
33052         * nss/nss_db/db-netgrp.c: Likewise.
33053         * nss/nss_db/db-initgroups.c: Likewise.
33054         * io/fchmodat.c: Include <sys/stat.h>.
33055
33056         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
33057         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
33058
33059         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
33060         [HAVE_MMAP].
33061
33062         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
33063         Add multiple inclusion protection.
33064
33065 2012-07-27  David S. Miller  <davem@davemloft.net>
33066
33067         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33068
33069 2012-07-27  Gary Benson  <gbenson@redhat.com>
33070
33071         [BZ #14298]
33072         * elf/rtld.c: Include <stap-probe.h>.
33073         (dl_main): Added static probes "init_start" and "init_complete".
33074         * elf/dl-load.c: Include <stap-probe.h>.
33075         (lose): Take new parameter "nsid".
33076         Added static probe "map_failed".
33077         (_dl_map_object_from_fd): Pass namespace id to lose.
33078         Added static probe "map_start".
33079         (open_verify): Pass namespace id to lose.
33080         * elf/dl-open.c: Include <stap-probe.h>.
33081         (dl_open_worker) Added static probes "map_complete", "reloc_start"
33082         and "reloc_complete".
33083         * elf/dl-close.c: Include <stap-probe.h>.
33084         (_dl_close_worker): Added static probes "unmap_start" and
33085         "unmap_complete".
33086         * elf/rtld-debugger-interface.txt: New file documenting the above.
33087
33088 2012-07-26  Roland McGrath  <roland@hack.frob.com>
33089
33090         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
33091         rather than a string variable.
33092         * sunrpc/rpc_main.c (h_output): Likewise.
33093         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
33094
33095 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
33096
33097         * inet/check_native.c: New file.
33098
33099 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
33100
33101         [BZ #13629]
33102         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
33103         if larger part has absolute value 1.0.
33104         * math/s_clog10.c (__clog10): Likewise.
33105         * math/s_clog10f.c (__clog10f): Likewise.
33106         * math/s_clog10l.c (__clog10l): Likewise.
33107         * math/s_clogf.c (__clogf): Likewise.
33108         * math/s_clogl.c (__clogl): Likewise.
33109         * math/libm-test.inc (clog_test): Add more tests.
33110         (clog10_test): Likewise.
33111         * sysdeps/i386/fpu/libm-test-ulps: Update.
33112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33113
33114         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
33115         (pltexit): Likewise.
33116         (La_regs): Likewise.
33117         (La_retval): Likewise.
33118         (int_retval): Likewise.
33119         Update #error for removed macros to refer only to definitions in
33120         tst-audit.h.
33121         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
33122         macro.
33123         (pltexit): Likewise.
33124         (La_regs): Likewise.
33125         (La_retval): Likewise.
33126         (int_retval): Likewise.
33127         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
33128         macro.
33129         (pltexit): Likewise.
33130         (La_regs): Likewise.
33131         (La_retval): Likewise.
33132         (int_retval): Likewise.
33133         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
33134         macro.
33135         (pltexit): Likewise.
33136         (La_regs): Likewise.
33137         (La_retval): Likewise.
33138         (int_retval): Likewise.
33139         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
33140         macro.
33141         (pltexit): Likewise.
33142         (La_regs): Likewise.
33143         (La_retval): Likewise.
33144         (int_retval): Likewise.
33145         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
33146         macro.
33147         (pltexit): Likewise.
33148         (La_regs): Likewise.
33149         (La_retval): Likewise.
33150         (int_retval): Likewise.
33151         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
33152         macro.
33153         (pltexit): Likewise.
33154         (La_regs): Likewise.
33155         (La_retval): Likewise.
33156         (int_retval): Likewise.
33157         * sysdeps/generic/tst-audit.h: Update comment to refer only to
33158         macro definitions in tst-audit.h.
33159         * sysdeps/i386/tst-audit.h: New file.
33160         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
33161         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
33162         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
33163         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
33164         * sysdeps/sh/tst-audit.h: Likewise.
33165         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
33166         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
33167         * sysdeps/x86_64/tst-audit.h: Likewise.
33168
33169 2012-07-26  Andreas Jaeger  <aj@suse.de>
33170
33171         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
33172         ptrace.
33173
33174         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
33175         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
33176         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
33177         PTRACE_O_MASK.
33178         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
33179         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
33180         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
33181
33182         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
33183         value.
33184
33185         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
33186         _sigsys.
33187         (si_call_addr, si_syscall, si_arch): Define new macro.
33188         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
33189         _sigsys.
33190         (si_call_addr, si_syscall, si_arch): Define new marcro.
33191         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
33192         _sigsys.
33193         (si_call_addr, si_syscall, si_arch): Define new macro.
33194         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
33195         _sigsys.
33196         (si_call_addr, si_syscall, si_arch): Define new macro.
33197
33198 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
33199
33200         [BZ #13717]
33201         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33202         Change to 2.4.21 where previously 2.4.1.
33203         * sysdeps/unix/sysv/linux/configure: Regenerated.
33204         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
33205         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
33206         Linux kernel version.
33207         (__ASSUME_STD_AUXV): Remove.
33208         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
33209         kernel version.
33210         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
33211         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
33212         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
33213         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
33214         (__ASSUME_NETLINK_SUPPORT): Likewise.
33215         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
33216         (__no_netlink_support): Remove conditional definition.
33217         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
33218         Remove.
33219         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33220         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
33221         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
33222         (if_nameindex_ioctl): Remove.
33223         (if_nameindex_netlink): Do not handle __no_netlink_support.
33224         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33225         code.
33226         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
33227         Remove conditional code.
33228         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33229         code.
33230         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
33231         unconditional.
33232         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33233         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
33234         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
33235         Remove.
33236         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
33237         [!__ASSUME_STD_AUXV]: Remove conditional code.
33238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
33239         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
33240         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
33241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
33242         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
33243         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33244         code.
33245         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33247         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
33248         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33249         conditional code.
33250         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
33252         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33253         code.
33254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33255         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33256         conditional code.
33257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
33258         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33259         code unconditional.
33260         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33261         conditional code.
33262         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33263         unconditional.
33264         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33265         conditional code.
33266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33267         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33268         unconditional.
33269         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33270         conditional code.
33271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
33272         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33273         code unconditional.
33274         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33275         conditional code.
33276         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33277         unconditional.
33278         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33279         conditional code.
33280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
33281         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33282         code unconditional.
33283         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33284         conditional code.
33285         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33286         unconditional.
33287         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33288         conditional code.
33289
33290 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
33291
33292         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
33293         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
33294         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
33295         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
33296         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
33297         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
33298         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
33299         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
33300         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
33301         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
33302         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
33303         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
33304         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
33305         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
33306         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
33307         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
33308         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
33309         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
33310         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
33311         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
33312         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
33313         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
33314         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33315
33316 2012-07-25  Florian Weimer  <fweimer@redhat.com>
33317
33318         * Versions.def: Add GLIBC_2.17.
33319         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
33320         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
33321         Introduce __libc_secure_getenv.
33322         * stdlib/Versions (2.17): Add secure_getenv
33323         (GLIBC_PRIVATE): Add __libc_secure_getenv.
33324         * stdlib/secure-getenv.c: Rename __secure_getenv to
33325         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
33326         symbol __secure_getenv for GLIBC_2.0.
33327         * stdlib/tst-secure-getenv.c: New.
33328         * stdlib/Makefile (tests): Add testcase.
33329         * manual/startup.texi (Environment Access): Document
33330         secure_getenv.
33331         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
33332         __libc_secure_getenv.
33333         * inet/ruserpass.c (ruserpass): Likewise.
33334         * malloc/mtrace.c (mtrace): Likewise.
33335         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
33336         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
33337         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
33338         * sysdeps/posix/tempname.c: Likewise.  Evaluate
33339         HAVE_SECURE_GETENV.
33340         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
33341         __secure_getenv to __libc_secure_getenv.
33342         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
33343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33344         Likewise.
33345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33346         Likewise.
33347         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33348         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33349         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33350         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33351         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33352         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33353         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
33354
33355 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
33356
33357         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
33358         (struct La_i86_retval): Likewise.
33359         (struct La_x86_64_regs): Likewise.
33360         (struct La_x86_64_retval): Likewise.
33361         (struct La_x32_regs): Likewise.
33362         (struct La_x32_retval): Likewise.
33363         (struct La_ppc32_regs): Likewise.
33364         (struct La_ppc32_retval): Likewise.
33365         (struct La_ppc64_regs): Likewise.
33366         (struct La_ppc64_retval): Likewise.
33367         (struct La_sh_regs): Likewise.
33368         (struct La_sh_retval): Likewise.
33369         (struct La_s390_32_regs): Likewise.
33370         (struct La_s390_32_retval): Likewise.
33371         (struct La_s390_64_regs): Likewise.
33372         (struct La_s390_64_retval): Likewise.
33373         (struct La_sparc32_regs): Likewise.
33374         (struct La_sparc32_retval): Likewise.
33375         (struct La_sparc64_regs): Likewise.
33376         (struct La_sparc64_retval): Likewise.
33377         (struct audit_ifaces): Remove architecture-specific pltenter and
33378         pltexit members.
33379         * sysdeps/i386/ldsodefs.h: New file.
33380         * sysdeps/powerpc/ldsodefs.h: Likewise.
33381         * sysdeps/s390/ldsodefs.h: Likewise.
33382         * sysdeps/sh/ldsodefs.h: Likewise.
33383         * sysdeps/sparc/ldsodefs.h: Likewise.
33384         * sysdeps/x86_64/ldsodefs.h: Likewise.
33385
33386 2012-07-25  Marek Polacek  <polacek@redhat.com>
33387
33388         [BZ #6808]
33389         * math/libm-test.inc (yn_test): Add another test.
33390         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
33391         to ERANGE when the result is +-Inf.
33392         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
33393         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33394         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
33395         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
33396
33397 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
33398
33399         * conform/data/time.h-data (NULL): Use macro-constant.  Require
33400         equal to 0.
33401         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
33402         clock_t.
33403         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
33404
33405 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
33406
33407         * configure.in <sysdeps resolving>: Correct printing
33408         Implies_before.
33409         * configure: Regenerate.
33410
33411 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
33412
33413         * math/w_ilogb.c: Include <limits.h>.
33414         * math/w_ilogbl.c: Likewise.
33415
33416 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
33417
33418         * manual/lang.texi (__va_copy): Document primarily as ISO C99
33419         va_copy.  Document allowing for unavailable va_copy only as
33420         pre-C99 compatibility.
33421         * manual/string.texi (Copying and Concatenation): Use va_copy
33422         instead of __va_copy in concat example.
33423
33424 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
33425
33426         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
33427         (__sendto): Use create_address_port.  Initialize APORT and deallocate
33428         it if not null.
33429
33430         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
33431         with O_NOLINK passed to __file_name_lookup.
33432
33433         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
33434         with O_NOLINK passed to __file_name_lookup.
33435
33436         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
33437         negative N or less than NGIDS.
33438
33439         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
33440         type to string_t.  Set ERANGE as errno and return it if NAME is not big
33441         enough.  Use memcpy instead of strncpy.
33442
33443 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
33444
33445         * elf/Makefile (check-data): Remove.
33446         (localplt.data): New vpath directive.
33447         ($(objpfx)check-localplt.out): Use localplt.data from vpath
33448         instead of $(check-data).
33449         * scripts/data/localplt-generic.data: Move to ...
33450         * sysdeps/generic/localplt.data: ... here.
33451         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
33452         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
33453         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
33454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33455         ... here.
33456         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
33457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33458         ... here.
33459         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
33460         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
33461         ... here.
33462         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
33463         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33464         ... here.
33465         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
33466         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
33467         ... here.
33468         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
33469         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
33470         ... here.
33471
33472 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33473
33474         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
33475         PPC32 and PPC64 files.
33476         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
33477         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
33478
33479 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33480
33481         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
33482         __makecontext_ret to ...
33483         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
33484         ... here and call exit if uc_link is NULL.  New file.
33485         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
33486         __makecontext_ret.S.
33487         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
33488         __makecontext_ret to ...
33489         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
33490         ... here and call exit if uc_link is NULL.  New file.
33491         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
33492         __makecontext_ret.S.
33493
33494 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33495
33496         * elf/elf.h (R_390_IRELATIVE): New definition.
33497         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
33498         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
33499         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
33500         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33501         (elf_machine_lazy_rel): Likewise.
33502         * sysdeps/s390/dl-irel.h: New file.
33503         * sysdeps/s390/s390-64/memcpy.S: New asm code.
33504         * sysdeps/s390/s390-64/memset.S: New asm code.
33505         * sysdeps/s390/s390-64/memcmp.S: New asm code.
33506         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
33507         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
33508         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
33509         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
33510         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
33511         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
33512         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
33513         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
33514         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
33515         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
33516         * sysdeps/s390/s390-32/memcpy.S: New asm code.
33517         * sysdeps/s390/s390-32/memset.S: New asm code.
33518         * sysdeps/s390/s390-32/memcmp.S: New asm code.
33519
33520 2012-07-17  Marek Polacek  <polacek@redhat.com>
33521
33522         [BZ #14349]
33523         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
33524         * sysdeps/s390/s390-64/configure.in: Likewise.
33525         * sysdeps/sparc/configure.in: Likewise.
33526         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
33527         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
33528         * sysdeps/i386/configure.in: Likewise.
33529         * sysdeps/x86_64/configure.in: Likewise.
33530         * sysdeps/sh/configure.in: Likewise.
33531         * sysdeps/s390/s390-32/configure: Regenerated.
33532         * sysdeps/s390/s390-64/configure: Likewise.
33533         * sysdeps/x86_64/configure: Likewise.
33534         * sysdeps/sh/configure: Likewise.
33535         * sysdeps/powerpc/powerpc64/configure: Likewise.
33536         * sysdeps/powerpc/powerpc32/configure: Likewise.
33537         * sysdeps/sparc/configure: Likwise.
33538         * sysdeps/i386/configure: Likewise.
33539
33540         * elf/dl-open.c: Comment fixes.
33541
33542 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
33543
33544         * Makefile [CXX] (check-data): Remove.
33545         [CXX] (c++-types.data): New vpath directive.
33546         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
33547         vpath.  Do not allow for C++ type data being missing.
33548         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
33549         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
33550         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
33551         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
33552         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
33553         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
33554         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
33555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33556         ... here.
33557         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
33558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33559         ... here.
33560         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
33561         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
33562         ... here.
33563         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
33564         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
33565         ... here.
33566         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
33567         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
33568         ... here.
33569         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
33570         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
33571         ... here.
33572         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
33573         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
33574         ... here.
33575         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
33576         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
33577
33578         * elf/tls-macros.h (TLS_LE): Move architecture-specific
33579         definitions to architecture-specific files.
33580         (TLS_IE): Likewise.
33581         (TLS_LD): Likewise.
33582         (TLS_GD): Likewise.
33583         * sysdeps/i386/tls-macros.h: New file.
33584         * sysdeps/powerpc/tls-macros.h: Likewise.
33585         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
33586         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
33587         * sysdeps/sh/tls-macros.h: Likewise.
33588         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
33589         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
33590         * sysdeps/x86_64/tls-macros.h: Likewise.
33591
33592 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
33593
33594         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
33595         zero value for regular exit case.
33596
33597         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33598         (__start_context): Preserve zero value for regular exit case.
33599
33600 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
33601             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33602
33603         * manual/setjmp.texi (setcontext): Clarify normal process
33604         termination when uc_link is the null pointer.
33605         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
33606         exit call.
33607
33608 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
33609
33610         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
33611         preprocessor.  Test for each exception mask separately.
33612
33613 2012-07-16  Andreas Jaeger  <aj@suse.de>
33614
33615         * po/ru.po: Update from translation team.
33616
33617 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
33618
33619         * conform/data/string.h-data (NULL): Use macro-constant.  Require
33620         equal to 0.
33621         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33622         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33623         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
33624         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
33625         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33626
33627 2012-07-13  Andreas Jaeger  <aj@suse.de>
33628
33629         * po/fr.po: Update from translation team.
33630
33631 2012-07-12  Marek Polacek  <polacek@redhat.com>
33632
33633         [BZ #14173]
33634         * math/libm-test.inc (yn_test): Add test for BZ #14173.
33635         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
33636         loop condition.
33637
33638 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
33639
33640         [BZ #13717]
33641         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33642         Change to 2.4.1 where previously 2.4.0.
33643         * sysdeps/unix/sysv/linux/configure: Regenerated.
33644         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
33645         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
33646         version.
33647         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
33648         (__ASSUME_AT_CLKTCK): Remove.
33649         (__ASSUME_AT_PAGESIZE): Likewise.
33650         (__ASSUME_AT_XID): Likewise.
33651         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
33652         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
33653         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
33654         unconditionally.
33655         (HAVE_AUX_PAGESIZE): Likewise.
33656         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
33657         [__ASSUME_AT_CLKTCK]: Make code unconditional.
33658         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
33659
33660 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
33661
33662         [BZ #14307]
33663         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
33664         the temporary buffer used to invoke __gethostbyname2_r,
33665         __gethostbyaddr_r and gethostbyname4_r to make room for struct
33666         host_data / struct gaih_addrtuple.
33667         * resolv/nss_dns/dns-host.c (global scope): Move definition of
33668         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
33669         header file nss/nsswitch.h.
33670         * nss/nsswitch.h (global scope): Add definition of implementation
33671         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
33672         resolv/nss_dns/dns-host.c).
33673
33674 2012-07-11  Andreas Jaeger  <aj@suse.de>
33675
33676         * po/fr.po: Update from translation team.
33677
33678         * po/sv.po: Update from translation team
33679         * po/fr.po: Another update from translation team.
33680
33681 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33682
33683         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
33684         for subnormals or multiply small sinh result by itself.
33685         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33686         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33687
33688 2012-07-11  David S. Miller  <davem@davemloft.net>
33689
33690         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33691
33692 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
33693
33694         [BZ #14347]
33695         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
33696         (INTERNAL_MARK): Shift it here.
33697
33698 2012-07-10  Marek Polacek  <polacek@redhat.com>
33699
33700         [BZ #14151]
33701         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
33702         libc_cv_asm_global_directive with .globl.
33703         * configure: Regenerated.
33704         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
33705         with .globl.
33706         * sysdeps/i386/configure: Regenerated.
33707         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
33708         with .globl.
33709         * sysdeps/x86_64/configure: Regenerated.
33710         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
33711         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
33712         * elf/tst-unique2mod2.c: Likewise.
33713         * elf/tst-unique2mod1.c: Likewise.
33714         * elf/tst-unique1mod2.c: Likewise.
33715         * elf/tst-unique1mod1.c: Likewise.
33716         * sysdeps/s390/s390-32/sysdep.h: Likewise.
33717         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33718         * sysdeps/s390/s390-64/sysdep.h: Likewise.
33719         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33720         * sysdeps/mach/sysdep.h: Likewise.
33721         * sysdeps/i386/sysdep.h: Likewise.
33722         * sysdeps/i386/i386-mcount.S: Likewise.
33723         * sysdeps/x86_64/_mcount.S: Likewise.
33724         * sysdeps/x86_64/sysdep.h: Likewise.
33725         * sysdeps/sh/_mcount.S: Likewise.
33726         * sysdeps/sh/sysdep.h: Likewise.
33727         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
33728         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
33729         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
33730         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33731         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
33732         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
33733         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
33734         * locale/localeinfo.h: Likewise.
33735         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
33736         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
33737
33738 2012-07-09  Roland McGrath  <roland@hack.frob.com>
33739
33740         [BZ #14336]
33741         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
33742         system".
33743         * manual/message.texi (The Uniforum approach): Likewise.
33744         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
33745         (glibc iconv Implementation): Likewise.
33746
33747 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
33748
33749         [BZ #14337]
33750         * math/s_clog.c (__clog): Avoid scaling a value down where that
33751         could result in underflow.
33752         * math/s_clog10.c (__clog10): Likewise.
33753         * math/s_clog10f.c (__clog10f): Likewise.
33754         * math/s_clog10l.c (__clog10l): Likewise.
33755         * math/s_clogf.c (__clogf): Likewise.
33756         * math/s_clogl.c (__clogl): Likewise.
33757         * math/libm-test.inc (clog_test): Add more tests.
33758         (clog10_test): Likewise.
33759         * sysdeps/i386/fpu/libm-test-ulps: Update.
33760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33761
33762 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
33763
33764         [BZ #14283]
33765         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
33766         by 7 not 8 to examine high bit of fractional part.
33767
33768         [BZ #14042]
33769         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
33770         for call to __mcount_internal.
33771         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
33772         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
33773         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
33774
33775 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
33776
33777         [BZ #14154]
33778         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
33779         approximation for values within 0x1p-13f of an odd multiple of
33780         pi/4.
33781         * math/libm-test.inc (tan_test): Do not allow spurious underflow
33782         exception.  Add more tests.
33783         * sysdeps/i386/fpu/libm-test-ulps: Update.
33784
33785         [BZ #6778]
33786         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
33787         inputs and return -1 for them.  Do not check for +Inf in case not
33788         reachable for +Inf.
33789         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33790         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
33791         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33792         and return -1 for them.  Do not check for +Inf in case not
33793         reachable for +Inf.
33794         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
33795         define.
33796         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33797         and return -1 for them.  Do not check for +Inf in case not
33798         reachable for +Inf.
33799         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
33800         spurious underflow.
33801         * sysdeps/i386/fpu/libm-test-ulps: Update.
33802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33803
33804 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
33805
33806         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
33807
33808 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
33809
33810         [BZ #14157]
33811         [BZ #14331]
33812         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
33813         could result in spurious underflow.  Scale down values above
33814         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
33815         * math/s_csqrtf.c (__csqrtf): Likewise.
33816         * math/s_csqrtl.c (__csqrtl): Likewise.
33817         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
33818         spurious underflow.
33819         * sysdeps/i386/fpu/libm-test-ulps: Update.
33820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33821
33822 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
33823
33824         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
33825         xopen-msg.sed.
33826         * catgets/xopen-msg.awk: New file.
33827         * catgets/xopen-msg.sed: Removed.
33828
33829         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33830         po2text.sed.
33831         * intl/po2test.awk: New file.
33832         * intl/po2test.sed: Removed.
33833
33834 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
33835
33836         [BZ #14328]
33837         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33838         or multiply small sinh result by itself.
33839         * math/s_ctanf.c (__ctanf): Likewise.
33840         * math/s_ctanh.c (__ctanh): Likewise.
33841         * math/s_ctanhf.c (__ctanhf): Likewise.
33842         * math/s_ctanhl.c (__ctanhl): Likewise.
33843         * math/s_ctanl.c (__ctanl): Likewise.
33844         * math/libm-test.inc (ctan_test_tonearest): New function.
33845         (ctan_test_towardzero): Likewise.
33846         (ctan_test_downward): Likewise.
33847         (ctan_test_upward): Likewise.
33848         (ctanh_test_tonearest): Likewise.
33849         (ctanh_test_towardzero): Likewise.
33850         (ctanh_test_downward): Likewise.
33851         (ctanh_test_upward): Likewise.
33852         (main): Call these new functions.
33853         * sysdeps/i386/fpu/libm-test-ulps: Update.
33854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33855
33856 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
33857
33858         * .gitignore: Delete /ports entry.
33859
33860 2012-07-03  Andreas Jaeger  <aj@suse.de>
33861
33862         * po/bg.po: Update from translation team.
33863         * po/cs.po: Likewise.
33864         * po/de.po: Likewise.
33865         * po/hr.po: Likewise.
33866         * po/nl.pl: Likewise.
33867         * po/pl.po: Likewise.
33868         * po/vi.po: Likewise.
33869
33870 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
33871
33872         * Makeconfig [!+link] (+link-before-libc): New variable.
33873         [!+link] (+link-after-libc): Likewise.
33874         [!+link] (+link-tests): Likewise.
33875         [!+link] (+link): Define in terms of $(+link-before-libc) and
33876         $(+link-after-libc).
33877         [!+link-static] (+link-static-before-libc): New variable.
33878         [!+link-static] (+link-static-after-libc): Likewise.
33879         [!+link-static] (+link-static-tests): Likewise.
33880         [!+link-static] (+link-static): Define in terms of
33881         $(+link-static-before-libc) and $(+link-static-after-libc).
33882         [build-shared] (link-libc-before-gnulib): New variable.
33883         [build-shared] (link-libc-tests): Likewise.
33884         [build-shared] (link-libc): Define in terms of
33885         $(link-libc-before-gnulib).
33886         [!build-shared] (link-libc-tests): New variable.
33887         (link-libc-static-tests): New variable.
33888         [!gnulib] (gnulib-arch): New variable.
33889         [!gnulib] (gnulib-tests): Likewise.
33890         [!gnulib] (static-gnulib-arch): Likewise.
33891         [!gnulib] (static-gnulib-tests): Likewise.
33892         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
33893         Define with "=" instead of ":=".
33894         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
33895         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
33896         * Rules (binaries-all-notests): New variable.
33897         (binaries-all-tests): Likewise.
33898         (binaries-static-notests): Likewise.
33899         (binaries-static-tests): Likewise.
33900         (binaries-all): Define using $(binaries-all-notests) and
33901         $(binaries-all-tests).
33902         (binaries-static): Define using $(binaries-static-notests) and
33903         $(binaries-static-tests).
33904         (binaries-shared-tests): New variable.
33905         (binaries-shared-notests): Likewise.
33906         (binaries-shared): Remove variable.
33907         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
33908         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
33909         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
33910         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33911         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33912         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33913         * elf/Makefile (sln-modules): New variable.
33914         (extra-objs): Add $(sln-modules:=.o).
33915         (ldconfig-modules): Add static-stubs.
33916         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33917         * elf/static-stubs.c: New file.
33918
33919         [BZ #14283]
33920         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33921         by 7 not 8 to examine high bit of fractional part.  Use volatile
33922         variables when splitting into final array of floats if
33923         __FLT_EVAL_METHOD__ != 0.
33924         * math/libm-test.inc (cos_test): Add another test.
33925         (sin_test): Likewise.
33926         * sysdeps/i386/fpu/libm-test-ulps: Update.
33927
33928         [BZ #14273]
33929         * math/libm-test.inc (cosh_test): Add more tests.
33930
33931         * version.h (RELEASE): Set to "development".
33932         (VERSION): Set to "2.16.90".
33933
33934 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
33935
33936         * NEWS: Update copyright. Remove last-updated date.
33937         Mention math library bug fixes and timezone data changes.
33938         * README: Mention GNU/Hurd, x32, and HPPA support status.
33939
33940 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
33941
33942         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33943
33944 2012-06-27  Andreas Jaeger  <aj@suse.de>
33945
33946         * manual/contrib.texi (Contributors): Add Samuel Thibault.
33947
33948 2012-06-25  Andreas Jaeger  <aj@suse.de>
33949
33950         * sysdeps/s390/fpu/libm-test-ulps: Update.
33951
33952 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
33953             Thomas Schwinge  <thomas@codesourcery.com>
33954
33955         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33956         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33957         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33958         fanotify_mark.
33959
33960 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
33961
33962         * sysdeps/mach/start.c: Remove file.
33963         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33964         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33965         * sysdeps/sh/init-first.c: Likewise.
33966
33967         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33968         registers for frame unwinding purposes, add CFI directives.
33969         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33970         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33971         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33972         Likewise.
33973
33974         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33975         __fortify_fail returning.
33976         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33977
33978         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33979         sysdeps/sh/____longjmp_chk.S.
33980         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33981         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33982         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33983         (gen-as-const-headers): Append sigaltstack-offsets.sym.
33984
33985         * sysdeps/sh/abort-instr.h: New file.
33986         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33987         process in case exit returns.
33988
33989         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33990         initialize the GOT register before use.
33991
33992         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33993         calculation of ARGC > 4.
33994
33995         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33996         meaningful names to some local labels.
33997
33998 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33999             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34000
34001         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
34002         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
34003         (__arch_compare_and_exchange_val_16_acq): Likewise.
34004         (__arch_compare_and_exchange_val_32_acq): Likewise.
34005         (atomic_exchange_and_add): Fix gUSA sequence.
34006         (atomic_add): Likewise.
34007         (atomic_add_negative): Likewise.
34008         (atomic_add_zero): Likewise.
34009         (atomic_bit_test_set): Likewise.
34010
34011 2012-06-22  Andreas Schwab  <schwab@redhat.com>
34012
34013         [BZ #13579]
34014         * include/link.h (struct link_map): Add l_free_initfini.
34015         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
34016         l_initfini.
34017         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
34018         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
34019         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
34020         set.
34021
34022 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
34023
34024         * configure.in: Use AC_LANG_SOURCE.
34025         * configure: Regenerate.
34026
34027 2012-06-22  Roland McGrath  <roland@hack.frob.com>
34028
34029         * configure.in (libc_cv_localstatedir): New substituted variable.
34030         * configure: Regenerated.
34031         * config.make.in (localstatedir): New variable, substituted from
34032         libc_cv_localstatedir.
34033         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
34034         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
34035         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
34036         * sysdeps/gnu/configure: Regenerated.
34037
34038 2012-06-21  Jeff Law  <law@redhat.com>
34039
34040         [BZ #14277]
34041         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
34042         free.  Simplify list management for _LIBC case.
34043
34044 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
34045
34046         [BZ #14273]
34047         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
34048         Clear sign bit of 64-bit integer value before comparing against
34049         overflow value.
34050
34051         * sysdeps/mach/configure: Regenerated.
34052
34053 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
34054
34055         [BZ #14278]
34056         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
34057
34058 2012-06-21  Jeff Law  <law@redhat.com>
34059
34060         [BZ #13882]
34061         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
34062         uint16_t for elements in the "seen" array to avoid char overflows.
34063         * elf/dl-fini.c (_dl_sort_fini): Likewise.
34064         * elf/dl-open.c (dl_open_worker): Likewise.
34065
34066 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
34067
34068         * scripts/list-sources.sh: Scan PORTS for translations.
34069         * po/libc.pot: Regenerated.
34070
34071 2012-06-21  Andreas Jaeger  <aj@suse.de>
34072
34073         [BZ #12194]
34074         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
34075         warning.
34076         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
34077         * bits/byteswap-16.h (__bswap_16): Likewise.
34078         * bits/byteswap.h (__bswap_constant_16): Likewise.
34079
34080 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
34081
34082         [BZ #14117]
34083         * sysdeps/i386/fpu_control.h: Removed.
34084         * sysdeps/x86_64/fpu_control.h: Moved to ...
34085         * sysdeps/x86/fpu_control.h: Here.
34086
34087         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
34088         (_FPU_SETCW): Likewise.
34089
34090 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
34091
34092         [BZ #14117]
34093         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
34094         * sysdeps/x86/fpu/bits/mathinline.h: This.
34095         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
34096
34097         [BZ #14050]
34098         [BZ #14117]
34099         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
34100         functions if __x86_64__ is defined.
34101
34102 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
34103
34104         * string/endian.h: Add !__ASSEMBLER__ condition for including
34105         conversion interfaces.
34106
34107 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
34108
34109         [BZ #14241]
34110         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
34111         of ABS(x) in calculating zero to negative powers other than odd
34112         integers.
34113         * math/libm-test.inc (pow_test): Add more tests.
34114
34115 2012-06-15  Andreas Jaeger  <aj@suse.de>
34116
34117         * manual/contrib.texi (Contributors): Update entry of Liubov
34118         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
34119         Machado Filho.
34120
34121 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
34122
34123         * string/string.h: Add __wur to GNU version of strerror_r.
34124
34125 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
34126
34127         [BZ #14229]
34128         * string/Makefile (tests): Add tst-strtok_r.
34129         * string/tst-strtok_r.c: New file.
34130         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
34131         RAX_LP/RDX_LP on SAVE_PTR.
34132
34133 2012-06-14  Roland McGrath  <roland@hack.frob.com>
34134
34135         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
34136
34137 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
34138
34139         * libm_test.inc (csqrt_test): Allow more spurious underflow
34140         exceptions.
34141         (j0_test): Likewise.
34142         (j1_test): Likewise.
34143         (y0_test): Likewise.
34144         (y1_test): Likewise.
34145
34146 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
34147
34148         * po/Makefile (libc.pot): Use UTF-8 charset.
34149
34150 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
34151
34152         [BZ #14210]
34153         Suppress sign-conversion warning from FD_SET.
34154         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
34155         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
34156         not unsigned long int.
34157         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
34158
34159 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
34160
34161         [BZ #14050]
34162         [BZ #14117]
34163         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
34164         __extern_always_inline instead of __extern_inline.
34165         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
34166         (__signbit): Likewise.
34167         (__signbitl): Support C++ namespace.
34168         (lrintf): New inline function.
34169         (lrint): Likewise.
34170         (llrintf): Likewise.
34171         (llrint): Likewise.
34172         (fmaxf): Likewise.
34173         (fmax): Likewise.
34174         (fminf): Likewise.
34175         (fmin): Likewise.
34176         (rint): Likewise.
34177         (rintf): Likewise.
34178         (ceil): Likewise.
34179         (ceilf): Likewise.
34180         (floor): Likewise.
34181         (floorf): Likewise.
34182         (nearbyint): Likewise.
34183         (nearbyintf): Likewise.
34184
34185 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
34186
34187         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
34188         non-default versions.
34189
34190 2012-06-11  Roland McGrath  <roland@hack.frob.com>
34191
34192         [BZ #14218]
34193         * manual/argp.texi (Argp): Reword argp_parse description slightly.
34194
34195 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
34196
34197         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
34198         (FE_UPWARD, FE_DOWNWARD): Don't define.
34199         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
34200         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34201
34202         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
34203         reading it.
34204         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34205         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34206
34207 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34208
34209         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34210         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
34211         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
34212         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
34213
34214 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
34215
34216         [BZ #14117]
34217         * sysdeps/i386/fpu/bits/fenv.h: Removed.
34218         * sysdeps/i386/fpu/Implies: New file.
34219         * sysdeps/x86_64/fpu/Implies: Likewise.
34220         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
34221         * sysdeps/x86/fpu/bits/fenv.h: This.
34222
34223         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
34224         __SSE_MATH__.
34225
34226 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
34227
34228         [BZ #14134]
34229         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
34230         character 0xffff that matches the last element of the
34231         conversion table.
34232
34233 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34234
34235         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
34236         fmodl commit.
34237
34238 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34239
34240         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
34241         values higher than 25.6283.
34242
34243 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34244
34245         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
34246         subnormal exponent extraction and add some __builtin_expect.
34247         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
34248         Fix for subnormal mantissa calculation.
34249
34250 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
34251
34252         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
34253         cpu2 is -1 and errno is not ENOSYS.
34254
34255 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
34256
34257         [BZ #14117]
34258         * sysdeps/i386/i486/bits/string.h: Renamed to ...
34259         * sysdeps/x86/bits/string.h: This.
34260         * sysdeps/x86_64/bits/string.h: Removed.
34261
34262         * sysdeps/i386/i486/bits/string.h: Define inline functions only
34263         if not compiling for x86-64, but compiling for >= i486.
34264
34265         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
34266         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
34267
34268         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
34269         New macro from Linux kernel 3.4.0.
34270         (FP_XSTATE_MAGIC2): Likewise.
34271         (FP_XSTATE_MAGIC2_SIZE): Likewise.
34272         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
34273         (struct _fpx_sw_bytes): New struct.
34274         (struct _xsave_hdr): Likewise.
34275         (struct _ymmh_state): Likewise.
34276         (struct _xstate): Likewise.
34277
34278         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
34279         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
34280         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
34281         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
34282         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
34283         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
34284
34285         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
34286         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
34287         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
34288         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
34289         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
34290         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
34291
34292 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34293
34294         [BZ #13743]
34295         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
34296         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
34297         (sysdep_headers): Include sys/platform/ppc.h.
34298         * sysdeps/powerpc/test-gettimebase.c: Test for
34299         __ppc_get_timebase() to catch future ISA opcode/insn changes.
34300         * manual/Makefile (appendices): Include platform.texi.
34301         * manual/contrib.texi (Contributors): Update @node pointers.
34302         * manual/maint.texi (Maintenance): Likewise.
34303         (Platform): New node.
34304         * manual/platform.texi: New file.  Document the new features.
34305
34306 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34307             Jakub Jelinek  <jakub@redhat.com>
34308
34309         [BZ #14188]
34310         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
34311         where __builtin_expect is unavailable.
34312
34313 2012-06-03  David S. Miller  <davem@davemloft.net>
34314
34315         * stdlib/longlong.h: Updated from GCC.
34316
34317 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
34318
34319         [BZ #14042]
34320         * sysdeps/powerpc/powerpc32/mcount.c: New file.
34321         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
34322         __mcount_internal.
34323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34324         (GLIBC_2.16): Likewise.
34325
34326 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
34327
34328         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
34329
34330 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
34331
34332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
34333         (default-abi): New variable.
34334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
34335         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
34336         variable.
34337         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
34338         Likewise.
34339         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
34340         Likewise.
34341         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
34342         Likewise.
34343
34344         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
34345         definition.  Document in comment.
34346
34347 2012-06-01  David S. Miller  <davem@davemloft.net>
34348
34349         * stdlib/longlong.h: Updated from GCC.
34350
34351 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
34352
34353         [BZ #14117]
34354         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
34355         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
34356         sys/debugreg.h sys/io.h here.
34357         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
34358         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
34359         sys/io.h.
34360         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
34361         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
34362         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
34363         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
34364         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
34365         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
34366
34367         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
34368         Define only if __x86_64__ is defined.
34369
34370 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
34371
34372         [BZ #14048]
34373         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
34374         Use int64_t for variable i.
34375         * math/libm-test.inc (fmod_test): Add more tests.
34376
34377         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
34378         z computation is not scheduled after fetestexcept.
34379         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
34380         Use math_force_eval instead of asm to ensure calculation scheduled
34381         before exception test.
34382         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
34383         Ensure a1 + u.d computation is not scheduled after fetestexcept.
34384
34385 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
34386
34387         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
34388         computation is not scheduled after fetestexcept.
34389
34390 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
34391
34392         [BZ #14117]
34393         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
34394         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
34395
34396 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34397
34398         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
34399         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34400
34401 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
34402
34403         [BZ #14117]
34404         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
34405         <bits/wordsize.h>.
34406         (__WCHAR_MIN): Support __WORDSIZE == 64.
34407         (__WCHAR_MAX): Likewise.
34408
34409         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
34410         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
34411
34412         [BZ #14183]
34413         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
34414         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
34415
34416         [BZ #14117]
34417         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
34418         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
34419
34420         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
34421         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
34422
34423         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
34424         Defined to 1 if __x86_64__ isn't defined.
34425         (_STAT_VER_LINUX_OLD): New.
34426         (st_atime): Remove duplicate.
34427         (st_mtime): Likewise.
34428         (st_ctime): Likewise.
34429
34430 2012-05-31  David S. Miller  <davem@davemloft.net>
34431
34432         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
34433         entries.
34434
34435 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
34436
34437         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
34438         gen-libm-test.pl.
34439
34440         [BZ #14132]
34441         * elf/dl-reloc.c: Include <_itoa.h>.
34442         (_dl_reloc_bad_type): Remove use of INTUSE.
34443         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
34444         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
34445         * stdio-common/psiginfo.c (psiginfo): Likewise.
34446         * stdio-common/psignal.c (psignal): Likewise.
34447         * string/strsignal.c (strsignal): Likewise.
34448         * include/signal.h (_sys_siglist): Declare hidden proto.
34449         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
34450         INTVARDEF with libc_hidden_data_def.
34451         * stdio-common/itoa-udigits.c: Likewise.
34452         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
34453         (_itoa_lower_digits_internal): Remove declaration.
34454         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
34455         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
34456         (_sys_sigabbrev_internal): Remove aliases.
34457         (_sys_siglist): Define hidden alias.
34458
34459 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
34460
34461         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34462         bits/sysctl.h.
34463
34464 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
34465
34466         [BZ #14117]
34467         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
34468         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
34469
34470         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
34471         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
34472         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
34473         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
34474         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
34475         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
34476
34477         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
34478         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
34479         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
34480
34481         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
34482         with __addr.
34483         (insw): Likewise.
34484         (insl): Likewise.
34485         (outsb): Likewise.
34486         (outsw): Likewise.
34487         (outsl): Likewise.
34488
34489         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
34490         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
34491         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
34492
34493         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
34494         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
34495         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
34496         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
34497         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
34498         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
34499
34500         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
34501         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
34502
34503         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
34504         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
34505
34506         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
34507         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
34508         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
34509
34510         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
34511         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
34512         to ...
34513         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
34514
34515         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
34516         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
34517         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
34518
34519         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
34520         for x86-64.
34521         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
34522
34523 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
34524
34525         * math/math.h (M_El): Use two more decimal places.
34526         (M_LOG2El): Likewise.
34527         (M_LOG10El): Likewise.
34528         (M_LN2l): Likewise.
34529         (M_LN10l): Likewise.
34530         (M_PIl): Likewise.
34531         (M_PI_2l): Likewise.
34532         (M_PI_4l): Likewise.
34533         (M_1_PIl): Likewise.
34534         (M_2_PIl): Likewise.
34535         (M_2_SQRTPIl): Likewise.
34536         (M_SQRT2l): Likewise.
34537         (M_SQRT1_2l): Likewise.
34538
34539 2012-05-31  David S. Miller  <davem@davemloft.net>
34540
34541         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
34542         values between float registers.
34543         * sysdeps/sparc/sparc64/memset.S: Likewise.
34544         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34545
34546 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
34547
34548         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
34549         -D_FORTIFY_SOURCE=1.
34550         (CPPFLAGS-tst-longjmp_chk.c): Define.
34551         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
34552         (CPPFLAGS-tst-longjmp_chk2.c): Define.
34553         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
34554         CFLAGS-tst-wchar-h.c.
34555
34556 2012-05-31  Marek Polacek  <polacek@redhat.com>
34557
34558         [BZ #14132]
34559         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
34560         __endmntent_internal): Remove declaration.
34561         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
34562         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
34563         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
34564
34565 2012-05-30  David S. Miller  <davem@davemloft.net>
34566
34567         * sysdeps/sparc/sparc32/soft-fp/q_util.c
34568         (___Q_simulate_exceptions): Use real FP ops rather than writing
34569         into the %fsr.
34570         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
34571         Likewise.
34572
34573 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34574
34575         [BZ #14117]
34576         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
34577         * sysdeps/x86/bits/xtitypes.h: This.
34578
34579         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
34580         * sysdeps/x86/bits/wordsize.h: This.
34581
34582         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
34583         * sysdeps/x86/bits/huge_vall.h: This.
34584
34585         * sysdeps/i386/bits/select.h: Removed.
34586         * sysdeps/x86_64/bits/select.h: Renamed to ...
34587         * sysdeps/x86/bits/select.h: This.
34588
34589         * sysdeps/i386/bits/setjmp.h: Removed.
34590         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
34591         * sysdeps/x86/bits/setjmp.h: This.
34592
34593         * sysdeps/i386/bits/mathdef.h: Removed.
34594         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
34595         * sysdeps/x86/bits/mathdef.h: This.
34596
34597 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
34598
34599         [BZ #14132]
34600         * include/sys/socket.h (__connect_internal)
34601         (__libc_sa_len_internal): Remove declaration.
34602         (__connect, __libc_sa_len): Declare hidden_proto.
34603         (SA_LEN): Remove use of INTUSE.
34604         * socket/connect.c: Add libc_hidden_def.
34605         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
34606         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
34607         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
34608         alias.
34609         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
34610         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
34611         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
34612         of adding _internal alias.
34613
34614 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34615
34616         [BZ #14117]
34617         * sysdeps/i386/bits/link.h: Removed.
34618         * sysdeps/i386/bits/linkmap.h: Likewise.
34619         * sysdeps/x86_64/bits/link.h: Renamed to ...
34620         * sysdeps/x86/bits/link.h: This.
34621         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
34622         * sysdeps/x86/bits/linkmap.h: This.
34623
34624         * sysdeps/i386/bits/endian.h: Removed.
34625         * sysdeps/x86_64/bits/endian.h: Renamed to ...
34626         * sysdeps/x86/bits/endian.h: This.
34627
34628         * sysdeps/i386/bits/byteswap.h: Removed.
34629         * sysdeps/i386/bits/byteswap-16.h: Likewise.
34630         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
34631         * sysdeps/x86/bits/byteswap.h: This.
34632         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
34633         * sysdeps/x86/bits/byteswap-16.h: This.
34634         * sysdeps/i386/Implies: Add x86.
34635         * sysdeps/x86_64/Implies: Likewise.
34636
34637 2012-05-30  David S. Miller  <davem@davemloft.net>
34638
34639         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
34640         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
34641         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34642         (FP_TRAPPING_EXCEPTIONS): Define.
34643         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34644         (FP_TRAPPING_EXCEPTIONS): Define.
34645         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
34646         subnormals only when inexact has been signalled or underflow
34647         exceptions are enabled.
34648         (_FP_PACK_CANONICAL): Likewise.
34649
34650 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34651
34652         [BZ #14183]
34653         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
34654         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
34655
34656 2012-05-30  Richard Henderson  <rth@twiddle.net>
34657
34658         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
34659         with #ifndef NOT_IN_libc.
34660
34661         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
34662         marked to avoid plt entry.
34663
34664 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34665
34666         [BZ #14112]
34667         * Makeconfig (default-abi): New macro.
34668         (abi-includes): Likewise.
34669         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
34670         $(abi-$(default-abi)-lib-soname) for soname if defined.
34671         ($(common-objpfx)gnu/lib-names.stmp): Generate from
34672         abi-variants.
34673         * Makefile (installed-stubs): Likewise.
34674         * include/stubs-biarch.h: Removed.
34675         * scripts/lib-names.awk: Only handle one library at a time.
34676         * scripts/soversions.awk: Remove WORDSIZE support.
34677         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
34678         entries.
34679         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
34680         Removed.
34681         (syscall-list-default-condition): Likewise.
34682         (syscall-list-default-condition): Likewise.
34683         (syscall-list-includes): Likewise.
34684         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
34685         syscall-list-* with abi-*.  Handle undefined abi-variants.
34686         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
34687         * sysdeps/unix/sysv/linux/i386/Implies: New file.
34688         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
34689         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
34690         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
34691         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
34692         Removed.
34693         (syscall-list-32-options): Likewise.
34694         (syscall-list-32-condition): Likewise.
34695         (syscall-list-64-options): Likewise.
34696         (syscall-list-64-condition): Likewise.
34697         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
34698         macro.
34699         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
34700         Renamed to ...
34701         (abi-*): This.
34702         (abi-64-ld-soname): New macro.
34703         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
34704         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
34705         Renamed to ...
34706         (abi-*): This.
34707         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
34708         * sysdeps/x86_64/x32/shlib-versions: Likewise.
34709
34710 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
34711
34712         * sysdeps/unix/sysv/linux/kernel-features.h
34713         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
34714         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
34715         include <kernel-features.h>.
34716         [!__NR_ftruncate64]: Remove conditional code.
34717         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34718         [__NR_ftruncate64]: Make code unconditional.
34719         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34720         * sysdeps/unix/sysv/linux/truncate64.c: Do not
34721         include <kernel-features.h>.
34722         [!__NR_ftruncate64]: Remove conditional code.
34723         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34724         [__NR_ftruncate64]: Make code unconditional.
34725         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
34727         include <kernel-features.h>.
34728         [!__NR_ftruncate64]: Remove conditional code.
34729         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34730         [__NR_ftruncate64]: Make code unconditional.
34731         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34733         include <kernel-features.h>.
34734         [!__NR_ftruncate64]: Remove conditional code.
34735         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34736         [__NR_ftruncate64]: Make code unconditional.
34737         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34738
34739         * configure.in (libc_cv_fpie): Weaken to a compile test using
34740         LIBC_TRY_CC_OPTION.
34741         * configure: Regenerated.
34742
34743 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34744
34745         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
34746         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
34747         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
34748         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34749         Refreshed.
34750         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
34751         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
34752         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
34753         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
34754         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
34755         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34756         Refreshed.
34757
34758 2012-05-27  David S. Miller  <davem@davemloft.net>
34759
34760         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
34761         (___Q_zero): New.
34762         (__Q_simulate_exceptions): Return void.  Change to simulate
34763         exceptions by writing into the %fsr.
34764         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
34765         (__Qp_handle_exceptions): Likewise.
34766         (numbers): Delete.
34767         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
34768         __Qp_handle_exceptions.
34769         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
34770         __Qp_handle_exceptions.
34771         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34772         as unused and give dummy FP_RND_NEAREST initializer.
34773         (FP_INHIBIT_RESULTS): Define.
34774         (___Q_simulate_exceptions): Update declaration.
34775         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
34776         formatting.
34777         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34778         as unused and give dummy FP_RND_NEAREST initializer.
34779         (__Qp_handle_exceptions): Update declaration.
34780         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
34781         formatting.
34782
34783 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
34784
34785         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
34786         the temporary FPU control word.
34787         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34788         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
34789         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34790         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34791         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34792         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34793         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34794         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34795         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34796         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
34797         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34798
34799 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34800
34801         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
34802         fields.
34803
34804 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
34805
34806         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
34807         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
34808         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
34809         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
34810         Likewise.
34811         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
34812         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
34813         Likewise.
34814
34815 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
34816
34817         * po/h.po: Update from translation team.
34818
34819 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
34820
34821         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
34822
34823         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
34824         handling of denormals.
34825         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34826         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34827         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34828         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34829         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34830         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34831         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34832         Likewise.
34833
34834 2012-05-26  Marek Polacek  <polacek@redhat.com>
34835
34836         [BZ #14152]
34837         * math/libm-test.inc (fma_test): Don't always expect underflow
34838         exception.
34839
34840 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34841
34842         [BZ #12416]
34843         * elf/tst-execstack.c: Include stackinfo.h.
34844         (do_test): Adjust test case to ensure that pthread_getattr_np
34845         behaviour remains the same after marking stack executable.
34846
34847 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
34848
34849         * sysdeps/unix/sysv/linux/kernel-features.h
34850         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34851         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34852         kernel-features.h.
34853         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34854         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34855         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34856         kernel-features.h.
34857         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34858         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34859
34860 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
34861
34862         * configure.in: Define the default includes to being none.
34863         * configure: Regenerated.
34864
34865 2012-05-25  Roland McGrath  <roland@hack.frob.com>
34866
34867         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34868         * sysdeps/x86_64/setjmp.S: Likewise.
34869         * sysdeps/i386/bsd-setjmp.S: Likewise.
34870         * sysdeps/i386/bsd-_setjmp.S: Likewise.
34871         * sysdeps/i386/setjmp.S: Likewise.
34872         * sysdeps/i386/__longjmp.S: Likewise.
34873         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34874         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34875
34876         * include/stap-probe.h: New file.
34877         * configure.in: Handle --enable-systemtap.
34878         * configure: Regenerated.
34879         * config.h.in (USE_STAP_PROBE): New #undef.
34880         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34881         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34882         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34883
34884 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
34885
34886         [BZ #13717]
34887         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34888         to 2.4.0 where earlier.
34889         * sysdeps/unix/sysv/linux/configure: Regenerated.
34890         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34891         <kernel-features.h>.
34892         [__ASSUME_32BITUIDS]: Make code unconditional.
34893         [!__ASSUME_32BITUIDS]: Remove conditional code.
34894         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
34895         <kernel-features.h>.
34896         [__ASSUME_32BITUIDS]: Make code unconditional.
34897         [!__ASSUME_32BITUIDS]: Remove conditional code.
34898         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
34899         [__ASSUME_32BITUIDS]: Make code unconditional.
34900         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34901         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
34902         <kernel-features.h>.
34903         [__ASSUME_32BITUIDS]: Make code unconditional.
34904         [!__ASSUME_32BITUIDS]: Remove conditional code.
34905         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
34906         <kernel-features.h>.
34907         [__ASSUME_32BITUIDS]: Make code unconditional.
34908         [!__ASSUME_32BITUIDS]: Remove conditional code.
34909         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
34910         <kernel-features.h>.
34911         [__ASSUME_32BITUIDS]: Make code unconditional.
34912         [!__ASSUME_32BITUIDS]: Remove conditional code.
34913         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
34914         <kernel-features.h>.
34915         [__ASSUME_32BITUIDS]: Make code unconditional.
34916         [!__ASSUME_32BITUIDS]: Remove conditional code.
34917         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34918         <kernel-features.h>.
34919         [__ASSUME_32BITUIDS]: Make code unconditional.
34920         [!__ASSUME_32BITUIDS]: Remove conditional code.
34921         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34922         <kernel-features.h>.
34923         [__ASSUME_32BITUIDS]: Make code unconditional.
34924         [!__ASSUME_32BITUIDS]: Remove conditional code.
34925         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
34926         <kernel-features.h>.
34927         [__ASSUME_32BITUIDS]: Make code unconditional.
34928         [!__ASSUME_32BITUIDS]: Remove conditional code.
34929         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34930         <kernel-features.h>.
34931         [__ASSUME_32BITUIDS]: Make code unconditional.
34932         [!__ASSUME_32BITUIDS]: Remove conditional code.
34933         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34934         <kernel-features.h>.
34935         [__ASSUME_32BITUIDS]: Make code unconditional.
34936         [!__ASSUME_32BITUIDS]: Remove conditional code.
34937         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
34938         <kernel-features.h>.
34939         [__ASSUME_32BITUIDS]: Make code unconditional.
34940         [!__ASSUME_32BITUIDS]: Remove conditional code.
34941         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
34942         <kernel-features.h>.
34943         [__NR_setresgid] (__setresgid): Do not declare.
34944         [__ASSUME_32BITUIDS]: Make code unconditional.
34945         [!__ASSUME_32BITUIDS]: Remove conditional code.
34946         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34947         <kernel-features.h>.
34948         [__NR_setresuid] (__setresuid): Do not declare.
34949         [__ASSUME_32BITUIDS]: Make code unconditional.
34950         [!__ASSUME_32BITUIDS]: Remove conditional code.
34951         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
34952         <kernel-features.h>.
34953         [__ASSUME_32BITUIDS]: Make code unconditional.
34954         [!__ASSUME_32BITUIDS]: Remove conditional code.
34955         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
34956         <kernel-features.h>.
34957         [__ASSUME_32BITUIDS]: Make code unconditional.
34958         [!__ASSUME_32BITUIDS]: Remove conditional code.
34959         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
34960         <kernel-features.h>.
34961         [__ASSUME_32BITUIDS]: Make code unconditional.
34962         [!__ASSUME_32BITUIDS]: Remove conditional code.
34963         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
34964         <kernel-features.h>.
34965         [__ASSUME_32BITUIDS]: Make code unconditional.
34966         [!__ASSUME_32BITUIDS]: Remove conditional code.
34967         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
34968         <kernel-features.h>.
34969         [__ASSUME_32BITUIDS]: Make code unconditional.
34970         [!__ASSUME_32BITUIDS]: Remove conditional code.
34971         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
34972         <kernel-features.h>.
34973         [__ASSUME_32BITUIDS]: Make code unconditional.
34974         [!__ASSUME_32BITUIDS]: Remove conditional code.
34975         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
34976         <kernel-features.h>.
34977         [__ASSUME_32BITUIDS]: Make code unconditional.
34978         [!__ASSUME_32BITUIDS]: Remove conditional code.
34979         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
34980         <kernel-features.h>.
34981         [__ASSUME_32BITUIDS]: Make code unconditional.
34982         [!__ASSUME_32BITUIDS]: Remove conditional code.
34983         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
34984         <kernel-features.h>.
34985         [__ASSUME_32BITUIDS]: Make code unconditional.
34986         [!__ASSUME_32BITUIDS]: Remove conditional code.
34987         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34988         <kernel-features.h>.
34989         [__ASSUME_32BITUIDS]: Make code unconditional.
34990         [!__ASSUME_32BITUIDS]: Remove conditional code.
34991         * sysdeps/unix/sysv/linux/kernel-features.h
34992         (__ASSUME_SETRESUID_SYSCALL): Remove.
34993         (__ASSUME_SETRESGID_SYSCALL): Likewise.
34994         (__ASSUME_32BITUIDS): Likewise.
34995         (__ASSUME_LDT_WORKS): Likewise.
34996         (__ASSUME_O_DIRECTORY): Likewise.
34997         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34998         architecture but not kernel version.
34999         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
35000         (__ASSUME_MMAP2_SYSCALL): Likewise.
35001         (__ASSUME_STAT64_SYSCALL): Likewise.
35002         (__ASSUME_IPC64): Likewise.
35003         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
35004         <kernel-features.h>.
35005         [__ASSUME_32BITUIDS]: Make code unconditional.
35006         [!__ASSUME_32BITUIDS]: Remove conditional code.
35007         * sysdeps/unix/sysv/linux/opendir.c: Do not include
35008         <kernel-features.h>.
35009         [__ASSUME_O_DIRECTORY]: Make code unconditional.
35010         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
35011         132096]: Remove conditional code.
35012         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
35013         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
35014         <kernel-features.h>.
35015         [__ASSUME_32BITUIDS]: Make code unconditional.
35016         [!__ASSUME_32BITUIDS]: Remove conditional code.
35017         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
35018         <kernel-features.h>.
35019         [__ASSUME_32BITUIDS]: Make code unconditional.
35020         [!__ASSUME_32BITUIDS]: Remove conditional code.
35021         * sysdeps/unix/sysv/linux/setegid.c: Do not include
35022         <kernel-features.h>.
35023         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
35024         unconditional.
35025         (__setresgid): Do not declare.
35026         [__ASSUME_32BITUIDS]: Make code unconditional.
35027         [!__ASSUME_32BITUIDS]: Remove conditional code.
35028         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
35029         <kernel-features.h>.
35030         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
35031         unconditional.
35032         (__setresuid): Do not declare.
35033         [__ASSUME_32BITUIDS]: Make code unconditional.
35034         [!__ASSUME_32BITUIDS]: Remove conditional code.
35035         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
35036         <kernel-features.h>.
35037         [__ASSUME_32BITUIDS]: Make code unconditional.
35038         [!__ASSUME_32BITUIDS]: Remove conditional code.
35039         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
35040         <kernel-features.h>.
35041         [__ASSUME_32BITUIDS]: Make code unconditional.
35042         [!__ASSUME_32BITUIDS]: Remove conditional code.
35043
35044 2012-05-25  Richard Henderson  <rth@twiddle.net>
35045
35046         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
35047         dl_hwcap to ifunc resolver.
35048         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
35049         elf_ifunc_invoke.
35050         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
35051         dl_hwcap to ifunc resolver.
35052         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
35053
35054 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
35055
35056         [BZ #14153]
35057         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
35058         for |x| <= 2**-26, not 2**-57.
35059         * math/libm-test.inc (acos_test): Do not allow spurious underflow
35060         exception.
35061
35062 2012-05-24  Jeff Law  <law@redhat.com>
35063
35064         * stdio-common/Makefile (tests): Add bug25.
35065         * stdio-common/bug25.c: New test.
35066
35067 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
35068
35069         [BZ #13576]
35070         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
35071         multiple of MALLOC_ALIGNMENT in size.
35072         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
35073
35074 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
35075
35076         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
35077         Require >= 256.
35078         (FILENAME_MAX): Use macro-int-constant.
35079         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
35080         (_IOFBF): Use macro-int-constant.
35081         (_IOLBF): Likewise.
35082         (_IONBF): Likewise.
35083         (SEEK_CUR): Likewise.
35084         (SEEK_END): Likewise.
35085         (SEEK_SET): Likewise.
35086         (TMP_MAX): Likewise.
35087         (EOF): Use macro-int-constant.  Require < 0.
35088         (NULL): Use macro-constant.  Require == 0.
35089         (stdin): Require type to be FILE *.
35090         (stdout): Likewise.
35091         (stderr): Likewise.
35092         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
35093         macro-int-constant.
35094         (EXIT_SUCCESS): Likewise.
35095         (NULL): Use macro-constant.  Require == 0.
35096         (RAND_MAX): Use macro-int-constant.
35097         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
35098         [C99-based standards] (strtof): Require function.
35099         [C99-based standards] (strtold): Likewise.
35100         [C99-based standards] (strtoll): Likewise.
35101         [C99-based standards] (strtoull): Likewise.
35102         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35103         [ISO || ISO99 || ISO11] (limits.h): Likewise.
35104         [ISO || ISO99 || ISO11] (math.h): Likewise.
35105         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
35106         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35107         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35108
35109 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
35110
35111         [BZ #14132]
35112         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
35113         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
35114         * intl/dgettext.c (DCGETTEXT): Likewise.
35115         * intl/gettext.c (DCGETTEXT): Likewise.
35116         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
35117         * posix/regex_internal.h (gettext): Likewise.
35118         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
35119         Remove declaration.
35120         * include/argz.h (__argz_count_internal)
35121         (__argz_stringify_internal): Remove declaration.
35122         (__argz_count, __argz_stringify): Declare hidden proto.
35123         * intl/dcgettext.c: Remove use of INTDEF.
35124         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
35125         * string/argz-stringify.c: Likewise.
35126         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35127         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35128         Declare hidden proto.
35129         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35130         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35131         Declare hidden proto.
35132         * include/stdio.h (__asprintf_internal): Don't declare.
35133         (__asprintf): Don't define as macro.  Declare hidden proto.
35134         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
35135         (__fsetlocking): Declare hidden proto.
35136         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
35137         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
35138         hidden proto.
35139         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
35140         (_IO_setlinebuf): Remove use of INTUSE.
35141         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
35142         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
35143         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
35144         Remove declaration.
35145         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
35146         (_IO_do_flush): Remove use of INTUSE.
35147         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
35148         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
35149         (_IO_adjust_column, _IO_least_wmarker)
35150         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
35151         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
35152         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
35153         (_IO_default_doallocate, _IO_wdefault_doallocate)
35154         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
35155         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
35156         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
35157         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
35158         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
35159         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
35160         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
35161         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
35162         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
35163         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
35164         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
35165         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
35166         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
35167         proto.
35168         (_IO_flush_all_internal, _IO_adjust_column_internal)
35169         (_IO_default_uflow_internal, _IO_default_finish_internal)
35170         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
35171         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
35172         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
35173         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
35174         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
35175         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
35176         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
35177         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
35178         (_IO_file_close_internal, _IO_file_close_it_internal)
35179         (_IO_file_underflow_internal, _IO_file_overflow_internal)
35180         (_IO_file_init_internal, _IO_file_attach_internal)
35181         (_IO_file_fopen_internal, _IO_file_read_internal)
35182         (_IO_file_sync_internal, _IO_file_seek_internal)
35183         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
35184         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
35185         (_IO_str_underflow_internal, _IO_str_overflow_internal)
35186         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
35187         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
35188         (_IO_list_all_internal, _IO_link_in_internal)
35189         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
35190         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
35191         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
35192         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
35193         (_IO_do_write_internal, _IO_padn_internal)
35194         (_IO_getline_info_internal, _IO_getline_internal)
35195         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
35196         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
35197         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
35198         (_IO_vfscanf_internal, _IO_vfprintf_internal)
35199         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
35200         (_IO_init_internal, _IO_un_link_internal): Don't declare.
35201         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
35202         with libc_hidden_ver, remove use of INTUSE.
35203         * libio/genops.c: Likewise.
35204         * libio/freopen.c: Likewise.
35205         * libio/freopen64.c: Likewise.
35206         * libio/iofclose.c: Likewise.
35207         * libio/iofdopen.c: Likewise.
35208         * libio/iofflush.c: Likewise.
35209         * libio/iofflush_u.c: Likewise.
35210         * libio/iofgets.c: Likewise.
35211         * libio/iofgets_u.c: Likewise.
35212         * libio/iofopen.c: Likewise.
35213         * libio/iofopncook.c: Likewise.
35214         * libio/iofread.c: Likewise.
35215         * libio/iofread_u.c: Likewise.
35216         * libio/ioftell.c: Likewise.
35217         * libio/iofwrite.c: Likewise.
35218         * libio/iogetline.c: Likewise.
35219         * libio/iogets.c: Likewise.
35220         * libio/iogetwline.c: Likewise.
35221         * libio/iopadn.c: Likewise.
35222         * libio/iopopen.c: Likewise.
35223         * libio/ioseekoff.c: Likewise.
35224         * libio/ioseekpos.c: Likewise.
35225         * libio/iosetbuffer.c: Likewise.
35226         * libio/iosetvbuf.c: Likewise.
35227         * libio/ioungetc.c: Likewise.
35228         * libio/ioungetwc.c: Likewise.
35229         * libio/iovdprintf.c: Likewise.
35230         * libio/iovsprintf.c: Likewise.
35231         * libio/iovsscanf.c: Likewise.
35232         * libio/memstream.c: Likewise.
35233         * libio/obprintf.c: Likewise.
35234         * libio/oldfileops.c: Likewise.
35235         * libio/oldiofclose.c: Likewise.
35236         * libio/oldiofdopen.c: Likewise.
35237         * libio/oldiofopen.c: Likewise.
35238         * libio/oldiopopen.c: Likewise.
35239         * libio/oldstdfiles.c: Likewise.
35240         * libio/putc.c: Likewise.
35241         * libio/setbuf.c: Likewise.
35242         * libio/setlinebuf.c: Likewise.
35243         * libio/stdfiles.c: Likewise.
35244         * libio/strops.c: Likewise.
35245         * libio/vasprintf.c: Likewise.
35246         * libio/vscanf.c: Likewise.
35247         * libio/vsnprintf.c: Likewise.
35248         * libio/vswprintf.c: Likewise.
35249         * libio/wfiledoalloc.c: Likewise.
35250         * libio/wfileops.c: Likewise.
35251         * libio/wgenops.c: Likewise.
35252         * libio/wmemstream.c: Likewise.
35253         * libio/wstrops.c: Likewise.
35254         * libio/__fpurge.c: Likewise.
35255         * libio/__fsetlocking.c: Likewise.
35256         * assert/assert.c: Likewise.
35257         * debug/fgets_chk.c: Likewise.
35258         * debug/fgets_u_chk.c: Likewise.
35259         * debug/fread_chk.c: Likewise.
35260         * debug/fread_u_chk.c: Likewise.
35261         * debug/gets_chk.c: Likewise.
35262         * debug/obprintf_chk.c: Likewise.
35263         * debug/vasprintf_chk.c: Likewise.
35264         * debug/vdprintf_chk.c: Likewise.
35265         * debug/vsnprintf_chk.c: Likewise.
35266         * debug/vsprintf_chk.c: Likewise.
35267         * malloc/mtrace.c: Likewise.
35268         * misc/error.c: Likewise.
35269         * misc/syslog.c: Likewise.
35270         * stdio-common/asprintf.c: Likewise.
35271         * stdio-common/fxprintf.c: Likewise.
35272         * stdio-common/getw.c: Likewise.
35273         * stdio-common/isoc99_fscanf.c: Likewise.
35274         * stdio-common/isoc99_scanf.c: Likewise.
35275         * stdio-common/isoc99_vfscanf.c: Likewise.
35276         * stdio-common/isoc99_vscanf.c: Likewise.
35277         * stdio-common/isoc99_vsscanf.c: Likewise.
35278         * stdio-common/printf-prs.c: Likewise.
35279         * stdio-common/printf_fp.c: Likewise.
35280         * stdio-common/printf_fphex.c: Likewise.
35281         * stdio-common/printf_size.c: Likewise.
35282         * stdio-common/putw.c: Likewise.
35283         * stdio-common/scanf.c: Likewise.
35284         * stdio-common/sprintf.c: Likewise.
35285         * stdio-common/tmpfile.c: Likewise.
35286         * stdio-common/vfprintf.c: Likewise.
35287         * stdio-common/vfscanf.c: Likewise.
35288         * stdlib/strfmon_l.c: Likewise.
35289         * sunrpc/openchild.c: Likewise.
35290         * sunrpc/xdr_stdio.c: Likewise.
35291         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
35292         * sysdeps/mach/hurd/tmpfile.c: Likewise.
35293
35294 2012-05-24  Roland McGrath  <roland@hack.frob.com>
35295
35296         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35297
35298         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
35299         in the third column, to generate for the shared library an IFUNC
35300         that uses _dl_vdso_vsym.
35301         * Makerules (COMPILE.c, compile-stdin.c): New variables.
35302         * Makeconfig (object-suffixes-noshared): New variable.
35303
35304         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
35305         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
35306         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
35307         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
35308
35309         [BZ #14132]
35310         * include/sys/time.h (__gettimeofday): Remove macro.
35311         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
35312         * time/gettimeofday.c (__gettimeofday): Remove #undef.
35313         Remove INTDEF.
35314         (__gettimeofday): Add libc_hidden_def.
35315         (gettimeofday): Add libc_hidden_weak.
35316         * sysdeps/mach/gettimeofday.c: Likewise.
35317         * sysdeps/posix/gettimeofday.c: Likewise.
35318         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
35319         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
35320         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
35321         (__gettimeofday_internal): Remove strong_alias.
35322         (__gettimeofday): Add libc_hidden_def.
35323         (gettimeofday): Add libc_hidden_weak.
35324         * sysdeps/unix/syscalls.list (gettimeofday):
35325         Remove __gettimeofday_internal alias.
35326
35327 2012-05-24  Daniel Jacobowitz  <drow@false.org>
35328             H.J. Lu  <hongjiu.lu@intel.com>
35329
35330         [BZ #12495]
35331         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
35332         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
35333         (largebin_index_32_big): New.
35334         (largebin_index): Use it for 16-byte alignment.
35335         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
35336         correction with front_misalign.
35337
35338 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
35339
35340         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
35341         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
35342         Likewise.
35343         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
35344         Likewise.
35345         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
35346         Likewise.
35347         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
35348         Likewise.
35349         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
35350         Likewise.
35351         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
35352         Likewise.
35353         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
35354         Likewise.
35355         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
35356         Likewise.
35357         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
35358         Likewise.
35359         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
35360         Likewise.
35361         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
35362         Likewise.
35363         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
35364         Likewise.
35365
35366         * scripts/data/c++-types-x32-linux-gnu.data: New file.
35367         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
35368
35369 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
35370
35371         [BZ #10846]
35372         [BZ #14036]
35373         * math/libm-test.inc (exp_test): Add test from bug 14036.
35374         (pow_test): Add test from bug 10846.
35375
35376         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
35377         and other flags.
35378         (special_function): Do not include flags in test name.
35379         (parse_args): Likewise.
35380         * sysdeps/i386/fpu/libm-test-ulps: Update.
35381         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35382         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35383         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35385
35386         * math/gen-libm-test.pl (%beautify): Add entries for underflow
35387         exceptions.
35388         * math/libm-test.inc ("Philosophy"): Update comment about
35389         exception testing.
35390         (UNDERFLOW_EXCEPTION): New macro.
35391         (UNDERFLOW_EXCEPTION_OK): Likewise.
35392         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
35393         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
35394         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
35395         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
35396         (INVALID_EXCEPTION_OK): Update value.
35397         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35398         (OVERFLOW_EXCEPTION_OK): Likewise.
35399         (IGNORE_ZERO_INF_SIGN): Likewise.
35400         (test_exceptions): Handle underflow exceptions.
35401         (acos_test): Update for underflow exception expectations.
35402         (cexp_test): Likewise.
35403         (clog_test): Likewise.
35404         (clog10_test): Likewise.
35405         (csqrt_test): Likewise.
35406         (ctan_test): Likewise.
35407         (ctanh_test): Likewise.
35408         (exp_test): Likewise.
35409         (exp10_test): Likewise.
35410         (exp2_test): Likewise.
35411         (expm1_test): Likewise.
35412         (fma_test): Likewise.
35413         (j0_test): Likewise.
35414         (jn_test): Likewise.
35415         (nexttoward_test): Likewise.
35416         (pow_test): Likewise.
35417         (scalbn_test): Likewise.
35418         (scalbln_test): Likewise.
35419         (tan_test): Likewise.
35420         (y1_test): Likewise.
35421         * sysdeps/i386/fpu/libm-test-ulps: Update.
35422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35423
35424 2012-05-23  David S. Miller  <davem@davemloft.net>
35425
35426         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35427         (__libc_sigaction): Remove unused local variables.
35428
35429 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35430
35431         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
35432
35433 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
35434
35435         mktime: avoid signed integer overflow
35436         * time/mktime.c (__mktime_internal): Do not mishandle the case
35437         where diff == INT_MIN.
35438
35439         mktime: simplify computation of average
35440         * time/mktime.c (ranged_convert): Use new time_t_avg function
35441         instead of rolling our own (probably-slower) code.
35442
35443         mktime: do not assume signed right shift propagates sign bit
35444         * time/mktime.c (isdst_differ): New static function.
35445         (__mktime_internal): No need to normalize tm_isdst now.
35446         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
35447         tm_isdst values.
35448
35449         mktime: merge another wrapv change from gnulib
35450         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
35451         from some compilers.
35452
35453         mktime: remove incorrect attempt at unusual arithmetics
35454         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
35455         The code didn't really work on such machines anyway.
35456         (TYPE_MINIMUM): Assume two's complement.
35457         (twos_complement_arithmetic): Verify that long_int and time_t
35458         are two's complement (or unsigned, in the latter case).
35459
35460         mktime: check signed shifts on long_int and time_t, too
35461         * time/mktime.c (SHR): Check that shifts work as desired
35462         on the types long_int and time_t too, as SHR is used on
35463         such types.
35464
35465         mktime: do not assume 'long' is wide enough
35466         * time/mktime.c (verify): Move decl up.
35467         (long_int): New type.
35468         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
35469         to remove assumption in the code that 'long' is wide enough to
35470         store year values.  This assumption is not true on x32 and on
35471         some non-glibc platforms.
35472
35473         mktime: merge wrapv change from gnulib
35474         * time/mktime.c (WRAPV): New macro.
35475         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
35476         (guess_time_tm, __mktime_internal): Do not assume that signed
35477         integer overflow wraps around; modern compilers generate code
35478         where this assumption is no longer valid.
35479
35480 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35481
35482         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35483         Replace "jmp L(pseudo_end)" with "ret".
35484         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
35485         Likewise.
35486
35487 2012-05-23  Andreas Jaeger  <aj@suse.de>
35488
35489         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
35490         * sysdeps/unix/sysv/linux/poll.c: Remove file.
35491
35492 2012-05-23  Andreas Jaeger  <aj@suse.de>
35493             Maximilian Attems  <max@stro.at>
35494
35495         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
35496         New macros.
35497
35498 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35499
35500         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
35501         code so that pseudo_end is just ret and the stack pointer is
35502         correct also for static library in error case.
35503
35504 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
35505
35506         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
35507         move to syscalls.list.
35508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35512
35513         * manual/install.texi (Running make install): Do not mention Linux
35514         kernel version for which pt_chown is not needed.
35515         (Linux): Do not mention problems with nscd with 2.0 kernels.
35516         * INSTALL: Regenerated.
35517
35518 2012-05-23  Andreas Jaeger  <aj@suse.de>
35519
35520         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
35521         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
35522         macro.
35523         * sysdeps/unix/sysv/linux/s390/bits/mman.h
35524         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35525         * sysdeps/unix/sysv/linux/sh/bits/mman.h
35526         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35527         * sysdeps/unix/sysv/linux/i386/bits/mman.h
35528         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35529         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
35530         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35531         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
35532         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35533         * sysdeps/unix/sysv/linux/bits/in.h
35534         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
35535
35536 2012-05-22  Roland McGrath  <roland@hack.frob.com>
35537
35538         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
35539         (PREPARE_VERSION): Just use assert instead, it will be elided
35540         under [NDEBUG] anyway.
35541
35542 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35543
35544         * sysdeps/unix/sysv/linux/Makefile: Include
35545         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
35546         (sysdep_routines): Remove sysctl.
35547         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
35548         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
35549         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
35550         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
35551         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
35552
35553 2012-05-22  Andreas Jaeger  <aj@suse.de>
35554
35555         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
35556         that pseudo_end is just ret and the stack pointer is correct also
35557         for static library in error case.
35558
35559 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
35560
35561         [BZ #14122]
35562         * nss/nsswitch.c (defconfig_entries): New variable.
35563         (__nss_database_lookup): Don't leak defconfig entries.
35564         (nss_parse_service_list): Don't leak on error paths.
35565         (free_database_entries): New function.
35566         (free_defconfig): New function.
35567         (free_mem): Move common code to free_database_entries.
35568
35569 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35570
35571         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
35572         Add arch_prctl.
35573         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
35574
35575         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35576         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
35577         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
35578         New macro.
35579         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
35580         (INTERNAL_SYSCALL_TYPES): Likewise.
35581         (LOAD_ARGS_TYPES_[1-6]): Likewise.
35582         (LOAD_REGS_TYPES_[1-6]): Likewise.
35583         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
35584         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
35585
35586 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35587
35588         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
35589         copysignl for GLIBC_2_0.
35590         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
35591         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
35592         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
35593         logbl for GLIBC_2_0.
35594         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35595         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35596
35597 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35598
35599         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
35600         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35601
35602         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35603         Use "neg %eax".
35604
35605         * time/mktime.c: Update copyright years.
35606
35607 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
35608
35609         mktime: merge comment-quoting-style change from gnulib
35610         * time/mktime.c: Quote 'like this' in comments.
35611         The GNU coding standards suggest that we no longer quote `like this',
35612         as "`" and "'" are typically rendered asymmetrically nowadays.
35613         The typical gnulib style is to quote 'like this' when quoting
35614         code, and "like this" when quoting English.
35615
35616         * time/mktime.c (compile-command): Add "-I.".
35617
35618         mktime: merge mktime-internal.h change from gnulib
35619         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
35620
35621         mktime: merge time_r change from gnulib
35622         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
35623
35624         mktime: merge DEBUG change from gnulib
35625         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
35626         case system <time.h> has a #define.
35627
35628         mktime: merge <sys/types.h> change from gnulib
35629         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
35630         since <time.t> is now guaranteed to define time_t.
35631
35632         mktime: merge HAVE_CONFIG_H change from gnulib
35633         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
35634
35635 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35636
35637         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35638         Use "neg %eax".
35639
35640         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
35641         __rlim_t cast.
35642         (struct rusage): Use anonymous union to pad each field to
35643         __syscall_slong_t.
35644
35645 2012-05-21  David S. Miller  <davem@davemloft.net>
35646
35647         * Makefules (o-iterator): Remove .s cases.
35648         (compile-command.s): Delete.
35649         (COMPILE.s): Delete.
35650         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
35651
35652 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
35653
35654         * configure.in (libc_cv_predef_stack_protector): Only consider
35655         "foobar" and "__stack_chk_fail" lines in libc_undefs.
35656         * configure: Regenerated.
35657
35658 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35659
35660         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35661         New macro.  Use R*LP on int and pointer.
35662         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
35663         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
35664         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
35665         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
35666
35667         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
35668         [__WORDSIZE_TIME64_COMPAT32] instead of
35669         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
35670         (struct utmp): Likewise.
35671         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
35672         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
35673         Renamed to ...
35674         (__WORDSIZE_TIME64_COMPAT32): This.
35675         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
35676         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
35677         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
35678         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
35679         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
35680         (__WORDSIZE_TIME64_COMPAT32): New macro.
35681
35682 2012-05-21  Andreas Jaeger  <aj@suse.de>
35683
35684         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
35685         only if [SHARED]. Add prototype for __wcschr_ia32.
35686
35687 2012-05-21  Roland McGrath  <roland@hack.frob.com>
35688
35689         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
35690         of %rbp unmolested in the jmp_buf while mangling the low bits.
35691         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
35692         unmolested high bits of %rbp while demangling the low bits.
35693         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35694
35695 2012-05-21  Andreas Jaeger  <aj@suse.de>
35696
35697         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
35698         * sunrpc/svc_simple.c: Use it for registerrpc.
35699         * sunrpc/xcrypt.c: Use it for passwd2des.
35700
35701         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
35702
35703 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35704
35705         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
35706         Don't define if [__SYSCALL_WORDSIZE != 32].
35707         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
35708         New macro.
35709
35710 2012-05-21  Bruno Haible  <bruno@clisp.org>
35711             Andreas Jaeger  <aj@suse.de>
35712
35713         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
35714         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
35715         inptr and inend for must_buffer_ch.
35716         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
35717         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
35718         * stdio-common/Makefile (tests): Remove bug15.
35719         (bug15-ENV): Remove macro.
35720         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
35721         anymore.
35722
35723 2012-05-19  Andreas Jaeger  <aj@suse.de>
35724             Roland McGrath  <roland@hack.frob.com>
35725
35726         * manual/contrib.texi: Completely rewritten. It contains now an
35727         alphabetical list of contributors and their contributions.
35728
35729 2012-05-21  Richard Henderson  <rth@twiddle.net>
35730
35731         * misc/getauxval.c (__getauxval): Use unsigned long int.
35732         * misc/sys/auxv.h: Include <sys/cdefs.h>.
35733         (getauxval): Use unsigned long int.
35734
35735 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35736
35737         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35738
35739 2012-05-21  Roland McGrath  <roland@hack.frob.com>
35740
35741         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
35742         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
35743         __alignof__ (long double).
35744
35745 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35746
35747         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35748
35749 2012-05-20  Richard Henderson  <rth@twiddle.net>
35750
35751         * misc/getauxval.c: New file.
35752         * misc/sys/auxv.h: New file.
35753         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
35754         (routines): Add getauxval.
35755         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
35756         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
35757         * elf/dl-sysdep.c (_dl_auxv): Remove.
35758         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
35759         * elf/dl-support.c (_dl_auxv): New variable.
35760         (_dl_aux_init): Initialize it.
35761         * manual/startup.texi (Auxiliary Vector): New node.
35762         * sysdeps/generic/bits/hwcap.h: New file.
35763         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
35764         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
35765         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
35766         * sysdeps/sparc/sysdep.h: ... here.  Include it.
35767         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
35768         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
35769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35770         Update.
35771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
35772         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
35773         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
35774         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
35775         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35776         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35777         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
35778         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
35779
35780 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35781
35782         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35783
35784 2012-05-19  David S. Miller  <davem@davemloft.net>
35785
35786         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35787
35788 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
35789
35790         [BZ #14123]
35791         * math/s_ccosh.c: Include <float.h>
35792         (__ccosh): Avoid internal overflow calculating sinh and cosh
35793         values before multiplying by sin and cos values.
35794         * math/s_ccoshf.c: Likewise.
35795         * math/s_ccoshl.c: Likewise.
35796         * math/s_csin.c: Likewise.
35797         * math/s_csinf.c: Likewise.
35798         * math/s_csinl.c: Likewise.
35799         * math/s_csinh.c: Likewise.
35800         * math/s_csinhf.c: Likewise.
35801         * math/s_csinhl.c: Likewise.
35802         * math/libm-test.inc (ccos_test): Add more tests.
35803         (ccosh_test): Likewise.
35804         (csin_test): Likewise.
35805         (csinh_test): Likewise.
35806         * sysdeps/i386/fpu/libm-test-ulps: Update.
35807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35808
35809 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
35810
35811         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
35812         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
35813
35814         * sysdeps/x86_64/x32/_itoa.h: Add comment.
35815
35816 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
35817
35818         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
35819         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
35820         * sysdeps/powerpc/soft-fp/Versions: Likewise.
35821         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
35822         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
35823         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
35824         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
35825         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
35826         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
35827         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
35828         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
35829         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35830         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35831         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35832         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35833         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35834         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35835         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35836         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35837         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35838         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35839         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35840         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35841         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35842         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35843         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35844         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35845         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35846         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35847         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35848         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35849
35850 2012-05-18  Andreas Jaeger  <aj@suse.de>
35851
35852         * csu/.gitignore: Delete.
35853
35854 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35855
35856         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35857         (timex): Use __syscall_slong_t.
35858
35859 2012-05-18  Andreas Jaeger  <aj@suse.de>
35860             Carlos O'Donell  <carlos_odonell@mentor.com>
35861
35862         * manual/install.texi (Configuring and compiling): Update
35863         description about files modified in the source directory.
35864         * INSTALL: Regenerated.
35865
35866 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35867
35868         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35869         value.  Use "or" to set return value to -1.
35870         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35871         negate return value.
35872
35873 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35874
35875         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35876         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
35877         failure if the compiler has Graphite support disabled.
35878         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35879         Likewise.
35880         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35881         (CFLAGS-memmove.c): Likewise.
35882         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35883         Likewise.
35884
35885 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35886
35887         * sysdeps/x86_64/x32/_itoa.h: New file.
35888
35889         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35890         getdents system call only if kernel and user dirents have the
35891         same d_ino and d_off.
35892
35893         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35894         LLONG_MAX != LONG_MAX.
35895         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35896         (_fitoa_word): Likewise.
35897
35898         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35899         years.
35900         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35901         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35902         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35903
35904         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35905         include <bits/wordsize.h>.  Check __x86_64__ instead of
35906         __WORDSIZE.
35907         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
35908         if __x86_64__ is defined.  Use anonymous union on fpstate.
35909
35910         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35911         anonymous union.
35912
35913 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
35914
35915         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35916         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35917         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35918         Refer to _rtld_local_ro instead of _rtld_global_ro.
35919         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35920         Likewise.
35921         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35922         Likewise.
35923         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35924         Likewise.
35925         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35926         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35927         of _rtld_global, and rtld_progname instead of _dl_argv[0].
35928
35929         * sysdeps/powerpc/powerpc32/dl-machine.c
35930         (__elf_machine_runtime_setup) [PROF]: Don't reference
35931         _dl_prof_resolve.
35932
35933 2012-05-18  Andreas Jaeger  <aj@suse.de>
35934
35935         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35936         function only available for GCCs before 3.4 since GCC 3.4
35937         introduced a builtin.
35938         (lrint): Likewise.
35939         (llrintf): Likewise.
35940         (llrint): Likewise.
35941         (fmaxf): Likewise.
35942         (fmax): Likewise.
35943         (fminf): Likewise.
35944         (fmin): Likewise.
35945         (rint): Likewise.
35946         (rintf): Likewise.
35947         (nearbyint): Likewise.
35948         (nearbyintf): Likewise.
35949         (ceil): Likewise.
35950         (ceilf): Likewise.
35951         (floor): Likewise.
35952         (floorf): Likewise.
35953
35954 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35955
35956         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35957         on both fields and cast pointer to __syscall_ulong_t.
35958
35959         * bits/types.h (__fsword_t): New type.
35960         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35961         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35962         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35963         (__FSWORD_T_TYPE): Likewise.
35964         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35965         (__FSWORD_T_TYPE): Likewise.
35966         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35967         (__FSWORD_T_TYPE): Likewise.
35968         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35969         (__FSWORD_T_TYPE): Likewise.
35970         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35971         __SWORD_TYPE with __fsword_t.
35972         (statfs64): Likewise.
35973
35974 2012-05-17  David S. Miller  <davem@davemloft.net>
35975
35976         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35977
35978 2012-05-17  Andreas Jaeger  <aj@suse.de>
35979
35980         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35981         warning.
35982
35983 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35984
35985         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35986
35987 2012-05-17  Andreas Jaeger  <aj@suse.de>
35988
35989         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35990         when it is used.
35991
35992 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
35993
35994         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35995
35996 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35997
35998         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35999         * sysdeps/x86_64/tst-mallocalign1.c: New file.
36000
36001 2012-05-17  Andreas Jaeger  <aj@suse.de>
36002             Carlos O'Donell  <carlos_odonell@mentor.com>
36003
36004         [BZ #14059]
36005         * sysdeps/x86_64/multiarch/init-arch.h
36006         (bit_YMM_Usable): Rename to...
36007         (bit_AVX_Usable): ... this.
36008         (bit_FMA4_Usable): New macro.
36009         (bit_XMM_state): New macro.
36010         (bit_YMM_state): New macro.
36011         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
36012         [__ASSEMBLER__] (index_AVX_Usable): ... this.
36013         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
36014         (CPUID_OSXSAVE): New macro.
36015         (CPUID_AVX): New macro.
36016         (CPUID_FMA4): New macro.
36017         (index_YMM_Usable): Rename to...
36018         (index_AVX_Usable): ... this.
36019         (HAS_AVX): Use HAS_ARCH_FEATURE.
36020         (HAS_FMA4): Likewise.
36021         (HAS_YMM_USABLE): Remove.
36022         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36023         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
36024         are present.
36025         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
36026         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
36027         * sysdeps/x86_64/multiarch/Makefile: Likewise.
36028         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
36029         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
36030
36031 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
36032
36033         * math/libm-test.c: Support platforms without multiple rounding modes.
36034         * math/bug-nextafter.c: Support platforms without FP exceptions.
36035         * math/bug-nexttoward.c: Likewise.
36036         * math/test-fenv.c: Likewise.
36037         * math/test-misc.c: Likewise.
36038         * stdlib/bug-getcontext.c: Likewise.
36039
36040 2012-05-17  Andreas Jaeger  <aj@suse.de>
36041
36042         * manual/examples/search.c (critter_cmp): Change signature to
36043         avoid warnings.
36044         * manual/string.texi (Collation Functions): Likewise.
36045
36046 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36047
36048         * bits/types.h: Fold copyright years.
36049         * bits/typesizes.h: Likewise.
36050         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
36051         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
36052         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
36053         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
36054         * time/time.h: Likewise.
36055
36056 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
36057
36058         [BZ #208]
36059         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
36060         in instead of returning them.  Return void.
36061         (__libc_mallinfo): Accumulate over all arenas.
36062         (__malloc_stats): Adjust for change in int_mallinfo interface.
36063
36064 2012-05-16  Roland McGrath  <roland@hack.frob.com>
36065
36066         [BZ #10375]
36067         * configure.in (NM): Add AC_CHECK_TOOL for it.
36068         (libc_extra_cflags): New substituted variable.
36069         Check for -fstack-protector being used implicitly.
36070         * configure: Regenerated.
36071         * config.make.in (config-extra-cflags): New variable,
36072         gets @libc_extra_cflags@.
36073         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
36074
36075         [BZ #10375]
36076         * configure.in: Check for _FORTIFY_SOURCE being predefined.
36077         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
36078         * configure: Regenerated.
36079         * config.make.in (CPPUNDEFS): New substituted variable.
36080         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
36081         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
36082         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
36083
36084 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36085
36086         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
36087         (mq_attr): Use __syscall_slong_t.
36088
36089 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36090
36091         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
36092         Check __x86_64__ instead of __WORDSIZE.
36093         (_STAT_VER_LINUX): Likewise.
36094         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
36095         __syscall_ulong_t and __syscall_slong_t.
36096         (stat64): Likewise.
36097
36098 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36099
36100         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
36101
36102 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36103
36104         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
36105
36106 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36107
36108         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
36109         __syscall_ulong_t.
36110
36111         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
36112         include <bits/wordsize.h>.  Check __x86_64__ instead of
36113         __WORDSIZE.
36114         (greg_t): Use "__extension__ long long int" if __x86_64__ is
36115         defined.
36116         (mcontext_t): Replace "unsigned long" with "unsigned long long".
36117
36118         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
36119         include <bits/wordsize.h>.  Check __x86_64__ instead of
36120         __WORDSIZE.
36121         (user_regs_struct): Use "__extension__ unsigned long long"
36122         instead of "unsigned long" if __x86_64__ is defined.
36123         (user): Likewise.  Pad after pointer field if __ILP32__ is
36124         defined.
36125
36126 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
36127
36128         * configure.in (makeinfo): Require version 4.5 or later.  Allow
36129         versions 5 to 9.
36130         * configure: Regenerated.
36131         * manual/install.texi (texinfo): Increase version requirement to
36132         4.5 or later.
36133         * INSTALL: Regenerated.
36134
36135         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
36136
36137 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36138
36139         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
36140
36141         * sysdeps/x86_64/x32/ffs.c: New file.
36142
36143         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
36144         __syscall_ulong_t.
36145         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
36146         defined.  Use __syscall_ulong_t.
36147         (shminfo): Use __syscall_ulong_t.
36148         (shm_info): Likewise.
36149
36150         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
36151         __syscall_ulong_t.
36152
36153         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
36154         <bits/wordsize.h>.
36155         (msgqnum_t): Use __syscall_ulong_t.
36156         (msglen_t): Likewise.
36157         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
36158         __syscall_ulong_t.
36159
36160         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
36161         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
36162
36163         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
36164
36165         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
36166         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
36167
36168         * sysvipc/sys/msg.h (msgbuf): Replace long int with
36169         __syscall_slong_t.
36170
36171         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
36172         include <bits/wordsize.h>.  Check __x86_64__ instead of
36173         __WORDSIZE.
36174
36175         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
36176         "unsigned long long int" if __x86_64__ is defined.
36177         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
36178
36179         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
36180         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
36181         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
36182
36183         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
36184         <stdint.h>.
36185         (GET_PC): Cast to uintptr_t first.
36186         (GET_FRAME): Likewise.
36187         (GET_STACK): Likewise.
36188
36189         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
36190         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
36191         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
36192         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
36193         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
36194         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
36195         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
36196         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
36197         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
36198         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
36199         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
36200         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
36201         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36202         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
36203         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
36204         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
36205         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
36206         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
36207         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
36208         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
36209         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
36210         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
36211         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
36212         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
36213         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
36214         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
36215         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
36216         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
36217         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
36218
36219 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
36220
36221         * Makerules (+depfiles): Also collect depfiles from .oS in
36222         $(extra-objs).
36223         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
36224         .oS, $(libnldbl-routines)).
36225
36226         * Makerules (native-compile-mkdep-flags): Define.
36227         * sunrpc/Makefile (extra-objs): Add $(addprefix
36228         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
36229         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
36230         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
36231         calling $(make-target-directory).
36232
36233 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36234
36235         * bits/types.h (__snseconds_t): Removed.
36236         * time/time.h (struct timespec): Replace __snseconds_t with
36237         __syscall_slong_t.
36238         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
36239         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
36240         Likewise.
36241         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36242         (__SNSECONDS_T_TYPE): Likewise.
36243         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36244         (__SNSECONDS_T_TYPE): Likewise.
36245         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36246         (__SNSECONDS_T_TYPE): Likewise.
36247
36248 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36249
36250         * sysdeps/mach/hurd/bits/typesizes.h
36251         (__SYSCALL_SLONG_TYPE): New macro.
36252         (__SYSCALL_ULONG_TYPE): Likewise.
36253
36254 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36255
36256         * bits/types.h (__syscall_slong_t): New type.
36257         (__syscall_ulong_t): Likewise.
36258
36259         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
36260         (__SYSCALL_ULONG_TYPE): Likewise.
36261         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36262         (__SYSCALL_SLONG_TYPE): Likewise.
36263         (__SYSCALL_ULONG_TYPE): Likewise.
36264         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36265         (__SYSCALL_SLONG_TYPE): Likewise.
36266         (__SYSCALL_ULONG_TYPE): Likewise.
36267         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36268         (__SYSCALL_SLONG_TYPE): Likewise.
36269         (__SYSCALL_ULONG_TYPE): Likewise.
36270
36271 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36272
36273         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
36274         Add sigaltstack-offsets.sym.
36275         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
36276         <sigaltstack-offsets.h>.
36277         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
36278         longjmp_msg pointer.
36279         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
36280         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
36281         signal stack.
36282         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
36283
36284 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
36285
36286         * elf/stackguard-macros.h: Remove file.
36287         * sysdeps/generic/stackguard-macros.h: New file.
36288         * sysdeps/i386/stackguard-macros.h: Likewise.
36289         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
36290         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
36291         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
36292         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
36293         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
36294         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
36295         * sysdeps/x86_64/stackguard-macros.h: Likewise.
36296         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
36297         <elf/stackguard-macros.h>.
36298
36299         [BZ #14109]
36300         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
36301         __aligned__ in attribute.
36302         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
36303         (gregset_t): Likewise.
36304
36305 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36306
36307         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
36308         * sysdeps/x86_64/64/Implies-after: Here.  New file.
36309         * sysdeps/x86_64/x32/Implies-after: New file.
36310
36311 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36312
36313         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
36314         and access return value for _dl_profile_fixup.  Use R10_LP to
36315         load frame size.
36316
36317 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36318
36319         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
36320
36321 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36322
36323         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
36324         * sysdeps/x86_64/x32/sysdep.h: New file.
36325
36326 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36327
36328         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
36329         * sysdeps/x86_64/setjmp.S: Likewise.
36330
36331 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36332
36333         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
36334         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
36335         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
36336         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
36337         remove unused global constant.
36338
36339 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
36340
36341         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
36342         include of <not-cancel.h>.
36343
36344 2012-05-15  Roland McGrath  <roland@hack.frob.com>
36345
36346         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
36347
36348 2012-05-15  Jeff Law  <law@redhat.com>
36349             Andreas Jaeger  <aj@suse.de>
36350
36351         [BZ #13594]
36352         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
36353         out from...
36354         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
36355         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
36356         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
36357         code changing __hst_map_handle.map.
36358
36359 2012-05-15  Roland McGrath  <roland@hack.frob.com>
36360
36361         * configure.in (sysnames): Look for Implies-before and Implies-after
36362         files.
36363         * configure: Regenerated.
36364
36365 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36366
36367         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
36368         8-byte data alignment with LP_SIZE alignment.
36369
36370 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36371
36372         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
36373         into R10_LP.
36374
36375 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36376
36377         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
36378
36379 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36380
36381         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
36382         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
36383         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
36384         Likewise.
36385         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36386
36387 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36388
36389         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
36390         (stackinfo_sub_sp): Likewise.
36391
36392 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36393
36394         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
36395         RAX_LP.
36396
36397 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36398
36399         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
36400         into R*_LP.
36401
36402 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36403
36404         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
36405         sizes into R*_LP.
36406
36407 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36408
36409         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
36410
36411 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36412
36413         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
36414         into R11_LP and load __x86_64_shared_cache_size_half into
36415         R8_LP.
36416
36417 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36418
36419         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
36420         R8_LP.
36421
36422 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36423
36424         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
36425         logb for POWER7.
36426         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
36427         logbf for POWER7.
36428         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
36429         logbl for POWER7.
36430         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
36431         powerpc32/power7/fpu/s_logb.c via #include.
36432         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
36433         powerpc32/power7/fpu/s_logbf.c via #include.
36434         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
36435         powerpc32/power7/fpu/s_logbl.c via #include.
36436
36437 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
36438
36439         * README.libm: Remove file.
36440
36441 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36442
36443         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
36444         count for x32.  Use R*_LP and omit operand-size suffix.
36445
36446 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36447
36448         * shlib-versions: Move x86_64-.*-linux.* entries to ...
36449         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
36450         * sysdeps/x86_64/x32/shlib-versions: New file.
36451
36452 2012-05-14  Roland McGrath  <roland@hack.frob.com>
36453
36454         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
36455         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
36456         Use _dl_fatal_printf instead.
36457
36458 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
36459
36460         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
36461         set if not set by the user.  Do not allow for being unset.
36462         * sysdeps/unix/sysv/linux/configure: Regenerated.
36463
36464 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36465
36466         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
36467         the `q' suffix from lea and replace .quad with ASM_ADDR.
36468
36469 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36470
36471         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
36472         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
36473         instead of $17.
36474         (PTR_DEMANGLE): Likewise.
36475
36476 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36477
36478         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
36479         (LP_OP): Likewise.
36480         (ASM_ADDR): Likewise.
36481         (RAX_LP): Likewise.
36482         (RBP_LP): Likewise.
36483         (RBX_LP): Likewise.
36484         (RCX_LP): Likewise.
36485         (RDI_LP): Likewise.
36486         (RSI_LP): Likewise.
36487         (RSP_LP): Likewise.
36488         (R8_LP): Likewise.
36489         (R9_LP): Likewise.
36490         (R10_LP): Likewise.
36491         (R10_LP): Likewise.
36492         (R11_LP): Likewise.
36493         (R12_LP): Likewise.
36494         (R13_LP): Likewise.
36495         (R14_LP): Likewise.
36496         (R15_LP): Likewise.
36497
36498 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36499
36500         * sysdeps/x86_64/x32/dl-machine.h: New file.
36501
36502 2012-05-14  Andreas Jaeger  <aj@suse.de>
36503
36504         * manual/Makefile (subdir): Remove export of subdir.
36505         (all): Remove target.
36506         (.PHONY): Remove all from list.
36507         (mkinstalldirs): Remove.
36508         (.PHONY): Remove installdirs from list.
36509         ($(inst_infodir)/libc.info): Use make-target-directory.
36510         (installdirs): Remove.
36511         (subdir_%): Remove.
36512         (glibc-targets): Remove.
36513         (lib): Remove.
36514         (stubs): Remove.
36515         ($(objpfx)stubs ../po/manual.pot): Remove.
36516         ($(objpfx)stamp%): Remove.
36517         (make-target-directory): Remove.
36518         (subdir_install): Remove.
36519         (routines): Remove.
36520         (aux): Remove.
36521         (sources): Remove.
36522         (objects): Remove.
36523         (headers): Remove.
36524
36525         [BZ #13750]
36526         * manual/.gitignore: Remove, it's not needed anymore.
36527         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
36528         all files in it.
36529         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
36530         directory.
36531         (texis): Renamed to $(objpfx)texis.
36532         (texis-path): New, contains path to generated files.
36533         (chapters.%): Use texis-path for complete path, add extra argument
36534         libc-texinfo.sh.
36535         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
36536         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
36537         (summary,texi, stamp-summary): Use complete path of
36538         files. Generate files in build dir.
36539         (dir-add.texi): Build in build dir.
36540         (libm-err.texi,stamp-libm-err): Likewise.
36541         (version.texi, stamp-version): Likewise.
36542         (.%c.texi): Likewise.
36543         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
36544         (mostlyclean): Remove target.
36545         (realclean): Remove target.
36546         (generated): Add new variable with contents from mostlyclean and
36547         realclean, remove entries duplicated in common-mostlyclean, add
36548         stamp-libm-err and stamp-version.
36549         (generated-dirs): Add libc directory.
36550         ($(inst_infodir)/libc.info): Install files from build dir.
36551
36552         * manual/install.texi (Configuring and compiling): Adjust since
36553         the info files are not part of the tar ball anymore.
36554
36555 2012-05-14  Andreas Jaeger  <aj@suse.de>
36556
36557         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
36558         variable.
36559
36560 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
36561
36562         [BZ #13717]
36563         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36564         to 2.2.0 where earlier.
36565         * sysdeps/unix/sysv/linux/configure: Regenerated.
36566         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
36567         Remove conditional code.
36568         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
36569         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
36570         Remove conditional code.
36571         [!__NR_lchown]: Likewise.
36572         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36573         [__NR_lchown]: Likewise.
36574         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
36575         comment referencing __ASSUME_LCHOWN_SYSCALL.
36576         * sysdeps/unix/sysv/linux/i386/sigaction.c
36577         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36578         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36579         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
36580         Remove conditional code.
36581         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
36582         (__protocol_available): Remove #if 0 code.
36583         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
36584         conditional code.
36585         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
36586         * sysdeps/unix/sysv/linux/kernel-features.h
36587         (__ASSUME_GETCWD_SYSCALL): Don't define.
36588         (__ASSUME_REALTIME_SIGNALS): Likewise.
36589         (__ASSUME_PREAD_SYSCALL): Likewise.
36590         (__ASSUME_PWRITE_SYSCALL): Likewise.
36591         (__ASSUME_POLL_SYSCALL): Likewise.
36592         (__ASSUME_LCHOWN_SYSCALL): Likewise.
36593         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
36594         non-SPARC.
36595         (__ASSUME_SIOCGIFNAME): Don't define.
36596         (__ASSUME_MSG_NOSIGNAL): Likewise.
36597         (__ASSUME_SENDFILE): Define unconditionally.
36598         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
36599         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
36600         conditional code.
36601         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
36602         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
36603         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36604         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36605         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
36606         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36607         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
36609         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36610         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36612         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36613         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
36615         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36616         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
36618         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36619         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
36621         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36622         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36624         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36625         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
36627         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36628         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36630         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36631         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36632         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
36633         Remove conditional code.
36634         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36635         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36636         Remove conditional code.
36637         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36638         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
36639         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
36640         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36641         Remove conditional code.
36642         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36643         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
36644         Remove conditional code.
36645         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36646         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
36647         Remove conditional code.
36648         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36649         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36650         Remove conditional code.
36651         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36652         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36653         Remove conditional code.
36654         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36655         * sysdeps/unix/sysv/linux/sh/pwrite64.c
36656         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36657         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36658         * sysdeps/unix/sysv/linux/sigaction.c
36659         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36660         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36661         * sysdeps/unix/sysv/linux/sigpending.c
36662         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36663         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36664         * sysdeps/unix/sysv/linux/sigprocmask.c
36665         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36666         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36667         * sysdeps/unix/sysv/linux/sigsuspend.c
36668         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36669         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36670         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36671         (__libc_missing_rt_sigs): Remove.
36672         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
36673         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
36674         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
36675         Remove conditional code.
36676         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
36677         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
36678         return 1.
36679         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
36680         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
36681         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
36682         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
36683
36684 2012-05-14  Andreas Jaeger  <aj@suse.de>
36685
36686         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
36687         it's not used in glibc.
36688         (__coshm1): Likewise.
36689         (__acosh1p): Likewise.
36690         (__sgn): Likewise.
36691
36692         * manual/string.texi (Copying and Concatenation): Add missing
36693         variable in concat example.
36694         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36695
36696 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36697
36698         [BZ #14103]
36699         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
36700         __builtin_clzl with __builtin_clzll.
36701
36702 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36703
36704         [BZ #14104]
36705         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
36706         libc_freeres_ptr.
36707
36708 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36709
36710         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
36711         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
36712         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
36713         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
36714
36715 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
36716
36717         * NEWS: Update ia64 info.
36718
36719 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
36720
36721         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
36722         used as bcopy.
36723
36724 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
36725
36726         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
36727         * sysdeps/unix/syscalls.list (dup3): Likewise.
36728         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
36729         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
36730
36731 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
36732
36733         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
36734         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
36735
36736 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
36737
36738         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
36739         thread pointer.
36740         (TLS_IE): Use mov/add instead of movq/addq to load thread
36741         pointer.
36742         (TLS_GD_PREFIX): New.
36743         (TLS_GD): Use it.
36744
36745 2012-05-11  David S. Miller  <davem@davemloft.net>
36746
36747         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
36748         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
36749         (_FPU_SETCW): Likewise.
36750
36751 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36752
36753         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
36754         is 32-byte aligned.
36755
36756 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
36757
36758         [BZ #11837]
36759         * iconvdata/gb18030.c: Update tables.
36760         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
36761         characters specially.
36762         (BODY for TO_LOOP): Add encoding of missing ranges.
36763
36764 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
36765
36766         [BZ #13673]
36767         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
36768         * sysdeps/mach/hurd/dup3.c: Likewise.
36769         * sysdeps/mach/hurd/readlinkat.c: Likewise.
36770         * sysdeps/powerpc/memmove.c:: Likewise.
36771
36772 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36773
36774         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
36775         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
36776
36777 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36778
36779         * elf/elf.h (R_X86_64_RELATIVE64): New.
36780         (R_X86_64_NUM): Updated.
36781         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36782         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
36783         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
36784         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
36785         tst-quad1pie tst-quad2pie
36786         (modules-names): Add tst-quadmod1 tst-quadmod2.
36787         ($(objpfx)tst-quad1): New dependency.
36788         ($(objpfx)tst-quad2): Likewise.
36789         ($(objpfx)tst-quad1pie): Likewise.
36790         ($(objpfx)tst-quad2pie): Likewise.
36791         * sysdeps/x86_64/tst-quad1.c: New file.
36792         * sysdeps/x86_64/tst-quad1pie.c: New file.
36793         * sysdeps/x86_64/tst-quad2.c: Likewise.
36794         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
36795         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
36796         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
36797         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
36798         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
36799
36800 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36801
36802         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
36803         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
36804         * streams/stropts.h (t_scalar_t): Define type.
36805
36806         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
36807         (_PATH_PRESERVE): Set to "/var/lib".
36808         (_PATH_RWHODIR): Set to "/var/spool/rwho".
36809
36810         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
36811         instead of int.
36812
36813         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
36814         if __dir_mkfile succeeded.
36815
36816         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
36817         checking for _hurd_dtablesize.  Unlock it right after having
36818         finished _hurd_dtable allocation.
36819
36820 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36821
36822         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
36823         * sysdeps/mach/hurd/configure: Regenerated.
36824         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
36825         special-casing to...
36826         * sysdeps/gnu/configure.in: ... this new file.
36827         * sysdeps/unix/sysv/linux/configure: Regenerated.
36828         * sysdeps/gnu/configure: New generated file.
36829
36830         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36831         for Linux: use nsec instead of usec, as well as:
36832         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36833         members of type struct timespec.
36834         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36835         New macros.
36836         (struct stat64): Likewise.
36837         (_STATBUF_ST_NSEC): New macro.
36838         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36839
36840         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36841         __strtoul_internal rather than strtoul.
36842
36843 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36844
36845         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36846         and reject them.
36847
36848 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36849
36850         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36851         which preserves existing values.
36852         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36853
36854 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36855
36856         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36857         TIMEOUT values.  Return EINVAL for NFDS values either negative or
36858         greater than FD_SETSIZE.
36859
36860 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36861
36862         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36863         allocated, call __vm_protect to finish enabling the existing space, and
36864         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36865         allocate the remainder.
36866
36867 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36868
36869         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36870         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
36871
36872 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36873
36874         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36875         sysdeps/mach/hurd/readlink.c.
36876
36877         * posix/tst-sysconf.c (posix_options): Only use
36878         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36879         _POSIX_SYNCHRONIZED_IO when they are defined
36880         * sysdeps/mach/hurd/bits/posix_opt.h:
36881         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36882         (_XOPEN_REALTIME): Undefine macro.
36883         (_XOPEN_REALTIME_THREADS): Undefine macro.
36884         (_XOPEN_SHM): Undefine macro.
36885         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36886         macro to -1.
36887         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36888         macro to -1.
36889         (_POSIX_ASYNC_IO): Undefine macro.
36890         (_POSIX_PRIORITIZED_IO): Undefine macro.
36891         (_POSIX_SPIN_LOCKS): Define macro to -1.
36892
36893         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36894         SA_NODEFER, SA_RESETHAND.
36895         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36896         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36897         F_DUPFD_CLOEXEC.
36898
36899 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36900
36901         * elf/Makefile (pldd-modules): Define unconditionally.
36902
36903 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36904
36905         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36906
36907 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36908
36909         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
36910         Return ENOENT when name is empty.
36911         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36912
36913 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36914
36915         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36916
36917         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36918
36919 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36920
36921         Fix mlock in all cases except non-readable pages.
36922         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36923         instead of VM_PROT_ALL as parameter to __vm_wire function.
36924
36925         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36926         (__mkdir): When path is `/', just fail with EEXIST.
36927         * sysdeps/mach/hurd/mkdirat.c: Likewise.
36928
36929 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36930
36931         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36932         <sys/uio.h> (for writev).
36933         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36934         and <sys/param.h> (for MIN).
36935
36936 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36937
36938         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36939         REQUESTED_TIME.  Properly set the remaining time and return EINTR
36940         if interrupted.
36941
36942 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36943
36944         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36945         Depend on against $(link-rpcuserlibs).
36946
36947 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36948
36949         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36950         (__libc_stack_end): Do not use attribute_relro.
36951         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36952         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
36953         to libthread-provided value.
36954         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36955         attribute_relro.
36956
36957 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36958
36959         [BZ #3748]
36960         * bits/libc-lock.h (__libc_once_get): New macro.
36961         * sysdeps/mach/bits/libc-lock.h: Likewise.
36962         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36963         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36964         instead of using implementation details.
36965
36966         * libio/fileops.c: Unconditionally include <kernel-features.h>.
36967         * libio/freopen.c: Likewise.
36968         * libio/freopen64.c: Likewise.
36969         * misc/syslog.c: Likewise.
36970         * nscd/connections.c: Likewise.
36971         * nscd/netgroupcache.c: Likewise.
36972         * sysdeps/posix/getcwd.c: Likewise.
36973
36974 2012-05-10  Roland McGrath  <roland@hack.frob.com>
36975
36976         * math/w_ilogbf.c: Add #include <limits.h>.
36977
36978 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36979
36980         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
36981         path instead of returning without unlocking.
36982
36983         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36984         immediate-write ioctls.
36985         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36986
36987 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36988
36989         * sysdeps/mach/hurd/i386/init-first.c (init): Use
36990         __builtin_frame_address instead of making assumptions about the
36991         location of the return address relative to DATA.  Force early load of
36992         the return address.
36993         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36994         __builtin_frame_address.
36995
36996         dup3 for GNU Hurd.
36997         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36998         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
36999         implement dup3 and do some further code clean-ups.
37000         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
37001         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
37002
37003 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37004
37005         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
37006
37007         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
37008         HURD_CRITICAL_END around holding _hurd_dtable_lock.
37009         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
37010         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
37011         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
37012         d->port.lock.
37013
37014         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
37015         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
37016         when handler == SIG_ERR, not when handler != SIG_ERR.
37017
37018 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37019
37020         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
37021         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
37022         definitions.
37023
37024         accept4 for GNU Hurd.
37025         * include/sys/socket.h (__libc_accept4): New prototype.
37026         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
37027         to implement __libc_accept4.
37028         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
37029         __libc_accept4.
37030         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
37031
37032         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
37033         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
37034         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
37035         signal-defines.sym.
37036
37037 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37038
37039         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
37040
37041 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37042
37043         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
37044         assertion on O_CLOEXEC flag.
37045         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
37046         * hurd/intern-fd.c: Likewise.
37047         * hurd/port2fd.c: Likewise.
37048
37049 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37050
37051         [BZ #3906]
37052         * bits/in.h (IPV6_PKTINFO): Define new macro.
37053         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
37054
37055 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37056
37057         [BZ #13954]
37058         [BZ #13955]
37059         [BZ #13956]
37060         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
37061         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37062         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
37063         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
37064         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37065         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
37066         * math/libm-test.inc (logb_test) : Additional logb tests.
37067
37068 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
37069             Andreas Jaeger  <aj@suse.de>
37070
37071         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
37072         * configure: Regenerated.
37073         * config.h.in (LINK_OBSOLETE_RPC): New macro.
37074         * config.make.in (link-obsolete-rpc): New substituted variable.
37075         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
37076         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
37077         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
37078         (shared-only-routines): Don't set it under [link-obsolete-rpc],
37079         so that libc.a contains the symbols.
37080         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
37081         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
37082         * sunrpc/auth_none.c: Likewise.
37083         * sunrpc/auth_unix.c: Likewise.
37084         * sunrpc/authdes_prot.c: Likewise.
37085         * sunrpc/authuxprot.c: Likewise.
37086         * sunrpc/clnt_gen.c: Likewise.
37087         * sunrpc/clnt_perr.c: Likewise.
37088         * sunrpc/clnt_raw.c: Likewise.
37089         * sunrpc/clnt_simp.c: Likewise.
37090         * sunrpc/clnt_tcp.c: Likewise.
37091         * sunrpc/clnt_udp.c: Likewise.
37092         * sunrpc/clnt_unix.c: Likewise.
37093         * sunrpc/des_crypt.c: Likewise.
37094         * sunrpc/des_soft.c: Likewise.
37095         * sunrpc/get_myaddr.c: Likewise.
37096         * sunrpc/key_call.c: Likewise.
37097         * sunrpc/key_prot.c: Likewise.
37098         * sunrpc/netname.c: Likewise.
37099         * sunrpc/pm_getmaps.c: Likewise.
37100         * sunrpc/pm_getport.c: Likewise.
37101         * sunrpc/pmap_clnt.c: Likewise.
37102         * sunrpc/pmap_prot.c: Likewise.
37103         * sunrpc/pmap_prot2.c: Likewise.
37104         * sunrpc/pmap_rmt.c: Likewise.
37105         * sunrpc/publickey.c: Likewise.
37106         * sunrpc/rpc_cmsg.c: Likewise.
37107         * sunrpc/rpc_common.c: Likewise.
37108         * sunrpc/rpc_dtable.c: Likewise.
37109         * sunrpc/rpc_prot.c: Likewise.
37110         * sunrpc/rpc_thread.c: Likewise.
37111         * sunrpc/rtime.c: Likewise.
37112         * sunrpc/svc.c: Likewise.
37113         * sunrpc/svc_auth.c: Likewise.
37114         * sunrpc/svc_raw.c: Likewise.
37115         * sunrpc/svc_run.c: Likewise.
37116         * sunrpc/svc_tcp.c: Likewise.
37117         * sunrpc/svc_udp.c: Likewise.
37118         * sunrpc/svc_unix.c: Likewise.
37119         * sunrpc/svcauth_des.c: Likewise.
37120         * sunrpc/xcrypt.c: Likewise.
37121         * sunrpc/xdr.c: Likewise.
37122         * sunrpc/xdr_array.c: Likewise.
37123         * sunrpc/xdr_float.c: Likewise.
37124         * sunrpc/xdr_intXX_t.c: Likewise.
37125         * sunrpc/xdr_mem.c: Likewise.
37126         * sunrpc/xdr_rec.c: Likewise.
37127         * sunrpc/xdr_ref.c: Likewise.
37128         * sunrpc/xdr_sizeof.c: Likewise.
37129         * sunrpc/xdr_stdio.c: Likewise.
37130
37131 2012-05-10  Roland McGrath  <roland@hack.frob.com>
37132
37133         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
37134         change.  Update copyright years.
37135
37136 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
37137
37138         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
37139
37140 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
37141             Joseph Myers  <joseph@codesourcery.com>
37142             Paul Pluzhnikov  <ppluzhnikov@google.com>
37143
37144         [BZ #14012]
37145         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
37146         requiring rpcgen.
37147         [cross-compiling] (extra-libs): Likewise.
37148         [cross-compiling] (extra-libs-others): Likewise.
37149         [cross-compiling] (librpcsvc-routines): Likewise.
37150         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
37151         [cross-compiling] (omit-deps): Likewise.
37152         (sunrpc-CPPFLAGS): New variable.
37153         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
37154         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
37155         (cross-rpcgen-objs): New variable.
37156         (extra-objs): Append $(cross-rpcgen-objs).
37157         ($(cross-rpcgen-objs)): New rule.
37158         ($(objpfx)cross-rpcgen): Likewise.
37159         (rpcgen-cmd): Define to use $(built-program-file).  Expand
37160         comment.
37161         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
37162         ($(objpfx)x%.stmp): Likewise.
37163         * sunrpc/proto.h [IS_IN_build] (_): Define.
37164         [IS_IN_build] (_libc_intl_domainname): Likewise.
37165
37166 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
37167
37168         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
37169         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
37170         and R_X86_64_TPOFF64.
37171
37172 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
37173
37174         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
37175         sysdeps/unix/sysv/syscalls.list.
37176         (stime): Likewise.
37177         (utime): Likewise.
37178         * sysdeps/unix/sysv/syscalls.list: Remove file.
37179
37180 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
37181
37182         [BZ #3440]
37183         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
37184         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
37185         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
37186         (__LC_IDENTIFICATION): Make these macros useful in #if
37187         expressions, as required by C99.
37188
37189 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
37190
37191         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
37192         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
37193         after this.
37194
37195 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
37196
37197         * stdlib/longlong.h: Updated from GCC.
37198
37199 2012-05-09  Andreas Jaeger  <aj@suse.de>
37200
37201         * nscd/nscd.c (run_modes): Make named enum, reorder so that
37202         default is first entry.
37203         (run_mode): Set type.
37204         (main): Remove informal message about syslog.
37205         (options): Fix typo.
37206
37207         [BZ #14053]
37208         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
37209         to asm.
37210         (lrint): Likewise.
37211         (llrintf): Likewise.
37212         (llrint): Likewise.
37213         (rint): Likewise.
37214         (rintf): Likewise.
37215         (nearbyint): Likewise.
37216         (nearbyintf): Likewise.
37217
37218 2012-05-09  Andreas Jaeger  <aj@suse.de>
37219             Pedro Alves  <palves@redhat.com>
37220
37221         * nscd/nscd.c (run_mode): Use enum.
37222         (main): Cleanup coding style issue.
37223
37224 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
37225             Andreas Jaeger  <aj@suse.de>
37226
37227         * nscd/nscd.c (go_background): Replaced with...
37228         (run_mode): ... this.
37229         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
37230         (options): Add -F --foreground.
37231         (main): Implement it.
37232         (parse_opt): Parse it.
37233
37234 2012-05-09  Andreas Jaeger  <aj@suse.de>
37235
37236         [BZ #14083]
37237         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
37238         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
37239         -Wconversion warning.
37240         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
37241         Likewise.
37242
37243 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
37244
37245         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
37246         == 0.
37247         (LC_ALL): Use macro-int-constant.
37248         (LC_COLLATE): Likewise.
37249         (LC_CTYPE): Likewise.
37250         (LC_MESSAGES): Likewise.
37251         (LC_MONETARY): Likewise.
37252         (LC_NUMERIC): Likewise.
37253         (LC_TIME): Likewise.
37254         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
37255         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37256         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37257         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
37258         Specify type.
37259         [C99-based standards] (float_t): Expect type.
37260         [C99-based standards] (double_t): Expect type.
37261         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
37262         type.
37263         [C99-based standards] (HUGE_VALL): Likewise.
37264         [C99-based standards] (INFINITY): Likewise.
37265         [C99-based standards] (NAN): Likewise.
37266         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
37267         [C99-based standards] (FP_NAN): Likewise.
37268         [C99-based standards] (FP_NORMAL): Likewise.
37269         [C99-based standards] (FP_SUBNORMAL): Likewise.
37270         [C99-based standards] (FP_ZERO): Likewise.
37271         [C99-based standards] (FP_FAST_FMA): Use
37272         optional-macro-int-constant.  Specify type.  Require == 1.
37273         [C99-based standards] (FP_FAST_FMAF): Likewise.
37274         [C99-based standards] (FP_FAST_FMAL): Likewise.
37275         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
37276         [C99-based standards] (FP_ILOGBNAN): Likewise.
37277         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
37278         Specify type.
37279         [C99-based standards] (MATH_ERREXCEPT): Likewise.
37280         [C99-based standards] (math_errhandling): Specify type.
37281         [ISO99 || ISO11] (signgam): Do not allow.
37282         [non-C99-based standards] (copysignf): Do not allow.
37283         [non-C99-based standards] (exp2f): Likewise.
37284         [non-C99-based standards] (log2f): Likewise.
37285         [non-C99-based standards] (modff): Allow.
37286         [non-C99-based standards] (erff): Do not allow.
37287         [non-C99-based standards] (erfcf): Likewise.
37288         [non-C99-based standards] (gammaf): Likewise.
37289         [non-C99-based standards] (hypotf): Likewise.
37290         [non-C99-based standards] (j0f): Likewise.
37291         [non-C99-based standards] (j1f): Likewise.
37292         [non-C99-based standards] (jnf): Likewise.
37293         [non-C99-based standards] (lgammaf): Likewise.
37294         [non-C99-based standards] (tgammaf): Likewise.
37295         [non-C99-based standards] (y0f): Likewise.
37296         [non-C99-based standards] (y1f): Likewise.
37297         [non-C99-based standards] (ynf): Likewise.
37298         [non-C99-based standards] (isnanf): Likewise.
37299         [non-C99-based standards] (acoshf): Likewise.
37300         [non-C99-based standards] (asinhf): Likewise.
37301         [non-C99-based standards] (atanhf): Likewise.
37302         [non-C99-based standards] (cbrtf): Likewise.
37303         [non-C99-based standards] (expm1f): Likewise.
37304         [non-C99-based standards] (ilogbf): Likewise.
37305         [non-C99-based standards] (log1pf): Likewise.
37306         [non-C99-based standards] (logbf): Likewise.
37307         [non-C99-based standards] (nextafterf): Likewise.
37308         [non-C99-based standards] (remainderf): Likewise.
37309         [non-C99-based standards] (rintf): Likewise.
37310         [non-C99-based standards] (scalbf): Likewise.
37311         [non-C99-based standards] (copysignl): Likewise.
37312         [non-C99-based standards] (exp2l): Likewise.
37313         [non-C99-based standards] (log2l): Likewise.
37314         [non-C99-based standards] (modfl): Allow.
37315         [non-C99-based standards] (erfl): Do not allow.
37316         [non-C99-based standards] (erfcl): Likewise.
37317         [non-C99-based standards] (gammal): Likewise.
37318         [non-C99-based standards] (hypotl): Likewise.
37319         [non-C99-based standards] (j0l): Likewise.
37320         [non-C99-based standards] (j1l): Likewise.
37321         [non-C99-based standards] (jnl): Likewise.
37322         [non-C99-based standards] (lgammal): Likewise.
37323         [non-C99-based standards] (tgammal): Likewise.
37324         [non-C99-based standards] (y0l): Likewise.
37325         [non-C99-based standards] (y1l): Likewise.
37326         [non-C99-based standards] (ynl): Likewise.
37327         [non-C99-based standards] (isnanl): Likewise.
37328         [non-C99-based standards] (acoshl): Likewise.
37329         [non-C99-based standards] (asinhl): Likewise.
37330         [non-C99-based standards] (atanhl): Likewise.
37331         [non-C99-based standards] (cbrtl): Likewise.
37332         [non-C99-based standards] (expm1l): Likewise.
37333         [non-C99-based standards] (ilogbl): Likewise.
37334         [non-C99-based standards] (log1pl): Likewise.
37335         [non-C99-based standards] (logbl): Likewise.
37336         [non-C99-based standards] (nextafterl): Likewise.
37337         [non-C99-based standards] (remainderl): Likewise.
37338         [non-C99-based standards] (rintl): Likewise.
37339         [non-C99-based standards] (scalbl): Likewise.
37340         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37341         [non-C99-based standards] (FP_*): Do not allow.
37342         [C99-based standards] (FP_*): Change to
37343         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37344         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37345         allow.
37346         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
37347         (SIG_ERR): Likewise.
37348         [X/Open-based standards] (SIG_HOLD): Likewise.
37349         (SIG_IGN): Likewise.
37350         (SIGABRT): Use macro-int-constant.  Specify type.  Require
37351         positive value.
37352         (SIGFPE): Likewise.
37353         (SIGILL): Likewise.
37354         (SIGINT): Likewise.
37355         (SIGSEGV): Likewise.
37356         (SIGTER): Likewise.
37357         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
37358         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
37359         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
37360         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
37361         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
37362         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
37363         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
37364         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
37365         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
37366         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
37367         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
37368         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
37369         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
37370         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
37371         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
37372         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
37373         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
37374         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
37375         [X/Open-based standards] (SIGTRAP): Likewise.
37376         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
37377         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
37378         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
37379         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
37380         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37381         allow.
37382
37383 2012-05-08  Ian Wienand  <ianw@vmware.com>
37384
37385         [BZ #14080]
37386         * time/tzset.c (__tzset_parse_tz): Update default rules for
37387         daylight time changes in the Energy Policy Act of 2005.
37388
37389 2012-05-09  Andreas Jaeger  <aj@suse.de>
37390
37391         [BZ #13983]
37392         * elf/ldconfig.c (parse_conf): Change string to make clear that
37393         ldconfig only issued a warning if ld.so.conf does not exist.
37394
37395 2012-05-08  David S. Miller  <davem@davemloft.net>
37396
37397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
37398         movxtod instead of popping the value on the stack.
37399
37400         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37401
37402 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
37403
37404         * config.h.in: Add HAVE_ARM_PCS_VFP.
37405
37406 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
37407
37408         [BZ #13979]
37409         * include/features.h: Warn if user requests __FORTIFY_SOURCE
37410         checking but the checks are disabled for any reason.
37411
37412 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
37413
37414         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
37415         and ELF64_R_TYPE with ELFW(R_TYPE).
37416
37417 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
37418
37419         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
37420         (ulimit): Likewise.
37421
37422         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
37423         (settimeofday): Likewise.
37424
37425 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
37426
37427         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
37428         a struct th_u2 inside the union, and move tu_block/tu_code into
37429         a new th_u3 union of tu_block/tu_code inside of that.  Move
37430         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
37431         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
37432         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
37433         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
37434         (th_stuff): Change to th_u1.tu_stuff.
37435         (th_data): Define.
37436         (th_msg): Change to th_u1.th_u2.tu_data.
37437
37438 2012-05-07  David S. Miller  <davem@davemloft.net>
37439
37440         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37441
37442         [BZ #14074]
37443         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
37444         (SETUP_PIC_REG): Use it.
37445         (SETUP_PIC_REG_LEAF): Use it.
37446
37447 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
37448
37449         [BZ #13885]
37450         [BZ #13923]
37451         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37452         USE_AS_EXPM1L.
37453         (EXPL_FINITE): Likewise.
37454         (FLDLOG): Likewise.
37455         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37456         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37457         e_expl.S.
37458         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37459         USE_AS_EXPM1L.
37460         (EXPL_FINITE): Likewise.
37461         (FLDLOG): Likewise.
37462         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37463         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37464         e_expl.S.
37465         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
37466         test of -max_value argument for long double.
37467         * sysdeps/i386/fpu/libm-test-ulps: Update.
37468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37469
37470 2012-05-06  David S. Miller  <davem@davemloft.net>
37471
37472         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
37473         quad soft-float symbols whose references which are compiler
37474         generated.
37475         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
37476
37477 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
37478
37479         [BZ #13884]
37480         [BZ #13914]
37481         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37482         USE_AS_EXP10L.
37483         (EXPL_FINITE): Likewise.
37484         (FLDLOG): Likewise.
37485         (c0): Likewise.
37486         (c1): Likewise.
37487         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
37488         Adjust comments for base varying.
37489         (__expl_finite): Change alias to EXPL_FINITE.
37490         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
37491         e_expl.S.
37492         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
37493         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
37494         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
37495         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
37496         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37497         USE_AS_EXP10L.
37498         (EXPL_FINITE): Likewise.
37499         (FLDLOG): Likewise.
37500         (c0): Likewise.
37501         (c1): Likewise.
37502         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
37503         Adjust comments for base varying.
37504         (__expl_finite): Change alias to EXPL_FINITE.
37505         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
37506         tests for bugs.
37507         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37508
37509         [BZ #14064]
37510         * math/libm-test.inc (check_float_internal): Correct ulp
37511         calculation for subnormal expected results.
37512
37513 2012-05-06  Andreas Jaeger  <aj@suse.de>
37514
37515         * Makeconfig (+math-flags): New, set to -frounding-math.
37516         (+cflags): Add +math-flags so that all of glibc gets compiled with
37517         it.
37518
37519         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
37520
37521 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
37522
37523         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
37524         Disable one test.
37525
37526         [BZ #13787]
37527         [BZ #13922]
37528         [BZ #14036]
37529         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
37530         (__ieee754_expl): Allow for and saturate large arguments.
37531         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
37532         (u_threshold): Likewise.
37533         (__exp): Call __ieee754_exp before checking for overflow and
37534         underflow.
37535         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
37536         (u_threshold): Likewise.
37537         (__expf): Call __ieee754_expf before checking for overflow and
37538         underflow.
37539         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
37540         (u_threshold): Likewise.
37541         (__expl): Call __ieee754_expl before checking for overflow and
37542         underflow.
37543         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
37544         (__ieee754_expl): Allow for and saturate large arguments.
37545         * math/libm-test.inc (exp_test): Add another test.  Do not allow
37546         missing overflow exception on overflow.
37547         (expm1_test): Do not allow missing overflow exception on overflow.
37548
37549         * sysdeps/i386/fpu/e_expl.c: Move to ...
37550         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
37551         rather than using inline asm.
37552         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
37553         * sysdeps/x86_64/fpu/e_expl.S: Copy from
37554         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
37555
37556         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
37557         (nice): Likewise.
37558         (poll): Likewise.
37559         (signal): Likewise.
37560         (time): Likewise.
37561         (times): Likewise.
37562
37563 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37564
37565         * sysdeps/unix/syscalls.list (adjtime): Add entry from
37566         sysdeps/unix/common/syscalls.list.
37567         (fchmod): Likewise.
37568         (fchown): Likewise.
37569         (ftruncate): Likewise.
37570         (getrusage): Likewise.
37571         (gettimeofday): Likewise.
37572         (setpgid): Likewise.
37573         (setregid): Likewise.
37574         (setreuid): Likewise.
37575         (sigaction): Likewise.
37576         (truncate): Likewise.
37577         (vhangup): Likewise.
37578         * sysdeps/unix/common/syscalls.list: Remove file.
37579         * sysdeps/unix/bsd/Implies: Don't include unix/common.
37580         * sysdeps/unix/sysv/linux/Implies: Likewise.
37581
37582 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
37583
37584         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
37585         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
37586         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
37587         Moved to ...
37588         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
37589         Here.
37590         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
37591         to ...
37592         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
37593         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
37594         to ...
37595         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
37596         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
37597         to ...
37598         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
37599         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
37600         to ...
37601         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
37602         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
37603         to ...
37604         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
37605         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
37606         to ...
37607         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
37608         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
37609         to ...
37610         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37611         Here.
37612         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
37613         to ...
37614         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
37615         Here.
37616         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
37617         to ...
37618         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
37619         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
37620         Moved to ...
37621         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
37622         Here.
37623         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
37624         to ...
37625         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
37626
37627 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37628
37629         * sysdeps/unix/common/bits/dirent.h: Remove file.
37630         * sysdeps/unix/common/bits/fcntl.h: Likewise.
37631
37632         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
37633         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
37634         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
37635         * sysdeps/unix/bsd/isatty.c: Likewise.
37636         * sysdeps/unix/bsd/tcdrain.c: Likewise.
37637         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
37638         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
37639
37640 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37641
37642         [BZ #13563]
37643         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
37644         long double comparison inaccuracies.
37645         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37646         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37647
37648 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
37649
37650         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
37651         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
37652
37653 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37654
37655         [BZ #14049]
37656         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
37657         nonzero digits before rounding a hex value.
37658         * stdlib/tst-strtod.c (tests): Add another test.
37659
37660 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37661
37662         * sysdeps/s390/fpu/libm-test-ulps: Update.
37663
37664 2012-05-03  Andreas Jaeger  <aj@suse.de>
37665
37666         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
37667         does not get optimized out.
37668         (malloc_opt_barrier): New.
37669
37670 2012-05-03  Andreas Jaeger  <aj@suse.de>
37671             Roland McGrath  <roland@hack.frob.com>
37672
37673         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
37674         intermediate file deletion.
37675         (generated): Add .symlist files.
37676
37677 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
37678
37679         [BZ #13775]
37680         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
37681         Redirect under this condition.
37682         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37683         [__USE_GNU] (__dprintf_chk): Not under this condition.
37684         [__USE_GNU] (__vdprintf_chk): Likewise.
37685         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
37686         under this condition.
37687         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37688         [__USE_XOPEN2K8] (dprintf): Define under this condition.
37689         [__USE_XOPEN2K8] (vdprintf): Likewise.
37690         [__USE_GNU] (__dprintf_chk): Not under this condition.
37691         [__USE_GNU] (__vdprintf_chk): Likewise.
37692         [__USE_GNU] (dprintf): Likewise.
37693         [__USE_GNU] (vdprintf): Likewise.
37694
37695 2012-05-03  Roland McGrath  <roland@hack.frob.com>
37696
37697         * elf/Makefile (common-generated): Set this instead of generated for
37698         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
37699         $(all-built-dso)-derived lists.
37700
37701 2012-05-03  Andreas Jaeger  <aj@suse.de>
37702
37703         * sysdeps/i386/fpu/libm-test-ulps: Update.
37704
37705         * FAQ: Removed.
37706         * FAQ.in: Likewise.
37707         * scripts/gen-FAQ.pl: Likewise.
37708         * manual/install.texi (Installation): Point to online location of
37709         FAQ.
37710         * Makefile (files-for-dist): Remove FAQ.
37711         (FAQ): Remove.
37712
37713 2012-05-02  Allan McRae  <allan@archlinux.org>
37714
37715         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
37716         (LDFLAGS-reldepmod5.so): Likewise.
37717         (LDFLAGS-reldep6mod1.so): Likewise.
37718         (LDFLAGS-reldep6mod4.so): Likewise.
37719         (LDFLAGS-reldep8mod3.so): Likewise.
37720         (LDFLAGS-unload4mod1.so): Likewise.
37721         (LDFLAGS-unload4mod2.so): Likewise.
37722         (LDFLAGS-tst-initorder): Likewise.
37723         (LDFLAGS-tst-initordera2.so): Likewise.
37724         (LDFLAGS-tst-initordera3.so): Likewise.
37725         (LDFLAGS-tst-initordera4.so): Likewise.
37726         (LDFLAGS-tst-initorderb2.so): Likewise.
37727         (LDFLAGS-noload): Likewise.
37728         (LDFLAGS-next): Likewise.
37729         (LDFLAGS-order2mod1.so): Likewise.
37730         (LDFLAGS-order2mod2.so): Likewise.
37731         (LDFLAGS-tst-initorder2): Likewise.
37732         (LDFLAGS-tst-initorder2a.so): Likewise.
37733         (LDFLAGS-tst-initorder2b.so): Likewise.
37734         (LDFLAGS-tst-initorder2c.so): Likewise.
37735         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
37736
37737 2012-05-02  David S. Miller  <davem@davemloft.net>
37738
37739         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37740
37741 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
37742
37743         [BZ #14055]
37744         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
37745
37746 2012-05-02  Andreas Jaeger  <aj@suse.de>
37747
37748         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
37749         since we manipulate rounding mode.
37750         (CPPFLAGS-test-idouble.c): Likewise.
37751         (CPPFLAGS-test-ifloat.c): Likewise.
37752         (CFLAGS-test-ldouble.c): Likewise.
37753         (CFLAGS-test-double.c): Likewise.
37754         (CFLAGS-test-float.c): Likewise.
37755         (CFLAGS-test-misc.c): Likewise.
37756         (CFLAGS-test-test-fenv.c): Likewise.
37757
37758 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37759
37760         [BZ #2550]
37761         [BZ #2570]
37762         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
37763         comparisons to determine direction to adjust input.
37764
37765 2012-05-01  Roland McGrath  <roland@hack.frob.com>
37766
37767         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
37768         output to the target.
37769
37770         * scripts/localplt.awk: New file.
37771         * elf/Makefile ($(objpfx)check-localplt): Target removed.
37772         (check-localplt-CFLAGS): Variable removed.
37773         ($(all-built-dso:=.jmprel)): New static pattern rule.
37774         (generated): Add those targets.
37775         (localplt-built-dso): New variable.
37776         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
37777
37778         * elf/check-localplt.c: File removed.
37779
37780         * scripts/check-execstack.awk: New file.
37781         * elf/Makefile ($(objpfx)check-execstack): Target removed.
37782         (check-execstack-CFLAGS): Variable removed.
37783         ($(objpfx)check-execstack.h): Target removed.
37784         ($(objpfx)execstack-default): New target.
37785         (generated): Add that instead of check-execstack.h.
37786         ($(all-built-dso:=.phdr)): New static pattern rule.
37787         (generated): Add those targets.
37788         * elf/check-execstack.c: File removed.
37789
37790         * scripts/check-textrel.awk: New file.
37791         * elf/Makefile ($(objpfx)check-textrel): Target removed.
37792         (check-textrel-CFLAGS): Variable removed.
37793         (all-built-dso): Use := to define.o
37794         ($(all-built-dso:=.dyn)): New static pattern rule.
37795         (generated): Add those targets.
37796         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
37797         * config.make.in (READELF): New substituted variable.
37798         * elf/check-textrel.c: File removed.
37799
37800 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
37801
37802         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37803         allow.
37804         * conform/data/ctype.h-data [C99-based standards] (isblank):
37805         Expect function.
37806         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
37807         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
37808         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37809         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
37810         Specify type.  Require positive value.
37811         (EILSEQ): Likewise.
37812         (ERANGE): Likewise.
37813         [ISO || POSIX] (EILSEQ): Do not expect.
37814         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
37815         Specify type.  Require positive value.
37816         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
37817         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
37818         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
37819         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
37820         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
37821         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
37822         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
37823         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
37824         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
37825         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
37826         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
37827         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
37828         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
37829         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37830         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37831         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37832         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37833         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37834         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37835         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37836         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37837         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37838         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37839         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37840         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37841         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37842         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37843         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37844         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37845         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37846         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37847         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37848         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37849         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37850         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37851         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37852         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37853         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37854         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37855         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37856         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37857         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37858         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37859         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37860         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37861         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37862         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37863         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37864         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37865         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37866         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37867         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37868         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37869         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37870         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37871         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37872         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37873         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37874         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37875         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37876         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37877         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37878         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37879         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37880         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37881         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37882         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37883         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37884         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37885         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37886         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37887         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37888         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37889         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37890         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37891         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37892         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37893         Require >= 2.
37894         (FLT_ROUNDS): Expect as macro, not constant.
37895         (FLT_MANT_DIG): Use macro-int-constant.
37896         (DBL_MANT_DIG): Likewise.
37897         (LDBL_MANT_DIG): Likewise.
37898         (FLT_DIG): Likewise.
37899         (DBL_DIG): Likewise.
37900         (LDBL_DIG): Likewise.
37901         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
37902         (DBL_MIN_EXP): Likewise.
37903         (LDBL_MIN_EXP): Likewise.
37904         (FLT_MAX_EXP): Use macro-int-constant.
37905         (DBL_MAX_EXP): Likewise.
37906         (LDBL_MAX_EXP): Likewise.
37907         (FLT_MAX_10_EXP): Likewise.
37908         (DBL_MAX_10_EXP): Likewise.
37909         (LDBL_MAX_10_EXP): Likewise.
37910         (FLT_MAX): Use macro-constant.
37911         (DBL_MAX): Likewise.
37912         (LDBL_MAX): Likewise.
37913         (FLT_EPSILON): Use macro-constant.  Give upper bound.
37914         (DBL_EPSILON): Likewise.
37915         (LDBL_EPSILON): Likewise.
37916         (FLT_MIN): Likewise.
37917         (DBL_MIN): Likewise.
37918         (LDBL_MIN): Likewise.
37919         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37920         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37921         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37922         [ISO11] (FLT_HAS_SUBNORM): Likewise.
37923         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37924         [ISO11] (DBL_DECIMAL_DIG): Likewise.
37925         [ISO11] (FLT_DECIMAL_DIG): Likewise.
37926         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37927         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37928         [ISO11] (FLT_TRUE_MIN): Likewise.
37929         [ISO11] (LDBL_TRUE_MIN): Likewise.
37930         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37931         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37932         (SCHAR_MIN): Use macro-int-constant.  Specify type.
37933         (SCHAR_MAX): Likewise.
37934         (UCHAR_MAX): Likewise.
37935         (CHAR_MIN): Likewise.
37936         (CHAR_MAX): Likewise.
37937         (MB_LEN_MAX): Use macro-int-constant.
37938         (SHRT_MIN): Use macro-int-constant.  Specify type.
37939         (SHRT_MAX): Likewise.
37940         (USHRT_MAX): Likewise.
37941         (INT_MAX): Likewise.
37942         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
37943         bound negative.
37944         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37945         bound with "U".
37946         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37947         bound with "L".
37948         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
37949         bound negative.  Suffix upper bound with "L".
37950         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37951         bound with "UL".
37952         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37953         Specify type.
37954         [C99-based standards] (LLONG_MAX): Likewise.
37955         [C99-based standards] (ULLONG_MAX): Likewise.
37956         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
37957         == 0.
37958         [ISO11] (max_align_t): Require type.
37959         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37960
37961         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37962         from $CFLAGS, without defining away __attribute__ calls.
37963         (checknamespace): Use $CFLAGS_namespace.
37964
37965         * conform/conformtest.pl (@keywords): Only include C99 keywords
37966         for standards based on C99 or C11.
37967
37968         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37969         Disable tests.
37970         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37971         UNIX98]: Likewise.
37972
37973         * conform/conformtest.pl: Handle "macro-int-constant" and test for
37974         usability of symbols in #if.
37975
37976         * conform/conformtest.pl: If macro or constant types start
37977         "promoted:", expect the symbol to be of the following type
37978         promoted by the integer promotions.
37979
37980         * conform/conformtest.pl: Parse all "constant" and "macro" lines
37981         in one place.  Also handle "macro-constant".
37982
37983         * conform/conformtest.pl: Only accept expected macro values with
37984         "==".  Parse all "macro" lines in one place.
37985         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37986
37987         * conform/conformtest.pl: Handle braced types on "constant" lines
37988         instead of handling "typed-constant".
37989         * conform/data/signal.h-data: Use "constant" instead of
37990         "typed-constant".
37991
37992         * conform/conformtest.pl: Handle "optional-" at start of lines in
37993         one place rather than duplicating several cases.  Handle each
37994         format of "macro" line with initial "optional-".
37995
37996         * conform/conformtest.pl: Only accept expected constant or
37997         optional-constant values with "==".  Parse all "constant" lines in
37998         one place.  Parse all "optional-constant" lines in one place.
37999         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
38000         * conform/data/fmtmsg.h-data: Likewise.
38001         * conform/data/netinet/in.h-data: Likewise.
38002         * conform/data/tar.h-data: Likewise.
38003         * conform/data/limits.h-data: Use "==" form on "constant" and
38004         "optional-constant" lines.
38005
38006         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
38007         Use -std=c99 for XOPEN2K.
38008         (@knownproblems): Remove.
38009         (newtoken): Don't check %isknown.
38010
38011         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
38012         Do not expect macro.
38013         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
38014         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
38015         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
38016         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
38017         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
38018         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
38019         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
38020         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
38021         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
38022         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
38023         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
38024         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
38025         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
38026         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
38027         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
38028         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
38029         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
38030         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
38031         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
38032         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
38033         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
38034         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
38035         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
38036         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
38037         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
38038         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
38039         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
38040         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
38041         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
38042         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
38043         [XPG3] (acosh): Likewise.
38044         [XPG3] (asinh): Likewise.
38045         [XPG3] (atanh): Likewise.
38046         [XPG3] (cbrt): Likewise.
38047         [XPG3] (expm1): Likewise.
38048         [XPG3] (ilogb): Likewise.
38049         [XPG3] (log1p): Likewise.
38050         [XPG3] (logb): Likewise.
38051         [XPG3] (nextafter): Likewise.
38052         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
38053         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
38054         [XPG3] (remainder): Likewise.
38055         [XPG3] (rint): Likewise.
38056         [XPG3 || XPG4 || UNIX98] (round): Likewise.
38057         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
38058         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
38059         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
38060         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
38061         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
38062         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
38063         [UNIX98 || XOPEN2K] (scalb): Expect.
38064         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
38065         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
38066         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
38067         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
38068         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
38069         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
38070         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
38071         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
38072         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
38073         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
38074         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
38075         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
38076         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
38077         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
38078         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
38079         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
38080         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
38081         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
38082         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
38083         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
38084         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
38085         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
38086         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
38087         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
38088         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
38089         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
38090         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
38091         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
38092         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
38093         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
38094         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
38095         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
38096         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
38097         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
38098         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
38099         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
38100         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
38101         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
38102         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
38103         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
38104         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
38105         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
38106         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
38107         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
38108         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
38109         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
38110         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
38111         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
38112         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
38113         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
38114         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
38115         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
38116         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
38117         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
38118         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
38119         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
38120         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
38121         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
38122         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
38123         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
38124         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
38125         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
38126         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
38127         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
38128         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
38129         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
38130         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
38131         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
38132         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
38133         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
38134         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
38135         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
38136         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
38137         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
38138         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
38139         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
38140         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
38141         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
38142         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
38143         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
38144         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
38145         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
38146         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
38147         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
38148         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
38149         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
38150         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
38151         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
38152         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
38153         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
38154         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
38155         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
38156         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
38157         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
38158         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
38159         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
38160         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
38161         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
38162         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
38163         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
38164         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
38165         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
38166         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
38167         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
38168         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
38169         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
38170         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
38171         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
38172         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
38173         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
38174         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
38175         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
38176         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
38177         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
38178         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
38179         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
38180         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
38181         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
38182         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
38183         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
38184         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
38185         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
38186         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
38187         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
38188         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
38189         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
38190         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
38191         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
38192         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
38193         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
38194         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
38195         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
38196         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
38197         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
38198         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
38199         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
38200         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
38201
38202         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
38203         _XOPEN_SOURCE_EXTENDED for XPG4.
38204
38205         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
38206
38207         * Makeconfig (localtime): Remove variable.
38208         (inst_localtime-file): Likewise.
38209
38210 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
38211
38212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
38213         Update.
38214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38215         Update.
38216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
38217         Update.
38218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38219         Update.
38220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
38221         Update.
38222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
38223         Update.
38224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38225         Update.
38226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
38227         Update.
38228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38229         Update.
38230
38231 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
38232
38233         [BZ #2550]
38234         [BZ #2570]
38235         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
38236         comparisons to determine direction to adjust input.
38237         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
38238         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
38239         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
38240         Likewise.
38241         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
38242         Likewise.
38243         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38244         Likewise.
38245         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
38246         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
38247         Likewise.
38248         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
38249         Likewise.
38250         * math/libm-test.inc (nexttoward_test): Add more tests.
38251
38252 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
38253
38254         [BZ #14040]
38255         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
38256         in version GLIBC_2.1, not GLIBC_2.0.
38257         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
38258         Likewise.
38259
38260 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
38261
38262         [BZ #13942]
38263         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
38264         (1 - x) * (1 + x).
38265         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38266         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
38267         * math/libm-test.inc (acos_test): Add more tests.
38268         (asin_test): Likewise.
38269         * sysdeps/i386/fpu/libm-test-ulps: Update.
38270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38271
38272         [BZ #14034]
38273         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
38274         of square root.
38275         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
38276         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38277         * math/libm-test.inc (acos_test_tonearest): New function.
38278         (acos_test_towardzero): Likewise.
38279         (acos_test_downward): Likewise.
38280         (acos_test_upward): Likewise.
38281         (asin_test_tonearest): Likewise.
38282         (asin_test_towardzero): Likewise.
38283         (asin_test_downward): Likewise.
38284         (asin_test_upward): Likewise.
38285         (main): Call the new functions.
38286         * sysdeps/i386/fpu/libm-test-ulps: Update.
38287         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38288
38289         [BZ #13884]
38290         [BZ #13924]
38291         * math/e_exp10.c: Include <float.h>.
38292         (__ieee754_exp10): Handle underflow here rather than multiplying
38293         large negative argument by M_LN10.
38294         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
38295         of __ieee754_expf.
38296         * math/e_exp10l.c: Include <float.h>.
38297         (__ieee754_exp10l): Handle underflow here rather than multiplying
38298         large negative argument by M_LN10l.
38299         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
38300         spurious overflow exception on underflow.
38301
38302 2012-04-29  Marek Polacek  <polacek@redhat.com>
38303
38304         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
38305         (__fortify_function): New macro.
38306         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
38307         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
38308         __extern_always_inline.
38309         * libio/bits/stdio2.h: Likewise.
38310         * libio/bits/stdio.h: Likewise.
38311         * string/string.h: Likewise.
38312         * string/bits/string3.h: Likewise.
38313         * include/stdio.h: Likewise.
38314         * stdlib/bits/stdlib.h: Likewise.
38315         * stdlib/stdlib.h: Likewise.
38316         * rt/bits/mqueue2.h: Likewise.
38317         * rt/mqueue.h: Likewise.
38318         * posix/bits/unistd.h: Likewise.
38319         * posix/unistd.h: Likewise.
38320         * io/bits/poll2.h: Likewise.
38321         * io/bits/fcntl2.h: Likewise.
38322         * io/fcntl.h: Likewise.
38323         * io/sys/poll.h: Likewise.
38324         * misc/bits/syslog.h: Likewise.
38325         * misc/bits/syslog-ldbl.h: Likewise.
38326         * misc/sys/syslog.h: Likewise.
38327         * socket/bits/socket2.h: Likewise.
38328         * socket/sys/socket.h: Likewise.
38329         * debug/tst-chk1.c: Likewise.
38330         * wcsmbs/bits/wchar2.h: Likewise.
38331         * wcsmbs/bits/wchar-ldbl.h: Likewise.
38332         * wcsmbs/wchar.h: Likewise.
38333
38334 2012-04-29  Andreas Jaeger  <aj@suse.de>
38335
38336         * Makerules (tests): Remove enable-check-abi protection.
38337         (check-abi-warn): Remove.
38338         (check-abi-%): Remove check-abi-warn usage.
38339
38340         * configure.in: Remove check-abi configure option.
38341         * configure: Regenerated.
38342         * config.make.in (enable-check-abi): Remove.
38343
38344 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
38345
38346         [BZ #14033]
38347         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
38348         double functions to double *_finite functions.
38349
38350         [BZ #13941]
38351         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
38352         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
38353         LDBL_MIN_EXP.
38354         * stdio-common/Makefile (tests): Add tst-sprintf3.
38355         * stdio-common/tst-sprintf3.c: New file.
38356
38357         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
38358         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
38359
38360 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
38361
38362         * conform/conformtest.pl: Remove duplicate typed-constant
38363         handling.
38364
38365 2012-04-28  David S. Miller  <davem@davemloft.net>
38366
38367         * Makerules (%.abilist): Add vpath on sysdep_dirs.
38368         (check-abi-%): Remove AWK script prerequisite and explicit
38369         abilist directory.
38370         (check-abi): Rewrite to just diff the symlist with the abilist.
38371         (config-tls, config-abi-config): Delete, no longer used.
38372         (update-abi-%): Remove AWK script and explicit abilist directory.
38373         (update-abi): Rewrite to simply compare and conditionally copy the
38374         symlist and the sysdep abilist file.  Remove update-abi-config
38375         checks.
38376         * abilist/ld.abilist: Remove.
38377         * abilist/libBrokenLocale.abilist: Remove.
38378         * abilist/libanl.abilist: Remove.
38379         * abilist/libcrypt.abilist: Remove.
38380         * abilist/libdl.abilist: Remove.
38381         * abilist/librt.abilist: Remove.
38382         * abilist/libthread_db.abilist: Remove.
38383         * abilist/libutil.abilist: Remove.
38384         * scripts/extract-abilist.awk: Remove.
38385         * scripts/merge-abilist.awk: Remove.
38386         * sysdeps/generic/libcidn.abilist: New file.
38387         * sysdeps/generic/libnss_compat.abilist: New file.
38388         * sysdeps/generic/libnss_db.abilist: New file.
38389         * sysdeps/generic/libnss_dns.abilist: New file.
38390         * sysdeps/generic/libnss_files.abilist: New file.
38391         * sysdeps/generic/libnss_hesiod.abilist: New file.
38392         * sysdeps/generic/libnss_nis.abilist: New file.
38393         * sysdeps/generic/libnss_nisplus.abilist: New file.
38394         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
38395         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
38396         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
38397         file.
38398         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
38399         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
38400         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
38401         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
38402         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
38403         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
38404         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
38405         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
38406         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
38407         file.
38408         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
38409         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
38410         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
38411         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
38412         file.
38413         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
38414         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
38415         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
38416         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
38417         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
38418         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
38419         file.
38420         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
38421         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
38422         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
38423         file.
38424         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
38425         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
38426         New file.
38427         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
38428         New file.
38429         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
38430         New file.
38431         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
38432         New file.
38433         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
38434         New file.
38435         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
38436         New file.
38437         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
38438         New file.
38439         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
38440         New file.
38441         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
38442         New file.
38443         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
38444         New file.
38445         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
38446         New file.
38447         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
38448         New file.
38449         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
38450         New file.
38451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
38452         file.
38453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38454         New file.
38455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38456         New file.
38457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
38458         file.
38459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38460         New file.
38461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38462         New file.
38463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
38464         file.
38465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38466         New file.
38467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38468         New file.
38469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38470         New file.
38471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38472         New file.
38473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38474         New file.
38475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38476         New file.
38477         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
38478         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
38479         file.
38480         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
38481         New file.
38482         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
38483         file.
38484         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
38485         file.
38486         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
38487         file.
38488         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
38489         file.
38490         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
38491         file.
38492         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38493         New file.
38494         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
38495         file.
38496         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
38497         file.
38498         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
38499         New file.
38500         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
38501         file.
38502         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
38503         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
38504         file.
38505         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
38506         New file.
38507         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
38508         file.
38509         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
38510         file.
38511         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
38512         file.
38513         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
38514         file.
38515         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
38516         file.
38517         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38518         New file.
38519         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
38520         file.
38521         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
38522         file.
38523         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38524         New file.
38525         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
38526         file.
38527         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38528         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
38529         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
38530         file.
38531         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
38532         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
38533         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
38534         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
38535         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
38536         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
38537         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
38538         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
38539         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
38540         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
38541         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
38542         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
38543         file.
38544         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38545         New file.
38546         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
38547         file.
38548         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
38549         file.
38550         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
38551         file.
38552         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
38553         file.
38554         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
38555         file.
38556         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38557         New file.
38558         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38559         New file.
38560         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
38561         file.
38562         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38563         New file.
38564         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
38565         file.
38566         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
38567         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
38568         file.
38569         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38570         New file.
38571         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
38572         file.
38573         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
38574         file.
38575         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
38576         file.
38577         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
38578         file.
38579         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
38580         file.
38581         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38582         New file.
38583         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38584         New file.
38585         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
38586         file.
38587         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38588         New file.
38589         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
38590         file.
38591
38592 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
38593
38594         * conform/conformtest.pl: Fix typo in handling typed-constant from
38595         allow-header.
38596
38597 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
38598
38599         * README: Cut down references to pre-2.6 Linux kernels and
38600         Linuxthreads.  Update lists of configurations in libc and ports
38601         and sort alphabetically.  Say "or newer" with Linux kernel version
38602         requirements.
38603
38604         * config.h.in [IS_IN_build]: Allow compiling without optimization.
38605
38606 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38607
38608         [BZ #887]
38609         * math/libm-test.inc (logb_test_downward): New test to expose
38610         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
38611         rounding mode.
38612
38613 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
38614
38615         [BZ #14027]
38616         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
38617         to be done.
38618         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
38619         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
38620
38621 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
38622
38623         * sysdeps/unix/i386/brk.S: Remove file.
38624         * sysdeps/unix/i386/dl-brk.S: Likewise.
38625         * sysdeps/unix/i386/pipe.S: Likewise.
38626         * sysdeps/unix/i386/sigreturn.S: Likewise.
38627         * sysdeps/unix/i386/syscall.S: Likewise.
38628         * sysdeps/unix/i386/vfork.S: Likewise.
38629         * sysdeps/unix/i386/wait.S: Likewise.
38630
38631         * sysdeps/unix/common/tcsendbrk.c: Move to ...
38632         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
38633
38634         * configure.in (arm*-none*): Do not allow without
38635         --enable-hacker-mode.
38636         (netbsd*): Remove case setting base_os.
38637         (386bsd*): Likewise.
38638         (freebsd*): Likewise.
38639         (bsdi*): Likewise.
38640         (osf*): Likewise.
38641         (sunos*): Likewise.
38642         (ultrix*): Likewise.
38643         (newsos*): Likewise.
38644         (dynix*): Likewise.
38645         (*bsd*): Likewise.
38646         (sysv*): Likewise.
38647         (isc*): Likewise.
38648         (esix*): Likewise.
38649         (sco*): Likewise.
38650         (minix*): Likewise.
38651         (irix4*): Likewise.
38652         (irix6*): Likewise.
38653         (solaris[2-9]*): Likewise.
38654         (none): Likewise.
38655         * configure: Regenerated.
38656
38657 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38658
38659         [BZ #11521]
38660         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
38661         overflow or cancellation in calculating denominator.
38662         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
38663         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
38664         down expression to avoid unexpected rounding in newer GCCs.
38665         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
38666
38667 2012-04-26  David S. Miller  <davem@davemloft.net>
38668
38669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
38670         long-double compat symbols.
38671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
38675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38676         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
38677         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
38678         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
38679         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
38680         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
38681         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
38682         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
38683         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38684
38685 2012-04-25  David S. Miller  <davem@davemloft.net>
38686
38687         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
38688         HWCAP_* values only after the memory barriers have been defined.
38689         (atomic_full_barrier): Define.
38690         (atomic_read_barrier): Define.
38691         (atomic_write_barrier): Define.
38692
38693 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38694
38695         * shlib-versions: Add libgcc_s version information.
38696         * sysdeps/generic/libgcc_s.h: Remove.
38697         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
38698         libgcc_s.h.
38699         * sysdeps/gnu/unwind-resume.c: Likewise.
38700         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
38701
38702 2012-04-25  David S. Miller  <davem@davemloft.net>
38703
38704         * sysdeps/unix/sparc/brk.S: Delete.
38705         * sysdeps/unix/sparc/dl-brk.S: Delete.
38706         * sysdeps/unix/sparc/pipe.S: Delete.
38707         * sysdeps/unix/sparc/sysdep.S: Delete.
38708         * sysdeps/unix/sparc/sysdep.h: Delete.
38709         * sysdeps/unix/sparc/vfork.S: Delete.
38710         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
38711         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
38712         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
38713         (ret_ERRVAL, r0, r1, MOVE): Define.
38714         (JUMPTARGET): Remove.
38715         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
38716         sysdeps/unix/sparc/sysdep.h
38717         (ENTRY, END): Remove.
38718         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38719
38720 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
38721
38722         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
38723         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
38724         -DIS_IN_build.
38725
38726         * timezone/README: Update upstream location and email address for
38727         tzcode and tzdata.
38728         * timezone/zdump.c: Update from tzcode 2012b.
38729         * timezone/zic.c: Likewise.
38730
38731         * configure.in (libc_cv_as_needed): Remove test.
38732         * configure: Regenerated.
38733         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
38734         conditional definition.
38735         [$(have-as-needed) != yes] (no-as-needed): Likewise.
38736         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
38737         * config.make.in (have-as-needed): Remove variable.
38738
38739 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38740             Paul Pluzhnikov  <ppluzhnikov@google.com>
38741
38742         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
38743         strings correctly.
38744
38745 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
38746
38747         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
38748         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
38749         * sysdeps/sh/strlen.S: Likewise.
38750
38751 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38752
38753         * sysdeps/unix/fork.S: Remove file.
38754         * sysdeps/unix/i386/fork.S: Likewise.
38755         * sysdeps/unix/sparc/fork.S: Likewise.
38756
38757         * sysdeps/unix/system.c: Remove file.
38758         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
38759
38760         * sysdeps/unix/getegid.S: Remove file.
38761         * sysdeps/unix/geteuid.S: Likewise.
38762
38763 2012-04-24  Roland McGrath  <roland@hack.frob.com>
38764
38765         * scripts/check-localplt.awk: New file.
38766         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
38767         of diff.
38768         * scripts/data/localplt-generic.data: Add a comment.
38769
38770         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
38771         NODE when __dir_mkfile failed.
38772         * sysdeps/mach/hurd/symlinkat.c: Likewise.
38773         Reported by Ludovic Courtès <ludo@gnu.org>.
38774
38775 2012-04-24  Andreas Jaeger  <aj@suse.de>
38776
38777         * Makerules (common-clean): Also remove gen-as-const-headers
38778         files.
38779
38780 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38781
38782         * Makerules (native-compile): Do not change working directory for
38783         build.  Use $(OUTPUT_OPTION) in command.
38784         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
38785
38786 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38787
38788         [BZ #13886]
38789         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
38790         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
38791         * math/libm-test.inc (floor_test): Add more tests.
38792         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
38793
38794 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38795
38796         * sysdeps/unix/getdents.c: Remove file.
38797         * sysdeps/unix/sysv/getdents.c: Likewise.
38798         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
38799
38800         * sysdeps/unix/syscalls.list (madvise): Add syscall from
38801         sysdeps/unix/mman/syscalls.list.
38802         (mmap): Likewise.
38803         (mprotect): Likewise.
38804         (msync): Likewise.
38805         (munmap): Likewise.
38806         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
38807         * sysdeps/unix/mman/syscalls.list: Remove.
38808         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
38809
38810         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
38811         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
38812         * configure: Regenerated.
38813         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
38814         $(libgcc_s_suffix).
38815         * config.make.in (libgcc_s_suffix): Remove variable.
38816
38817 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
38818
38819         * sysdeps/unix/sysv/gethostname.c: Move to ...
38820         * sysdeps/posix/gethostname.c: ... here.
38821
38822         * sysdeps/unix/execve.S: Remove file.
38823
38824         * sysdeps/unix/_exit.S: Remove file.
38825
38826 2012-04-23  Andreas Jaeger  <aj@suse.de>
38827
38828         [BZ #13739]
38829         * manual/Makefile: Remove make dist support, there's no
38830         need for a stand-alone documentation tar ball.
38831         (TEXI2DVI): Define always, it's not in Makeconfig.
38832         (dist): Removed.
38833         (tar-it): Removed.
38834         (edition): Removed.
38835         (glibc-doc-$(edition).tar): Removed
38836         (%.Z): Removed.
38837         (%.gz): Removed.
38838         (%.uu): Removed.
38839         (ETAGS): Remove, it's in Makeconfig.
38840         (move-if-change): Remove, it's in Makeconfig.
38841
38842 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
38843
38844         [BZ #13970]
38845         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38846         (strtod, strtof, strtold, strtol, strtoul, strtoq)
38847         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38848         (strtod_l, strtof_l, strtold_l): Remove __wur.
38849         It is not necessarily an error to ignore strtol's return value.
38850         One can reliably look at the stored endptr to decide whether
38851         the number had valid syntax.
38852
38853 2012-04-21  Andreas Jaeger  <aj@suse.de>
38854
38855         [BZ #13739]
38856         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38857
38858 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
38859
38860         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38861         * sysdeps/unix/sysv/Versions: Remove file.
38862
38863 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
38864
38865         [BZ #13927]
38866         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38867
38868 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
38869
38870         [BZ #7064]
38871         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38872         version from __vm86.
38873
38874 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
38875
38876         * sysdeps/unix/common/lxstat.c: Remove file.
38877         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38878
38879         * sysdeps/unix/sysv/Makefile: Remove file.
38880
38881         * sysdeps/unix/sysv/direct.h: Remove file.
38882
38883         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38884         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38885         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38886         * sysdeps/unix/sysv/bits/signum.h: Likewise.
38887         * sysdeps/unix/sysv/bits/stat.h: Likewise.
38888         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38889         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38890
38891         * sysdeps/unix/sysv/setrlimit.c: Remove file.
38892
38893         * sysdeps/unix/xmknod.c: Remove file.
38894         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38895
38896         * sysdeps/unix/sysv/settimeofday.c: Remove file.
38897
38898         * sysdeps/unix/sysv/i386/time.S: Remove file.
38899
38900         * sysdeps/unix/fxstat.c: Remove file.
38901         * sysdeps/unix/xstat.c: Likewise.
38902         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38903
38904         * sysdeps/unix/sysv/sigaction.c: Remove file.
38905
38906         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
38907         (sysdep_headers): Remove variable.
38908         [termio.h not in sysdep_headers] (generated): Likewise.
38909         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
38910         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38911         * sysdeps/unix/sysv/tcdrain.c: Likewise.
38912         * sysdeps/unix/sysv/tcflow.c: Likewise.
38913         * sysdeps/unix/sysv/tcflush.c: Likewise.
38914         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38915         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38916         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38917         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38918         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38919
38920         * sysdeps/unix/siglist.c: Remove file.
38921
38922         * sysdeps/unix/getppid.S: Remove file.
38923
38924         * sysdeps/unix/mkdir.c: Remove file.
38925         * sysdeps/unix/rmdir.c: Likewise.
38926
38927 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
38928
38929         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38930         ERR_MAX value.
38931         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38932         errlist-compat value.
38933
38934 2012-04-18  David S. Miller  <davem@davemloft.net>
38935
38936         * sysdeps/generic/memcopy.h (reg_char): Delete.
38937         * debug/strcat_chk.c: Use char, not reg_char.
38938         * debug/strcpy_chk.c: Likewise.
38939         * debug/strncat_chk.c: Likewise.
38940         * debug/strncpy_chk.c: Likewise.
38941         * string/memchr.c: Likewise.
38942         * string/memrchr.c: Likewise.
38943         * string/rawmemchr.c: Likewise.
38944         * string/strcat.c: Likewise.
38945         * string/strchr.c: Likewise.
38946         * string/strchrnul.c: Likewise.
38947         * string/strcmp.c: Likewise.
38948         * string/strcpy.c: Likewise.
38949         * string/strncat.c: Likewise.
38950         * string/strncmp.c: Likewise.
38951         * string/strncpy.c: Likewise.
38952
38953 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38954
38955         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38956         __builtin_memcopy is called when src and dest ranges are known to not
38957         overlap.
38958
38959 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38960
38961         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38962         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38963         fwd_align_merge macro call.
38964         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38965         bwd_align_merge macro call.
38966         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38967
38968 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38969
38970         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38971         bwd_align_merge macros.
38972         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38973         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38974         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38975
38976 2012-04-18  David S. Miller  <davem@davemloft.net>
38977
38978         * sysdeps/sparc/sparc64/memcopy.h: Delete.
38979
38980 2012-04-18  Andreas Jaeger  <aj@suse.de>
38981
38982         [BZ# 6794]
38983         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38984         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38985         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38986
38987         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38988         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38989         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38990
38991         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38992         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38993         Adjust for changed ldbl-128 files.
38994
38995         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38996         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38997         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38998
38999 2012-04-17  David S. Miller  <davem@davemloft.net>
39000
39001         * sysdeps/sparc/sparc32/memcopy.h: Delete.
39002
39003 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
39004
39005         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
39006         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
39007         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
39008         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
39009         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
39010         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
39011
39012 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39013
39014         [BZ #6794]
39015         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
39016         * math/libm-test.inc: Add ilogb errno and exception tests.
39017         * math/w_ilogb.c: New file: ilogb wrapper.
39018         * math/w_ilogbf.c: New file: ilogbf wrapper.
39019         * math/w_ilogbl.c: New file: ilogbl wrapper.
39020         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
39021         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
39022         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
39023         exception being thrown with 0.0 as argument.
39024         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
39025         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
39026         exception being thrown with 0.0 as argument.
39027         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
39028         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
39029         exception being thrown with 0.0 as argument.
39030         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
39031         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
39032         exception being thrown with 0.0 as argument.
39033         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
39034         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
39035         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
39036         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
39037         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
39038         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
39039         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
39040         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
39041         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
39042
39043 2012-04-17  Petr Baudis  <pasky@ucw.cz>
39044
39045         * include/sys/uio.h: Change __vector to __iovec to avoid clash
39046         with altivec.
39047
39048 2012-04-16  Marek Polacek  <polacek@redhat.com>
39049
39050         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
39051
39052 2012-04-16  Marek Polacek  <polacek@redhat.com>
39053
39054         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
39055         operands of fdivp instruction.
39056
39057 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
39058
39059         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
39060         * elf/tst-auditmod3b.c: Likewise.
39061         * elf/tst-auditmod4b.c: Likewise.
39062         * elf/tst-auditmod5b.c: Likewise.
39063         * elf/tst-auditmod6b.c: Likewise.
39064         * elf/tst-auditmod6c.c: Likewise.
39065         * elf/tst-auditmod7b.c: Likewise.
39066         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
39067         * sysdeps/x86_64/preconfigure.in: Likewise.
39068         * sysdeps/x86_64/preconfigure: Regenerated.
39069
39070 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
39071
39072         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
39073         __ILP32__.
39074
39075 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
39076
39077         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39078         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
39079
39080 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
39081
39082         [BZ #13973]
39083         * locale/iso-639.def: Fix gl language name. Spotted by
39084         Yaron Shahrabani.
39085
39086 2012-04-12  Roland McGrath  <roland@hack.frob.com>
39087
39088         [BZ #2074]
39089         * libio/libio.h (__io_write_fn): Update comment.
39090
39091 2012-04-12  Petr Baudis  <pasky@ucw.cz>
39092
39093         [BZ #2074]
39094         * stdio.texi (Hook Functions): The user provided writer function
39095         is not allowed to return -1.
39096
39097 2012-04-11  David S. Miller  <davem@davemloft.net>
39098
39099         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39100
39101 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
39102
39103         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
39104         Add a leading slash to rtkaio.
39105
39106 2012-04-11  Jim Meyering  <meyering@redhat.com>
39107
39108         [BZ #11959]
39109         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
39110         It is not necessarily an error to ignore fwrite's return
39111         value.  One can reliably use ferror to test for errors after
39112         the fact.
39113
39114 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
39115
39116         * bits/types.h (__snseconds_t): New type.
39117         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
39118
39119         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
39120         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39121         (__SNSECONDS_T_TYPE): Likewise.
39122         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39123         (__SNSECONDS_T_TYPE): Likewise.
39124         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39125         (__SNSECONDS_T_TYPE): Likewise.
39126
39127 2012-04-10  Andreas Jaeger  <aj@suse.de>
39128
39129         [BZ #2636]
39130         * manual/time.texi (Processor Time): Return type of times is
39131         elapsed real time since an arbitrary point in the past.
39132         (CPU Time): Move CLK_TCK from here...
39133         (Processor Time): ...to here.  Correct description.
39134         * manual/conf.texi (Constants for Sysconf): Correct description of
39135         _SC_CLK_TCK.
39136
39137 2012-04-10  David S. Miller  <davem@davemloft.net>
39138
39139         [BZ #13967]
39140         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
39141         where the is a gap between DT_REL(A) and DT_JMPREL.
39142
39143 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
39144
39145         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
39146         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39147         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39148
39149 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39150
39151         * elf/dl-support.c (_dl_inhibit_cache): New variable.
39152         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
39153         (dl_main): Handle --inhibit-cache.
39154         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
39155         _dl_inhibit_cache.
39156         * elf/dl-load.c (_dl_map_object): Use it.
39157         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
39158
39159 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
39160
39161         [BZ #13872]
39162         * sysdeps/i386/fpu/e_powl.S (p78): New object.
39163         (__ieee754_powl): Saturate large exponents rather than testing for
39164         overflow of y*log2(x).
39165         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39166         * math/libm-test.inc (pow_test): Do not permit spurious overflow
39167         exceptions.
39168
39169         [BZ #11521]
39170         * math/s_ctan.c: Include <float.h>.
39171         (__ctan): Avoid internal overflow or cancellation in calculating
39172         denominator.
39173         * math/s_ctanf.c: Likewise.
39174         * math/s_ctanl.c: Likewise.
39175         * math/s_ctanh.c: Likewise.
39176         * math/s_ctanhf.c: Likewise.
39177         * math/s_ctanhl.c: Likewise.
39178         * math/libm-test.inc (ctan_test): Add more tests.
39179         (ctanh_test): Likewise.
39180         * sysdeps/i386/fpu/libm-test-ulps: Update.
39181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39182
39183 2012-04-09  Andreas Jaeger  <aj@suse.de>
39184
39185         [BZ #6894]
39186         * manual/filesys.texi (Directory Entries): Mention that d_namlen
39187         is an optional BSD extension.
39188
39189         [BZ #10254]
39190         * manual/stdio.texi (Opening Streams): Document additional fopen
39191         parameters.
39192
39193 2012-04-09  Roland McGrath  <roland@hack.frob.com>
39194
39195         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
39196         %eax without telling the compiler.
39197
39198 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
39199
39200         [BZ # 13963]
39201         * manual/install.texi: Use sourceware.org.
39202
39203 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
39204
39205         [BZ #13873]
39206         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
39207         (__ieee754_pow): Generate overflow and underflow using huge*huge
39208         and tiny*tiny rather than just returning constant infinity or zero
39209         for large exponents.
39210         * math/libm-test.inc (pow_test): Require overflow exceptions for
39211         applicable cases of large exponents.
39212
39213         [BZ #706]
39214         * sysdeps/i386/fpu/e_pow.S (p10): New object.
39215         (__ieee754_pow): Use iterative multiplication algorithm only for
39216         integer exponents with absolute value below 1024.  Check for odd
39217         integer exponents when using algorithm for real exponents.
39218         * math/libm-test.inc (pow_test): Add more tests.
39219         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39220
39221 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
39222
39223         [BZ #13705]
39224         * math/libm-test.inc (exp_test): Do not allow overflow exception
39225         on underflow test.
39226
39227 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
39228
39229         [BZ #13705]
39230         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
39231         instead of __kernel_standard_f.
39232
39233 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
39234
39235         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
39236         * sysdeps/x86_64/memset_chk.S: Likewise.
39237
39238 2012-04-08  Andreas Jaeger  <aj@suse.de>
39239
39240         [BZ #10153]
39241         * manual/startup.texi (Environment Access): Describe return value
39242         for putenv and setenv.
39243
39244         [BZ #6895]
39245         * manual/filesys.texi (Directory Entries): Add description for
39246         DT_LNK.
39247
39248         [BZ #6890]
39249         * manual/filesys.texi (Directory Entries): Clarify that it's file
39250         system not operating system in the description of DT_UNKNOWN.
39251
39252         [BZ #6578]
39253         * manual/syslog.texi (closelog): Fix reference, it's openlog.
39254
39255 2012-04-08  Stephen Compall  <s11@member.fsf.org>
39256
39257         [BZ #6649]
39258         * manual/llio.texi (Opening and Closing Files): Add cross
39259         reference to explain mode argument.
39260
39261 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
39262
39263         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
39264         * sysdeps/x86_64/memset_chk.S: Likewise.
39265
39266 2012-04-07  David S. Miller  <davem@davemloft.net>
39267
39268         * elf/elf.h (R_SPARC_WDISP10): Define.
39269         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
39270         R_SPARC_SIZE32.
39271         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
39272         R_SPARC_SIZE64 and R_SPARC_H34.
39273
39274 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
39275
39276         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
39277         conditions and remove no longer applicable assertion.
39278
39279 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
39280
39281         * bits/byteswap.h: Include <features.h>.
39282         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39283         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39284
39285 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
39286
39287         * bits/byteswap.h (__bswap_16): Removed.
39288         Include <bits/byteswap-16.h> to get __bswap_16.
39289         * sysdeps/i386/bits/byteswap.h: Likewise.
39290         * sysdeps/s390/bits/byteswap.h: Likewise.
39291         * sysdeps/x86_64/bits/byteswap.h: Likewise.
39292         * bits/byteswap-16.h: New file.
39293         * sysdeps/i386/bits/byteswap-16.h: Likewise.
39294         * sysdeps/s390/bits/byteswap-16.h: Likewise.
39295         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
39296         * string/Makefile (headers): Add bits/byteswap-16.h.
39297
39298 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
39299
39300         [BZ #13895]
39301         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
39302         extra indirection.
39303         * nss/Makefile (tests-static, tests): Add tst-nss-static.
39304         * nss/tst-nss-static.c: New.
39305
39306 2012-04-06  Robert Millan  <rmh@gnu.org>
39307
39308         [BZ #6486]
39309         * manual/llio.texi (File Position Primitive): lseek
39310         refers to WHENCE when it really means OFFSET.
39311
39312 2012-04-06  Andreas Jaeger  <aj@suse.de>
39313
39314         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
39315         strncmp declarations.
39316
39317         * abilist/libc.abilist: Add __poll and __ppoll.
39318
39319 2012-04-05  David S. Miller  <davem@davemloft.net>
39320
39321         * scripts/check-local-headers.sh: Accept a host triplet in the
39322         path matched by the exclude regexp.
39323
39324         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
39325         definition.
39326         * sysdeps/powerpc/powerpc32/dl-machine.h
39327         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
39328         * sysdeps/s390/s390-32/dl-machine.h
39329         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39330         * sysdeps/sparc/sparc32/dl-machine.h
39331         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39332         * sysdeps/sparc/sparc64/dl-machine.h
39333         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39334
39335         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
39336         lazy binding.
39337         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
39338         undefined symbol errors.
39339
39340         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
39341         DT_NEEDED entries.
39342
39343 2012-04-05  Michael Matz  <matz@suse.de>
39344
39345         [BZ #13592]
39346         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
39347
39348 2012-04-05  Andreas Jaeger  <aj@suse.de>
39349
39350         [BZ #13908]
39351         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
39352         comment.
39353
39354 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39355
39356         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
39357         which ROUND is no valid rounding mode.
39358
39359 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39360
39361         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
39362         read again.
39363         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
39364
39365 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39366
39367         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
39368         an exception using FPU order intentionally.
39369
39370 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39371
39372         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
39373         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
39374         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
39375         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
39376
39377 2012-04-05  Simon Josefsson  <simon@josefsson.org>
39378
39379         [BZ #12340]
39380         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
39381         EINVAL when BUFLEN is too smal.
39382
39383 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
39384
39385         [BZ #13553]
39386         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
39387         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
39388
39389 2012-04-03  Andreas Jaeger  <aj@suse.de>
39390
39391         [BZ #13938]
39392         * manual/setjmp.texi (System V contexts): Fix sentence.
39393
39394         [BZ #13926]
39395         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
39396         New macro for this case.
39397         [!__GNUC__] (__bswap_64): New inline function for this case.
39398         * sysdeps/x86_64/bits/byteswap.h: Likewise.
39399         * bits/byteswap.h: Likewise.
39400         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
39401         ull, guard with __GLIBC_HAVE_LONG_LONG.
39402
39403         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
39404         __GLIBC_HAVE_LONG_LONG.
39405
39406         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
39407         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
39408
39409 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39410
39411         [BZ #13691]
39412         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
39413         inptr and inend, rather than using last_ch.
39414
39415 2012-04-02  David S. Miller  <davem@davemloft.net>
39416
39417         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
39418         * stdio-common/printf-parse.h (read_int): Change return type to
39419         'int', return -1 on INT_MAX overflow.
39420         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
39421         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
39422         overflows INT_MAX.  Check for overflow of in-format-string precision
39423         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
39424         SIZE_MAX not INT_MAX for integer overflow test.
39425         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
39426         skip the construct in the format string but do not record anything.
39427         * stdio-common/bug22.c: Adjust to test both width/prevision
39428         INT_MAX overflow as well as total length INT_MAX overflow.  Check
39429         explicitly for proper errno values.
39430
39431 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
39432
39433         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
39434         CHAR_MAX.
39435         * string/test-strcmp.c [! WIDE]: Likewise.
39436         * time/tst-mktime2.c: Likewise for INT_MAX.
39437         * string/test-string.h: #include <sys/param.h> for MIN.
39438
39439         * csu/init-first.c (__libc_init_first): Call __ctype_init.
39440         * sysdeps/i386/init-first.c (init): Likewise.
39441         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
39442         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
39443         * sysdeps/sh/init-first.c (init): Likewise.
39444
39445 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
39446
39447         * po/ru.po: Update from translation team.
39448         * po/vi.po: Likewise.
39449
39450 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
39451
39452         * resolv/nss_dns/dns-host.c: Merge copyright years.
39453
39454 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39455
39456         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39457         Optimize memcpy with prefetch if
39458         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
39459         src, dst pointers have unequal 16 byte alignments.
39460
39461 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39462
39463         [BZ #13928]
39464         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
39465         from a CNAME entry and return the minimum ttl for the query.
39466         (gaih_getanswer_slice): Likewise.
39467
39468 2012-03-30  Jeff Law  <law@redhat.com>
39469
39470         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
39471         due to long keys.
39472         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
39473         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
39474
39475         * resolv/nss_dns/dns-host.c: Update copyright year.
39476
39477 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
39478
39479         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
39480         requests to save a system call.  Fix check that all bytes are sent.
39481
39482         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
39483         comments for sendmmsg.
39484
39485 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39486
39487         [BZ #13691]
39488         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
39489         with only 1 character between 0x0041 and 0x01b0.
39490         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
39491         * wcsmbs/tst-mbsnrtowcs.c: New file.
39492
39493 2012-03-29  David S. Miller  <davem@davemloft.net>
39494
39495         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
39496         small copies by hand.
39497
39498 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39499
39500         [BZ #13761]
39501         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
39502         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
39503         group memberships.
39504
39505 2012-03-28  David S. Miller  <davem@davemloft.net>
39506
39507         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
39508         that branches into memcpy.
39509         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
39510         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
39511         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39512         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
39513         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
39514         bits.
39515         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
39516         implementation too.
39517         * sysdeps/sparc/mempcpy.S: New file.
39518
39519         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
39520         the IFUNC routine in the libc case.
39521         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39522
39523         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
39524         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
39525         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
39526         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
39527         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
39528         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
39529         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
39530         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
39531
39532         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
39533         loop to 256 bytes instead of 64 bytes and fix test signedness.
39534
39535         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
39536         * sysdeps/sparc/sparc32/Makefile: rather than here...
39537         * sysdeps/sparc/sparc64/Makefile: and here.
39538
39539 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
39540
39541         * malloc/mallocbug.c: Avoid warnings about unused variables.
39542
39543 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
39544
39545         [BZ #13760]
39546         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
39547         in the right place. Discard and retry query if response is
39548         larger than input buffer size.
39549
39550 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
39551
39552         [BZ #369]
39553         [BZ #2678]
39554         [BZ #3866]
39555         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
39556         x for large integer exponent.
39557         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39558         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
39559         sign of result as needed afterwards.
39560         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
39561         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
39562         result for underflowing pow the same as for overflow.
39563         (__kernel_standard_l): Handle powl overflow and underflow here
39564         rather than calling __kernel_standard.
39565         * math/libm-test.inc (pow_test): Add more tests.
39566
39567         [BZ #3868]
39568         [BZ #13879]
39569         [BZ #13910]
39570         [BZ #13911]
39571         [BZ #13912]
39572         [BZ #13913]
39573         [BZ #13915]
39574         [BZ #13916]
39575         [BZ #13917]
39576         [BZ #13918]
39577         [BZ #13919]
39578         [BZ #13920]
39579         [BZ #13921]
39580         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
39581         * sysdeps/ieee754/k_standard.c: Include <float.h>.
39582         (__kernel_standard_l): New function.
39583         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
39584         __kernel_standard.
39585         * math/w_acosl.c (__acosl): Likewise.
39586         * math/w_asinl.c (__asinl): Likewise.
39587         * math/w_atan2l.c (__atan2l): Likewise.
39588         * math/w_atanhl.c (__atanhl): Likewise.
39589         * math/w_coshl.c (__coshl): Likewise.
39590         * math/w_exp10l.c (__exp10l): Likewise.
39591         * math/w_exp2l.c (__exp2l): Likewise.
39592         * math/w_fmodl.c (__fmodl): Likewise.
39593         * math/w_hypotl.c (__hypotl): Likewise.
39594         * math/w_j0l.c (__j0l, __y0l): Likewise.
39595         * math/w_j1l.c (__j1l, __y1l): Likewise.
39596         * math/w_jnl.c (__jnl, __ynl): Likewise.
39597         * math/w_lgammal.c (__lgammal): Likewise.
39598         * math/w_log10l.c (__log10l): Likewise.
39599         * math/w_log2l.c (__log2l): Likewise.
39600         * math/w_logl.c (__logl): Likewise.
39601         * math/w_powl.c (__powl): Likewise.
39602         * math/w_remainderl.c (__remainderl): Likewise.
39603         * math/w_scalbl.c (sysv_scalbl): Likewise.
39604         * math/w_sinhl.c (__sinhl): Likewise.
39605         * math/w_sqrtl.c (__sqrtl): Likewise.
39606         * math/w_tgammal.c (__tgammal): Likewise.
39607         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
39608         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
39609         * math/libm-test.inc (acos_test): Add more tests.
39610         (acosh_test): Likewise.
39611         (asin_test): Likewise.
39612         (atanh_test): Likewise.
39613         (exp_test): Likewise.
39614         (exp10_test): Likewise.
39615         (exp2_test): Likewise.
39616         (expm1_test): Likewise.
39617         (lgamma_test): Likewise.
39618         (log_test): Likewise.
39619         (log10_test): Likewise.
39620         (log1p_test): Likewise.
39621         (log2_test): Likewise.
39622         (pow_test): Do not allow some spurious overflow exceptions.
39623         (sqrt_test): Add more tests.
39624         (tgamma_test): Likewise.
39625         (y0_test): Likewise.
39626         (y1_test): Likewise.
39627         (yn_test): Likewise.
39628
39629 2012-03-27  Anton Blanchard  <anton@samba.org>
39630
39631         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
39632         MAP_HUGETLB.
39633         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39634         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
39635         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39636
39637 2012-03-27  David S. Miller  <davem@davemloft.net>
39638
39639         * conform/Makefile: Run run-conformtest.sh using $(BASH).
39640
39641         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
39642         have-as-vis3 check.
39643
39644 2012-03-27  Andreas Jaeger  <aj@suse.de>
39645
39646         * sysdeps/x86_64/elf/configure.in: Moved to ...
39647         * sysdeps/x86_64/configure.in: ... here.
39648         * sysdeps/x86_64/elf/start.S: Moved to ...
39649         * sysdeps/x86_64/start.S: ... here.
39650         * sysdeps/x86_64/elf/configure: Delete.
39651
39652         * sysdeps/x86_64/configure.in: Merge contents from
39653         sysdeps/i386/configure.in (without i686 check).
39654
39655         * sysdeps/i386/elf/Versions: Merge into ...
39656         * sysdeps/i386/Versions: ... this.
39657         * sysdeps/i386/elf/Versions: Delete file.
39658         * sysdeps/i386/elf/start.S: Moved to ...
39659         * sysdeps/i386/start.S: ...here.
39660         * sysdeps/i386/elf/configure.in: Merge into...
39661         * sysdeps/i386/configure.in: ...here.
39662         * sysdeps/i386/elf/configure.in: Delete file.
39663         * sysdeps/i386/elf/configure: Delete file.
39664
39665         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
39666         * debug/backtracesyms.c: ... here.
39667         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
39668         * debug/backtracesymsfd.c: ... here.
39669         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
39670         * sysdeps/generic/ifunc-sel.h: ... here.
39671
39672         * sysdeps/unix/i386/start.c: Delete file.
39673         * sysdeps/unix/sparc/start.c: Delete file.
39674         * sysdeps/unix/start.c: Delete file.
39675
39676         * sysdeps/sh/elf/configure.in: Moved to ...
39677         * sysdeps/sh/configure.in: ... here.
39678         * sysdeps/sh/elf/start.S: Moved to ...
39679         * sysdeps/sh/start.S: ... here.
39680         * sysdeps/sh/elf/configure: Delete file.
39681
39682         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
39683         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
39684         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
39685         * sysdeps/powerpc/powerpc64/entry.h: ... here.
39686         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
39687         * sysdeps/powerpc/powerpc64/start.S: here.
39688         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
39689         * sysdeps/powerpc/powerpc64/Makefile: ... this.
39690         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
39691         * sysdeps/powerpc/powerpc64/configure.in: ... this.
39692         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
39693
39694         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
39695         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
39696         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
39697         * sysdeps/powerpc/powerpc32/start.S: ... here.
39698         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
39699         * sysdeps/powerpc/powerpc32/configure.in: ... this.
39700         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
39701
39702         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
39703         * sysdeps/powerpc/ifunc-sel.h: ... here.
39704         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
39705         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
39706
39707         * sysdeps/sparc/elf/configure.in: Moved to ...
39708         * sysdeps/sparc/configure.in: ... here.
39709         * sysdeps/sparc/elf/configure: Delete file.
39710         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
39711         * sysdeps/sparc/sparc32/start.S: ... here.
39712         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
39713         * sysdeps/sparc/sparc64/start.S: ... here.
39714         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
39715         * sysdeps/sparc/sparc32/Makefile: ... this.
39716         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
39717         * sysdeps/sparc/sparc64/Makefile: ... this.
39718
39719         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
39720         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
39721         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
39722         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
39723         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
39724         * sysdeps/s390/s390-32/setjmp.S: ... here.
39725         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
39726         * sysdeps/s390/s390-32/configure.in: ... here.
39727         * sysdeps/s390/s390-32/elf/configure: Delete file.
39728         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
39729         * sysdeps/s390/s390-32/start.S: ... here.
39730
39731         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
39732         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
39733         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
39734         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
39735         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
39736         * sysdeps/s390/s390-64/setjmp.S: ... here.
39737         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
39738         * sysdeps/s390/s390-64/configure.in: ... here
39739         * sysdeps/s390/s390-64/elf/configure: Delete file.
39740         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
39741         * sysdeps/s390/s390-64/start.S: ... here.
39742         * sysdeps/s390/s390-64/elf/configure: Delete.
39743
39744         * configure.in: Remove support for elf directories in sysdeps.
39745
39746         * configure: Regenerated.
39747         * sysdeps/i386/configure: Regenerated.
39748         * sysdeps/powerpc/powerpc32/configure: Regenerated.
39749         * sysdeps/powerpc/powerpc64/configure: Regenerated.
39750         * sysdeps/s390/s390-32/configure: Regenerated.
39751         * sysdeps/s390/s390-64/configure: Regenerated.
39752         * sysdeps/sh/configure: Regenerated.
39753         * sysdeps/sparc/configure: Regenerated.
39754         * sysdeps/x86_64/configure: Regenerated.
39755
39756 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
39757
39758         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39759
39760         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
39761         denormal result into account.
39762
39763 2012-03-25  Roland McGrath  <roland@hack.frob.com>
39764
39765         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
39766         Reported by Allan McRae <allan@archlinux.org>.
39767
39768 2012-03-23  Jeff Law  <law@redhat.com>
39769
39770         * nss/getnssent.c (__nss_getent): Fix typo.
39771
39772 2012-03-23  David S. Miller  <davem@davemloft.net>
39773
39774         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39775
39776 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
39777
39778         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
39779         to pad to uint64_t for each field.
39780         (dl_tls_index): Replace unsigned long with uint64_t.
39781
39782 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
39783         Paul Pluzhnikov  <ppluzhnikov@google.com>
39784
39785         [BZ #6528]
39786         * grp/Makefile (otherlibs): Don't set it.
39787         * inet/Makefile (otherlibs): Likewise.
39788         * login/Makefile (otherlibs): Likewise.
39789         * nscd/Makefile (otherlibs): Likewise.
39790         * posix/Makefile (otherlibs): Likewise.
39791         * pwd/Makefile (otherlibs): Likewise.
39792         * rt/Makefile (otherlibs): Likewise.
39793         * sunrpc/Makefile (otherlibs): Likewise.
39794         * nss/Makefile (otherlibs): Likewise.
39795         Add libnss_files to routines and static-only-routines.
39796         ($(objpfx)getent): Remove rule.
39797         * resolv/Makefile: Add libnss_dns and libresolv to routines and
39798         static-only-routines.
39799
39800 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
39801
39802         [BZ #13892]
39803         * math/s_cexp.c: Include <float.h>.
39804         (__cexp): Handle exp result overflowing not necessarily
39805         overflowing both real and imaginary parts of result.
39806         * math/s_cexpf.c: Likewise.
39807         * math/s_cexpl.c: Likewise.
39808         * math/libm-test.inc (cexp_test): Add more tests.
39809         * sysdeps/i386/fpu/libm-test-ulps: Update.
39810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39811
39812 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39813
39814         * include/link.h (ELFW): New macro.
39815         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
39816         Replace ELF64_R_TYPE with ELFW(R_TYPE).
39817
39818 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39819
39820         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
39821         with uint64_t.
39822
39823 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39824
39825         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
39826         declaration.
39827         (struct La_x32_retval): Likewise.
39828
39829 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39830
39831         * sysdeps/x86_64/preconfigure.in: New file.
39832         * sysdeps/x86_64/preconfigure: New generated file.
39833
39834 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
39835
39836         [BZ #13824]
39837         * math/e_exp2l.c: Include <float.h>.
39838         (__ieee754_exp2l): Handle overflow and underflow cases
39839         separately.  Only pass fractional part of argument to
39840         __ieee754_expl.
39841         * math/libm-test.inc (exp2_test): Add more tests.
39842
39843         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39844         negating x to take absolute value.
39845         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39846         Likewise.
39847         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39848         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39849         Likewise.
39850         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39851         computing low part if x was negated.
39852         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39853
39854 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39855
39856         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39857         la_x32_gnu_pltexit.
39858         (pltexit): Cast int_retval to ptrdiff_t.
39859         * elf/tst-auditmod3b.c: Likewise.
39860         * elf/tst-auditmod4b.c: Likewise.
39861         * elf/tst-auditmod5b.c: Likewise.
39862         * elf/tst-auditmod6b.c: Likewise.
39863         * elf/tst-auditmod6c.c: Likewise.
39864         * elf/tst-auditmod7b.c: Likewise.
39865
39866         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39867         and x32_gnu_pltexit.
39868
39869         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39870         __ELF_NATIVE_CLASS.
39871         (La_x32_regs): New macro.
39872         (La_x32_retval): Likewise.
39873         (la_x32_gnu_pltenter): New function prototype.
39874         (la_x32_gnu_pltexit): Likewise.
39875
39876 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
39877
39878         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39879         exponent.
39880
39881         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39882
39883         * configure.in (libc_cv_cc_nofma): Check for option to disable
39884         generation of FMA instructions.
39885         * configure: Regenerate.
39886         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39887         * sysdeps/ieee754/dbl-64/Makefile: New file.
39888         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39889         Remove brandred-fma4.
39890         (CFLAGS-brandred-fma4.c): Remove.
39891         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39892         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39893         define.
39894         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39895         define.
39896
39897 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39898
39899         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39900         LLONG_MAX != LONG_MAX.
39901         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39902         (_fitoa_word): Likewise.
39903         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39904         LLONG_MAX != LONG_MAX.
39905         * stdio-common/_itowa.h: Include <_itoa.h>.
39906         (_itowa_word): Use _ITOA_WORD_TYPE on value.
39907         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
39908         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
39909         only if not defined.
39910         (_ITOA_WORD_TYPE): Likewise.
39911         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39912         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39913
39914 2012-03-21  David S. Miller  <davem@davemloft.net>
39915
39916         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39917
39918 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39919
39920         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39921         of x86_64 when setting libc_cv_slibdir, libdir and
39922         libc_cv_localedir.
39923         * sysdeps/unix/sysv/linux/configure: Regenerated.
39924
39925 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39926
39927         * manual/lang.texi (Old Varargs): Remove section.
39928         (How Variadic): Update menu.
39929         (va_start): Do not mention varargs.h.
39930
39931 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39932             Joseph Myers  <joseph@codesourcery.com>
39933
39934         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39935         link test.
39936         * configure: Regenerated.
39937
39938 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39939
39940         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39941         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39942         conformtest.pl
39943
39944 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39945
39946         * NOTES: Remove.
39947         * Makefile (files-for-dist): Remove NOTES.
39948         (NOTES): Remove rule.
39949         * README: Don't refer to NOTES.
39950         * manual/creature.texi: Don't include macros.texi.
39951         * manual/intro.texi (creature.texi): Remove comment referring to
39952         NOTES.
39953
39954         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39955         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39956         * configure: Regenerated.
39957         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39958         LIBC_TRY_CC_OPTION.
39959         (libc_cv_as_i686): Likewise.
39960         (libc_cv_cc_avx): Likewise.
39961         (libc_cv_cc_sse2avx): Likewise.
39962         (libc_cv_cc_fma4): Likewise.
39963         (libc_cv_cc_novzeroupper): Likewise.
39964         * sysdeps/i386/configure: Regenerated.
39965
39966         [BZ #13883]
39967         * sysdeps/i386/fpu/s_cexp.S: Remove.
39968         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39969         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39970         * math/libm-test.inc (cexp_test): Add more tests.
39971         * sysdeps/i386/fpu/libm-test-ulps: Update.
39972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39973
39974 2012-03-21  Allan McRae  <allan@archlinux.org>
39975
39976         * timezone/Makefile: Do not install iso3166.tab and zone.tab
39977
39978 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39979
39980         [BZ #13871]
39981         * math/w_exp2.c: Do not include <float.h>.
39982         (o_threshold, u_threshold): Remove.
39983         (__exp2): Calculate result before checking finiteness and calling
39984         __kernel_standard.
39985         * math/w_exp2f.c: Likewise.
39986         * math/w_exp2l.c: Likewise.
39987         * math/libm-test.inc (exp2_test): Require overflow exception for
39988         1e6 input.
39989
39990         [BZ #3866]
39991         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39992         range of signed 64-bit integers before using fistpll.  Remove
39993         checks for whether integers fit in mantissa bits.
39994         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39995         the range of signed 32-bit integers before using fistpl.  Remove
39996         checks for whether integers fit in mantissa bits.
39997         * sysdeps/i386/fpu/e_powl.S (p64): New object.
39998         (__ieee754_powl): Test for y outside the range of signed 64-bit
39999         integers before using fistpll.  Reduce 64-bit values to 63-bit
40000         ones as needed.
40001         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
40002         divide-by-zero is raised for zero to large negative powers.
40003         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
40004         (__ieee754_powl): Test for y outside the range of signed 64-bit
40005         integers before using fistpll.  Reduce 64-bit values to 63-bit
40006         ones as needed.
40007         * math/libm-test.inc (pow_test): Add more tests.
40008
40009 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
40010
40011         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
40012         <stdio-common/_itoa.h>.
40013         * debug/segfault.c: Likewise.
40014         * elf/dl-cache.c: Likewise.
40015         * elf/dl-minimal.c: Likewise.
40016         * elf/dl-misc.c: Likewise.
40017         * elf/dl-sysdep.c: Likewise.
40018         * elf/dl-version.c: Likewise.
40019         * elf/rtld.c: Likewise.
40020         * hurd/hurdsock.c: Likewise.
40021         * hurd/lookup-retry.c: Likewise.
40022         * malloc/malloc.c: Likewise.
40023         * malloc/mtrace.c: Likewise.
40024         * nscd/nscd_getgr_r.c: Likewise.
40025         * nscd/nscd_getpw_r.c: Likewise.
40026         * nscd/nscd_getserv_r.c: Likewise.
40027         * posix/getopt_init.c: Likewise.
40028         * posix/wordexp.c: Likewise.
40029         * stdio-common/_itoa.c: Likewise.
40030         * stdio-common/printf_fphex.c: Likewise.
40031         * stdio-common/vfprintf.c: Likewise.
40032         * string/_strerror.c: Likewise.
40033         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
40034         * sysdeps/i386/i686/hp-timing.h: Likewise.
40035         * sysdeps/mach/_strerror.c: Likewise.
40036         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
40037         * sysdeps/mach/hurd/sethostid.c: Likewise.
40038         * sysdeps/mach/hurd/xmknodat.c: Likewise.
40039         * sysdeps/mach/xpg-strerror.c: Likewise.
40040         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40041         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40042         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
40043         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
40044         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40045         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
40046         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
40047         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
40048         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
40049         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
40050         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
40051         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
40052         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
40053         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
40054         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
40055         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
40056         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
40057         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
40058         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
40059         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
40060         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
40061
40062         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
40063
40064         * stdio-common/_itoa.h: Moved to ...
40065         * sysdeps/generic/_itoa.h: Here.
40066
40067         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
40068
40069         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
40070         instead of "_itoa.h" and "_itowa.h".
40071         * stdio-common/vfprintf.: Likewise.
40072
40073 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
40074
40075         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
40076         <bits/wordsize.h>.
40077         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
40078         (__signbit): Likwise.
40079         (llrintf): Likwise.
40080         (llrint): Likwise.
40081
40082 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
40083
40084         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
40085         __WORDSIZE != 64.
40086
40087 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
40088
40089         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
40090         OVERFLOW_EXCEPTION_OK.
40091         * math/libm-test.inc ("Philosophy"): Update comment about
40092         exception testing.
40093         (OVERFLOW_EXCEPTION): Define.
40094         (OVERFLOW_EXCEPTION_OK): Likewise.
40095         (INVALID_EXCEPTION_OK): Renumber.
40096         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40097         (IGNORE_ZERO_INF_SIGN): Likewise.
40098         (test_exceptions): Handle FE_OVERFLOW.
40099         (exp10_test): Expect overflow exceptions.
40100         (exp2_test): Likewise.
40101         (expm1_test): Likewise.
40102         (nextafter_test): Likewise.
40103         (pow_test): Likewise.
40104         (scalbn_test): Likewise.
40105         (scalbln_test): Likewise.
40106
40107 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40108
40109         * sysdeps/x86_64/bits/atomic.h
40110         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
40111         64bit integer.
40112         (atomic_exchange_acq): Likewise.
40113         (__arch_exchange_and_add_body): Likewise.
40114         (__arch_add_body): Likewise.
40115         (atomic_add_negative): Likewise.
40116         (atomic_add_zero): Likewise.
40117
40118 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40119
40120         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
40121         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
40122
40123 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40124
40125         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
40126         Check __x86_64__ instead of __WORDSIZE.
40127
40128 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40129
40130         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
40131
40132 2012-03-19  David S. Miller  <davem@davemloft.net>
40133
40134         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40135
40136         * sysdeps/sparc/fpu/fenv_private.h: New file.
40137         * sysdeps/sparc/fpu/math_private.h: Use it.
40138         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
40139         Remove.
40140         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
40141         (libc_feholdexcept_setroundl): Remove.
40142         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
40143         Remove.
40144         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
40145         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
40146
40147 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40148
40149         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
40150         int64_t instead of long int.
40151         (INSERT_WORDS64): Likwise.
40152
40153 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40154
40155         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
40156         _Unwind_GetCFA return to _Unwind_Ptr first.
40157
40158 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
40159
40160         [BZ #13629]
40161         * math/s_clog.c: Include <float.h>.
40162         (__clog): Scale large or subnormal inputs.
40163         * math/s_clogf.c: Likewise.
40164         * math/s_clogl.c: Likewise.
40165         * math/s_clog10.c: Include <float.h>.
40166         (M_LOG10_2): Define.
40167         (__clog10): Scale large or subnormal inputs.
40168         * math/s_clog10f.c: Likewise.
40169         * math/s_clog10l.c: Likewise.
40170         * math/libm-test.inc (clog_test): Add more tests.
40171         (clog10_test): Likewise.
40172         * sysdeps/i386/fpu/libm-test-ulps: Update.
40173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40174
40175         [BZ #11451]
40176         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
40177         x and y.
40178         * math/libm-test.inc (atan2_test): Add another test.
40179
40180         * Makerules (common-objdir-compile): Remove.
40181         * sysdeps/unix/Makefile (config-generated): Do not add
40182         $(unix-generated) to variable.
40183         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
40184         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
40185         Remove rule.
40186         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
40187         Likewise.
40188         [generic bits/local_lim.h] (before-compile): Do not append to
40189         variable.
40190         [generic bits/local_lim.h] (common-generated): Likewise.
40191         [generic sys/param.h] (before-compile): Do not append to variable.
40192         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
40193         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
40194         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
40195         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
40196         include.
40197         [generic sys/param.h] (sys/param.h-includes): Remove variable.
40198         [generic sys/param.h] (sys/param.h-includes): Remove rule.
40199         [generic sys/param.h] ($(addprefix
40200         $(common-objpfx),$(sys/param.h-includes))): Likewise.
40201         [generic sys/param.h] (common-generated): Do not append to
40202         variable.
40203         [generic sys/param.h] (sysdep_headers): Likewise.
40204         [generic bits/errno.h] (before-compile): Do not append to
40205         variable.
40206         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
40207         rule.
40208         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
40209         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
40210         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
40211         [generic bits/errno.h] (common-generated): Do not append to
40212         variable.
40213         [generic bits/ioctls.h] (before-compile): Do not append to
40214         variable.
40215         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
40216         rule.
40217         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
40218         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
40219         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
40220         rule.
40221         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
40222         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
40223         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
40224         [generic bits/ioctls.h] (common-generated): Do not append to
40225         variable.
40226         [generic sys/syscall.h] (syscall.h): Remove variable.
40227         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
40228         rule.
40229         [generic sys/syscall.h] (before-compile): Do not append to
40230         variable.
40231         [generic sys/syscall.h] (common-generated): Likewise.
40232         * sysdeps/unix/errnos-tmpl.c: Remove file.
40233         * sysdeps/unix/errnos.awk: Likewise.
40234         * sysdeps/unix/ioctls-tmpl.c: Likewise.
40235         * sysdeps/unix/ioctls.awk: Likewise.
40236         * sysdeps/unix/mk-local_lim.c: Likewise.
40237         * sysdeps/unix/snarf-ioctls: Likewise.
40238
40239 2012-03-19  Richard Henderson  <rth@twiddle.net>
40240
40241         * sysdeps/i386/fpu/fenv_private.h: New file.
40242         * sysdeps/i386/fpu/math_private.h: Use it.
40243         (math_opt_barrier, math_force_eval): Remove.
40244         (libc_feholdexcept_setround_53bit): Remove.
40245         (libc_feupdateenv_53bit): Remove.
40246         * sysdeps/x86_64/fpu/math_private.h: Likewise.
40247         (math_opt_barrier, math_force_eval): Remove.
40248         (libc_feholdexcept): Remove.
40249         (libc_feholdexcept_setround): Remove.
40250         (libc_fetestexcept, libc_fesetenv): Remove.
40251         (libc_feupdateenv_test): Remove.
40252         (libc_feupdateenv, libc_feholdsetround): Remove.
40253         (libc_feresetround): Remove.
40254
40255         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
40256         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
40257
40258         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
40259         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
40260         (libc_feupdateenv_testl): New.
40261         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
40262         (libc_feupdateenv_testf): New.
40263         (libc_feupdateenv): Use libc_feupdateenv_test.
40264         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
40265         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
40266
40267         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
40268         (libc_feholdsetroundf, libc_feholdsetroundl): New.
40269         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
40270         (libc_feresetround_noex): New.
40271         (libc_feresetround_noexf): New.
40272         (libc_feresetround_noexl): New.
40273         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
40274         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
40275         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
40276         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
40277         SET_RESTORE_ROUND.
40278         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
40279         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
40280         (__cos): Likewise.
40281         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
40282         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
40283         SET_RESTORE_ROUND_NOEX.
40284         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
40285         SET_RESTORE_ROUND_NOEXF.
40286         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
40287         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
40288         (libc_feholdsetroundf): New.
40289         (libc_feresetround, libc_feresetroundf): New.
40290
40291         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
40292         (libc_feholdexcept_setround_53bit): Convert from macro to function.
40293         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
40294
40295         * sysdeps/generic/math_private.h: Include <fenv.h>.
40296         (default_libc_feholdexcept): New.
40297         (default_libc_feholdexcept_setround): New.
40298         (default_libc_fesetenv, default_libc_feupdateenv): New.
40299         (libc_feholdexcept): Only define if undefined.
40300         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
40301         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
40302         (libc_feholdexcept_setroundl): Likewise.
40303         (libc_feholdexcept_setround_53bit): Likewise.
40304         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
40305         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
40306         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
40307         (libc_feupdateenv_53bit): Likewise.
40308         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
40309         (libc_feholdexcept): Convert from macro to inline function.
40310         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
40311         (libc_fesetenv, libc_feupdateenv): Likewise.
40312
40313         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
40314         not previously defined.
40315         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
40316         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
40317         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
40318         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
40319         * sysdeps/ieee754/flt-32/math_private.h: New file.
40320         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
40321         math_private.h below SET_FLOAT_WORD.
40322         (__isnan, __isinf_ns, __finite): Remove.
40323         (__isnanf, __isinf_nsf, __finitef): Remove.
40324
40325 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
40326
40327         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40328
40329 2012-03-17  David S. Miller  <davem@davemloft.net>
40330
40331         [BZ #6471]
40332         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
40333         for 2.16.
40334
40335 2012-03-16  David S. Miller  <davem@davemloft.net>
40336
40337         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
40338         warnings.
40339
40340         [BZ #6471]
40341         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
40342         properly.
40343         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
40344         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
40345         sysdep_routines when subdir is sysvipc.
40346         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
40347         __getshmlba helper.
40348
40349         * sysdeps/sparc/fpu/libm-test/ulps: Update.
40350
40351 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40352
40353         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
40354         [__LP64__].
40355
40356 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40357
40358         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
40359         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
40360         (__lround): Renamed to ...
40361         (__llround): This.  Replace long int with long long int.
40362         Define lround functions as aliases of llround functions.
40363         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
40364
40365 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40366
40367         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
40368         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
40369         adresses to uintptr_t.  Replace "long int" and "unsigned long
40370         int" with "greg_t" on va_arg.
40371
40372 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40373
40374         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
40375         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
40376
40377         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
40378         Move e_machine check before EI_CLASS check.  Handle x32
40379         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
40380         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
40381         SKIP_EM_IA_64 and include
40382         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
40383
40384         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
40385         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
40386         (add_system_dir): New macro.
40387
40388         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
40389         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
40390
40391 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
40392
40393         [BZ #2551]
40394         [BZ #2552]
40395         [BZ #2553]
40396         [BZ #2554]
40397         [BZ #2562]
40398         [BZ #2563]
40399         [BZ #2565]
40400         [BZ #2566]
40401         [BZ #2576]
40402         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
40403         (y0): Likewise.
40404         * math/w_j0f.c (j0f): Likewise.
40405         (y0f): Likewise.
40406         * math/w_j0l.c (__j0l): Likewise.
40407         (__y0l): Likewise.
40408         * math/w_j1.c (j1): Likewise.
40409         (y1): Likewise.
40410         * math/w_j1f.c (j1f): Likewise.
40411         (y1f): Likewise.
40412         * math/w_j1l.c (__j1l): Likewise.
40413         (__y1l): Likewise.
40414         * math/w_jn.c (jn): Likewise.
40415         (yn): Likewise.
40416         * math/w_jnf.c (jnf): Likewise.
40417         (ynf): Likewise.
40418         * math/w_jnl.c (__jnl): Likewise.
40419         (__ynl): Likewise.
40420         * math/libm-test.inc (j0_test): Add more tests.
40421         (j1_test): Likewise.
40422         (jn_test): Likewise.  Add trailing semicolon to existing test.
40423         (y0_test): Likewise.
40424         (y1_test): Likewise.
40425         * sysdeps/i386/fpu/libm-test-ulps: Update.
40426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40427
40428         [BZ #13851]
40429         [BZ #13854]
40430         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
40431         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
40432         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
40433         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
40434         (__tanl): Set errno for infinite argument.
40435         * sysdeps/i386/fpu/mptan.c: Remove.
40436         * sysdeps/i386/fpu/s_tan.S: Likewise.
40437         * sysdeps/i386/fpu/s_tanl.S: Likewise.
40438         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
40439         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
40440         * math/libm-test.inc (tan_test): Add more tests and enable more
40441         tests for double and long double.
40442         * sysdeps/i386/fpu/libm-test-ulps: Update.
40443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40444
40445 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
40446
40447         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
40448         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
40449
40450 2012-03-16  Roland McGrath  <roland@hack.frob.com>
40451
40452         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
40453         * configure.in: Use it for both main tree and add-ons.
40454         * configure: Regenerated.
40455
40456 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40457
40458         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
40459
40460 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
40461
40462         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
40463         in comment.
40464
40465         [BZ #13851]
40466         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
40467         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
40468         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
40469         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
40470         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
40471         infinite argument.
40472         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
40473         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
40474         != 0 for prec == 2.
40475         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
40476         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
40477         * sysdeps/i386/fpu/s_cosl.S: Likewise.
40478         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
40479         * sysdeps/i386/fpu/s_sinl.S: Likewise.
40480         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
40481         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
40482         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
40483         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
40484         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
40485         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
40486         * math/libm-test.inc (cos_test): Add more tests and enable more
40487         tests for long double.
40488         (sin_test): Likewise.
40489         (sincos_test): Likewise.
40490         * sysdeps/i386/fpu/libm-test-ulps: Update.
40491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40492
40493 2012-03-16  David S. Miller  <davem@davemloft.net>
40494
40495         * sysdeps/sparc/fpu/math_private.h: New file.
40496
40497 2012-03-15  David S. Miller  <davem@davemloft.net>
40498
40499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
40500         file.
40501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
40502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
40503         file.
40504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
40505         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
40506         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
40507         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
40508         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
40509         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
40510         sysdep routines.
40511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40512
40513         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
40514         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
40515
40516         * sysdeps/sparc/sparc-ifunc.h: New file.
40517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
40518         sparc-ifunc.h
40519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
40521         Likewise.
40522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
40523         Likewise.
40524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
40525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
40526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40528         Likewise.
40529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
40531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
40533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
40534         Likewise.
40535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
40536         Likewise.
40537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
40539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
40540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
40541         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40542         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40543         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
40544         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
40545         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40546         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40547         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
40548         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
40549         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
40550         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
40551         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
40552         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
40553         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
40554         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
40555         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
40556         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
40557         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
40558         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
40559         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
40560         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
40561
40562 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
40563
40564         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
40565         scaling.
40566         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40567
40568 2012-03-15  Andreas Jaeger  <aj@suse.de>
40569
40570         [BZ #13852]
40571         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
40572         ieee754/flt-32 implementation for sin, cos and sincos.
40573         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
40574         * sysdeps/i386/fpu/s_cosf.S: Likewise.
40575         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
40576         * sysdeps/i386/fpu/s_sinf.S: Likewise.
40577         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
40578         ieee754/flt-32 implementation for tan.
40579
40580         * math/libm-test.inc (cos_test): Enable some large input tests for
40581         float as well
40582         (sin_test): Likewise.
40583         (sincos_test): Likewise.
40584         (tan_test): Add tests for large input.
40585
40586         * sysdeps/i386/fpu/libm-test-ulps: Update.
40587
40588 2012-03-15  Andreas Jaeger  <aj@suse.de>
40589
40590         [BZ #13658]
40591         * math/libm-test.inc (cos_test): Add more test cases.
40592         (sin_test): Likewise.
40593         (sincos_test): Likewise.
40594
40595 2012-03-15  Andreas Jaeger  <aj@suse.de>
40596
40597         [BZ #13837]
40598         * math/libm-test.inc (cos_test): Add a test case for large input
40599         value.
40600         (sin_test): Likewise.
40601         (sincos_test): Likewise.
40602
40603 2012-03-15  Andreas Jaeger  <aj@suse.de>
40604             Joseph Myers  <joseph@codesourcery.com>
40605
40606         [BZ #13658]
40607         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
40608         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
40609         * sysdeps/i386/fpu/branred.c: Likewise.
40610         * sysdeps/i386/fpu/dosincos.c: Likewise.
40611         * sysdeps/i386/fpu/mpa.c: Likewise.
40612         * sysdeps/i386/fpu/s_cos.S: Likewise.
40613         * sysdeps/i386/fpu/s_sin.S: Likewise.
40614         * sysdeps/i386/fpu/s_sincos.S: Likewise.
40615         * sysdeps/i386/fpu/sincos32.c: Likewise.
40616
40617         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
40618         Define.
40619         (libc_feupdateenv_53bit): Define.
40620         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
40621         Define.
40622         (libc_feupdateenv_53bit): Define.
40623
40624         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
40625         53 bit (without extend i386 double precision).
40626
40627         * math/libm-test.inc (sincos_test): Add tests for large input.
40628         (sin): Likewise.
40629         (cos): Likewise.
40630
40631         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40632
40633 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
40634
40635         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40636
40637 2012-03-15  David S. Miller  <davem@davemloft.net>
40638
40639         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
40640         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
40641         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
40642         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
40643         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
40644         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
40645         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
40646         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
40647         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
40648         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
40649         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
40650         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
40651         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
40652         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
40653         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
40654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
40655         file.
40656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
40657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
40658         file.
40659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
40660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
40661         file.
40662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
40663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
40664         file.
40665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
40666         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
40667         fmin/fmax sysdep routines.
40668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40669
40670 2012-03-14  David S. Miller  <davem@davemloft.net>
40671
40672         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
40673         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
40674         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
40675         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
40676         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
40677         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
40678         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
40679         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
40680         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
40681         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
40682         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
40683         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
40684         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
40685         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
40686         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
40687         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
40688         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
40689         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
40690         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
40691         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
40692         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
40693         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
40694         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
40695         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
40696         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
40697         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
40698         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
40699         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
40700         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
40701         routines.
40702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
40703         file.
40704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
40705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
40706         file.
40707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
40708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
40709         file.
40710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
40711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
40712         file.
40713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
40714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
40715         file.
40716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
40717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
40718         file.
40719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
40720         file.
40721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
40722         file.
40723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
40724         file.
40725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
40726         New file.
40727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
40728         file.
40729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
40730         file.
40731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
40732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
40733         file.
40734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
40735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
40736         file.
40737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
40738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
40739         file.
40740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
40741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
40742         VIS3 routines.
40743
40744         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40745         New file.
40746
40747         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40748
40749         * sysdeps/sparc/configure.in: New file.
40750         * sysdeps/sparc/configure: Generate.
40751         * configure.in (libc_cv_sparc_as_vis3): Substitute.
40752         * configure: Regenerate.
40753         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
40754         * config.make.in (have-as-vis3): New.
40755         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
40756         available use -Av9d instead of -Av9a.
40757         * sysdeps/sparc/sparc64/Makefile: Likewise.
40758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
40759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
40760         New file.
40761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
40762         file.
40763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
40764         New file.
40765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
40766         file.
40767         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
40768         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
40769         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
40770         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
40771         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
40772
40773         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
40774         fzeros/fnegs to load 0x80000000 into a float register instead of
40775         using the stack.
40776         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
40777
40778 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
40779
40780         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40781         bits/syscall.h.
40782         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
40783         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
40784         ($(inst_includedir)/bits/syscall.h): Remove rule.
40785         ($(objpfx)bits/syscall.d): Include instead of
40786         $(objpfx)syscall-list.d.
40787         (generated): Change syscall-list.h and syscall-list.d to
40788         bits/syscall.h and bits/syscall.d.
40789
40790 2012-03-14  Roland McGrath  <roland@hack.frob.com>
40791
40792         [BZ #13846]
40793         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
40794
40795 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
40796
40797         [BZ #13841]
40798         * math/s_csqrt.c: Include <float.h>.
40799         (__csqrt): Scale large or subnormal inputs.
40800         * math/s_csqrtf.c: Likewise.
40801         * math/s_csqrtl.c: Likewise.
40802         * math/libm-test.inc (csqrt_test): Add more tests.
40803         * sysdeps/i386/fpu/libm-test-ulps: Update.
40804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40805
40806         [BZ #13840]
40807         * math/libm-test.inc (hypot_test): Add more tests.
40808
40809 2012-03-13  David S. Miller  <davem@davemloft.net>
40810
40811         [BZ #13840]
40812         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
40813         double-precision for the calculation instead of scaling.
40814
40815 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
40816
40817         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
40818         manipulate bits before adding and subtracting TWO52[sx].
40819         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
40820         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
40821         Likewise.
40822         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
40823
40824 2012-03-13  David S. Miller  <davem@davemloft.net>
40825
40826         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
40827         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
40828         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
40829         rtld-global-offsets.h
40830         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40831
40832         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40833         large parameters.
40834
40835         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40836
40837         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40838         'err' in the ifdef scope in which it is actually used.
40839
40840         * nss/nss_db/db-init.c: Include string.h
40841
40842 2012-03-12  David S. Miller  <davem@davemloft.net>
40843
40844         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40845         masking out of the most significant byte of random value used.
40846         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40847         Fix coding style in previous change.
40848
40849         * sysdeps/unix/sysv/linux/kernel-features.h
40850         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40851         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40852         expression.
40853         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40854         later.
40855
40856 2012-03-11  David S. Miller  <davem@davemloft.net>
40857
40858         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40859         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40860         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40861         for 'resultvar' otherwise things get truncated on 64-bit.
40862
40863         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40864         Fix masking out of the most significant byte of random value used.
40865
40866         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40867
40868 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
40869
40870         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40871
40872 2012-03-09  David S. Miller  <davem@davemloft.net>
40873
40874         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40875         variables with appropriate CPP guards.
40876         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40877         from the frame pointer, not the stack pointer.  Correct layout
40878         comments.  Fix test on resulting framesize and the management of
40879         the outregs buffer for pltexit.  Preserve floating point return
40880         values across _dl_call_pltexit call.
40881         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40882         framesize and the management of the outregs buffer for pltexit.
40883         Preserve floating point return values across _dl_call_pltexit
40884         call.
40885         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40886         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40887         (la_sparc64_gnu_pltexit): New functions.
40888         (print_exit): Fix format string for return register value.
40889
40890 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
40891
40892         * sunrpc/Makefile (others): Add rpcgen.
40893         ($(objpfx)rpcgen): Remove special build rule and dependency on
40894         libc.
40895         * sunrpc/rpcgen.c: New file.
40896
40897 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
40898
40899         [BZ #13673]
40900         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40901         * stdio-common/bug-vfprintf-nargs.c: Likewise.
40902         * sysdeps/i386/crti.S: Likewise.
40903         * sysdeps/i386/crtn.S: Likewise.
40904         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40905         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40906         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
40907         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
40908         * sysdeps/sh/crti.S: Likewise.
40909         * sysdeps/sh/crtn.S: Likewise.
40910         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40911
40912         [BZ #13673]
40913         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40914         with URL.
40915         * locale/programs/locfile-kw.gperf: Likewise.
40916         * locale/programs/charmap-kw.h: Regenerated.
40917         * locale/programs/locfile-kw.h: Likewise.
40918
40919         [BZ #13673]
40920         * intl/plural.y: Replace FSF snail mail address with URL.
40921         * intl/plural.c: Regenerated.
40922
40923 2012-03-09  Richard Henderson  <rth@twiddle.net>
40924
40925         * include/math_private.h: Remove file.
40926         * math/math_private.h: Move file ...
40927         * sysdeps/generic/math_private.h: ... here.
40928
40929         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40930         * sysdeps/powerpc/fpu/math_private.h: Likewise.
40931         * sysdeps/x86_64/fpu/math_private.h: Likewise.
40932
40933         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
40934         and <math_private.h>.
40935         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40936         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40937         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40938         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40939         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40940         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40941         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40942         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40943         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40944         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40945         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40946         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40947         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40948         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40949         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40950         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40951         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40952         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40953         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40954         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40955         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40956         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40957         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40958         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40959         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40960         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40961         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40962         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40963         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40964         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40965         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40966         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40967         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40968         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40969         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40970         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40971         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40972         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40973         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40974         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40975         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40976         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40977         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40978         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40979         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40980         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40981         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40982         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40983         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40984         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40985         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40986         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40987         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40988         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40989         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40990         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40991         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40992         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40993         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40994         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40995         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40996         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40997         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40998         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40999         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
41000         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41001         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41002         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41003         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
41004         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
41005         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
41006         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41007         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
41008         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41009         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
41010         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
41011         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
41012         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41013         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
41014         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
41015         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
41016         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
41017         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
41018         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41019         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41020         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
41021         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
41022         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
41023         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41024         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41025         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41026         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41027         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41028         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41029         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41030         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41031         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41032         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41033         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41034         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41035         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41036         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41037         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41038         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41039         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41040         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41041         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41042         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41043         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41044         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41045         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41046         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41047         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41048         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41049         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
41050         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41051         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41052         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41053         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41054         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41055         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41056         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41057         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41058         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
41059         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41060         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41061         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41062         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
41063         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41064         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
41065         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
41066         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41067         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41068         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
41069         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
41070         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41071         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41072         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41073         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
41074         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41075         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41076         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41077         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41078         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
41079         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
41080         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41081         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41082         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41083         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
41084         * sysdeps/ieee754/k_standard.c: Likewise.
41085         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41086         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41087         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41088         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41089         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41090         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41091         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41092         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41093         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41094         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41095         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41096         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41097         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41098         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41099         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41100         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41101         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
41102         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41103         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41104         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
41105         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
41106         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
41107         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41108         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41109         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
41110         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
41111         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41112         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41113         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41114         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41115         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
41116         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41117         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41118         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41119         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
41120         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41121         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41122         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
41123         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
41124         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41125         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
41126         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
41127         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
41128         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41129         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
41130         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
41131         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41132         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41133         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41134         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41135         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41136         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
41137         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41138         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
41139         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41140         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41141         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
41142         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
41143         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41144         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41145         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41146         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
41147         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41148         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41149         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41150         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41151         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41152         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41153         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41154         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41155         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41156         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41157         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41158         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41159         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41160         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41161         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
41162         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41163         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41164         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
41165         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
41166         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
41167         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41168         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41169         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
41170         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41171         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41172         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
41173         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41174         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41175         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
41176         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41177         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
41178         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
41179         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41180         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41181         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
41182         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
41183         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
41184         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
41185         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41186         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41187         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41188         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41189         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
41190         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41191         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41192         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
41193         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
41194         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41195         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41196         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41197         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41198         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41199         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41200         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41201         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41202         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41203         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41204         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41205         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41206         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41207         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41208         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41209         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41210         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
41211         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41212         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41213         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41214         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41215         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41216         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41217         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41218         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
41219         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41220         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41221         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
41222         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
41223         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41224         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
41225         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
41226         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41227         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
41228         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
41229         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41230         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41231         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41232         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41233         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41234         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
41235         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41236         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41237         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41238         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41239         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
41240         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
41241         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41242         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41243         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41244         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
41245         * sysdeps/ieee754/s_lib_version.c: Likewise.
41246         * sysdeps/ieee754/s_matherr.c: Likewise.
41247         * sysdeps/ieee754/s_signgam.c: Likewise.
41248         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41249         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41250         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
41251         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
41252         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
41253         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41254         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
41255         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
41256         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
41257         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
41258         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
41259         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
41260         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41261         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41262         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
41263         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
41264         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41265         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
41266         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41267         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41268         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41269
41270 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
41271
41272         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
41273         * sunrpc/rpc_main.c: Likewise.
41274         * sunrpc/rpc_svcout.c: Likewise.
41275
41276 2012-03-09  David S. Miller  <davem@davemloft.net>
41277
41278         * include/math_private.h: New file.
41279
41280 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
41281
41282         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
41283         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
41284         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
41285         from <bits/socket_type.h>.
41286         (enum __socket_type): Don't define here.
41287         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
41288         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41289         bits/socket_type.h.
41290
41291         [BZ #13566]
41292         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
41293         checking __USE_GNU.
41294
41295         * Makerules ($(inst_includedir)/%.h): New rule.
41296         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
41297         (install-others): Remove variable setting.
41298         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
41299
41300 2012-03-08  Richard Henderson  <rth@twiddle.net>
41301
41302         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
41303         from macro to inline function; merge with the
41304         !__LIBC_INTERNAL_MATH_INLINES version.
41305         (__ieee754_sqrtf): Likewise.
41306
41307         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
41308         to inline function.
41309         (__rintf, __floor, __floorf): Likewise.
41310
41311         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
41312         macro to inline function.
41313         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
41314
41315         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
41316         not <math/math_private.h>.
41317
41318 2012-03-08  David S. Miller  <davem@davemloft.net>
41319
41320         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
41321         copyright year.
41322         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
41323
41324 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
41325
41326         * resolv/gai_misc.c (handle_requests): Fix struct timespec
41327         normalization.
41328         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
41329         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
41330
41331 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
41332
41333         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
41334         be defined individually, they must be defined as a block.  Define
41335         S for printing a string instead of hidint the different by using a
41336         macro for adding the 'l'.
41337         * stdio-common/tst-fphex-wide.c: Adjust.
41338
41339 2012-03-07  Marek Polacek  <polacek@redhat.com>
41340
41341         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
41342
41343 2012-03-08  Marek Polacek  <polacek@redhat.com>
41344
41345         [BZ #13806]
41346         * stdio-common/Makefile (tests): Add tst-fphex-wide.
41347         * stdio-common/tst-fphex.c: Define a few macros to make the
41348         test reusable.  Use them.
41349         * stdio-common/tst-fphex-wide.c: New file.
41350
41351 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
41352
41353         [BZ #6911]
41354         * manual/macros.texi (gnusystems): New macro.
41355         (nongnusystems): Likewise.
41356         (gnulinuxhurdsystems): Likewise.
41357         (gnuhurdsystems): Likewise..
41358         (gnulinuxsystems): Likewise.
41359         * manual/charset.texi: Use new macros or @theglibc{} to refer to
41360         variants of the GNU system, not "GNU system".
41361         * manual/conf.texi: Likewise.
41362         * manual/errno.texi: Likewise.  Update example of errno macro
41363         expansion.
41364         * manual/filesys.texi: Likewise.
41365         (getumask): Document as specific to GNU/Hurd.
41366         * manual/install.texi: Likewise.  Reword some references to
41367         GNU/Linux.
41368         * manual/intro.texi: Likewise.
41369         * manual/io.texi: Likewise.
41370         (File Name Portability): Detail which constraints are inapplicable
41371         to all GNU systems and which are only inapplicable to GNU/Hurd.
41372         * manual/job.texi: Likewise.
41373         * manual/llio.texi: Likewise.
41374         (O_NOCTTY): Document as present on GNU/Linux.
41375         * manual/maint.texi: Likewise.
41376         * manual/memory.texi: Likewise.
41377         * manual/pattern.texi: Likewise.
41378         * manual/pipe.texi: Likewise.
41379         * manual/process.texi: Likewise.
41380         * manual/resource.texi: Likewise.
41381         (RUSAGE_CHILDREN): Remove statement about specifying a particular
41382         child on GNU/Hurd.
41383         * manual/setjmp.texi: Likewise.
41384         * manual/signal.texi: Likewise.
41385         * manual/startup.texi: Likewise.
41386         * manual/stdio.texi: Likewise.
41387         * manual/terminal.texi: Likewise.
41388         (ONLCR): Document as POSIX.
41389         (OXTABS): Document availability on GNU/Linux as XTABS.
41390         (ONOEOT): Document availability separately from other bits.
41391         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
41392         * manual/time.texi: Likewise.
41393         * manual/users.texi: Likewise.
41394         * INSTALL: Regenerated.
41395         * sysdeps/gnu/errlist.c: Regenerated.
41396
41397         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
41398         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
41399         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
41400         puts.
41401         * configure: Regenerated.
41402
41403 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
41404
41405         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
41406         default includes instead of AC_HEADER_CHECK.
41407         * sysdeps/i386/configure: Regenerated.
41408
41409         [BZ #10716]
41410         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
41411         * math/s_cacoshf.c (__cacoshf): Likewise.
41412         * math/s_cacoshl.c (__cacoshl): Likewise.
41413         * math/s_casinh.c (__casinh): Set signs of result from argument.
41414         * math/s_casinhf.c (__casinhf): Likewise.
41415         * math/s_casinhl.c (__casinhl): Likewise.
41416         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
41417         (casinh_test): Add more tests.
41418         * sysdeps/i386/fpu/libm-test-ulps: Update.
41419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41420
41421 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
41422
41423         * po/zh_TW.po: Update from translation team.
41424
41425         * login/Makefile (distribute): Remove variable.
41426         * catgets/Makefile: Likewise.
41427         * mach/Makefile: Likewise.
41428         * malloc/Makefile: Likewise.
41429         * misc/Makefile: Likewise.
41430         * iconv/Makefile: Likewise.
41431         * nscd/Makefile: Likewise.
41432         * hurd/Makefile: Likewise.
41433         * manual/Makefile: Likewise.
41434         * locale/Makefile: Likewise.
41435         * intl/Makefile: Likewise.
41436         * conform/Makefile: Likewise.
41437         * nss/Makefile: Likewise.
41438         * time/Makefile: Likewise.
41439         * soft-fp/Makefile: Likewise.
41440         * dirent/Makefile: Likewise.
41441         * gmon/Makefile: Likewise.
41442         * po/Makefile: Likewise.
41443         * rt/Makefile: Likewise.
41444         * socket/Makefile: Likewise.
41445         * math/Makefile: Likewise.
41446         * signal/Makefile: Likewise.
41447         * debug/Makefile: Likewise.
41448         * elf/Makefile: Likewise.
41449         * timezone/Makefile: Likewise.
41450         * stdlib/Makefile: Likewise.
41451         * iconvdata/Makefile: Likewise.
41452         * sunrpc/Makefile: Likewise.
41453         * io/Makefile: Likewise.
41454         * argp/Makefile: Likewise.
41455         * inet/Makefile: Likewise.
41456         * hesiod/Makefile: Likewise.
41457         * grp/Makefile: Likewise.
41458         * csu/Makefile: Likewise.
41459         * wctype/Makefile: Likewise.
41460         * crypt/Makefile: Likewise.
41461         * libio/Makefile: Likewise.
41462         * string/Makefile: Likewise.
41463         * nis/Makefile: Likewise.
41464         * resolv/Makefile: Likewise.
41465         * stdio-common/Makefile: Likewise.
41466         * wcsmbs/Makefile: Likewise.
41467         * dlfcn/Makefile: Likewise.
41468         * posix/Makefile: Likewise.
41469
41470         [BZ #6959]
41471         * timezone/Makefile: Don't install timezone files, just the programs
41472         and scripts.
41473
41474 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
41475
41476         * nss/databases.def: Add missing gshadow entry.
41477
41478         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
41479
41480 2012-03-06  Marek Polacek  <polacek@redhat.com>
41481
41482         [BZ #13726]
41483         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
41484         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
41485         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
41486         * stdio-common/tst-long-dbl-fphex.c: New file.
41487
41488 2012-03-06  David S. Miller  <davem@davemloft.net>
41489
41490         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41491         (set_obp_int): New function.
41492         (get_obp_int): New function.
41493         (__get_clockfreq_via_dev_openprom): Likewise.
41494         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
41495         Avoid unused variable warnings on 'val' and use builtin_expect.
41496         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
41497         __builtin_expect.
41498         (INLINE_CLONE_SYSCALL): Likewise.
41499
41500 2012-03-05  David S. Miller  <davem@davemloft.net>
41501
41502         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41503
41504 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
41505
41506         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41507
41508         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
41509         only for |x| >= 40.
41510         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41511
41512 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
41513
41514         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
41515         Replace gettimeofday with __vdso_gettimeofday.
41516
41517         * sysdeps/unix/sysv/linux/x86_64/init-first.c
41518         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
41519         __vdso_clock_gettime and __vdso_getcpu.
41520
41521         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
41522         time with __vdso_time.
41523
41524 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
41525
41526         * manual/lang.texi (size_t): Note types to which size_t may be
41527         equivalent with the GNU C Library, but do not describe when
41528         differences between them are significant.
41529
41530 2012-03-05  Andreas Jaeger  <aj@suse.de>
41531
41532         * sysdeps/i386/fpu/libm-test-ulps: Update.
41533
41534 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
41535
41536         [BZ #3976]
41537         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
41538         (__ieee754_pow): Save and restore rounding mode and use
41539         round-to-nearest for main computations.
41540         * math/libm-test.inc (pow_test_tonearest): New function.
41541         (pow_test_towardzero): Likewise.
41542         (pow_test_downward): Likewise.
41543         (pow_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         [BZ #3976]
41549         * math/libm-test.inc (cosh_test_tonearest): New function.
41550         (cosh_test_towardzero): Likewise.
41551         (cosh_test_downward): Likewise.
41552         (cosh_test_upward): Likewise.
41553         (sinh_test_tonearest): Likewise.
41554         (sinh_test_towardzero): Likewise.
41555         (sinh_test_downward): Likewise.
41556         (sinh_test_upward): Likewise.
41557         (main): Call the new functions.
41558         * sysdeps/i386/fpu/libm-test-ulps: Update.
41559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41560
41561 2012-03-05  Tom de Vries  <tom@codesourcery.com>
41562
41563         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
41564         default stack guard is set in last bytes.
41565         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
41566
41567 2012-03-05  Kees Cook  <keescook@chromium.org>
41568
41569         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
41570
41571         [BZ #13656]
41572         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
41573         possibly allocate from heap instead of stack.
41574         * stdio-common/bug-vfprintf-nargs.c: New file.
41575         * stdio-common/Makefile (tests): Add nargs overflow test.
41576
41577 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
41578
41579         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41580
41581 2012-03-03  Marek Polacek  <polacek@redhat.com>
41582
41583         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
41584         * math/math_private.h: Likewise.
41585         * stdlib/tst-strtod.c: Likewise.
41586         * sysdeps/i386/i486/bits/atomic.h: Likewise.
41587         * sysdeps/x86_64/bits/atomic.h: Likewise.
41588
41589 2012-03-02  David S. Miller  <davem@davemloft.net>
41590
41591         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
41592         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
41593         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
41594         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
41595         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
41596         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
41597         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
41598         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
41599
41600 2012-03-02  Roland McGrath  <roland@hack.frob.com>
41601
41602         [BZ #13792]
41603         * manual/examples/README: New file, says the example source files
41604         can be used under GPL>=2.
41605         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
41606         line containing just "*/".
41607         * manual/examples/add.c: Add copyright header (GPL>=2).
41608         * manual/examples/argp-ex1.c: Likewise.
41609         * manual/examples/argp-ex2.c: Likewise.
41610         * manual/examples/argp-ex3.c: Likewise.
41611         * manual/examples/argp-ex4.c: Likewise.
41612         * manual/examples/atexit.c: Likewise.
41613         * manual/examples/db.c: Likewise.
41614         * manual/examples/dir.c: Likewise.
41615         * manual/examples/dir2.c: Likewise.
41616         * manual/examples/execinfo.c: Likewise.
41617         * manual/examples/filecli.c: Likewise.
41618         * manual/examples/filesrv.c: Likewise.
41619         * manual/examples/fmtmsgexpl.c: Likewise.
41620         * manual/examples/genpass.c: Likewise.
41621         * manual/examples/inetcli.c: Likewise.
41622         * manual/examples/inetsrv.c: Likewise.
41623         * manual/examples/isockad.c: Likewise.
41624         * manual/examples/longopt.c: Likewise.
41625         * manual/examples/memopen.c: Likewise.
41626         * manual/examples/memstrm.c: Likewise.
41627         * manual/examples/mkfsock.c: Likewise.
41628         * manual/examples/mkisock.c: Likewise.
41629         * manual/examples/mygetpass.c: Likewise.
41630         * manual/examples/pipe.c: Likewise.
41631         * manual/examples/popen.c: Likewise.
41632         * manual/examples/rprintf.c: Likewise.
41633         * manual/examples/search.c: Likewise.
41634         * manual/examples/select.c: Likewise.
41635         * manual/examples/setjmp.c: Likewise.
41636         * manual/examples/sigh1.c: Likewise.
41637         * manual/examples/sigusr.c: Likewise.
41638         * manual/examples/stpcpy.c: Likewise.
41639         * manual/examples/strdupa.c: Likewise.
41640         * manual/examples/strftim.c: Likewise.
41641         * manual/examples/strncat.c: Likewise.
41642         * manual/examples/subopt.c: Likewise.
41643         * manual/examples/swapcontext.c: Likewise.
41644         * manual/examples/termios.c: Likewise.
41645         * manual/examples/testopt.c: Likewise.
41646         * manual/examples/testpass.c: Likewise.
41647         * manual/examples/timeval_subtract.c: Likewise.
41648
41649         [BZ #13792]
41650         * manual/time.texi (Elapsed Time): Move timeval_subtract example
41651         function to ...
41652         * manual/timeval_subtract.c.texi: ... here, new file.
41653
41654 2012-03-02  David S. Miller  <davem@davemloft.net>
41655
41656         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
41657
41658 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
41659
41660         [BZ #3976]
41661         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
41662         (__sin): Save and restore rounding mode and use round-to-nearest
41663         for all computations.
41664         (__cos): Save and restore rounding mode and use round-to-nearest
41665         for all computations.
41666         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
41667         <fenv.h>.
41668         (tan): Save and restore rounding mode and use round-to-nearest for
41669         all computations.
41670         * math/libm-test.inc (cos_test_tonearest): New function.
41671         (cos_test_towardzero): Likewise.
41672         (cos_test_downward): Likewise.
41673         (cos_test_upward): Likewise.
41674         (sin_test_tonearest): Likewise.
41675         (sin_test_towardzero): Likewise.
41676         (sin_test_downward): Likewise.
41677         (sin_test_upward): Likewise.
41678         (tan_test_tonearest): Likewise.
41679         (tan_test_towardzero): Likewise.
41680         (tan_test_downward): Likewise.
41681         (tan_test_upward): Likewise.
41682         (main): Call the new functions.
41683         * sysdeps/i386/fpu/libm-test-ulps: Update.
41684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41685
41686         [BZ #10135]
41687         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
41688         small n, then large n, before computing and testing k+n.
41689         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41690         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
41691         Likewise.
41692         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
41693         Likewise.
41694         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
41695         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
41696         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
41697         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
41698         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
41699         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
41700         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
41701         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
41702         * math/libm-test.inc (scalbn_test): Add more tests.
41703         (scalbln_test): Likewise.
41704
41705         * manual/filesys.texi (mode_t): Describe constraints on size and
41706         signedness, not exact equivalence to a particular type.
41707         (ino_t): Likewise.
41708         (ino64_t): Likewise.
41709         (dev_t): Likewise.
41710         (nlink_t): Likewise.
41711         (blkcnt_t): Likewise.
41712         (blkcnt64_t): Likewise.
41713         * manual/llio.texi (off_t): Likewise.
41714
41715         [BZ #3976]
41716         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
41717         (__ieee754_exp): Save and restore rounding mode and use
41718         round-to-nearest for all computations.
41719         * math/libm-test.inc (exp_test_tonearest): New function.
41720         (exp_test_towardzero): Likewise.
41721         (exp_test_downward): Likewise.
41722         (exp_test_upward): Likewise.
41723         (main): Call the new functions.
41724         * sysdeps/i386/fpu/libm-test-ulps: Update.
41725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41726
41727 2012-03-01  Chris Demetriou  <cgd@google.com>
41728
41729         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
41730         have predictable order.
41731
41732 2012-03-01  David S. Miller  <davem@davemloft.net>
41733
41734         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
41735
41736         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
41737         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
41738         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
41739         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
41740
41741         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
41742         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
41743         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
41744         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
41745         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
41746         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
41747         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
41748         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
41749         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
41750
41751         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41752
41753         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
41754         * sysdeps/sparc/fpu/libm-test-ulps: to here.
41755         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
41756
41757         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
41758         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41759         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41760         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
41761         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
41762         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
41763         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
41764         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41765         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41766         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
41767         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
41768         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41769         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41770         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41771         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41772         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41773         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
41774         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
41775         * sysdeps/sparc/elf/configure: Regenerated.
41776
41777 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
41778
41779         * configure.in (AS, LD): Require binutils 2.20 or later.
41780         * configure: Regenerated.
41781         * manual/install.texi (Tools for Compilation): Give binutils 2.20
41782         as required minimum version.
41783         * INSTALL: Regenerated.
41784
41785         [BZ #2541]
41786         [BZ #4108]
41787         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
41788         before squaring exponent.
41789         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
41790         bottom long double and 27 bits of top long double before squaring
41791         exponent.
41792         * math/libm-test.inc (erfc_test): Add more tests.
41793         * sysdeps/i386/fpu/libm-test-ulps: Update.
41794         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41796
41797 2012-03-01  Kai Tietz  <ktietz@redhat.com>
41798
41799         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
41800         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
41801         containing bit-fields.
41802         * soft-fp/extended.h (_FP_UNION_E): Likewise.
41803         * soft-fp/single.h (_FP_UNION_S): Likewise.
41804         * soft-fp/double.h (_FP_UNION_D): Likewise.
41805
41806 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
41807
41808         [BZ #13786]
41809         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
41810         not include ../strcmp.S.
41811         [USE_AS_STRNCASECMP_L]: Likewise.
41812         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
41813         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
41814         * sysdeps/i386/i686/multiarch/strncase_l-c.c
41815         (__strncasecmp_l_ia32): Define as alias to
41816         __strncasecmp_l_nonascii.
41817
41818         [BZ #5794]
41819         * math/libm-test.inc (expm1_test): Add test for bug 5794.
41820         * sysdeps/i386/fpu/libm-test-ulps: Update.
41821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41822
41823         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
41824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41825
41826 2012-02-29  Jeff Law  <law@redhat.com>
41827
41828         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
41829         out of bounds read.
41830
41831 2012-02-29  Marek Polacek  <polacek@redhat.com>
41832
41833         [BZ #13706]
41834         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41835         * elf/Makefile: Add rules to run tst-unused-dep.out.
41836
41837 2012-02-28  David S. Miller  <davem@davemloft.net>
41838
41839         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41840         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41841         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41842         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41843         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41844         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41845
41846 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
41847
41848         * math/libm-test.inc (llround_test): Move one test from
41849         lround_test.  Use TEST_f_L in moved test.
41850         (lround_test): Move misplaced test to llround_test.  Add testcase
41851         from bug 2561.
41852
41853 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
41854
41855         * sysdeps/x86_64/fpu/e_expf.S: New file.
41856         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41857
41858 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
41859
41860         [BZ #13637]
41861         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41862         of remain_len that may cause incomplete multi-byte character and
41863         false match.
41864         * posix/bug-regex33.c: New file.
41865         * posix/Makefile (tests): Add bug-regex33.
41866
41867 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
41868
41869         * manual/macros.texi: New file.
41870         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41871         * manual/libc.texinfo: Include macros.texi.
41872         * manual/creatute.texi: Likewise.
41873         * manual/install.texi: Likewise.
41874         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41875         @glibcadj{} in references to the GNU C Library.
41876         * manual/charset.texi: Likewise.
41877         * manual/conf.texi: Likewise.
41878         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
41879         when not using those macros.
41880         * manual/creature.texi: Likewise.
41881         * manual/crypt.texi: Likewise.
41882         * manual/errno.texi: Likewise.
41883         * manual/filesys.texi: Likewise.
41884         * manual/header.texi: Likewise.
41885         * manual/install.texi: Likewise.
41886         * manual/intro.texi: Likewise.
41887         * manual/io.texi: Likewise.
41888         * manual/job.texi: Likewise.
41889         * manual/lang.texi: Likewise.
41890         * manual/libc.texiinfo: Likewise.
41891         * manual/llio.texi: Likewise.
41892         * manual/locale.texi: Likewise.
41893         * manual/maint.texi: Likewise.
41894         * manual/math.texi: Likewise.
41895         * manual/memory.texi: Likewise.
41896         * manual/message.texi: Likewise.
41897         * manual/nss.texi: Likewise.
41898         * manual/pattern.texi: Likewise.
41899         * manual/process.texi: Likewise.
41900         * manual/resource.texi: Likewise.
41901         * manual/search.texi: Likewise.
41902         * manual/setjmp.texi: Likewise.
41903         * manual/signal.texi: Likewise.
41904         * manual/socket.texi: Likewise.
41905         * manual/startup.texi: Likewise.
41906         * manual/stdio.texi: Likewise.
41907         * manual/string.texi: Likewise.
41908         * manual/sysinfo.texi: Likewise.
41909         * manual/syslog.texi: Likewise.
41910         * manual/terminal.texi: Likewise.
41911         * manual/time.texi: Likewise.
41912         * manual/users.texi: Likewise.
41913         * INSTALL: Regenerated.
41914         * NOTES: Regenerated.
41915         * sysdeps/gnu/errlist.c: Regenerated.
41916
41917 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
41918
41919         * include/dirent.h: Include <dirstream.h> before
41920         <dirent/dirent.h>.
41921
41922 2012-02-28  David S. Miller  <davem@davemloft.net>
41923
41924         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41925         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41926         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41927         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41928
41929 2012-02-27  David S. Miller  <davem@davemloft.net>
41930
41931         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41932         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41933         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41934         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41935
41936         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41937         frame pointer instead of stack pointer relative arg slot.
41938         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41939         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41940         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41941
41942 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
41943
41944         [BZ #3992]
41945         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41946
41947 2012-02-27  David S. Miller  <davem@davemloft.net>
41948
41949         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41950         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41951         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41952         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41953         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41954         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41955         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41956         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41957
41958 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
41959
41960         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41961         later.  Allow versions 5-9.
41962         * configure: Regenerated.
41963         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41964         required minimum version and 4.6 as recommended version.  Do not
41965         mention bugs in GCC 2.7 and 2.8.
41966         * INSTALL: Regenerated.
41967
41968 2012-02-27  David S. Miller  <davem@davemloft.net>
41969
41970         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41971         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41972         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41973         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41974         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41975         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41976         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41977         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41978
41979         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41980         manipulate bits before adding and subtracting TWO112[sx].
41981         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41982
41983 2012-02-27  Roland McGrath  <roland@hack.frob.com>
41984
41985         [BZ #13775]
41986         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41987         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41988         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41989         being in POSIX, because they are in 1003.1-2008.
41990
41991         * rt/tst-aio.c: Include <fcntl.h>.
41992         * rt/tst-aio7.c: Likewise.
41993         * rt/tst-aio64.c: Likewise.
41994
41995         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41996
41997 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
41998
41999         * manual/install.texi (--with-headers): Describe headers as
42000         interface headers, not private headers.
42001         (Specific advice for GNU/Linux systems): Describe use of headers
42002         from "make headers_install", not private headers from older
42003         kernels.
42004         * INSTALL: Regenerated.
42005         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
42006         Change to 2.6.19.
42007         * sysdeps/unix/sysv/linux/configure: Regenerated.
42008
42009         * manual/llio.texi (fclean): Remove documentation.
42010
42011         * manual/Makefile (libc-texi-generated): New variable.  Include
42012         version.texi.
42013         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
42014         $(libc-texi-generated), not duplicated list of files.
42015         (version.texi, stamp-version): New rules.
42016         (realclean): Remove $(libc-texi-generated), not individual files
42017         from that list.  Do not remove dir-add.texinfo.
42018         * manual/libc.texinfo: Comment out uses of edition numbers and
42019         references to printed manual.  Remove last-updated dates.
42020         (EDITION): Comment out.
42021         (ISBN): Likewise.
42022         (VERSION, UPDATED): Remove.
42023         (version.texi): Include.
42024
42025 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
42026
42027         * sysdeps/posix/spawni.c: Include <signal.h>.
42028         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
42029         * sysdeps/pthread/aio_fsync.c: Likewise.
42030
42031 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
42032
42033         * conform/Makefile (tests): Run only when not cross-compiling and
42034         when fast-check is not defined.
42035
42036         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
42037         * conform/data/limits.h-data: Fixes for POSIX2008.
42038         * conform/run-conformtest.sh: Run all tests.
42039         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
42040         headers.
42041         * include/bits/dlfcn.h: Likewise.
42042         * include/langinfo.h: Likewise.
42043         * include/monetary.h: Likewise.
42044         * include/sys/poll.h: Likewise.
42045
42046         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
42047         for __USE_GNU.
42048         * posix/spawn.h: Define __need_sigset_t.
42049         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
42050         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
42051         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
42052         to get sigevent_t only.
42053         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
42054         only for __USE_GNU.
42055         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42056         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42057         process_vm_writev only for __USE_GNU.
42058         * termios/termios.h: Declare tcgetsid also for POSIX2008.
42059
42060         * conform/Makefile: For now ignore errors from run-conformtest.
42061         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
42062         POSIX to avoid namespace pollution.  Don't prepend headers.
42063         * conform/data/aio.h-data: Fixes for POSIX testing.
42064         * conform/data/fcntl.h-data: Likewise.
42065         * conform/data/glob.h-data: Likewise.
42066         * conform/data/grp.h-data: Likewise.
42067         * conform/data/pthread.h-data: Likewise.
42068         * conform/data/pwd.h-data: Likewise.
42069         * conform/data/signal.h-data: Likewise.
42070         * conform/data/spawn.h-data: Likewise.
42071         * conform/data/stdio.h-data: Likewise.
42072         * conform/data/stdlib.h-data: Likewise.
42073         * conform/data/stropts.h-data: Likewise.
42074         * conform/data/sys/mman.h-data: Likewise.
42075         * conform/data/sys/stat.h-data: Likewise.
42076         * conform/data/sys/types.h-data: Likewise.
42077         * conform/data/sys/wait.h-data: Likewise.
42078         * conform/data/time.h-data: Likewise.
42079         * conform/data/unistd.h-data: Likewise.
42080         * conform/data/utime.h-data: Likewise.
42081
42082         * io/sys/stat.h: fchmod was always in POSIX.
42083         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
42084         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
42085         * rt/aio.h: Define __need_timespec before including <time.h>.
42086         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
42087         struct.  Add forward declaration of pthread_attr_t and use it in
42088         sigevent.
42089         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42090         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42091         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
42092         always remove CLK_TCK definition.
42093
42094 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
42095
42096         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
42097
42098 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
42099
42100         * conform/run-conformtest.sh: New file.
42101         * conform/Makefile: Run run-conformtest for tests.
42102         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
42103         support.
42104
42105         * conform/data/uchar.h-data: New file.
42106         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
42107         * conform/data/arpa/inet.h-data: Likewise.
42108         * conform/data/assert.h-data: Likewise.
42109         * conform/data/complex.h-data: Likewise.
42110         * conform/data/cpio.h-data: Likewise.
42111         * conform/data/ctype.h-data: Likewise.
42112         * conform/data/dirent.h-data: Likewise.
42113         * conform/data/dlfcn.h-data: Likewise.
42114         * conform/data/errno.h-data: Likewise.
42115         * conform/data/fcntl.h-data: Likewise.
42116         * conform/data/float.h-data: Likewise.
42117         * conform/data/fmtmsg.h-data: Likewise.
42118         * conform/data/fnmatch.h-data: Likewise.
42119         * conform/data/ftw.h-data: Likewise.
42120         * conform/data/glob.h-data: Likewise.
42121         * conform/data/grp.h-data: Likewise.
42122         * conform/data/iconv.h-data: Likewise.
42123         * conform/data/inttypes.h-data: Likewise.
42124         * conform/data/langinfo.h-data: Likewise.
42125         * conform/data/libgen.h-data: Likewise.
42126         * conform/data/limits.h-data: Likewise.
42127         * conform/data/locale.h-data: Likewise.
42128         * conform/data/math.h-data: Likewise.
42129         * conform/data/monetary.h-data: Likewise.
42130         * conform/data/mqueue.h-data: Likewise.
42131         * conform/data/ndbm.h-data: Likewise.
42132         * conform/data/net/if.h-data: Likewise.
42133         * conform/data/netdb.h-data: Likewise.
42134         * conform/data/netinet/in.h-data: Likewise.
42135         * conform/data/nl_types.h-data: Likewise.
42136         * conform/data/poll.h-data: Likewise.
42137         * conform/data/pthread.h-data: Likewise.
42138         * conform/data/pwd.h-data: Likewise.
42139         * conform/data/regex.h-data: Likewise.
42140         * conform/data/sched.h-data: Likewise.
42141         * conform/data/search.h-data: Likewise.
42142         * conform/data/semaphore.h-data: Likewise.
42143         * conform/data/setjmp.h-data: Likewise.
42144         * conform/data/signal.h-data: Likewise.
42145         * conform/data/spawn.h-data: Likewise.
42146         * conform/data/stdarg.h-data: Likewise.
42147         * conform/data/stdio.h-data: Likewise.
42148         * conform/data/stdlib.h-data: Likewise.
42149         * conform/data/string.h-data: Likewise.
42150         * conform/data/strings.h-data: Likewise.
42151         * conform/data/stropts.h-data: Likewise.
42152         * conform/data/sys/ipc.h-data: Likewise.
42153         * conform/data/sys/mman.h-data: Likewise.
42154         * conform/data/sys/msg.h-data: Likewise.
42155         * conform/data/sys/resource.h-data: Likewise.
42156         * conform/data/sys/select.h-data: Likewise.
42157         * conform/data/sys/sem.h-data: Likewise.
42158         * conform/data/sys/shm.h-data: Likewise.
42159         * conform/data/sys/socket.h-data: Likewise.
42160         * conform/data/sys/stat.h-data: Likewise.
42161         * conform/data/sys/statvfs.h-data: Likewise.
42162         * conform/data/sys/time.h-data: Likewise.
42163         * conform/data/sys/timeb.h-data: Likewise.
42164         * conform/data/sys/times.h-data: Likewise.
42165         * conform/data/sys/types.h-data: Likewise.
42166         * conform/data/sys/uio.h-data: Likewise.
42167         * conform/data/sys/un.h-data: Likewise.
42168         * conform/data/sys/utsname.h-data: Likewise.
42169         * conform/data/sys/wait.h-data: Likewise.
42170         * conform/data/syslog.h-data: Likewise.
42171         * conform/data/tar.h-data: Likewise.
42172         * conform/data/termios.h-data: Likewise.
42173         * conform/data/utime.h-data: Likewise.
42174         * conform/data/utmpx.h-data: Likewise.
42175         * conform/data/varargs.h-data: Likewise.
42176         * conform/data/wchar.h-data: Likewise.
42177         * conform/data/wctype.h-data: Likewise.
42178         * conform/data/wordexp.h-data: Likewise.
42179
42180         * include/stropts.h: New file.
42181         * include/uchar.h: New file.
42182         * include/aio.h: Changes to allow conformtest.pl to use the headers.
42183         * include/assert.h: Likewise.
42184         * include/ctype.h: Likewise.
42185         * include/dirent.h: Likewise.
42186         * include/dlfcn.h: Likewise.
42187         * include/fcntl.h: Likewise.
42188         * include/fnmatch.h: Likewise.
42189         * include/glob.h: Likewise.
42190         * include/grp.h: Likewise.
42191         * include/libio.h: Likewise.
42192         * include/locale.h: Likewise.
42193         * include/math.h: Likewise.
42194         * include/net/if.h: Likewise.
42195         * include/netdb.h: Likewise.
42196         * include/netinet/in.h: Likewise.
42197         * include/pthread.h: Likewise.
42198         * include/pwd.h: Likewise.
42199         * include/regex.h: Likewise.
42200         * include/sched.h: Likewise.
42201         * include/search.h: Likewise.
42202         * include/setjmp.h: Likewise.
42203         * include/signal.h: Likewise.
42204         * include/stdio.h: Likewise.
42205         * include/stdlib.h: Likewise.
42206         * include/string.h: Likewise.
42207         * include/sys/cdefs.h: Likewise.
42208         * include/sys/mman.h: Likewise.
42209         * include/sys/msg.h: Likewise.
42210         * include/sys/resource.h: Likewise.
42211         * include/sys/select.h: Likewise.
42212         * include/sys/socket.h: Likewise.
42213         * include/sys/stat.h: Likewise.
42214         * include/sys/statvfs.h: Likewise.
42215         * include/sys/time.h: Likewise.
42216         * include/sys/times.h: Likewise.
42217         * include/sys/uio.h: Likewise.
42218         * include/sys/utsname.h: Likewise.
42219         * include/sys/wait.h: Likewise.
42220         * include/termios.h: Likewise.
42221         * include/time.h: Likewise.
42222         * include/ulimit.h: Likewise.
42223         * include/unistd.h: Likewise.
42224         * include/utime.h: Likewise.
42225         * include/wchar.h: Likewise.
42226         * include/wctype.h: Likewise.
42227         * include/wordexp.h: Likewise.
42228
42229         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
42230
42231         * time/time.h: TIME_UTC must be a macro.
42232         Make timespec_get available for ISO C11 only as well.
42233
42234 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
42235
42236         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
42237         Reported by Peng Haitao <penght@cn.fujitsu.com>.
42238
42239 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
42240
42241         * configure.in: Use -o not -a in test for unsupported multi-arch.
42242
42243 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
42244
42245         * manual/texinfo.tex: Update to version 2012-01-19.16.
42246
42247 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
42248
42249         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
42250
42251 2012-02-24  Roland McGrath  <roland@hack.frob.com>
42252
42253         [BZ #13738]
42254         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
42255         * manual/fdl-1.3.texi: New file.
42256         * manual/fdl-1.1.texi: File removed.
42257
42258         [BZ #13738]
42259         * manual/libc.texinfo (FDL_VERSION): New @set.
42260         Use it for mention of FDL in cover text.
42261         (Documentation License): Use it in @include file name.
42262
42263 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42264             Roland McGrath  <roland@hack.frob.com>
42265
42266         [BZ #5461]
42267         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
42268         (not LONG_LONG_MAX and LONG_LONG_MIN.
42269         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
42270         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
42271         name.
42272         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
42273
42274 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42275
42276         [BZ #2547]
42277         [BZ #11365]
42278         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
42279         manipulate bits before adding and subtracting TWO23[sx].
42280         * math/libm-test.inc (nearbyint_test): Add more tests.
42281
42282 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42283
42284         [BZ #2548]
42285         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
42286         bits before adding and subtracting TWO23[sx].
42287         * math/libm-test.inc (rint_test): Add more tests.
42288         (rint_test_tonearest): Likewise.
42289         (rint_test_towardzero): Likewise.
42290         (rint_test_downward): Likewise.
42291         (rint_test_upward: Likewise.
42292
42293 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42294
42295         [BZ #10110]
42296         * include/stdc-predef.h: New file.  Extracted from features.h.
42297         * include/features.h: Include stdc-predef.h.
42298         * Makefile (headers): Add stdc-predef.h.
42299         * CONFORMANCE (Compiler limitations): Update.
42300
42301 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42302
42303         * manual/libc.texinfo (VERSION, UPDATED): Revert.
42304
42305 2012-02-21  David S. Miller  <davem@davemloft.net>
42306
42307         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
42308         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42309
42310 2012-02-20  David S. Miller  <davem@davemloft.net>
42311
42312         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
42313         using a normal save/restore sequence, rather than allocating a
42314         dummy stack frame just to store a frame pointer and restore.
42315         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42316
42317 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
42318
42319         * manual/install.texi: Fix stray word in line-wrapped comment.
42320
42321 2012-02-20  David S. Miller  <davem@davemloft.net>
42322
42323         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
42324         both binutils and gcc support GOTDATA.
42325
42326         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
42327         "rd %pc" in the PIC register setup sequences.
42328
42329         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
42330         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
42331         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42332         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
42333         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42334         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42335         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42336         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42337         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
42338         (SYSCALL_ERROR_HANDLER): Likewise.
42339         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42340         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42341         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
42342         (SYSCALL_ERROR_HANDLER): Likewise.
42343
42344         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
42345         (HAVE_GCC_GOTDATA): New.
42346         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
42347         relocation support in both binutils and gcc.
42348         * sysdeps/sparc/elf/configure: Regenerate.
42349
42350         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
42351         * sysdeps/sparc/sparc32/elf/configure: Delete.
42352         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
42353         * sysdeps/sparc/sparc64/elf/configure: Delete.
42354         * sysdeps/sparc/elf/configure.in: New file.
42355         * sysdeps/sparc/elf/configure: Generate.
42356
42357         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
42358         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
42359         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42360         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
42361         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
42362
42363 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
42364
42365         * manual/install.texi: Do not mention specific glibc version
42366         numbers.
42367         * manual/libc.texinfo (VERSION, UPDATED): Update.
42368         (@copying): Use @copyright{} and range of years.
42369
42370 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
42371
42372         [BZ #13695]
42373         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
42374         [crti.S not in sysdirs] (generated): Do not append.
42375         [crti.S not in sysdirs] (omit-deps): Likewise.
42376         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
42377         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
42378         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
42379         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
42380         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
42381         Likewise.
42382         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
42383         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
42384         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
42385         * csu/defs.awk: Remove file.
42386         * sysdeps/generic/initfini.c: Likewise.
42387         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
42388         variable.
42389         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
42390         Likewise.
42391
42392 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
42393
42394         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
42395         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
42396         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
42397         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
42398         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42399         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
42400         <bits/epoll.h>.
42401         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
42402         (__EPOLL_PACKED): Define to empty if not defined by
42403         <bits/epoll.h>.
42404         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
42405         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42406         bits/epoll.h.
42407
42408 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
42409
42410         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
42411         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
42412         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
42413         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
42414         <bits/timerfd.h>.
42415         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
42416         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42417         bits/timerfd.h.
42418
42419 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
42420
42421         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
42422         in C locale.
42423         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42424         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42425         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
42426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42427
42428 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
42429
42430         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42431         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42432
42433 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
42434
42435         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
42436         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
42437         defined.
42438         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
42439         Likewise.
42440         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
42441         entry for 2.16.
42442
42443 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
42444
42445         * math/w_acos.c: Use non-signaling floating-point comparisons.
42446         * math/w_acosf.c: Likewise.
42447         * math/w_acosh.c: Likewise.
42448         * math/w_acoshf.c: Likewise.
42449         * math/w_acoshl.c: Likewise.
42450         * math/w_acosl.c: Likewise.
42451         * math/w_asin.c: Likewise.
42452         * math/w_asinf.c: Likewise.
42453         * math/w_asinl.c: Likewise.
42454         * math/w_atanh.c: Likewise.
42455         * math/w_atanhf.c: Likewise.
42456         * math/w_atanhl.c: Likewise.
42457         * math/w_exp2.c: Likewise.
42458         * math/w_exp2f.c: Likewise.
42459         * math/w_exp2l.c: Likewise.
42460         * math/w_j0.c: Likewise.
42461         * math/w_j0f.c: Likewise.
42462         * math/w_j0l.c: Likewise.
42463         * math/w_j1.c: Likewise.
42464         * math/w_j1f.c: Likewise.
42465         * math/w_j1l.c: Likewise.
42466         * math/w_jn.c: Likewise.
42467         * math/w_jnf.c: Likewise.
42468         * math/w_log.c: Likewise.
42469         * math/w_log10.c: Likewise.
42470         * math/w_log10f.c: Likewise.
42471         * math/w_log10l.c: Likewise.
42472         * math/w_log2.c: Likewise.
42473         * math/w_log2f.c: Likewise.
42474         * math/w_log2l.c: Likewise.
42475         * math/w_logf.c: Likewise.
42476         * math/w_logl.c: Likewise.
42477         * math/w_sqrt.c: Likewise.
42478         * math/w_sqrtf.c: Likewise.
42479         * math/w_sqrtl.c: Likewise.
42480         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42481         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
42482         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42483         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42484         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42485
42486 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42487
42488         [BZ #9739]
42489         * manual/string.texi (strnlen): Use correct parameter name in
42490         equivalent expression.
42491
42492 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42493
42494         [BZ #11174]
42495         * manual/users.texi (seteuid): Consistently use neweuid for
42496         argument name.
42497
42498 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42499
42500         [BZ #13704]
42501         * manual/nss.texi (Services in the NSS configuration): Correct
42502         list of services in example configuration file.
42503
42504 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
42505
42506         [BZ #11322]
42507         * manual/arith.texi: Remove statements about negative zero
42508         behaving identically to zero.
42509
42510 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
42511
42512         [BZ #5993]
42513         * manual/install.texi: Do not document upgrading from libc5.
42514
42515 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
42516
42517         [BZ #4596]
42518         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
42519
42520 2012-02-18  David S. Miller  <davem@davemloft.net>
42521
42522         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
42523         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
42524         %o7 across the call.
42525         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
42526         instead.
42527         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
42528         SETUP_PIC_REG_LEAF.
42529         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42530         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
42531         * sysdeps/sparc/crtn.S: Likewise.
42532
42533 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
42534
42535         * aout/Makefile: Remove.
42536
42537 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
42538
42539         [BZ #13058]
42540         * manual/examples/argp-ex1.c (main): Format definition in GNU
42541         style.
42542         * manual/examples/argp-ex2.c (main): Likewise.
42543         * manual/examples/argp-ex3.c (main): Likewise.
42544         * manual/examples/argp-ex4.c (main): Likewise.
42545         * manual/examples/longopt.c (main): Use new-style prototype
42546         definition.
42547         * manual/examples/strncat.c (main): Specify return type and use
42548         (void) for arguments.
42549         * manual/examples/subopt.c (main): Use char **argv argument.
42550
42551 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42552
42553         [BZ #5077]
42554         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
42555         rounding modes.
42556
42557 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
42558
42559         [BZ #6907]
42560         * manual/string.texi (strchr): Change when strchrnul is
42561         recommended.
42562
42563 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
42564
42565         [BZ #174]
42566         * manual/locale.texi (setlocale): Document LOCPATH.
42567
42568 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42569
42570         [BZ #10210]
42571         * manual/process.texi (execle): Move @dots{} before last argument.
42572
42573 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
42574
42575         [BZ #12047]
42576         * manual/charset.texi (Generic Charset Conversion): Fix typo
42577         (LC_TYPE -> LC_CTYPE).
42578
42579 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
42580
42581         [BZ #5805]
42582         * manual/arith.texi (scalbn): Use @var{} on parameter names.
42583         (scalbnf): Likewise.
42584         (scalbnl): Likewise.
42585         (scalbln): Likewise.
42586         (scalblnf): Likewise.
42587         (scalblnl): Likewise.
42588         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
42589         (vwarnx): Likewise.
42590         (verr): Likewise.
42591         (verrx): Likewise.
42592         * manual/filesys.texi (telldir): Use braces around return type.
42593         * manual/llio.texi (mmap): Add space after comma.
42594         (mmap64): Likewise.
42595         * manual/math.texi (jn): Use @var{} on parameter names.
42596         (jnf): Likewise.
42597         (jnl): Likewise.
42598         (yn): Likewise.
42599         (ynf): Likewise.
42600         (ynl): Likewise.
42601         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
42602         line.
42603         * manual/resource.texi (ulimit): Use @dots{} instead of literal
42604         "...".
42605         (sched_get_priority_min): Remove semicolon on @deftypefun line.
42606         (sched_get_priority_max): Likewise.
42607         * manual/signal.texi (sigvec): Add space after comma.
42608         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
42609         names.
42610         (if_indextoname): Likewise.
42611         (if_freenameindex): Likewise.
42612         (sendto): Use ',' instead of '.' in prototype.
42613         * manual/startup.texi (syscall): Use @dots{} instead of literal
42614         "...".
42615         * manual/stdio.texi (__fpending): Separate initial words of
42616         paragraph from @deftypefun line.
42617         * manual/syslog.texi (syslog): Use @dots{} instead of literal
42618         "...".
42619         (vsyslog): Use @var{} on parameter names.
42620         * manual/terminal.texi (stty): Use @var{} on parameter names.
42621         * manual/users.texi (getutmp): Use @var{} on parameter names.
42622         (getutmpx): Likewise.
42623
42624 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42625
42626         [BZ #6884]
42627         * manual/stdio.texi (fopen): Fix typos in description of
42628         ",ccs=STRING".
42629
42630 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
42631
42632         [BZ #4026]
42633         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
42634         get clock_id definition.
42635
42636 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
42637
42638         [BZ #4822]
42639         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
42640         (madvise): Cast every argument to void on its own.
42641
42642 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42643
42644         [BZ #9902]
42645         * manual/startup.texi (Exit Status): Fix typo.
42646
42647 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42648
42649         [BZ #10140]
42650         * manual/examples/argp-ex1.c: Include <stdlib.h>.
42651         * manual/examples/argp-ex2.c: Likewise.
42652         * manual/examples/argp-ex3.c: Likewise.
42653
42654 2012-02-16  Richard Henderson  <rth@redhat.com>
42655
42656         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
42657         * sysdeps/s390/s390-32/initfini.c: Remove.
42658         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
42659         * sysdeps/s390/s390-64/initfini.c: Remove.
42660
42661 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42662
42663         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
42664         compiler output for sysdeps/generic/initfini.c.
42665         * sysdeps/sh/elf/initfini.c: Remove file.
42666
42667 2012-02-16  David S. Miller  <davem@davemloft.net>
42668
42669         [BZ #11494]
42670         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
42671
42672         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
42673         * sysdeps/sparc/crti.S: New file.
42674         * sysdeps/sparc/crtn.S: New file.
42675         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
42676         * sysdeps/sparc/sparc64/Makefile: Likewise.
42677
42678 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
42679
42680         [BZ #3335]
42681         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
42682
42683 2012-02-15  Roland McGrath  <roland@hack.frob.com>
42684
42685         [BZ #4822]
42686         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
42687
42688         * mach/devstream.c (cookie_io_functions_t): Macro removed.
42689         (write, read, close): Likewise.
42690         Patch by Aurelien Jarno <aurelien@aurel32.net>.
42691
42692 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
42693
42694         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
42695         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
42696         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
42697         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
42698         <bits/signalfd.h>.
42699         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
42700         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42701         bits/signalfd.h.
42702
42703 2012-02-14  Marek Polacek  <polacek@redhat.com>
42704
42705         * sysdeps/x86_64/crti.S: New file.
42706         * sysdeps/x86_64/crtn.S: New file.
42707         * sysdeps/x86_64/elf/initfini.c: Remove file.
42708
42709 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
42710
42711         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
42712         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
42713         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
42714         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
42715         <bits/inotify.h>.
42716         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
42717         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42718         bits/inotify.h.
42719
42720 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
42721
42722         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
42723         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
42724         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
42725         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
42726         <bits/eventfd.h>.
42727         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
42728         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42729         bits/eventfd.h.
42730
42731 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
42732
42733         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
42734         __feraiseexcept instead of feraiseexcept.
42735
42736         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
42737         nanosleep invocations.
42738         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
42739         strings, and add error checking for a nanosleep invocations.
42740
42741 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
42742
42743         Replace FSF snail mail address with URLs, as per GNU coding standards.
42744         Most of the snail mail addresses were wrong anyway, and omitting
42745         them makes the source code easier to maintain.  Almost all of the
42746         changes are to license notices and to locale LC_IDENTIFICATION
42747         addresses, except for this one:
42748         * manual/libc.texinfo: In "Published by", give the FSF's URL,
42749         not its snail mail address.
42750
42751 2012-02-09  Richard Henderson  <rth@twiddle.net>
42752
42753         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
42754         of kernel-features.h.
42755
42756         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
42757
42758 2012-02-08  Marek Polacek  <polacek@redhat.com>
42759
42760         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
42761         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
42762         * sysdeps/gnu/_G_config.h: Likewise.
42763         * sysdeps/generic/_G_config.h: Likewise.
42764
42765 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
42766
42767         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
42768         tests.
42769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42770
42771         * sysdeps/powerpc/powerpc32/crti.S: New file.
42772         * sysdeps/powerpc/powerpc32/crtn.S: New file.
42773         * sysdeps/powerpc/powerpc64/crti.S: New file.
42774         * sysdeps/powerpc/powerpc64/crtn.S: New file.
42775
42776         * Makeconfig (have-initfini): Don't set.
42777         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
42778         * configure.in (nopic_initfini): Don't substitute.
42779         * config.h.in (HAVE_INITFINI): Don't #undef.
42780         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
42781         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
42782
42783 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
42784
42785         Support crti.S and crtn.S provided directly by architectures.
42786         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
42787         [crti.S in sysdirs] (omit-deps): Likewise.
42788         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
42789         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
42790         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
42791         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
42792         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
42793         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
42794         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
42795         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
42796         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
42797         compiler output for sysdeps/generic/initfini.c.
42798         * sysdeps/i386/elf/Makefile: Remove file.
42799         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
42800
42801 2012-02-07  Marek Polacek  <polacek@redhat.com>
42802
42803         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
42804         * sysdeps/gnu/_G_config.h: Likewise.
42805         * sysdeps/mach/hurd/_G_config.h: Likewise.
42806
42807 2012-02-07  Marek Polacek  <polacek@redhat.com>
42808
42809         * math/Makefile (tests): Add tst-CMPLX2.
42810         * math/tst-CMPLX2.c: New file.
42811
42812 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
42813
42814         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42815
42816         * math/libm-test.inc (jn_test): Add missing L suffix.
42817
42818 2012-02-06  Marek Polacek  <polacek@redhat.com>
42819
42820         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
42821         * sysdeps/i386/fpu/e_powf.S: Likewise.
42822         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42823         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42824         * sysdeps/i386/fpu/e_acosh.S: Likewise.
42825         * sysdeps/i386/fpu/e_pow.S: Likewise.
42826         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42827         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42828         * sysdeps/i386/fpu/s_expm1.S: Likewise.
42829         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42830         * sysdeps/i386/fpu/e_log2.S: Likewise.
42831         * sysdeps/i386/fpu/e_log2l.S: Likewise.
42832         * sysdeps/i386/fpu/e_scalb.S: Likewise.
42833         * sysdeps/i386/fpu/e_powl.S: Likewise.
42834         * sysdeps/i386/fpu/s_log1p.S: Likewise.
42835         * sysdeps/i386/fpu/e_log10f.S: Likewise.
42836         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42837         * sysdeps/i386/fpu/e_logl.S: Likewise.
42838         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42839         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42840         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42841         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42842         * sysdeps/i386/fpu/e_log2f.S: Likewise.
42843         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42844         * sysdeps/i386/fpu/e_log.S: Likewise.
42845         * sysdeps/i386/fpu/s_cexp.S: Likewise.
42846         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42847         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42848         * sysdeps/i386/fpu/e_logf.S: Likewise.
42849         * sysdeps/i386/fpu/e_log10l.S: Likewise.
42850         * sysdeps/i386/fpu/e_atanh.S: Likewise.
42851         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42852         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42853         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42854         * sysdeps/i386/fpu/e_log10.S: Likewise.
42855         * sysdeps/i386/fpu/s_frexp.S: Likewise.
42856         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42857         * sysdeps/i386/fpu/s_asinh.S: Likewise.
42858         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42859         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42860         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42861         * sysdeps/i386/asm-syntax.h: Likewise.
42862         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42863         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42864         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42865         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42866         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42867         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42868         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42869         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42870         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42871         * sysdeps/powerpc/sysdep.h: Likewise.
42872         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42873         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42874
42875 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42876
42877         [BZ #411]
42878         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42879
42880 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42881
42882         * sysdeps/i386/sysdep.h: Include <features.h>.
42883         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42884         version.
42885
42886 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
42887
42888         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42889         Define.
42890         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42891         LOAD_PIC_REG_STR.
42892
42893 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42894
42895         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42896         (SETUP_PIC_REG): Use GET_PC_THUNK.
42897         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42898         macro.
42899
42900 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42901
42902         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42903         for non-PIC compilation.
42904         (SETUP_PIC_REG): Add .p2align directive.
42905         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42906         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42907         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42908         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42909         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42910         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42911         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42912         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42913         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42914         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42915         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42916         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42917         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42918         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42919         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42920         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42921         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42922         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42923         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42924         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42925         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42926         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42927         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42928         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42929         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42930         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42931         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42932         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42933         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42934         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42935         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42936         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42937         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42938         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42939         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42940         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42941         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42942         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42943         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42944         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42945         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42946
42947 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42948
42949         * math/tst-CMPLX.c: Include <stdio.h>.
42950
42951 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
42952
42953         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42954         float.
42955         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42956         * sysdeps/sparc/bits/mathdef.h: Likewise.
42957
42958 2012-01-31  Marek Polacek  <polacek@redhat.com>
42959
42960         * libio/libio.h: Don't define _PARAMS.
42961         * locale/programs/config.h: Don't define PARAMS.
42962         * stdlib/strtol_l.c: Likewise.
42963         (__strtol_l): Remove PARAMS from the prototype.
42964
42965 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
42966
42967         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
42968         names.  Just use the correct names.  Remove unnecessary wrapper
42969         functions.
42970         * malloc/arena.c: Likewise.
42971         * malloc/hooks.c: Likewise.
42972
42973         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42974         ARENA_TEST says not to.  Simplify test for creation of a new arena.
42975         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42976
42977 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
42978
42979         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42980         into tail calls.
42981         (update_get_addr): New function.
42982         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42983         GET_ADDR_MODULE parameter.
42984
42985 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
42986
42987         * crypt/cert.c: Remove __STDC__ conditionals.
42988         * crypt/crypt-entry.c: Likewise.
42989         * crypt/crypt_util.c: Likewise.
42990         * libio/filedoalloc.c: Likewise.
42991         * libio/fileops.c: Likewise.
42992         * libio/genops.c: Likewise.
42993         * libio/iofclose.c: Likewise.
42994         * libio/iofdopen.c: Likewise.
42995         * libio/iofopen.c: Likewise.
42996         * libio/iofopen64.c: Likewise.
42997         * libio/iogetdelim.c: Likewise.
42998         * libio/iopopen.c: Likewise.
42999         * libio/obprintf.c: Likewise.
43000         * libio/oldfileops.c: Likewise.
43001         * libio/oldiofclose.c: Likewise.
43002         * libio/oldiofdopen.c: Likewise.
43003         * libio/oldiofopen.c: Likewise.
43004         * libio/oldiopopen.c: Likewise.
43005         * libio/wfiledoalloc.c: Likewise.
43006         * libio/wgenops.c: Likewise.
43007         * locale/programs/xmalloc.c: Likewise.
43008         * misc/syslog.c: Likewise.
43009         * stdio-common/xbug.c: Likewise.
43010         * string/memchr.c: Likewise.
43011         * string/memcmp.c: Likewise.
43012         * string/memrchr.c: Likewise.
43013         * string/rawmemchr.c: Likewise.
43014         * sysdeps/posix/getcwd.c: Likewise.
43015         * time/strftime_l.c: Likewise.
43016
43017 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
43018
43019         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
43020         * config.make.in (config-cflags-sse2avx): Define.
43021         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
43022         Fix typo.
43023
43024 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
43025
43026         * scripts/config.guess: Update from upstream config git repository.
43027         * scripts/config.sub: Likewise.
43028
43029 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
43030
43031         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
43032         (EM_NUM): Update.
43033         (R_TILEPRO_*, R_TILEGX_*): New macros.
43034
43035         * scripts/firstversions.awk: Fix bug in version range handling.
43036
43037         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
43038
43039         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
43040
43041         * include/sys/epoll.h: New file.
43042         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
43043         libc_hidden_def.
43044
43045 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
43046
43047         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
43048         Avoid unnecessary __WORDSIZE == 64 test.
43049         (fmaxf): Use VEX format if possible.
43050         (fmax): Likewise.
43051         (fminf): Likewise.
43052         (fmin): Likewise.
43053
43054         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
43055         * math/math_private.h: Remove libc_fegetround* and
43056         libc_fesetround*.
43057         * sysdeps/i386/configure.in: Check for -msse2avx.
43058         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
43059         also if SSE2AVX is defined.
43060         Remove libc_fegetround* and libc_fesetround*.
43061         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
43062         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
43063         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
43064         of HAS_YMM_USABLE.
43065         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43066         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43067         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43068         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43069         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43070
43071         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
43072
43073 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43074
43075         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
43076         size is not set.
43077         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43078
43079 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
43080
43081         [BZ #13618]
43082         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
43083         relocation.
43084         * Makeconfig (libm): Define.
43085         * elf/Makefile: Add rules to build and run tst-relsort1.
43086         * elf/tst-relsort1.c: New file.
43087         * elf/tst-relsort1mod1.c: New file.
43088         * elf/tst-relsort1mod2.c: New file.
43089
43090 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
43091
43092         * math/s_ldexp.c: Remove __STDC__ conditionals.
43093         * math/s_ldexpf.c: Likewise.
43094         * math/s_ldexpl.c: Likewise.
43095         * math/s_nextafter.c: Likewise.
43096         * math/s_nexttowardf.c: Likewise.
43097         * math/s_significand.c: Likewise.
43098         * math/s_significandf.c: Likewise.
43099         * math/s_significandl.c: Likewise.
43100         * math/w_jnl.c: Likewise.
43101         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
43102         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
43103         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
43104         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
43105         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
43106         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43107         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
43108         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43109         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43110         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43111         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43112         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43113         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43114         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
43115         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43116         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43117         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43118         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43119         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43120         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43121         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43122         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43123         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43124         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43125         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43126         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43127         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43128         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43129         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
43130         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43131         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43132         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
43133         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43134         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
43135         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
43136         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43137         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43138         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43139         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43140         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43141         * sysdeps/ieee754/k_standard.c: Likewise.
43142         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43143         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43144         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43145         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43146         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43147         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43148         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43149         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43150         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43151         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43152         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43153         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43154         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43155         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43156         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43157         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43158         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43159         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43160         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43161         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43162         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43163         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43164         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43165         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43166         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43167         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43168         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43169         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43170         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43171         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43172         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43173         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
43174         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43175         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43176         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43177         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43178         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
43179         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43180         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43181         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
43182         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
43183         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43184         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
43185         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
43186         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43187         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
43188         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
43189         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43190         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43191         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
43192         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
43193         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43194         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43195         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43196         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43197         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43198         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
43199         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43200         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43201         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43202         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43203         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43204         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43205         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43206         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43207         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43208         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43209         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43210         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43211         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43212         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43213         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43214         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43215         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43216         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43217         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43218         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43219         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43220         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43221         * sysdeps/ieee754/s_matherr.c: Likewise.
43222         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43223         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43224         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43225         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43226
43227 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
43228
43229         * crypt/md5.h: Remove __STDC__ conditionals.
43230         * libio/libioP.h: Likewise.
43231         * locale/programs/config.h: Likewise.
43232         * sysdeps/generic/sysdep.h: Likewise.
43233         * sysdeps/i386/asm-syntax.h: Likewise.
43234         * sysdeps/s390/asm-syntax.h: Likewise.
43235         * sysdeps/unix/sysdep.h: Likewise.
43236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43238
43239 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
43240
43241         * libio/libio.h: Remove __STDC__ conditionals.
43242         * malloc/obstack.h: Likewise.
43243         * math/complex.h: Likewise.
43244         * math/math.h: Likewise.
43245         * sysdeps/generic/_G_config.h: Likewise.
43246         * sysdeps/gnu/_G_config.h: Likewise.
43247         * sysdeps/mach/hurd/_G_config.h: Likewise.
43248         * sysdeps/powerpc/bits/mathdef.h: Likewise.
43249         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43250         * sysdeps/sparc/bits/mathdef.h: Likewise.
43251
43252 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
43253
43254         [BZ #13583]
43255         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
43256         Clean up HAS_* macros.
43257         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
43258         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
43259         possible.
43260         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
43261         HAS_AVX.
43262         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43263         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43264         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43265         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43266         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43267
43268 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
43269
43270         * elf/tst-unique3.cc (gets): Remove declaration.
43271         * elf/tst-unique3lib.cc (gets): Likewise.
43272         * elf/tst-unique3lib2.cc (gets): Likewise.
43273         * elf/tst-unique4.cc (gets): Likewise.
43274
43275 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
43276
43277         * include/stdio.h: Add C++ protection.  Add gets declarations and
43278         definitions.
43279         * debug/tst-chk1.c: Don't declare gets here.
43280         * stdio-common/tst-gets.c: Likewise.
43281
43282 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
43283
43284         * posix/glob: Remove directory.
43285
43286 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
43287
43288         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
43289
43290 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
43291
43292         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
43293         of the non-standard EPFNOSUPPORT.
43294
43295 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43296
43297         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
43298         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
43299         ANYWHERE set to 1 only on KERN_NO_SPACE error.
43300
43301 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
43302
43303         * wcsmbs/uchar.h: Test __STDC_VERSION__.
43304
43305 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
43306
43307         * nscd/aicache.c (addhstaiX): Do not cache negative results of
43308         transient errors.
43309         * nscd/grpcache.c (cache_addgr): Likewise.
43310         * nscd/hstcache.c (cache_addhst): Likewise.
43311         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43312         * nscd/pwdcache.c (cache_addpw): Likewise.
43313         * nscd/servicescache.c (cache_addserv): Likewise.
43314
43315 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
43316
43317         * malloc/malloc.c: Various cleanups.
43318         * malloc/hooks.c: Likewise.
43319
43320         * stdlib/Makefile (tests): Add bug-fmtmsg1.
43321         * stdlib/bug-fmtmsg1.c: New file.
43322
43323         * stdlib/fmtmsg.c (init): Add missing unlock.
43324         Patch by Peng Haitao <penght@cn.fujitsu.com>.
43325
43326 2012-01-12  Marek Polacek  <polacek@redhat.com>
43327
43328         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
43329         and _GNU_SOURCE.
43330
43331 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
43332
43333         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
43334         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
43335         macro to ensure uniqueness of label name.
43336         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43337         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43338
43339 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
43340
43341         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
43342
43343         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
43344         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43345         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43346         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
43347
43348 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
43349
43350         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
43351
43352         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
43353         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43354         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43355
43356         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
43357
43358         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
43359         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43360         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43361         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
43362
43363         * math/bits/math-finite.h: Add ldexp support.
43364
43365 2012-01-10  Marek Polacek  <polacek@redhat.com>
43366
43367         * locale/programs/localedef.h (show_archive_content): Add noreturn
43368         attribute.
43369
43370 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
43371
43372         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
43373
43374 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
43375
43376         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
43377
43378         * io/Makefile (headers): Add bits/poll2.h.
43379
43380 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
43381
43382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
43383         typo #include statement.
43384
43385 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
43386
43387         * include/sys/cdefs.h: Define __attribute_alloc_size.
43388         * catgets/gencat.c: Add alloc_size attribute and apply consistently
43389         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
43390         * elf/pldd.c: Likewise.
43391         * iconv/iconv_charmap.c: Likewise.
43392         * iconv/iconvconfig.c: Likewise.
43393         * iconv/strtab.c: Likewise.
43394         * locale/programs/locale.c: Likewise.
43395         * locale/programs/localedef.h: Likewise.
43396         * locale/programs/simple-hash.c: Likewise.
43397         * nscd/nscd.h: Likewise.
43398         * nss/makedb.c: Likewise.
43399         * sysdeps/generic/ldconfig.h: Likewise.
43400         * locale/programs/localedef.c: Remove xmalloc prototype.
43401         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
43402
43403 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
43404
43405         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
43406         appropriate.
43407
43408 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
43409
43410         * math/Makefile (tests): Add tst-CMPLX.
43411         * math/tst-CMPLX.c: New file.
43412
43413         * math/complex.h (CMPLXL): Fix typo.
43414
43415         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
43416         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
43417         GLIBC_2.16.
43418         * debug/tst-chk1.c: Add poll and ppoll tests.
43419         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
43420         * include/sys/poll.h: Add hidden proto for ppoll.
43421         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
43422         * sysdeps/mach/hurd/ppoll.c: Likewise.
43423         * io/ppoll.c: Likewise.
43424         * debug/poll_chk.c: New file.
43425         * debug/ppoll_chk.c: New file.
43426         * include/bits/poll2.h: New file.
43427         * io/bits/poll2.h: New file.
43428
43429         [BZ #1350]
43430         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
43431
43432         * configure.in: static is always set to yes.  Remove.
43433         * config.make.in: Don't set build-static.
43434         * Makeconfig: Remove use of build-static.
43435         * dlfcn/Makefile: Likewise.
43436         * elf/Makefile: Likewise.
43437         * math/Makefile: Likewise.
43438         * misc/Makefile: Likewise.
43439         * nptl/Makefile: Likewise.
43440         * sysdeps/mach/hurd/Makefile: Likewise.
43441
43442         * configure.in: PWD_P is not used anymore.
43443         * config.make.in: Remove PWD_P entry.
43444
43445         * configure.in: Remove last remnants of RANLIB.
43446         No need to check for signed size_t anymore.
43447         Don't set libc_commonpagesize and libc_relro_required here for Alpha
43448         and IA-64.
43449         Remove __builtin_expect test because we require at least gcc 3.4.
43450         * aclocal.m4: Likewise.
43451
43452         * wcsmbs/mbrtoc16.c: Implement using towc function.
43453         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
43454         * wcsmbs/wcsmbsload.c: Likewise.
43455         * iconv/gconv_simple.c: Likewise.
43456         * iconv/gconv_int.h: Likewise.
43457         * iconv/gconv_builtin.h: Likewise.
43458         * iconv/iconv_prog.c: Remove CHAR16 handling.
43459
43460         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
43461
43462         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
43463
43464         * configure.in: Remove --with-elf and --enable-bounded options.
43465         Dont set base_machine for ia64.  More non-ELF conditions removed.
43466         Remove testing and setting of leading underscore information.
43467         * config.make.in (build-bounded): Set to no.
43468         * config.h.in: Remove NO_UNDERSCORES entry.
43469         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
43470         them.
43471         * csu/start.c: Remove !NO_UNDERSCORE code.
43472         * locale/localeinfo.h: Likewise.
43473         * sysdeps/generic/machine-gmon.h: Likewise.
43474         * sysdeps/generic/sysdep.h: Likewise.
43475         * sysdeps/i386/sysdep.h: Likewise.
43476         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43477         * sysdeps/mach/sysdep.h: Likewise.
43478         * sysdeps/s390/s390-32/sysdep.h: Likewise.
43479         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43480         * sysdeps/sh/sysdep.h: Likewise.
43481         * sysdeps/sparc/sparc32/alloca.S: Likewise.
43482         * sysdeps/unix/i386/sysdep.S: Likewise.
43483         * sysdeps/unix/sparc/start.c: Likewise.
43484         * sysdeps/unix/sparc/sysdep.S: Likewise.
43485         * sysdeps/unix/sparc/sysdep.h: Likewise.
43486         * sysdeps/unix/start.c: Likewise.
43487         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43488         * sysdeps/x86_64/sysdep.h: Likewise.
43489
43490 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
43491
43492         [BZ #13553]
43493         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
43494         for non-gcc.
43495         * argp/argp-fmtstream.h: Use const instead __const.
43496         * argp/argp.h: Likewise.
43497         * assert/assert.h: Likewise.
43498         * bits/fenv.h: Likewise.
43499         * bits/sched.h: Likewise.
43500         * bits/sigset.h: Likewise.
43501         * bits/sigthread.h: Likewise.
43502         * catgets/nl_types.h: Likewise.
43503         * conform/data/pthread.h-data: Likewise.
43504         * crypt/crypt-private.h: Likewise.
43505         * crypt/crypt.h: Likewise.
43506         * crypt/crypt_util.c: Likewise.
43507         * ctype/ctype.h: Likewise.
43508         * debug/execinfo.h: Likewise.
43509         * debug/mbsnrtowcs_chk.c: Likewise.
43510         * debug/mbsrtowcs_chk.c: Likewise.
43511         * debug/wcsnrtombs_chk.c: Likewise.
43512         * debug/wcsrtombs_chk.c: Likewise.
43513         * debug/wcstombs_chk.c: Likewise.
43514         * dirent/dirent.h: Likewise.
43515         * dlfcn/dlfcn.h: Likewise.
43516         * elf/neededtest4.c: Likewise.
43517         * grp/grp.h: Likewise.
43518         * gshadow/gshadow.h: Likewise.
43519         * iconv/gconv.h: Likewise.
43520         * iconv/gconv_int.h: Likewise.
43521         * iconv/gconv_simple.c: Likewise.
43522         * iconv/iconv.h: Likewise.
43523         * iconv/loop.c: Likewise.
43524         * iconv/skeleton.c: Likewise.
43525         * include/aio.h: Likewise.
43526         * include/aliases.h: Likewise.
43527         * include/argz.h: Likewise.
43528         * include/arpa/inet.h: Likewise.
43529         * include/assert.h: Likewise.
43530         * include/dirent.h: Likewise.
43531         * include/dlfcn.h: Likewise.
43532         * include/execinfo.h: Likewise.
43533         * include/fcntl.h: Likewise.
43534         * include/fenv.h: Likewise.
43535         * include/glob.h: Likewise.
43536         * include/grp.h: Likewise.
43537         * include/libintl.h: Likewise.
43538         * include/mntent.h: Likewise.
43539         * include/netdb.h: Likewise.
43540         * include/pwd.h: Likewise.
43541         * include/rpc/netdb.h: Likewise.
43542         * include/sched.h: Likewise.
43543         * include/search.h: Likewise.
43544         * include/shadow.h: Likewise.
43545         * include/signal.h: Likewise.
43546         * include/stdio.h: Likewise.
43547         * include/stdlib.h: Likewise.
43548         * include/string.h: Likewise.
43549         * include/sys/socket.h: Likewise.
43550         * include/sys/stat.h: Likewise.
43551         * include/sys/statfs.h: Likewise.
43552         * include/sys/statvfs.h: Likewise.
43553         * include/sys/syslog.h: Likewise.
43554         * include/sys/time.h: Likewise.
43555         * include/sys/uio.h: Likewise.
43556         * include/time.h: Likewise.
43557         * include/unistd.h: Likewise.
43558         * include/utmp.h: Likewise.
43559         * include/wchar.h: Likewise.
43560         * include/wctype.h: Likewise.
43561         * inet/aliases.h: Likewise.
43562         * inet/arpa/inet.h: Likewise.
43563         * inet/netinet/ether.h: Likewise.
43564         * inet/netinet/in.h: Likewise.
43565         * intl/libintl.h: Likewise.
43566         * io/bits/fcntl2.h: Likewise.
43567         * io/fcntl.h: Likewise.
43568         * io/ftw.h: Likewise.
43569         * io/sys/poll.h: Likewise.
43570         * io/sys/stat.h: Likewise.
43571         * io/sys/statfs.h: Likewise.
43572         * io/sys/statvfs.h: Likewise.
43573         * io/utime.h: Likewise.
43574         * libio/bits/stdio.h: Likewise.
43575         * libio/bits/stdio2.h: Likewise.
43576         * libio/libio.h: Likewise.
43577         * libio/libioP.h: Likewise.
43578         * libio/stdio.h: Likewise.
43579         * locale/lc-ctype.c: Likewise.
43580         * locale/locale.h: Likewise.
43581         * login/utmp.h: Likewise.
43582         * malloc/arena.c: Likewise.
43583         * malloc/malloc.c: Likewise.
43584         * malloc/malloc.h: Likewise.
43585         * malloc/mcheck.c: Likewise.
43586         * malloc/mtrace.c: Likewise.
43587         * math/bits/mathcalls.h: Likewise.
43588         * math/fenv.h: Likewise.
43589         * math/math_private.h: Likewise.
43590         * misc/bits/error.h: Likewise.
43591         * misc/bits/syslog.h: Likewise.
43592         * misc/err.h: Likewise.
43593         * misc/error.h: Likewise.
43594         * misc/fstab.h: Likewise.
43595         * misc/mntent.h: Likewise.
43596         * misc/regexp.h: Likewise.
43597         * misc/search.h: Likewise.
43598         * misc/sgtty.h: Likewise.
43599         * misc/sys/mman.h: Likewise.
43600         * misc/sys/syslog.h: Likewise.
43601         * misc/sys/uio.h: Likewise.
43602         * misc/sys/xattr.h: Likewise.
43603         * misc/ttyent.h: Likewise.
43604         * nis/rpcsvc/ypclnt.h: Likewise.
43605         * nss/nss.h: Likewise.
43606         * posix/bits/unistd.h: Likewise.
43607         * posix/fnmatch.h: Likewise.
43608         * posix/glob.h: Likewise.
43609         * posix/sched.h: Likewise.
43610         * posix/spawn.h: Likewise.
43611         * posix/sys/wait.h: Likewise.
43612         * posix/unistd.h: Likewise.
43613         * posix/wordexp.h: Likewise.
43614         * pwd/pwd.h: Likewise.
43615         * resolv/netdb.h: Likewise.
43616         * resource/sys/resource.h: Likewise.
43617         * rt/aio.h: Likewise.
43618         * rt/bits/mqueue2.h: Likewise.
43619         * rt/mqueue.h: Likewise.
43620         * shadow/shadow.h: Likewise.
43621         * signal/signal.h: Likewise.
43622         * socket/send.c: Likewise.
43623         * socket/sendto.c: Likewise.
43624         * socket/sys/socket.h: Likewise.
43625         * stdio-common/printf.h: Likewise.
43626         * stdlib/bits/stdlib.h: Likewise.
43627         * stdlib/fmtmsg.h: Likewise.
43628         * stdlib/monetary.h: Likewise.
43629         * stdlib/stdlib.h: Likewise.
43630         * stdlib/ucontext.h: Likewise.
43631         * streams/stropts.h: Likewise.
43632         * string/argz.h: Likewise.
43633         * string/bits/string2.h: Likewise.
43634         * string/string.h: Likewise.
43635         * string/strings.h: Likewise.
43636         * sunrpc/rpc/auth.h: Likewise.
43637         * sunrpc/rpc/auth_des.h: Likewise.
43638         * sunrpc/rpc/clnt.h: Likewise.
43639         * sunrpc/rpc/netdb.h: Likewise.
43640         * sunrpc/rpc/pmap_clnt.h: Likewise.
43641         * sunrpc/rpc/xdr.h: Likewise.
43642         * sysdeps/generic/inttypes.h: Likewise.
43643         * sysdeps/generic/net/if.h: Likewise.
43644         * sysdeps/generic/sys/swap.h: Likewise.
43645         * sysdeps/gnu/net/if.h: Likewise.
43646         * sysdeps/gnu/utmpx.h: Likewise.
43647         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
43648         * sysdeps/i386/i486/bits/string.h: Likewise.
43649         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
43650         * sysdeps/s390/bits/string.h: Likewise.
43651         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
43652         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
43653         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
43654         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
43655         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
43656         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
43657         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
43658         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
43659         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
43660         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
43661         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
43662         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43663         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
43664         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43665         * sysdeps/unix/sysv/linux/readv.c: Likewise.
43666         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
43667         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43668         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43669         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
43670         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
43671         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43672         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
43673         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
43674         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
43675         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
43676         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
43677         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
43678         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43679         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
43680         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
43681         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
43682         * sysvipc/sys/ipc.h: Likewise.
43683         * sysvipc/sys/msg.h: Likewise.
43684         * sysvipc/sys/sem.h: Likewise.
43685         * sysvipc/sys/shm.h: Likewise.
43686         * termios/termios.h: Likewise.
43687         * time/sys/time.h: Likewise.
43688         * time/time.h: Likewise.
43689         * wcsmbs/bits/wchar2.h: Likewise.
43690         * wcsmbs/uchar.h: Likewise.
43691         * wcsmbs/wchar.h: Likewise.
43692         * wctype/wctype.h: Likewise.
43693
43694         [BZ #13551]
43695         * Makeconfig: Remove all but ELF support including AIX support.
43696         * Makerules: Likewise.
43697         * config.h.in: Likewise.
43698         * config.make.in: Likewise.
43699         * configure: Likewise.
43700         * configure.in: Likewise.
43701         * csu/Makefile: Likewise.
43702         * csu/version.c: Likewise.
43703         * debug/Makefile: Likewise.
43704         * dlfcn/Makefile: Likewise.
43705         * elf/Makefile: Likewise.
43706         * extra-lib.mk: Likewise.
43707         * iconv/Makefile: Likewise.
43708         * include/libc-symbols.h: Likewise.
43709         * include/shlib-compat.h: Likewise.
43710         * resolv/Makefile: Likewise.
43711         * resolv/res_libc.c: Likewise.
43712         * rt/Makefile: Likewise.
43713         * sysdeps/i386/asm-syntax.h: Likewise.
43714         * sysdeps/i386/sysdep.h: Likewise.
43715         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43716         * sysdeps/mach/sysdep.h: Likewise.
43717         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
43718         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
43719         * sysdeps/s390/asm-syntax.h: Likewise.
43720         * sysdeps/s390/s390-32/sysdep.h: Likewise.
43721         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43722         * sysdeps/sh/sysdep.h: Likewise.
43723         * sysdeps/unix/sparc/sysdep.h: Likewise.
43724         * sysdeps/wordsize-32/divdi3.c: Likewise.
43725         * sysdeps/x86_64/sysdep.h: Likewise.
43726
43727         * argp/Versions: Remove _argp_unlock_xxx.
43728
43729         [BZ #13559]
43730         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
43731         * abilist/libBrokenLocale.abilist: Likewise.
43732         * abilist/libanl.abilist: Likewise.
43733         * abilist/libc.abilist: Likewise.
43734         * abilist/libcrypt.abilist: Likewise.
43735         * abilist/libdl.abilist: Likewise.
43736         * abilist/libm.abilist: Likewise.
43737         * abilist/libnsl.abilist: Likewise.
43738         * abilist/libpthread.abilist: Likewise.
43739         * abilist/libresolv.abilist: Likewise.
43740         * abilist/librt.abilist: Likewise.
43741         * abilist/libthread_db.abilist: Likewise.
43742         * abilist/libutil.abilist: Likewise.
43743         * abilist/libnss_db.abilist: New file.
43744
43745         * scripts/abilist.awk: Add support for indirect functions.
43746
43747         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
43748
43749         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
43750
43751         * shlib-versions: Remove entries for ports architectures.
43752
43753         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
43754         files in ports.
43755         * elf/stackguard-macros.h: Remove support for IA-64.
43756         * elf/tst-auditmod1.c: Likewise.
43757         * sysdeps/generic/ldsodefs.h: Likewise.
43758
43759         * sysdeps/unix/sysv/linux/configure.in: Ports should define
43760         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
43761         configure files.
43762
43763         [BZ #13552]
43764         * configure.in: Remove --enable-omitfp support.
43765         * FAQ.in: Adjust.
43766         * config.make.in: Likewise.
43767         * Makeconfig: Likewise.
43768         * manual/install.texi: Likewise.
43769
43770         In case anyone cares, the IA-64 architecture could move to ports.
43771         * sysdeps/ia64/*: Removed.
43772         * sysdeps/unix/sysv/linux/ia64/*: Removed.
43773         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
43774
43775         [BZ #13555]
43776         * configure.in: Remove entries for unsupported architectures.
43777
43778         [BZ #13533]
43779         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
43780         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
43781         routines.
43782         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
43783         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
43784         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
43785         fall back to using wcrtomb.
43786         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
43787         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
43788         renaming.
43789         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
43790         * wcsmbs/tst-c16c32-1.c: New file.
43791
43792         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
43793         local variable.
43794
43795         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
43796
43797         * elf/tst-unique3.cc: Add explicit declaration of gets.
43798         * elf/tst-unique3lib.cc: Likewise.
43799         * elf/tst-unique3lib2.cc: Likewise.
43800         * elf/tst-unique4.cc: Likewise.
43801
43802         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
43803
43804 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
43805
43806         [BZ #13566]
43807         * assert/assert.h (static_assert): Don't define for C++.
43808         * libio/stdio.h (gets): Do declare for C++ <= C++11.
43809         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
43810
43811 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
43812
43813         * iconv/loop.c (single loop): Fix assertion in storing of
43814         remaining bytes.
43815
43816         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
43817
43818 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
43819
43820         * posix/getconf.c: Update copyright year.
43821         * nss/getent.c: Likewise.
43822         * nss/makedb.c: Likewise.
43823         * iconv/iconvconfig.c: Likewise.
43824         * iconv/iconv_prog.c: Likewise.
43825         * elf/ldconfig.c: Likewise.
43826         * elf/pldd.c: Likewise.
43827         * elf/sotruss.ksh: Likewise.
43828         * catgets/gencat.c: Likewise.
43829         * csu/version.c: Likewise.
43830         * elf/ldd.bash.in: Likewise.
43831         * elf/sprof.c (print_version): Likewise.
43832         * locale/programs/locale.c: Likewise.
43833         * locale/programs/localedef.c: Likewise.
43834         * login/programs/pt_chown.c: Likewise.
43835         * nscd/nscd.c (print_version): Likewise.
43836         * debug/xtrace.sh: Likewise.
43837         * malloc/memusage.sh: Likewise.
43838         * malloc/mtrace.pl: Likewise.
43839         * debug/catchsegv.sh: Likewise.
43840
43841 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
43842
43843         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43844         pure attribute.
43845
43846 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
43847
43848         [BZ #13533]
43849         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43850         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43851         transformations.
43852         * iconv/gconv_int.h: Likewise.
43853         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43854         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43855         from libc for GLIBC_2.16.
43856         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43857         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43858         * wcsmbs/uchar.h: Really define mbstate_t.
43859         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43860         * wcsmbs/c16rtomb.c: New file.
43861         * wcsmbs/mbrtoc16.c: New file.
43862         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43863         for C/POSIX locale.
43864         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43865         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43866
43867         * wcsmbs/wchar.h: Add missing __restrict.
43868
43869 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
43870
43871         [BZ #13532]
43872         * time/Makefile (routines): Add timespec_get.
43873         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43874         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
43875         timespec for ISO C11.
43876         * time/timespec_get.c: New file.
43877         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43878         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43879
43880         [BZ #13531]
43881         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43882         * stdlib/stdlib.h: Declare aligned_alloc.
43883         * Versions.def: Add GLIBC_2.16 for libc.
43884         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43885
43886         [BZ 13527]
43887         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43888         ISO C11.
43889
43890         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
43891         code.
43892
43893         [BZ #13528]
43894         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43895
43896         [BZ #13529]
43897         * assert/assert.h (static_assert): Define.
43898
43899         * version.h: Update for 2.16 development version.
43900
43901         [BZ #13526]
43902         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43903         _ISOC11_SOURCE.
43904
43905         * version.h (RELEASE): Bump for 2.15 release.
43906         * include/features.h (__GLIBC_MINOR__): Bump to 15.
43907
43908         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
43909         Patch by Marek Polacek <mpolacek@redhat.com>.
43910
43911         * bits/byteswap.h: Protect long long constants with __extension__.
43912         * sysdeps/i386/bits/byteswap.h: Likewise.
43913         * sysdeps/ia64/bits/byteswap.h: Likewise.
43914         * sysdeps/s390/bits/byteswap.h: Likewise.
43915         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43916
43917 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43918
43919         [BZ #13540]
43920         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43921         destination buffer.
43922         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43923
43924 2011-12-23  Marek Polacek  <polacek@redhat.com>
43925
43926         * elf/dl-addr.c (determine_info): Add inline keyword.
43927         * elf/tst-auditmod4b.c (check_avx): Likewise.
43928         * elf/tst-auditmod6b.c (check_avx): Likewise.
43929         * elf/tst-auditmod6c.c (check_avx): Likewise.
43930         * elf/tst-auditmod7b.c (check_avx): Likewise.
43931
43932 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
43933
43934         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43935         !__SSE_MATH__.
43936
43937 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43938
43939         [BZ #13540]
43940         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43941         processing for last bytes.
43942
43943 2011-08-06  Bruno Haible  <bruno@clisp.org>
43944
43945         [BZ #13061]
43946         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43947         U+0385, not to U+1FEE.
43948
43949         [BZ #13062]
43950         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43951         entry for U+00A5 U+0301.
43952
43953 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
43954
43955         [BZ #13166]
43956         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43957         buffer for the output is too small.
43958
43959         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43960         optimization.
43961
43962         [BZ #13185]
43963         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43964         SSE flags if possible.
43965
43966 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43967
43968         [BZ #13540]
43969         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43970         processing for last bytes.
43971
43972 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
43973
43974         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43975         (syscall-list-default-options, syscall-list-default-condition)
43976         (syscall-list-includes): Define.
43977         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43978         list of ABIs and options and #if conditions for each ABI.  Do not
43979         handle common syscalls between ABIs specially.
43980         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43981         Remove.
43982         (syscall-list-variants, syscall-list-32bit-options)
43983         (syscall-list-32bit-condition, syscall-list-64bit-options)
43984         (syscall-list-64bit-condition): Define.
43985         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43986         (syscall-list-variants, syscall-list-32bit-options)
43987         (syscall-list-32bit-condition, syscall-list-64bit-options)
43988         (syscall-list-64bit-condition): Define.
43989         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43990         Remove.
43991         (syscall-list-variants, syscall-list-32bit-options)
43992         (syscall-list-32bit-condition, syscall-list-64bit-options)
43993         (syscall-list-64bit-condition): Define.
43994         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43995         Remove.
43996         (syscall-list-variants, syscall-list-32bit-options)
43997         (syscall-list-32bit-condition, syscall-list-64bit-options)
43998         (syscall-list-64bit-condition): Define.
43999
44000 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
44001
44002         * locale/iso-639.def: Add brx entry.
44003
44004         [BZ #13328]
44005         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
44006         Proposed by Mariusz_Cukr <marcukr@op.pl>.
44007
44008         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
44009         __feraiseexcept_renamed.
44010
44011 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
44012
44013         [BZ #13538]
44014         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
44015         EPOLLET with unsigned values.
44016         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44017         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
44018
44019         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
44020         to large cancellation.
44021         * math/s_cacoshf.c: Likewise.
44022         * math/s_cacoshl.c: Likewise.
44023
44024 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
44025
44026         [BZ #13305]
44027         [BZ #12786]
44028         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
44029         * math/s_cacoshf.c: Likewise.
44030         * math/s_cacoshl.c: Likewise.
44031
44032 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
44033
44034         [BZ #13439]
44035         * iconv/gconv.h: Define __GCONV_SWAP.
44036         * iconvdata/unicode.c: The swap bit must be stored in __flags.
44037         * iconvdata/utf-16.c: Likewise.
44038         * iconvdata/utf-32.c: Likewise.
44039
44040 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
44041
44042         [BZ #13524]
44043         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
44044         numerator after shifting it by one limb.
44045
44046 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
44047
44048         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
44049         under [__USE_EXTERN_INLINES].
44050
44051 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
44052
44053         [BZ #13446]
44054         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
44055
44056 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44057
44058         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
44059         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
44060         optimized code.
44061         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
44062         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
44063         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
44064         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
44065         for strncasecmp/strncasecmp_l compilation.
44066         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
44067         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
44068
44069 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
44070
44071         [BZ #13484]
44072         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
44073         of __asm__.
44074
44075 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
44076
44077         [BZ #13506]
44078         * time/tzfile.c (__tzfile_read): Check values from file header.
44079
44080 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
44081
44082         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
44083         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
44084         * powerpc/powerpc32/dl-start.S: Likewise.
44085         * powerpc/powerpc32/elf/start.S: Likewise.
44086         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
44087         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
44088         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
44089         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
44090         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
44091         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
44092         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
44093         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
44094         * powerpc/powerpc32/fpu/s_round.S: Likewise.
44095         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
44096         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
44097         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
44098         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
44099         * powerpc/powerpc32/memset.S: Likewise.
44100         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
44101         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
44102         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
44103         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
44104         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
44105         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
44106         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
44107         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
44108         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
44109         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
44110         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
44111         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44112         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44113
44114 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44115
44116         * math/libm-test.inc: Added more nearbyint tests.
44117         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
44118         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
44119         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
44120         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
44121
44122 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
44123
44124         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
44125         FD_CLOEXEC.
44126
44127 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44128
44129         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
44130         Add wcscpy-ssse3 wcscpy-c.
44131         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
44132         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
44133         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
44134         * sysdeps/x86_64/wcschr.S: New file.
44135         * sysdeps/x86_64/wcsrchr.S: New file.
44136         * string/test-strcmp.c: Remove checking of wcscmp function for
44137         wrong alignments.
44138         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
44139         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
44140         wcsrchr-sse2 wcsrchr-c.
44141         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
44142         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
44143         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
44144         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
44145         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
44146         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
44147         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
44148         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
44149         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
44150         * wcsmbc/wcschr.c (WCSCHR): New macro.
44151
44152 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44153
44154         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
44155         * wcsmbs/test-wcsrchr.c: New file.
44156         * string/test-strrchr.c: Add wcsrchr support.
44157         (WIDE): New macro.
44158         * wcsmbs/test-wcscpy.c: New file.
44159         * string/test-strcpy.c: Add wcscpy support.
44160         (WIDE): New macro.
44161
44162 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
44163
44164         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
44165         the inner loop.
44166
44167 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
44168
44169         [BZ #13472]
44170         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
44171
44172 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
44173
44174         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
44175         Minor optimizations.
44176
44177         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
44178         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
44179         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
44180
44181 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
44182
44183         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
44184         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
44185         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
44186         for gcc to avoid warnings.
44187         * inet/Makefile (tests): Add tst-checks.
44188         * inet/tst-checks.c: New file.
44189
44190         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
44191         warning.
44192
44193         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
44194         __wmemcmp_sse2.
44195
44196         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
44197         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
44198
44199         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
44200
44201 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
44202
44203         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
44204         problem.
44205
44206         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
44207
44208 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
44209
44210         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
44211         conditional on GCC version.
44212         (__arch_compare_and_exchange_val_8_acq)
44213         (__arch_compare_and_exchange_val_16_acq)
44214         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
44215         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
44216         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
44217
44218 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
44219
44220         * sysdeps/sh/backtrace.c: New file.
44221
44222 2011-12-02  Andreas Schwab  <schwab@redhat.com>
44223
44224         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
44225         parenthesis.
44226
44227 2011-12-01  Andreas Schwab  <schwab@redhat.com>
44228
44229         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
44230         falling back to utime.
44231
44232 2011-11-30  Andreas Schwab  <schwab@redhat.com>
44233
44234         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
44235         expectations for float.
44236
44237 2011-11-29  Andreas Schwab  <schwab@redhat.com>
44238
44239         * locale/weight.h (findidx): Add parameter len.
44240         * locale/weightwc.h (findidx): Likewise.
44241         * posix/fnmatch_loop.c (FCT): Adjust caller.
44242         * posix/regcomp.c (build_equiv_class): Likewise.
44243         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
44244         * posix/regexec.c (check_node_accept_bytes): Likewise.
44245         * string/strcoll_l.c (STRCOLL): Likewise.
44246         * string/strxfrm_l.c (STRXFRM): Likewise.
44247
44248 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
44249
44250         * Makefile.in: Remove CVSOPT handling.
44251         * configure.in: Remove use of AC_REVISION.
44252         * iconvdata/Makefile (distribute): No need to filter out CVS.
44253         * scripts/list-sources.sh: Remove CVS, subversion and monotone
44254         handling.
44255
44256 2011-11-16  Andreas Schwab  <schwab@redhat.com>
44257
44258         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
44259         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
44260         [USE_AS_STRNCASECMP_L]: Likewise.
44261         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
44262         NO_TLS_DIRECT_SEG_REFS.
44263         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
44264         Fix argument offsets for non-PIC.
44265         [USE_AS_STRNCASECMP_L]: Likewise.
44266         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
44267         NO_TLS_DIRECT_SEG_REFS.
44268
44269 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
44270
44271         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
44272         O_CLOEXEC.
44273         * locale/loadlocale.c (_nl_load_locale): Likewise.
44274
44275 2011-11-15  Andreas Schwab  <schwab@redhat.com>
44276
44277         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
44278         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
44279         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
44280         (SYSCALL_GETTIME): Set errno on error.
44281
44282         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
44283         count references to noai6ai_cached.
44284
44285 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
44286
44287         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
44288
44289         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
44290         FD_CLOEXEC for /proc/self/maps.
44291
44292         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
44293         FD_CLOEXEC for /proc/meminfo.
44294
44295         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
44296         gai.conf.
44297
44298         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
44299         FD_CLOEXEC for given file.
44300
44301         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
44302
44303         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
44304         FD_CLOEXEC for /etc/hosts.
44305         (_gethtent): Likewise.
44306
44307         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
44308
44309         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
44310         cancellation and set FD_CLOEXEC for /etc/netgroup.
44311
44312         * nss/nss_files/files-key.c (search): Don't allow cancellation when
44313         reading /etc/publickey.
44314
44315         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
44316         allow cancellation when reading /etc/group.
44317
44318         * nss/nss_files/files-alias.c (internal_setent): Don't allow
44319         cancellation.
44320         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
44321
44322         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
44323         when using data file.
44324
44325         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
44326
44327         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
44328         (write_nis_obj): Use "c" and "e" in fopen.
44329
44330         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
44331
44332         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
44333
44334         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
44335
44336         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
44337
44338         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
44339         locale.alias.
44340
44341         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
44342
44343         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
44344
44345         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
44346
44347         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
44348         file parsing and set FD_CLOEXEC.
44349
44350 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
44351
44352         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
44353
44354 2011-11-14  Andreas Schwab  <schwab@redhat.com>
44355
44356         * malloc/arena.c (arena_get2): Don't call reused_arena when
44357         _int_new_arena failed.
44358
44359 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
44360
44361         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
44362         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
44363         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
44364         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44365         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44366         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
44367         to compile strcasecmp and strncasecmp.
44368         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
44369         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
44370
44371         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
44372
44373 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
44374
44375         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
44376         locale-defines.sym to gen-as-const-headers.
44377         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
44378         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
44379         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
44380         to compile strcasecmp and strncasecmp.
44381         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
44382         strcasecmp_l and strncasecmp_l.
44383         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
44384         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
44385         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
44386         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
44387         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
44388         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
44389         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
44390         * sysdeps/i386/i686/multiarch/strncase.S: New file.
44391         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
44392         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
44393         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
44394
44395 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
44396
44397         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
44398         result of SYSDEP_GETTIME_CPU to retval.
44399         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
44400         parameter list to macro.  Remove trailing semicolon.  Adjust users.
44401
44402         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
44403         variable.
44404
44405         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
44406         mantissa words.
44407         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
44408
44409         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
44410         from unused variable.
44411
44412         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
44413         DWARF definitions.
44414         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
44415         for assembling.
44416
44417         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
44418         over namespaces.
44419
44420         * sunrpc/rpc_prot.c (rejected): Fix case value.
44421
44422         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
44423         unsigned long long int to avoid warnings in shift.
44424
44425         * posix/regex_internal.c (re_string_reconstruct): Actually use result
44426         of use of trans.
44427         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
44428         variable tmp.
44429
44430         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
44431         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
44432         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
44433
44434         * nis/nis_table.c (nis_list): Use variable of correct type for
44435         result of __follow_path call.
44436
44437 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44438
44439         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
44440         of math functions ceil, trunc, floor, round, and sqrt, when
44441         avaliable on the platform.
44442         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
44443         name clash.
44444         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44445         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44446         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44447
44448 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
44449
44450         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
44451         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
44452
44453 2011-11-11  Roland McGrath  <roland@hack.frob.com>
44454
44455         * include/unistd.h: Fix __readlink return type.
44456         Reported by Chris Metcalf <cmetcalf@tilera.com>.
44457
44458 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
44459
44460         * stdlib/ucontext.h: Undo last change for makecontext.
44461
44462 2011-11-11  Andreas Schwab  <schwab@redhat.com>
44463
44464         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
44465
44466         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
44467         * setjmp/setjmp.h: Mark functions as non-leaf.
44468         * setjmp/bits/setjmp2.h: Likewise.
44469         * stdlib/ucontext.h: Likewise.
44470
44471 2011-11-10  Andreas Schwab  <schwab@redhat.com>
44472
44473         * malloc/arena.c (_int_new_arena): Don't increment narenas.
44474         (reused_arena): Don't check arena limit.
44475         (arena_get2): Atomically check arena limit.
44476
44477 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
44478
44479         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
44480         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
44481
44482         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
44483         instructions.
44484
44485 2011-11-07  Andreas Schwab  <schwab@redhat.com>
44486
44487         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
44488         handler when locking.
44489
44490         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44491         Fix size of allocated buffer.
44492
44493 2011-11-04  Andreas Schwab  <schwab@redhat.com>
44494
44495         [BZ #10103]
44496         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
44497         declarations for long double functions.
44498         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
44499
44500         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
44501
44502 2011-11-03  Andreas Schwab  <schwab@redhat.com>
44503
44504         * nscd/nscd.c (main): Don't start AVC thread until credentials are
44505         installed.
44506
44507         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
44508         is disabled.
44509
44510 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44511
44512         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
44513
44514 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
44515
44516         * include/alloca.h (stackinfo_alloca_round): Define.
44517         (extend_alloca): Use it.
44518         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
44519         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
44520         here.
44521
44522         * scripts/check-local-headers.sh: Ignore libaudit.h.
44523
44524         * nscd/Makefile (extra-objs): Make recursively expanded.
44525
44526 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
44527
44528         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
44529         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44530
44531         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
44532         * posix/tst-rfc3484-2.c: Likewise.
44533         * posix/tst-rfc3484-3.c: Likewise.
44534
44535         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44536         process_vm_writev.
44537         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
44538         process_vm_writev.
44539         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
44540         process_vm_writev from libc using GLIBC_2.15 version.
44541
44542         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
44543
44544 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
44545
44546         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
44547         stack usage.
44548
44549 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
44550
44551         [BZ #13367]
44552         * nss/getent.c (initgroups_keys): Show error message in case no group
44553         names are given.
44554
44555         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
44556         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
44557         __bump_nl_timestamp.
44558         * nscd/connections (nscd_init): When host database is served open
44559         netlink socket and request notification about configuration changes.
44560         (main_loop_poll): Track netlink file descriptor and bump timestamp
44561         in case data becomes available.
44562         (main_loop_epoll): Likewise.
44563         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
44564         (database_pers_head): Add extra_data fileds.
44565         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
44566         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
44567         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
44568         Adjust caller.
44569         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
44570         in6ai data, call __free_in6ai.
44571         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
44572         Add -DHAVE_NETLINK.
44573         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
44574         interface information.  Reuse previous data if netlink timestamp
44575         is not changed.
44576         (__bump_nl_timestamp): New function.
44577         (__free_in6ai): New function.
44578
44579 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
44580
44581         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
44582         close_not_cancel_no_status here.
44583         (__check_pf): Reorganize code a bit to not call close twice if OOM.
44584
44585 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
44586
44587         [BZ #13276]
44588         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
44589         return value.
44590
44591         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
44592         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
44593         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
44594
44595 2011-07-03  Andreas Jaeger  <aj@suse.de>
44596
44597         [BZ #10709]
44598         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
44599         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
44600         * math/libm-test.inc (sin_test): Add test case.
44601
44602 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
44603
44604         [BZ #13337]
44605         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
44606         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44607
44608         * elf/chroot_canon.c (chroot_canon): Cleanups.
44609
44610         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
44611
44612         [BZ #13335]
44613         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
44614         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44615
44616         * string/test-strchr.c: Make usable for strchrnul testing.
44617         * string/test-strchrnul.c: New file.
44618         * string/Makefile (strop-tests): Add strchrnul.
44619
44620         * po/it.po: Update from translation team.
44621         * po/es.po: Likewise.
44622
44623 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
44624
44625         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
44626         the three constants needed as parameters.  Drop the others.
44627         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
44628         __m128i_strloadu_tolower.
44629         Create and initialize variable zero and use it in all the places
44630         where _mm_setzero_si128 was used.
44631
44632         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
44633         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
44634         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
44635         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
44636         anymore.
44637         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
44638         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
44639         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
44640         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
44641         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
44642         __mpranred, __mptan.
44643         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
44644         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
44645         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
44646         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
44647         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
44648         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
44649         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
44650         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
44651         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
44652
44653 2011-10-28  Andreas Schwab  <schwab@redhat.com>
44654
44655         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
44656         redefine if SHARED.
44657         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
44658
44659         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
44660         wide char related routines to wcsmbs subdir.
44661
44662 2011-10-27  Andreas Schwab  <schwab@redhat.com>
44663
44664         [BZ #13344]
44665         * misc/sys/cdefs.h (__THROWNL): Define.
44666         * posix/unistd.h: Use __THREADNL instead of __THREAD
44667         for memory synchronization functions.
44668
44669 2011-10-26  Roland McGrath  <roland@hack.frob.com>
44670
44671         [BZ #13349]
44672         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
44673         doesn't exist.
44674         * manual/stdio.texi (Obstack Streams): Node removed.
44675
44676 2011-10-26  Andreas Schwab  <schwab@redhat.com>
44677
44678         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
44679         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44680         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44681
44682         * math/math_private.h (math_force_eval): Allow non-addressable
44683         arguments.
44684         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
44685
44686 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44687
44688         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
44689         file is not needed.
44690
44691         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
44692         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
44693         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44694         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44695         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44696         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44697         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44698         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
44699         Add AVX variants.
44700         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
44701         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
44702         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
44703         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
44704         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
44705         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
44706         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
44707         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
44708         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
44709         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
44710         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
44711         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
44712         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
44713         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
44714         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
44715         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
44716         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
44717         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
44718         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
44719
44720         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
44721         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
44722
44723         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
44724         place.  Use VEX encoding when compiling for AVX.
44725
44726 2011-10-25  Andreas Schwab  <schwab@redhat.com>
44727
44728         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
44729         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44730
44731         * string/test-strchr.c (do_test): Don't generate NUL bytes.
44732
44733 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44734
44735         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
44736         useless if() expression.
44737         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44738         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44739         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44740         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44741         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44742         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44743         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44744         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44745         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44746         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44747         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44748         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44749         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44750         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44751         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44752         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44753         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44754         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44755         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44756
44757         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
44758
44759 2011-10-25  Andreas Schwab  <schwab@redhat.com>
44760
44761         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
44762         condition.
44763         * elf/dl-fini.c (_dl_sort_fini): Likewise.
44764
44765 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44766
44767         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
44768         .text section.  Avoid duplicate constants.
44769         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44770         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44771         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44772         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44773         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44774         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44775         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44776         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44777         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44778         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
44779         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44780         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
44781         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
44782         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
44783         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
44784         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
44785         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
44786         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44787         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44788         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44789         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44790         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44791         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44792         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
44793         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
44794         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
44795         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
44796         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
44797         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
44798         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
44799         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
44800         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
44801         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44802         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
44803         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
44804         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
44805         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
44806         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
44807         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
44808         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
44809         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
44810         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
44811         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
44812         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
44813         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
44814
44815 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
44816
44817         * sysdeps/x86_64/dla.h: Move to ...
44818         * sysdeps/x86_64/fpu/dla.h: ...here.
44819         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
44820         situations.  Use __builtin_fma only for gcc 4.6 and up.
44821
44822         * config.make.in: Add have-mfma4 entry.
44823         * configure.in: Substitute libc_cv_cc_fma4.
44824         * math/Makefile (dbl-only-routines): Add sincostab.
44825         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
44826         Use __sincostab not sincos.
44827         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
44828         name is a macro.
44829         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44830         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44831         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44832         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
44833         using __copysign.
44834         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
44835         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
44836         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44837         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44838         and __inv.
44839         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44840         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44841         __copysign.
44842         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
44843         define aliases when function name is a macro.
44844         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44845         sysdeps/ieee754/dbl-64/sincos.tbl.
44846         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44847         fma4-enabled routines.
44848         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44849         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44850         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44851         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44852         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44853         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44854         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44855         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44856         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44857         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44858         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44859         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44860         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44861         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44862         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44863         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44864         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44865         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44866         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44867         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44868         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44869         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44870         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44871         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44872         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44873         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44874         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44875         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44876         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44877         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44878
44879         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44880         rename.
44881         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44882         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44883         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44884         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44885         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44886         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44887         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44888         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44889
44890 2011-10-24  Andreas Schwab  <schwab@redhat.com>
44891
44892         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44893
44894 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44895
44896         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44897
44898         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44899         prediction.
44900         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44901
44902         * string/strnlen.c: Don't define STRNLEN, reverse logic.
44903         Remove unused variable magic_bits.
44904         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44905
44906         * string/strnlen.c: Define and use STRNLEN macro.
44907         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
44908         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
44909         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
44910         * wcsmbs/wcslen.c: Define and use WCSLEN.
44911         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44912         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44913         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44914         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44915         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44916         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44917         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44918
44919 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44920
44921         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44922         strnlen-sse2-no-bsf.
44923         Rename strlen-no-bsf to strlen-sse2-no-bsf.
44924         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44925         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44926         Add strnlen support.
44927         (USE_AS_STRNLEN): New macro.
44928         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44929         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44930         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44931         * sysdeps/x86_64/wcslen.S: New file.
44932
44933 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
44934
44935         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44936         XMM-moves are used for copying on small sizes.
44937
44938 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44939
44940         * wcsmbs/Makefile (strop-tests): Add wcschr.
44941         * wcsmbs/test-wcschr.c: New file.
44942         * string/test-strchr.c: Update.
44943         Add wcschr support.
44944         (WIDE): New macro.
44945
44946 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44947
44948         * wcsmbs/Makefile (strop-tests): Add wcslen.
44949         * wcsmbs/test-wcslen.c: New file.
44950         * string/test-strlen.c: Update.
44951         Add wcslen support.
44952         (WIDE): New macro.
44953
44954 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44955
44956         * po/it.po: Update from translation team.
44957
44958 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44959
44960         * sysdeps/x86_64/wcscmp.S: Update.
44961         Fix wrong comparison semantics.
44962         wcscmp shall use signed comparison not unsigned.
44963         Don't use substraction to avoid overflow bug.
44964         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44965         * wcsmbc/wcscmp.c: Likewise.
44966         * string/test-strcmp.c: Likewise.
44967         Add new tests to check cases with negative values.
44968
44969 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44970
44971         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44972         * sysdeps/x86_64/dla.h: ...here.  New file.
44973         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44974         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44975         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44976         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44977         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44978         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44979         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44980         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44981         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44982
44983 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
44984
44985         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44986         __ynl_finite aliases.
44987
44988 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
44989
44990         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44991
44992         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44993         define DLA_FMA.
44994         [DLA_FMA] (EMULV): Use DLA_FMA.
44995         [DLA_FMA] (MUL12): Use EMULV.
44996         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44997         that are not needed.
44998         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44999         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45000         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45001         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45002         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45003         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45004         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45005
45006 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
45007
45008         * math/s_nan.c: Undef __nan.
45009         * math/s_nanf.c: Undef __nanf.
45010         * math/s_nanl.c: Undef __nanl.
45011         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
45012         "math_private.h".
45013
45014 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
45015
45016         * math/s_catan.c: Add branch predictions.
45017         * math/s_catanf.c: Likewise.
45018         * math/s_catanh.c: Likewise.
45019         * math/s_catanhf.c: Likewise.
45020         * math/s_catanhl.c: Likewise.
45021         * math/s_catanl.c: Likewise.
45022         * math/s_cexp.c: Likewise.
45023         * math/s_cexpf.c: Likewise.
45024         * math/s_cexpl.c: Likewise.
45025         * math/s_clog.c: Likewise.
45026         * math/s_clog10.c: Likewise.
45027         * math/s_clog10f.c: Likewise.
45028         * math/s_clog10l.c: Likewise.
45029         * math/s_clogf.c: Likewise.
45030         * math/s_clogl.c: Likewise.
45031         * math/s_csqrt.c: Likewise.
45032         * math/s_csqrtf.c: Likewise.
45033         * math/s_csqrtl.c: Likewise.
45034         * math/s_ctanf.c: Likewise.
45035         * math/s_ctanh.c: Likewise.
45036         * math/s_ctanhf.c: Likewise.
45037         * math/s_ctanhl.c: Likewise.
45038         * math/s_ctanl.c: Likewise.
45039
45040         * math/math_private.h: Define __nan, __nanf, __nanl.
45041         * math/s_cacosh.c: Include <math_private.h>.
45042         * math/s_cacoshl.c: Likewise.
45043         * math/s_casinh.c: Likewise.
45044         * math/s_casinhf.c: Likewise.
45045         * math/s_casinhl.c: Likewise.
45046         * math/s_ccos.c: Rely entire on ccosh.
45047         * math/s_ccosf.c: Rely entire on ccoshf.
45048         * math/s_ccosl.c: Rely entirely on ccoshl.
45049         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
45050         Remove tests for FE_INVALID.
45051         * math/s_ccoshf.c: Likewise.
45052         * math/s_ccoshl.c: Likewise.
45053         * math/s_csin.c: Likewise.
45054         * math/s_csinf.c: Likewise.
45055         * math/s_csinh.c Likewise.
45056         * math/s_csinhf.c: Likewise.
45057         * math/s_csinhl.c: Likewise.
45058         * math/s_csinl.c: Likewise.
45059         * math/s_ctan.c: Likewise.
45060         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
45061         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
45062         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
45063
45064 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
45065
45066         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
45067         compilation problems.
45068
45069         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
45070         __builtin_expect.
45071
45072 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
45073
45074         * sysdeps/i386/configure.in: Test for -mfma4 option.
45075         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
45076         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
45077         COMMON_CPUID_INDEX_80000001.
45078         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
45079         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
45080         use it if FMA3 is not supported.
45081         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
45082
45083         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
45084         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45085
45086 2011-10-20  Andreas Schwab  <schwab@redhat.com>
45087
45088         [BZ #12892]
45089         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
45090         it would create a cycle with a link time dependency.
45091
45092 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
45093
45094         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
45095         instruction.
45096         * string/Makefile (strop-tests): Add rawmemchr.
45097         * string/test-rawmemchr.c: New file.
45098
45099         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
45100         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
45101         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
45102         when compiling str{,n}casecmp and when AVX is available.  Hook up
45103         new optimized code in initializers.
45104
45105 2011-10-19  Andreas Schwab  <schwab@redhat.com>
45106
45107         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
45108         __feraiseexcept instead of feraiseexcept.
45109
45110 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
45111
45112         * math/math_private.h: Define defaults for libc_fetestexcept and
45113         libc_feupdateenv.
45114         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
45115         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
45116         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45117         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45118         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45119         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45120         libc_fetestexcept and libc_feupdateenv.
45121
45122         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
45123         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
45124         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
45125         * sysdeps/x86_64/fpu/math_private.h: Define special version of
45126         libc_feholdexcept_setround.
45127
45128         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
45129         Add s_nearbyint-c and s_nearbyintf-c.
45130         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
45131         nearbyintf inlines.
45132         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
45133         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
45134         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
45135         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
45136
45137         * math/math_private.h: Define defaults for libc_fegetround,
45138         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
45139         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
45140         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
45141         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
45142         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
45143         standard functions.
45144         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45145         Remove comments and hacks for old compiler versions.
45146         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45147         libc_fegetround, libc_fesetround, libc_feholdexcept, and
45148         libc_feholdexceptl.
45149
45150 2011-10-18  Andreas Schwab  <schwab@redhat.com>
45151
45152         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
45153         (__feraiseexcept_renamed): Add __NTH.
45154         (feraiseexcept): Add __NTH.  Rename local variables to fix
45155         namespace violations.
45156
45157 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
45158
45159         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
45160
45161         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
45162
45163         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
45164         recently added interfaces.
45165         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
45166
45167         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
45168         about macro parameter expansion.
45169
45170         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
45171         __NO_MATH_INLINES is defined.  Cleanups.
45172
45173         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
45174         and __floorf is target has SSE4.1.
45175         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
45176         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
45177         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
45178         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
45179
45180         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
45181         name.
45182         (floorf): Likewise.
45183
45184         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
45185
45186 2011-10-17  Andreas Schwab  <schwab@redhat.com>
45187
45188         * misc/sys/cdefs.h: Fix last change.
45189
45190         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
45191         database lookup.
45192
45193 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
45194
45195         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
45196
45197         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
45198         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45199         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45200         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45201         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45202         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45203         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45204         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45205         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45206         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
45207         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
45208         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
45209         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
45210         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
45211         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
45212         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
45213         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
45214         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
45215         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
45216         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
45217         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
45218         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
45219
45220         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
45221         ceil, ceilf, floor, floorf.
45222
45223         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
45224         Perform IRELATIVE relocations last.
45225
45226         * elf/do-rel.h: Add another parameter nrelative, replacing the
45227         local variable with the same name.  Change name of the function
45228         to end in Rel or Rela (uppercase).
45229         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
45230         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
45231         elf_dynamic_do_##reloc function.
45232
45233 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
45234
45235         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
45236         is sufficient, at least on modern CPUs.
45237
45238         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
45239
45240         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
45241         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
45242
45243         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
45244         __expl_finite.
45245         * math/bits/math-finite.h: Add entries for exp.
45246         * math/e_expl.c: Add __*_finite alias.
45247         * sysdeps/i386/fpu/e_exp.S: Likewise.
45248         * sysdeps/i386/fpu/e_expf.S: Likewise.
45249         * sysdeps/i386/fpu/e_expl.c: Likewise.
45250         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45251         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45252         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45253         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45254         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
45255         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45256         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45257
45258         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
45259         is sufficient, at least on modern CPUs.
45260
45261         * ctype/ctype-info.c (__ctype_init): Define.
45262         * include/ctype.h (__ctype_init): Declare.
45263         (__ctype_b_loc): The variable is always initialized.
45264         (__ctype_toupper_loc): Likewise.
45265         (__ctype_tolower_loc): Likewise.
45266         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
45267         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
45268
45269 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
45270
45271         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
45272
45273         * configure.in: Also look in $cxxmachine/include for C++ system
45274         headers.
45275
45276 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45277
45278         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
45279         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
45280         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
45281         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
45282         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
45283         (USE_AS_WMEMCMP): New macro.
45284         Fixing indents.
45285         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
45286         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
45287         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
45288         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
45289         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45290         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
45291         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
45292         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
45293         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
45294         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
45295         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
45296         (USE_AS_WMEMCMP): New macro.
45297         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
45298         * sysdeps/string/test-memcmp.c: Update.
45299         Fix simple_wmemcmp.
45300         Add new tests.
45301         * wcsmbs/wmemcmp.c: Update.
45302         (WMEMCMP): New macro.
45303         Fix overflow bug.
45304
45305 2011-10-12  Andreas Jaeger  <aj@suse.de>
45306
45307         [BZ #13268]
45308         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
45309
45310 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
45311
45312         * libio/iofwide.c (do_length): Avoid warning.
45313
45314         * ctype/ctype.h (__isctype_f): Add missing __THROW.
45315
45316 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
45317
45318         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
45319
45320         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
45321         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
45322         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
45323         * sysdeps/i386/i686/fpu/e_log.S: New file.
45324         * sysdeps/i386/i686/fpu/e_logf.S: New file.
45325         * sysdeps/i386/i686/fpu/e_logl.S: New file.
45326
45327         * ctype/ctype.h: Add support for inlined isXXX functions when
45328         compiling C++ code.
45329
45330 2011-10-14  Andreas Schwab  <schwab@redhat.com>
45331
45332         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45333
45334         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
45335
45336 2011-10-13  Roland McGrath  <roland@hack.frob.com>
45337
45338         [BZ #13291]
45339         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
45340
45341 2011-10-13  Andreas Schwab  <schwab@redhat.com>
45342
45343         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
45344         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
45345         feraiseexcept.
45346
45347         * sysdeps/x86_64/memrchr.S: Check for zero size.
45348
45349         * string/stratcliff.c: Add memrchr tests.
45350
45351 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45352
45353         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45354         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
45355         rawmemchr-sse2 rawmemchr-sse2-bsf.
45356         * sysdeps/i386/i686/multiarch/memchr.S: New file.
45357         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
45358         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
45359         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
45360         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
45361         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
45362         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
45363         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
45364         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
45365         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
45366         * string/memrchr.c (MEMRCHR): New macro.
45367
45368 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
45369
45370         Add integration with gcc's -ffinite-math-only and optimize wrapper
45371         functions in libm.
45372         * Versions.def: Define GLIBC_2.15 version for libm.
45373         * math/Makefile (headers): Add bits/math-finite.h.
45374         * math/bits/math-finite.h: New file.
45375         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
45376         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
45377         * math/e_acoshl.c: Add __*_finite alias.
45378         * math/e_acosl.c: Likewise.
45379         * math/e_asinl.c: Likewise.
45380         * math/e_atan2l.c: Likewise.
45381         * math/e_atanhl.c: Likewise.
45382         * math/e_coshl.c: Likewise.
45383         * math/e_exp10.c: Likewise.
45384         * math/e_exp10f.c: Likewise.
45385         * math/e_exp10l.c: Likewise.
45386         * math/e_exp2l.c: Likewise.
45387         * math/e_fmodl.c: Likewise.
45388         * math/e_gammal_r.c: Likewise.
45389         * math/e_hypotl.c: Likewise.
45390         * math/e_j0l.c: Likewise.
45391         * math/e_j1l.c: Likewise.
45392         * math/e_jnl.c: Likewise.
45393         * math/e_lgammal_r.c: Likewise.
45394         * math/e_log10l.c: Likewise.
45395         * math/e_log2l.c: Likewise.
45396         * math/e_logl.c: Likewise.
45397         * math/e_powl.c: Likewise.
45398         * math/e_sinhl.c: Likewise.
45399         * math/e_sqrtl.c: Likewise.
45400         * math/e_scalb.c: Completely rewritten and optimized.
45401         * math/e_scalbf.c: Likewise.
45402         * math/e_scalbl.c: Likewise.
45403         * math/w_acos.c: Likewise.
45404         * math/w_acosf.c: Likewise.
45405         * math/w_acosl.c: Likewise.
45406         * math/w_acosh.c: Likewise.
45407         * math/w_acoshf.c: Likewise.
45408         * math/w_acoshl.c: Likewise.
45409         * math/w_asin.c: Likewise.
45410         * math/w_asinf.c: Likewise.
45411         * math/w_asinl.c: Likewise.
45412         * math/w_atan2.c: Likewise.
45413         * math/w_atan2f.c: Likewise.
45414         * math/w_atan2l.c: Likewise.
45415         * math/w_atanh.c: Likewise.
45416         * math/w_atanhf.c: Likewise.
45417         * math/w_atanhl.c: Likewise.
45418         * math/w_exp10.c: Likewise.
45419         * math/w_exp10f.c: Likewise.
45420         * math/w_exp10l.c: Likewise.
45421         * math/w_fmod.c: Likewise.
45422         * math/w_fmodf.c: Likewise.
45423         * math/w_fmodl.c: Likewise.
45424         * math/w_j0.c: Likewise.
45425         * math/w_j0f.c: Likewise.
45426         * math/w_j0l.c: Likewise.
45427         * math/w_j1.c: Likewise.
45428         * math/w_j1f.c: Likewise.
45429         * math/w_j1l.c: Likewise.
45430         * math/w_jn.c: Likewise.
45431         * math/w_jnf.c: Likewise.
45432         * math/w_log.c: Likewise.
45433         * math/w_logf.c: Likewise.
45434         * math/w_logl.c: Likewise.
45435         * math/w_log10.c: Likewise.
45436         * math/w_log10f.c: Likewise.
45437         * math/w_log10l.c: Likewise.
45438         * math/w_log2.c: Likewise.
45439         * math/w_log2f.c: Likewise.
45440         * math/w_log2l.c: Likewise.
45441         * math/w_pow.c: Likewise.
45442         * math/w_powf.c: Likewise.
45443         * math/w_powl.c: Likewise.
45444         * math/w_remainder.c: Likewise.
45445         * math/w_remainderf.c: Likewise.
45446         * math/w_remainderl.c: Likewise.
45447         * math/w_scalb.c: Likewise.
45448         * math/w_scalbf.c: Likewise.
45449         * math/w_scalbl.c: Likewise.
45450         * math/w_sqrt.c: Likewise.
45451         * math/w_sqrtf.c: Likewise.
45452         * math/w_sqrtl.c: Likewise.
45453         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
45454         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
45455         used.
45456         * math/math_private.h: Declare __kernel_standard_f.
45457         * math/w_cosh.c: Remove cruft and optimize a bit.
45458         * math/w_coshf.c: Likewise.
45459         * math/w_coshl.c: Likewise.
45460         * math/w_exp2.c: Likewise.
45461         * math/w_exp2f.c: Likewise.
45462         * math/w_exp2l.c: Likewise.
45463         * math/w_hypot.c: Likewise.
45464         * math/w_hypotf.c: Likewise.
45465         * math/w_hypotl.c: Likewise.
45466         * math/w_lgamma.c: Likewise.
45467         * math/w_lgamma_r.c: Likewise.
45468         * math/w_lgammaf.c: Likewise.
45469         * math/w_lgammaf_r.c: Likewise.
45470         * math/w_lgammal.c: Likewise.
45471         * math/w_lgammal_r.c: Likewise.
45472         * math/w_sinh.c: Likewise.
45473         * math/w_sinhf.c: Likewise.
45474         * math/w_sinhl.c: Likewise.
45475         * math/w_tgamma.c: Likewise.
45476         * math/w_tgammaf.c: Likewise.
45477         * math/w_tgammal.c: Likewise.
45478         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45479         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45480         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
45481         Minor optimizations.  Pretty printing.  Remove cruft.
45482         * sysdeps/i386/fpu/e_acosf.S: Likewise.
45483         * sysdeps/i386/fpu/e_acosh.S: Likewise.
45484         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45485         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45486         * sysdeps/i386/fpu/e_acosl.c: Likewise.
45487         * sysdeps/i386/fpu/e_asin.S: Likewise.
45488         * sysdeps/i386/fpu/e_asinf.S: Likewise.
45489         * sysdeps/i386/fpu/e_atan2.S: Likewise.
45490         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
45491         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
45492         * sysdeps/i386/fpu/e_atanh.S: Likewise.
45493         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45494         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45495         * sysdeps/i386/fpu/e_exp10.S: Likewise.
45496         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
45497         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
45498         * sysdeps/i386/fpu/e_exp2.S: Likewise.
45499         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
45500         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
45501         * sysdeps/i386/fpu/e_fmod.S: Likewise.
45502         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
45503         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
45504         * sysdeps/i386/fpu/e_hypot.S: Likewise.
45505         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
45506         * sysdeps/i386/fpu/e_log.S: Likewise.
45507         * sysdeps/i386/fpu/e_log10.S: Likewise.
45508         * sysdeps/i386/fpu/e_log10f.S: Likewise.
45509         * sysdeps/i386/fpu/e_log10l.S: Likewise.
45510         * sysdeps/i386/fpu/e_log2.S: Likewise.
45511         * sysdeps/i386/fpu/e_log2f.S: Likewise.
45512         * sysdeps/i386/fpu/e_log2l.S: Likewise.
45513         * sysdeps/i386/fpu/e_logf.S: Likewise.
45514         * sysdeps/i386/fpu/e_logl.S: Likewise.
45515         * sysdeps/i386/fpu/e_pow.S: Likewise.
45516         * sysdeps/i386/fpu/e_powf.S: Likewise.
45517         * sysdeps/i386/fpu/e_powl.S: Likewise.
45518         * sysdeps/i386/fpu/e_remainder.S: Likewise.
45519         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
45520         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
45521         * sysdeps/i386/fpu/e_scalb.S: Likewise.
45522         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45523         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45524         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
45525         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
45526         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
45527         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45528         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45529         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45530         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45531         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45532         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45533         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45534         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45535         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45536         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45537         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45538         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45539         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45540         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45541         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45542         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45543         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45544         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45545         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45546         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45547         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45548         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45549         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45550         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45551         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45552         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45553         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45554         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45555         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
45556         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45557         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45558         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45559         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45560         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45561         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45562         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45563         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45564         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45565         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45566         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45567         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45568         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45569         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45570         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45571         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45572         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45573         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45574         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45575         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45576         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
45577         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45578         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45579         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45580         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45581         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45582         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45583         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45584         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45585         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45586         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45587         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45588         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45589         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45590         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45591         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45592         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45593         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45594         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45595         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
45596         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45597         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45598         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45599         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45600         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45601         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45602         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45603         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
45604         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45605         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45606         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45607         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45608         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45609         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
45610         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45611         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45612         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45613         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45614         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45615         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45616         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45617         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45618         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45619         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45620         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45621         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45622         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45623         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45624         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
45625         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
45626         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
45627         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
45628         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
45629         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
45630         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
45631         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45632         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45633         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45634         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45635         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
45636         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45637         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
45638         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
45639         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
45640         (__isnanf): Likewise.
45641         (__isinf_ns): Likewise.
45642         (__isinf_nsf): Likewise.
45643         (__finite): Likewise.
45644         (__finitef): Likewise.
45645         (__ieee754_sqrt): Define as macro.
45646         (__ieee754_sqrtf): Define as macro.
45647         (__ieee754_sqrtl): Define as macro.
45648         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
45649         inlined copy.
45650         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
45651         __FINITE_MATH_ONLY__ consistent.
45652         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
45653
45654 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
45655
45656         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
45657         of rawmemchr.
45658
45659         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
45660
45661 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
45662
45663         * po/ja.po: Update from translation team.
45664
45665 2011-10-08  Roland McGrath  <roland@hack.frob.com>
45666
45667         * locale/programs/locarchive.c (prepare_address_space): New function.
45668         (create_archive, enlarge_archive, open_archive): Use it.
45669
45670         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
45671         inside [SHARED], where it is used.
45672
45673         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
45674
45675         * nss/getent.c (netgroup_keys): Remove unused variable.
45676         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45677
45678 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
45679
45680         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
45681         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
45682         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
45683         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
45684         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
45685         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
45686         * math/Makefile (libm-calls): Add s_isinf_ns.
45687         * math/divtc3.c: Use __isinf_nsl instead of isinf.
45688         * math/multc3.c: Likewise.
45689         * math/s_casin.c: Likewise.
45690         * math/s_casinf.c: Likewise.
45691         * math/s_casinl.c: Likewise.
45692         * math/s_ccos.c: Likewise.
45693         * math/s_ccosf.c: Likewise.
45694         * math/s_ccosl.c: Likewise.
45695         * math/s_ctan.c: Likewise.
45696         * math/s_ctanf.c: Likewise.
45697         * math/s_ctanh.c: Likewise.
45698         * math/s_ctanhf.c: Likewise.
45699         * math/s_ctanhl.c: Likewise.
45700         * math/s_ctanl.c: Likewise.
45701         * math/w_fmod.c: Likewise.
45702         * math/w_fmodf.c: Likewise.
45703         * math/w_fmodl.c: Likewise.
45704         * math/w_remainder.c: Likewise.
45705         * math/w_remainderf.c: Likewise.
45706         * math/w_remainderl.c: Likewise.
45707         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
45708         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
45709         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
45710         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
45711         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
45712         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
45713         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
45714         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
45715
45716         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
45717         of the number.
45718         * stdio-common/printf_fphex.c: Likewise.
45719         * stdio-common/printf_size.c: Likewise.
45720
45721         * math/e_exp10.c: Include math_private.h using <...> not "...".
45722         * math/e_exp10f.c: Likewise.
45723         * math/e_exp10l.c: Likewise.
45724         * math/e_exp2l.c: Likewise.
45725         * math/e_j0l.c: Likewise.
45726         * math/e_j1l.c: Likewise.
45727         * math/e_jnl.c: Likewise.
45728         * math/e_lgammal_r.c: Likewise.
45729         * math/e_rem_pio2l.c: Likewise.
45730         * math/e_scalb.c: Likewise.
45731         * math/e_scalbf.c: Likewise.
45732         * math/e_scalbl.c: Likewise.
45733         * math/k_cosl.c: Likewise.
45734         * math/k_sinl.c: Likewise.
45735         * math/k_tanl.c: Likewise.
45736         * math/s_cacoshf.c: Likewise.
45737         * math/s_catan.c: Likewise.
45738         * math/s_catanf.c: Likewise.
45739         * math/s_catanh.c: Likewise.
45740         * math/s_catanhf.c: Likewise.
45741         * math/s_catanhl.c: Likewise.
45742         * math/s_catanl.c: Likewise.
45743         * math/s_ccosh.c: Likewise.
45744         * math/s_ccoshf.c: Likewise.
45745         * math/s_ccoshl.c: Likewise.
45746         * math/s_cexp.c: Likewise.
45747         * math/s_cexpf.c: Likewise.
45748         * math/s_cexpl.c: Likewise.
45749         * math/s_clog.c: Likewise.
45750         * math/s_clog10.c: Likewise.
45751         * math/s_clog10f.c: Likewise.
45752         * math/s_clog10l.c: Likewise.
45753         * math/s_clogf.c: Likewise.
45754         * math/s_clogl.c: Likewise.
45755         * math/s_csin.c: Likewise.
45756         * math/s_csinf.c: Likewise.
45757         * math/s_csinh.c: Likewise.
45758         * math/s_csinhf.c: Likewise.
45759         * math/s_csinhl.c: Likewise.
45760         * math/s_csinl.c: Likewise.
45761         * math/s_csqrt.c: Likewise.
45762         * math/s_csqrtf.c: Likewise.
45763         * math/s_csqrtl.c: Likewise.
45764         * math/s_ctan.c: Likewise.
45765         * math/s_ctanf.c: Likewise.
45766         * math/s_ctanh.c: Likewise.
45767         * math/s_ctanhf.c: Likewise.
45768         * math/s_ctanhl.c: Likewise.
45769         * math/s_ctanl.c: Likewise.
45770         * math/s_ldexp.c: Likewise.
45771         * math/s_ldexpf.c: Likewise.
45772         * math/s_ldexpl.c: Likewise.
45773         * math/s_significand.c: Likewise.
45774         * math/s_significandf.c: Likewise.
45775         * math/s_significandl.c: Likewise.
45776         * math/w_acos.c: Likewise.
45777         * math/w_acosf.c: Likewise.
45778         * math/w_acosh.c: Likewise.
45779         * math/w_acoshf.c: Likewise.
45780         * math/w_acoshl.c: Likewise.
45781         * math/w_acosl.c: Likewise.
45782         * math/w_asin.c: Likewise.
45783         * math/w_asinf.c: Likewise.
45784         * math/w_asinl.c: Likewise.
45785         * math/w_atan2.c: Likewise.
45786         * math/w_atan2f.c: Likewise.
45787         * math/w_atan2l.c: Likewise.
45788         * math/w_atanh.c: Likewise.
45789         * math/w_atanhf.c: Likewise.
45790         * math/w_atanhl.c: Likewise.
45791         * math/w_cosh.c: Likewise.
45792         * math/w_coshf.c: Likewise.
45793         * math/w_coshl.c: Likewise.
45794         * math/w_dremf.c: Likewise.
45795         * math/w_exp10.c: Likewise.
45796         * math/w_exp10f.c: Likewise.
45797         * math/w_exp10l.c: Likewise.
45798         * math/w_exp2.c: Likewise.
45799         * math/w_exp2f.c: Likewise.
45800         * math/w_fmod.c: Likewise.
45801         * math/w_fmodf.c: Likewise.
45802         * math/w_fmodl.c: Likewise.
45803         * math/w_hypot.c: Likewise.
45804         * math/w_hypotf.c: Likewise.
45805         * math/w_hypotl.c: Likewise.
45806         * math/w_j0.c: Likewise.
45807         * math/w_j0f.c: Likewise.
45808         * math/w_j0l.c: Likewise.
45809         * math/w_j1.c: Likewise.
45810         * math/w_j1f.c: Likewise.
45811         * math/w_j1l.c: Likewise.
45812         * math/w_jn.c: Likewise.
45813         * math/w_jnf.c: Likewise.
45814         * math/w_jnl.c: Likewise.
45815         * math/w_lgamma.c: Likewise.
45816         * math/w_lgamma_r.c: Likewise.
45817         * math/w_lgammaf.c: Likewise.
45818         * math/w_lgammaf_r.c: Likewise.
45819         * math/w_lgammal.c: Likewise.
45820         * math/w_lgammal_r.c: Likewise.
45821         * math/w_log.c: Likewise.
45822         * math/w_log10.c: Likewise.
45823         * math/w_log10f.c: Likewise.
45824         * math/w_log10l.c: Likewise.
45825         * math/w_log2.c: Likewise.
45826         * math/w_log2f.c: Likewise.
45827         * math/w_log2l.c: Likewise.
45828         * math/w_logf.c: Likewise.
45829         * math/w_logl.c: Likewise.
45830         * math/w_pow.c: Likewise.
45831         * math/w_powf.c: Likewise.
45832         * math/w_powl.c: Likewise.
45833         * math/w_remainder.c: Likewise.
45834         * math/w_remainderf.c: Likewise.
45835         * math/w_remainderl.c: Likewise.
45836         * math/w_scalb.c: Likewise.
45837         * math/w_scalbf.c: Likewise.
45838         * math/w_scalbl.c: Likewise.
45839         * math/w_sinh.c: Likewise.
45840         * math/w_sinhf.c: Likewise.
45841         * math/w_sinhl.c: Likewise.
45842         * math/w_sqrt.c: Likewise.
45843         * math/w_sqrtf.c: Likewise.
45844         * math/w_sqrtl.c: Likewise.
45845         * math/w_tgamma.c: Likewise.
45846         * math/w_tgammaf.c: Likewise.
45847         * math/w_tgammal.c: Likewise.
45848
45849         * po/ja.po: Update from translation team.
45850
45851 2011-09-29  Andreas Jaeger  <aj@suse.de>
45852
45853         [BZ #13179]
45854         * sunrpc/netname.c (netname2host): Fix logic.
45855
45856         [BZ #6779]
45857         [BZ #6783]
45858         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45859         correctly.
45860         * math/w_remainder.c (__remainder): Likewise.
45861         * math/w_remainderf.c (__remainderf): Likewise.
45862         * math/libm-test.inc (remainder_test): Add test cases.
45863
45864 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45865
45866         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
45867         sdiv_qrnnd.
45868
45869 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45870
45871         * string/test-memcmp.c: Avoid unncessary #defines.
45872         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45873
45874 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45875
45876         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45877         Use new sse2 version for core i3 - i7 as it's faster
45878         than sse42 version.
45879         (bit_Prefer_PMINUB_for_stringop): New.
45880         * sysdeps/x86_64/rawmemchr.S: Update.
45881         Replace with faster SSE2 version.
45882         * sysdeps/x86_64/memrchr.S: New file.
45883         * sysdeps/x86_64/memchr.S: Update.
45884         Replace with faster SSE2 version.
45885
45886 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
45887
45888         * elf/dl-load.c (lose): Add cast to avoid warning.
45889
45890 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45891
45892         * po/ca.po: Update from translation team.
45893
45894         * inet/getnetgrent_r.c: Hook up nscd.
45895         * nscd/Makefile (routines): Add nscd_netgroup.
45896         (nscd-modules): Add netgroupcache.
45897         (CFLAGS-netgroupcache.c): Define.
45898         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45899         (cache_search): Add const to second parameter.
45900         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45901         INNETGR.
45902         (dbs): Add netgrdb entry.
45903         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45904         (verify_persistent_db): Handle netgrdb.
45905         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45906         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
45907         GETFDNETGR.
45908         (netgroup_response_header): Define.
45909         (innetgroup_response_header): Define.
45910         (datahead): Add netgroup_response_header and innetgroup_response_header
45911         elements.
45912         * nscd/nscd.conf: Add entries for netgroup cache.
45913         * nscd/nscd.h (dbtype): Add netgrdb.
45914         (_PATH_NSCD_NETGROUP_DB): Define.
45915         (netgroup_iov_disabled): Declare.
45916         (xmalloc, xcalloc, xrealloc): Move declarations here.
45917         (cache_search): Adjust prototype.
45918         Add netgroup-related prototypes.
45919         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45920         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45921         (__nscd_innetgr): Declare.
45922         * nscd/selinux.c (perms): Use access_vector_t as element type and
45923         add netgroup-related initializers.
45924         * nscd/netgroupcache.c: New file.
45925         * nscd/nscd_netgroup.c: New file.
45926         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45927         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45928         For four parameters use innetgr.
45929         * nss/nss_files/files-init.c: Add definition and callback for netgr.
45930         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45931         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45932         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45933
45934         * nscd/connections.c (register_traced_file): Don't register file
45935         for disabled databases.
45936
45937 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
45938
45939         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45940
45941         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45942         from tree and freeing node.
45943
45944 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
45945
45946         * nss/nsswitch.c (__nss_database_lookup): Handle
45947         nss_parse_service_list out of memory case.
45948
45949 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
45950
45951         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45952         out of memory case.
45953
45954 2011-10-04  Andreas Schwab  <schwab@redhat.com>
45955
45956         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45957         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45958         pass it down.
45959         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45960         elf_machine_rela, elf_machine_lazy_rel.
45961         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45962         (ELF_DYNAMIC_DO_REL): Likewise.
45963         (ELF_DYNAMIC_DO_RELA): Likewise.
45964         (ELF_DYNAMIC_RELOCATE): Likewise.
45965         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45966         to ELF_DYNAMIC_DO_REL.
45967         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45968         (dl_main): In trace mode always set __RTLD_NOIFUNC.
45969         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45970         elf_machine_rela.
45971         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45972         skip_ifunc, don't call ifunc function if non-zero.
45973         (elf_machine_rela): Likewise.
45974         (elf_machine_lazy_rel): Likewise.
45975         (elf_machine_lazy_rela): Likewise.
45976         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45977         (elf_machine_lazy_rel): Likewise.
45978         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45979         Likewise.
45980         (elf_machine_lazy_rel): Likewise.
45981         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45982         Likewise.
45983         (elf_machine_lazy_rel): Likewise.
45984         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45985         (elf_machine_lazy_rel): Likewise.
45986         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45987         (elf_machine_lazy_rel): Likewise.
45988         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45989         (elf_machine_lazy_rel): Likewise.
45990         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45991         (elf_machine_lazy_rel): Likewise.
45992         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45993         (elf_machine_lazy_rel): Likewise.
45994         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45995         (elf_machine_lazy_rel): Likewise.
45996
45997 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
45998
45999         * nss/nss_files/files-init.c (_nss_files_init): Use static
46000         initialization for all the *_traced_file variables.
46001
46002 2011-09-28  Andreas Schwab  <schwab@redhat.com>
46003
46004         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46005
46006 2011-09-27  Roland McGrath  <roland@hack.frob.com>
46007
46008         [BZ #13226]
46009         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
46010
46011 2011-09-27  Andreas Schwab  <schwab@redhat.com>
46012
46013         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46014         Reread the line before reparsing it.
46015
46016 2011-09-26  Andreas Schwab  <schwab@redhat.com>
46017
46018         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
46019
46020 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
46021             Maxim Kuvyrkov  <maxim@codesourcery.com>
46022             Joseph Myers  <joseph@codesourcery.com>
46023
46024         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
46025         if needed for __stack_chk_guard.
46026
46027 2011-09-19  Roland McGrath  <roland@hack.frob.com>
46028
46029         * sysdeps/posix/spawni.c (script_execute): Always define it.
46030         It will be optimized away if unused.
46031         (maybe_script_execute): New function.
46032         (__spawni): Call it.
46033
46034         * Makerules: Don't include tls.make.
46035         (config-tls): Always set to thread.
46036         * tls.make.c: File removed.
46037
46038 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
46039
46040         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
46041         * config.make.in (CPPFLAGS-config): New substituted variable.
46042
46043 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
46044
46045         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
46046
46047         [BZ #13192]
46048         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
46049         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
46050
46051 2011-09-15  Roland McGrath  <roland@hack.frob.com>
46052
46053         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
46054         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
46055         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46056         (CALL_FAIL): Likewise.
46057         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
46058         (CALL_FAIL): Macro removed.
46059         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
46060
46061 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
46062
46063         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
46064         for __FINITE_MATH_ONLY__ == 1.
46065
46066 2011-09-15  Andreas Schwab  <schwab@redhat.com>
46067
46068         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
46069         __ieee754_sqrt instead of sqrt.
46070         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
46071         __ieee754_sqrtf instead of sqrtf.
46072         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
46073         __floorf instead of floorf.
46074         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
46075         __floorf, __truncf instead of floorf, truncf.
46076
46077 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
46078
46079         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
46080
46081         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
46082         __extern_always_inline.
46083         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
46084         32-bit.
46085
46086 2011-09-14  Andreas Schwab  <schwab@redhat.com>
46087
46088         * elf/rtld.c (dl_main): Also relocate in dependency order when
46089         doing symbol dependency testing.
46090
46091 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
46092
46093         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46094         Always define `refsym'.
46095
46096 2011-09-13  Andreas Schwab  <schwab@redhat.com>
46097
46098         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
46099         (__FD_ELT): Renamed from __FDELT.
46100         * misc/bits/select2.h (__FD_ELT): Likewise.
46101         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
46102         __FD_MASK instead of __FDELT, __FDMASK.
46103         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
46104         Likewise.
46105         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
46106         Likewise.
46107
46108         * elf/Makefile (gen-ldd): Fix pattern.
46109
46110         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
46111         (init_tls): Likewise.
46112
46113 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
46114
46115         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
46116
46117 2011-09-12  Andreas Schwab  <schwab@redhat.com>
46118
46119         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
46120         `struct cmsghdr *' instead of `void *'.
46121         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
46122         Likewise.
46123
46124 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
46125
46126         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
46127         if non-absolute.
46128         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
46129         ldd_rewrite_script.
46130
46131 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
46132
46133         * configure.in: Remove --with-tls option.
46134         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
46135         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
46136         out in case it is missing.
46137         * sysdeps/ia64/elf/configure.in: Likewise.
46138         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
46139         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
46140         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
46141         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
46142         * sysdeps/sh/elf/configure.in: Likewise.
46143         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
46144         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46145         * sysdeps/x86_64/elf/configure.in: Likewise.
46146         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
46147         * sysdeps/mach/hurd/tls.h: Likewise.
46148
46149         [BZ #13067]
46150         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
46151
46152         [BZ #13090]
46153         * configure.in: Fix use of AC_INIT.
46154
46155         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
46156
46157 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
46158
46159         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
46160         __set_errno.
46161         * malloc/hooks.c: Likewise.
46162
46163         [BZ #11929]
46164         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
46165         variables statically.
46166         (narenas): Initialize.
46167         (list_lock): Initialize.
46168         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
46169         initializtion of main_arena and list_lock.  Small cleanups.
46170         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
46171         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
46172         Add initializers to main_arena and mp_.
46173         (malloc_state): Remove pagesize member.  Change all users to use
46174         GLRO(dl_pagesize).
46175
46176         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
46177         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
46178         is always initialized.
46179
46180         * malloc/malloc.c: Removed unused configurations and dead code.
46181         * malloc/arena.c: Likewise.
46182         * malloc/hooks.c: Likewise.
46183         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
46184
46185         * include/tls.h: Removed.  USE___THREAD must always be defined.
46186         * bits/libc-tsd.h: Don't handle !USE___THREAD.
46187         * elf/dl-libc.c: Likewise.
46188         * elf/dl-tsd.c: Likewise.
46189         * include/errno.h: Likewise.
46190         * include/netdb.h: Likewise.
46191         * include/resolv.h: Likewise.
46192         * inet/herrno-loc.c: Likewise.
46193         * inet/herrno.c: Likewise.
46194         * malloc/arena.c: Likewise.
46195         * malloc/hooks.c: Likewise.
46196         * malloc/malloc.c: Likewise.
46197         * resolv/res-state.c: Likewise.
46198         * resolv/res_libc.c: Likewise.
46199         * sysdeps/i386/dl-machine.h: Likewise.
46200         * sysdeps/ia64/dl-machine.h: Likewise.
46201         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
46202         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46203         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
46204         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
46205         * sysdeps/sh/dl-machine.h: Likewise.
46206         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46207         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46208         * sysdeps/unix/i386/sysdep.S: Likewise.
46209         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46210         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
46211         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
46212         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46213         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
46214         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46215         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46216         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46217         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46218         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46219         * sysdeps/unix/x86_64/sysdep.S: Likewise.
46220         * sysdeps/x86_64/dl-machine.h: Likewise.
46221         * tls.make.c: Likewise.
46222
46223         * configure.in: Remove --with-__thread option.  Make tests for
46224         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
46225         tls_model attribute fail if no support is available.  Remove
46226         USE_IN_LIBIO.
46227         * Makeconfig: Adjust for dropped configure option.  All features are
46228         now mandatory.
46229         * Makerules: Likewise.
46230         * Versions.def: Likewise.
46231         * argp/argp-fmtstream.c: Likewise.
46232         * argp/argp-fmtstream.h: Likewise.
46233         * argp/argp-help.c: Likewise.
46234         * assert/assert.c: Likewise.
46235         * config.h.in: Likewise.
46236         * config.make.in: Likewise.
46237         * configure: Likewise.
46238         * configure.in: Likewise.
46239         * csu/Versions: Likewise.
46240         * csu/init.c: Likewise.
46241         * elf/tst-audit2.c: Likewise.
46242         * elf/tst-tls10.c: Likewise.
46243         * elf/tst-tls10.h: Likewise.
46244         * elf/tst-tls11.c: Likewise.
46245         * elf/tst-tls12.c: Likewise.
46246         * elf/tst-tls14.c: Likewise.
46247         * elf/tst-tlsmod11.c: Likewise.
46248         * elf/tst-tlsmod12.c: Likewise.
46249         * elf/tst-tlsmod13.c: Likewise.
46250         * elf/tst-tlsmod13a.c: Likewise.
46251         * elf/tst-tlsmod14a.c: Likewise.
46252         * elf/tst-tlsmod15b.c: Likewise.
46253         * elf/tst-tlsmod16a.c: Likewise.
46254         * elf/tst-tlsmod16b.c: Likewise.
46255         * elf/tst-tlsmod7.c: Likewise.
46256         * elf/tst-tlsmod8.c: Likewise.
46257         * elf/tst-tlsmod9.c: Likewise.
46258         * gmon/gmon.c: Likewise.
46259         * grp/fgetgrent_r.c: Likewise.
46260         * grp/putgrent.c: Likewise.
46261         * hurd/fopenport.c: Likewise.
46262         * include/libc-symbols.h: Likewise.
46263         * include/tls.h: Likewise.
46264         * intl/gettextP.h: Likewise.
46265         * intl/loadinfo.h: Likewise.
46266         * locale/global-locale.c: Likewise.
46267         * locale/localeinfo.h: Likewise.
46268         * mach/devstream.c: Likewise.
46269         * malloc/arena.c: Likewise.
46270         * malloc/set-freeres.c: Likewise.
46271         * misc/err.c: Likewise.
46272         * misc/getttyent.c: Likewise.
46273         * misc/mntent_r.c: Likewise.
46274         * posix/getopt.c: Likewise.
46275         * posix/wordexp.c: Likewise.
46276         * pwd/fgetpwent_r.c: Likewise.
46277         * resolv/Versions: Likewise.
46278         * resolv/res_hconf.c: Likewise.
46279         * shadow/fgetspent_r.c: Likewise.
46280         * shadow/putspent.c: Likewise.
46281         * stdio-common/printf_fphex.c: Likewise.
46282         * stdio-common/tmpfile.c: Likewise.
46283         * stdlib/abort.c: Likewise.
46284         * stdlib/fmtmsg.c: Likewise.
46285         * sunrpc/auth_unix.c: Likewise.
46286         * sunrpc/clnt_perr.c: Likewise.
46287         * sunrpc/clnt_tcp.c: Likewise.
46288         * sunrpc/clnt_udp.c: Likewise.
46289         * sunrpc/clnt_unix.c: Likewise.
46290         * sunrpc/openchild.c: Likewise.
46291         * sunrpc/svc_simple.c: Likewise.
46292         * sunrpc/svc_tcp.c: Likewise.
46293         * sunrpc/svc_udp.c: Likewise.
46294         * sunrpc/svc_unix.c: Likewise.
46295         * sunrpc/xdr.c: Likewise.
46296         * sunrpc/xdr_array.c: Likewise.
46297         * sunrpc/xdr_rec.c: Likewise.
46298         * sunrpc/xdr_ref.c: Likewise.
46299         * sunrpc/xdr_stdio.c: Likewise.
46300
46301 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
46302
46303         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46304
46305 2011-07-03  Andreas Jaeger  <aj@suse.de>
46306
46307         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
46308         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
46309         regenerate with gen-libm-tests.pl.
46310
46311 2010-05-12  Petr Baudis  <pasky@suse.cz>
46312
46313         [BZ #11589]
46314         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
46315         around j0() zero points by switching to j1().
46316         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46317         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46318         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46319         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46320
46321 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
46322
46323         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
46324         instead of 0.
46325         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
46326         instead of 0.
46327         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46328         Patch in part by Pavel Roskin <proski@gnu.org>.
46329
46330         [BZ #13138]
46331         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
46332         realloc.
46333         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
46334         Free memory block if necessary.
46335
46336         [BZ #12847]
46337         * libio/genops.c (INTDEF): For string streams the _lock pointer can
46338         be NULL.  Don't lock in this case.
46339
46340 2011-09-09  Roland McGrath  <roland@hack.frob.com>
46341
46342         * elf/elf.h (ELFOSABI_GNU): New macro.
46343         (ELFOSABI_LINUX): Define to that.
46344
46345 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
46346
46347         * string/strncat.c (strncat): Undef the symbol in case it has been
46348         defined in bits/string.h.
46349
46350 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
46351
46352         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
46353
46354         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
46355         link map.
46356
46357 2011-08-17  Andreas Jaeger  <aj@suse.de>
46358
46359         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
46360
46361 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
46362             Ian Lance Taylor  <iant@google.com>
46363
46364         * math/libm-test.inc (lround_test): New testcase.
46365         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
46366
46367 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
46368
46369         * Makefile: Remove support for automatic cvs check-ins.
46370         * Makerules: Likewise.
46371         * config.make.in: Likewise.
46372         * configure.in: Likewise.
46373         * intl/Makefile: Likewise.
46374         * locale/Makefile: Likewise.
46375         * po/Makefile: Likewise.
46376         * posix/Makefile: Likewise.
46377         * sysdeps/gnu/Makefile: Likewise.
46378         * sysdeps/mach/hurd/Makefile: Likewise.
46379         * sysdeps/sparc/sparc32/Makefile: Likewise.
46380
46381         [BZ #13118]
46382         * posix/Makefile (bug-regex32-ENV): Define.
46383         Patch by John Stanley <jpsinthemix@verizon.net>.
46384
46385         * misc/Makefile (headers): Add bits/select2.h.
46386         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
46387         * misc/bits/select2.h: New file.
46388         * include/bits/select2.h: New file.
46389         * debug/Makefile (routines): Add fdelt_chk.
46390         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
46391         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
46392         FD_ISSET.
46393         * debug/fdelt_chk.c: New file.
46394
46395         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
46396         * wcsmbs/test-wmemcmp.c: Likewise.
46397         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
46398         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
46399
46400 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46401
46402         * string/Makefile (strop-tests): Add memcmp.
46403         * string/test-wmemcmp.c: New file.
46404         * string/test-memcmp.c: Add wmemcmp support.
46405
46406 2011-09-08  Roland McGrath  <roland@hack.frob.com>
46407
46408         [BZ #13153]
46409         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
46410         2011-07-19 change.
46411
46412         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
46413         garbage value in a __mach_port_mod_refs call in the cases of the
46414         task-self and thread-self ports.
46415
46416 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46417
46418         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
46419
46420 2011-09-08  Andreas Schwab  <schwab@redhat.com>
46421
46422         * elf/dl-load.c (lose): Check for non-null L.
46423
46424 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
46425
46426         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
46427
46428         * elf/dl-libc.c (dlerror_run): Pass back error code from
46429         dl_catch_error.
46430
46431         [BZ #13123]
46432         * elf/dl-load.c (lose): Free l_origin if it is valid.
46433
46434         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
46435         names.
46436         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
46437         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46438         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46439         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46440         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
46441         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
46442
46443 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46444
46445         * sysdeps/powerpc/fpu/e_hypot.c: New file.
46446         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
46447         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
46448         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
46449         * sysdeps/powerpc/fpu/k_cosf.c: New file.
46450         * sysdeps/powerpc/fpu/k_sinf.c: New file.
46451         * sysdeps/powerpc/fpu/s_cosf.c: New file.
46452         * sysdeps/powerpc/fpu/s_sinf.c: New file.
46453         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
46454         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
46455
46456 2011-08-15  Alan Modra  <amodra@gmail.com>
46457
46458         [BZ #13092]
46459         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
46460         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
46461         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
46462         ppc_mcount to static-only-routines.
46463         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
46464         __mcount_internal.
46465         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
46466         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
46467
46468 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
46469
46470         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
46471         for finite and infinity parameters.
46472
46473 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
46474
46475         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
46476         and add nop instructions for throughput optimization.
46477         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46478
46479 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
46480
46481         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
46482         aligned copy for power7 with vector-scalar instructions.
46483         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46484
46485 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
46486
46487         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
46488         AVX check.
46489
46490 2011-09-07  Andreas Schwab  <schwab@redhat.com>
46491
46492         [BZ #13144]
46493         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
46494         last change.
46495
46496 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
46497
46498         * sysdeps/unix/sysv/linux/x86_64/init-first.c
46499         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
46500         syscall wrapper around clock_gettime in __vdso_clock_gettime.
46501         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
46502         clock_gettime.
46503
46504 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
46505
46506         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
46507         Forgot to demangle the pointer.
46508
46509         * sysdeps/i386/sysdep.h: Define atom_text_section.
46510         * sysdeps/x86_64/sysdep.h: Likewise.
46511         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
46512         section with atom_text_section.
46513         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46514         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46515         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
46516         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46517         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
46518
46519         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
46520         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
46521         already be defined.  Change to take two parameters and don't assign
46522         result to variable.  Adjust all users.
46523         Define INTERNAL_GETTIME if not already defined.
46524         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
46525         call.
46526         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
46527         HAVE_CLOCK_GETTIME_VSYSCALL.
46528         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
46529
46530         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
46531         gettimeofday vsyscall, just use time.
46532
46533 2011-09-06  Andreas Schwab  <schwab@redhat.com>
46534
46535         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
46536         <errno.h>.
46537
46538 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
46539
46540         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
46541         syscall on x86-64.
46542         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
46543         syscall.
46544         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
46545         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
46546         syscall if possible.
46547
46548 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46549
46550         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
46551         e_ident.  Don't pass to find_mapsXX.
46552         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
46553
46554 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46555
46556         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46557         strchr-sse2-no-bsf strrchr-sse2-no-bsf
46558         * sysdeps/x86_64/multiarch/strchr.S: Update.
46559         Check bit_slow_BSF bit.
46560         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46561         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
46562         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
46563
46564 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46565
46566         [BZ #13134]
46567         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
46568         before glibc 2.15.
46569         (tryshell): Define.
46570         (__spawni): Change last parameter to be flag.  Test
46571         SPAWN_XFLAGS_USE_PATH flag to use path or not.
46572         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
46573         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
46574         * posix/spawni.c: Likewise.
46575         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
46576         * posix/spawnp.c: Likewise.  Change normal version to use
46577         SPAWN_XFLAGS_USE_PATH.
46578         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
46579         SPAWN_XFLAGS_TRY_SHELL.
46580
46581         [BZ #13150]
46582         * posix/glob.h: Remove gcc 1.x support.
46583
46584         [BZ #13068]
46585         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
46586
46587 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46588
46589         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46590         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
46591         strrchr-sse2-bsf
46592         * sysdeps/i386/i686/multiarch/strchr.S: New file.
46593         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
46594         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
46595         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
46596         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
46597         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
46598
46599 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46600
46601         * sysdeps/x86_64/wcscmp.S: New file.
46602
46603         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
46604         wcscmp-c wcscmp-sse2
46605         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
46606         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
46607         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
46608         * wcsmbs/wcscmp.c: Allow renaming.
46609
46610 2011-09-05  David S. Miller  <davem@davemloft.net>
46611
46612         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
46613         stack slot, rather than the struct return pointer slot.
46614         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
46615         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
46616         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
46617         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
46618
46619 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46620
46621         * po/ja.po: Update from translation team.
46622
46623         [BZ #13144]
46624         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
46625         kernel in 64-bit binaries.
46626
46627 2011-09-01  David S. Miller  <davem@davemloft.net>
46628
46629         * elf/elf.h (HWCAP_SPARC_*): Move to..
46630         * sysdeps/sparc/sysdep.h: this new file and add new values.
46631         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
46632         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
46633         _DL_HWCAP_COUNT to 24.
46634         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46635         entries.
46636         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
46637         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
46638         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
46639         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
46640         instead of magic constants.
46641         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46642
46643 2011-08-31  David S. Miller  <davem@davemloft.net>
46644
46645         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
46646         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
46647         Reimplement to do errno handling inline.
46648         (SYSCALL_ERROR_HANDLER): New macro.
46649         (__SYSCALL_STRING): Do not do errno handling in asm.
46650         (__CLONE_SYSCALL_STRING): Delete.
46651         (__INTERNAL_SYSCALL_STRING): Delete.
46652         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
46653         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
46654         (PSEUDO): Reimplement to do errno handling inline.
46655         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
46656         (SYSCALL_ERROR_HANDLER): New macro.
46657         (__SYSCALL_STRING): Do not do errno handling in asm.
46658         (__CLONE_SYSCALL_STRING): Delete.
46659         (__INTERNAL_SYSCALL_STRING): Delete.
46660         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
46661         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
46662         i386.
46663         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
46664         (inline_syscall*): Add 'err' argument.
46665         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
46666         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
46667         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
46668         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
46669
46670         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
46671         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46672
46673 2011-08-30  Andreas Schwab  <schwab@redhat.com>
46674
46675         * elf/rtld.c (dl_main): Relocate objects in dependency order.
46676
46677 2011-08-29  Jiri Olsa <jolsa@redhat.com>
46678
46679         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
46680         directive.
46681
46682 2011-08-24  David S. Miller  <davem@davemloft.net>
46683
46684         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
46685
46686 2011-08-24  Andreas Schwab  <schwab@redhat.com>
46687
46688         * elf/Makefile: Add rules to build and run unload8 test.
46689         * elf/unload8.c: New file.
46690         * elf/unload8mod1.c: New file.
46691         * elf/unload8mod1x.c: New file.
46692         * elf/unload8mod2.c: New file.
46693         * elf/unload8mod3.c: New file.
46694
46695         * elf/dl-close.c (_dl_close_worker): Reset private search list if
46696         it wasn't used.
46697
46698 2011-08-23  David S. Miller  <davem@davemloft.net>
46699
46700         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
46701         subtract stack bias.
46702         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
46703         %sp not %fp in calculations.
46704         (_JMPBUF_UNWINDS_ADJ): Likewise.
46705
46706         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
46707         (aio_suspend): Call it to force an exception region around the
46708         AIO_MISC_WAIT() invocation.
46709
46710 2011-08-23  Andreas Schwab  <schwab@redhat.com>
46711
46712         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
46713         backslash.
46714
46715 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
46716
46717         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
46718         protection macro.
46719         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
46720         and <dl-machine.h>.
46721         (Elf64_FuncDesc): Remove.
46722
46723 2011-08-22  David S. Miller  <davem@davemloft.net>
46724
46725         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
46726         sigaltstack check, add missing cfi directives.
46727         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
46728         missing cfi directives, and sigaltstack handling.
46729
46730 2011-08-16  Andreas Schwab  <schwab@redhat.com>
46731
46732         [BZ #11724]
46733         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
46734         object is seen twice.
46735         * elf/dl-fini.c (_dl_sort_fini): Likewise.
46736
46737         * elf/Makefile (distribute): Add tst-initorder2.c.
46738         (tests): Add tst-initorder2.
46739         (modules-names): Add tst-initorder2a tst-initorder2b
46740         tst-initorder2c tst-initorder2d.  Add rules to build them.
46741         ($(objpfx)tst-initorder2.out): New rule.
46742         * elf/tst-initorder2.c: New file.
46743         * elf/tst-initorder2.exp: New file.
46744
46745 2011-08-22  Andreas Schwab  <schwab@redhat.com>
46746
46747         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
46748
46749         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
46750         dependencies back to end of function.
46751
46752         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46753         $(elfobjdir)/ld.so.
46754
46755 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
46756
46757         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
46758         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
46759         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
46760         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
46761         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
46762         of __vdso_gettimeofday.
46763         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
46764         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
46765         attribute_hidden.
46766         (_libc_vdso_platform_setup): Remove initialization of
46767         __vdso_gettimeofday and __vdso_time.
46768
46769 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
46770
46771         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
46772         and fgetc_unlocked.
46773         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
46774         getc_unlocked.
46775
46776         * elf/dl-open.c (add_to_global): Report additions to the global scope
46777         for LD_DEBUG=scopes.
46778         (dl_open_worker): Also print scope of newly loaded dependencies.
46779         (_dl_show_scope): Indicate if there is no scope.
46780
46781         [BZ #13114]
46782         * stdio-common/Makefile (tests): Add bug24.
46783         * stdio-common/bug24.c: New file.
46784
46785 2011-08-19  Andreas Jaeger  <aj@suse.de>
46786
46787         [BZ #13114]
46788         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
46789         non-existant file when using close-on-exec mode.
46790
46791 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
46792
46793         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
46794         the very first instruction.
46795
46796         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
46797         the CFI state in the end.
46798         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
46799         inclusion of dl-trampoline.h.
46800         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
46801
46802 2011-08-19  Andreas Schwab  <schwab@redhat.com>
46803
46804         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
46805         expectations for long double.
46806
46807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
46808         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
46809
46810 2011-08-14  David S. Miller  <davem@davemloft.net>
46811
46812         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
46813         artificual limit depends upon the system page size.
46814
46815 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
46816
46817         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
46818         * resolv/Makefile: Define CFLAGS-libresolv.
46819
46820 2011-08-17  Andreas Schwab  <schwab@redhat.com>
46821
46822         * nss/makedb.c (compute_tables): Make variables used in nested
46823         function static.
46824
46825 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
46826
46827         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
46828         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
46829         if buffer was too small.
46830
46831         * elf/pldd.c (main): Attach to all threads in the process.
46832         Rewrite /proc handling to use *at functions.
46833
46834 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
46835
46836         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46837         specifies first scope to show.
46838         (dl_open_worker): Update callers.  Move printing scope of new
46839         object to before the relocation.
46840         * elf/rtld.c (dl_main): Update _dl_show_scope call.
46841         * sysdeps/generic/ldsodefs.h: Update declaration.
46842
46843         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46844         string for the scope number.
46845
46846 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
46847
46848         * nscd/servicescache.c (cache_addserv): Make sure written is always
46849         initialized.
46850
46851 2011-08-14  Roland McGrath  <roland@hack.frob.com>
46852
46853         * sysdeps/i386/i486/bits/atomic.h
46854         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46855         statement expression, so as to suppress "set but not used" warning.
46856         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46857
46858         * string/strncat.c (STRNCAT): Use prototype definition.
46859
46860         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46861         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46862         -Iprograms here.
46863         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46864         (localedef-modules): Add localedef.
46865         (locale-modules): Add locale.
46866
46867         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46868         * elf/rtld.c (dl_main): Invert order of assignment in last change,
46869         to avoid a warning.
46870
46871 2011-08-14  David S. Miller  <davem@davemloft.net>
46872
46873         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46874         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46875
46876 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
46877
46878         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
46879         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46880         * elf/rtld.c (dl_main): Set l_name of vDSO.
46881         Call _dl_show_scope when DL_DEBUG_SCOPES.
46882         (process_dl_debug): Recognize scopes flag and also set it for all.
46883         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46884         Declare _dl_show_scope.
46885
46886         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46887         (do_dlopen): Pass caller_dlopen to dl_open.
46888         (__libc_dlopen_mode): Initialize caller_dlopen.
46889
46890         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46891         of libc.  Make tolower call locale-independent.  Optimize a bit by
46892         using isdigit instead of isalnum.
46893         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46894
46895 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
46896
46897         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46898         was a dependency or dynamically loaded.
46899
46900 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
46901
46902         * intl/l10nflist.c: Allow architecture-specific pop function.
46903         * sysdeps/x86_64/l10nflist.c: New file.
46904
46905         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46906         classification.
46907
46908 2011-08-10  Andreas Schwab  <schwab@redhat.com>
46909
46910         * include/dirent.h: Add libc_hidden_proto for scandirat and
46911         scandirat64.  Don't declare __scandirat64.
46912         * dirent/scandirat.c: Add libc_hidden_def.
46913         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46914         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46915
46916 2011-08-10  David S. Miller  <davem@davemloft.net>
46917
46918         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46919         enum.
46920         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46921         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46922         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46923
46924 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
46925
46926         * Versions.def [libc]: Add GLIBC_2.15.
46927         * dirent/Makefile (routines): Add scandirat and scandirat64.
46928         * dirent/Versions [libc]: Export scandirat and scandirat64 for
46929         GLIBC_2.15.
46930         * dirent/dirent.h: Declare scandirat and scandirat64.
46931         * dirent/scandirat.c: New file.
46932         * dirent/scandirat64.c: New file.
46933         * sysdeps/wordsize-64/scandirat.c: New file.
46934         * sysdeps/wordsize-64/scandirat64.c: New file.
46935         * dirent/opendir.c: Define opendirat.
46936         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
46937         using scandirat.
46938         * dirent/scandir64.c: Adjust for scandir.c change.
46939         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
46940         __scandirat64, and __scandir_cancel_handler.
46941         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
46942         additional parameter and use openat instead of open (outside of ld.so).
46943         Add new __opendir as wrapper around __opendirat.
46944         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46945         here without requiring old scandirat implementation.
46946
46947 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
46948
46949         * dirent/scandir.c (cancel_handler): Renamed to
46950         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
46951         defined.  Adjust users.
46952         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46953         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46954
46955 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
46956
46957         * string/test-string.h (IMPL): Use __STRING to expand name and then
46958         stringify it.
46959
46960         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
46961         of cleanups.
46962
46963 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46964
46965         * string/Makefile: Update.
46966         (strop-tests): Append strncat.
46967         * string/test-wcscmp.c: New file.
46968         New comprehensive test for wcscmp.
46969         * string/test-strcmp.c: Update.
46970         (WIDE): New define.
46971
46972 2011-07-22  Andreas Schwab  <schwab@redhat.com>
46973
46974         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46975         line.
46976
46977 2011-07-26  Andreas Schwab  <schwab@redhat.com>
46978
46979         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46980         encoding to ACE if AI_IDN.
46981
46982 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
46983
46984         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46985         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46986
46987 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46988
46989         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46990         Fix overflow bug in strncat.
46991         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46992
46993         * string/test-strncat.c: Update.
46994         Add new tests for checking overflow bugs.
46995
46996 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46997
46998         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46999         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
47000         * sysdeps/i386/i686/multiarch/strcat.S: New file.
47001         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
47002         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
47003         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
47004         * sysdeps/i386/i686/multiarch/strncat.S: New file.
47005         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
47006         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
47007
47008         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
47009         (USE_AS_STRCAT): Define.
47010         Add strcat and strncat support.
47011         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
47012
47013 2011-07-25  Andreas Schwab  <schwab@redhat.com>
47014
47015         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
47016         __n bigger than INT_MAX+1.
47017         (__strncmp_g): Likewise.
47018
47019 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
47020
47021         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
47022         * libio/stido.h: Likewise.
47023
47024         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
47025         (AF_NFC): Define.
47026         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
47027         (AF_NFC): Define.
47028
47029         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
47030         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47031         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47032         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
47033         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47034
47035         [BZ #13021]
47036         * scripts/test-installation.pl: Don't expect libnss_test1 to be
47037         installed.
47038
47039         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
47040         typo.
47041         (_dl_x86_64_save_sse): Likewise.
47042
47043 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
47044
47045         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
47046         OSXSAVE.
47047         (_dl_x86_64_save_sse): Likewise.
47048
47049         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
47050
47051         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
47052
47053 2011-07-21  Andreas Schwab  <schwab@redhat.com>
47054
47055         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
47056         change.
47057         (_dl_x86_64_save_sse): Use correct AVX check.
47058
47059 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47060
47061         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
47062         bug in strncpy/strncat.
47063         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
47064
47065 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
47066
47067         * string/tester.c (test_strcat): Add tests for different alignments
47068         of source and destination.
47069         (test_strncat): Likewise.
47070
47071 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
47072
47073         [BZ #12852]
47074         * posix/glob.c (glob): Check passed in values before using them in
47075         expressions to avoid some overflows.
47076         (glob_in_dir): Likewise.
47077
47078         [BZ #13007]
47079         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
47080         check for AVX enablement so that we don't crash with old kernels and
47081         new hardware.
47082         * elf/tst-audit4.c: Add same checks here.
47083         * elf/tst-audit6.c: Likewise.
47084
47085         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
47086
47087 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
47088
47089         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
47090
47091 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
47092
47093         * po/cs.po: Update from translation team.
47094         * po/bg.po: Likewise.
47095
47096 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
47097
47098         * misc/sys/cdefs.h: Add support for const attribute.
47099         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
47100         to gnu_dev_{major,minor,makedev} functions.
47101
47102 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
47103
47104         * intl/dcigettext.c (get_output_charset): Add missing bracket.
47105
47106 2011-07-20  Andreas Schwab  <schwab@redhat.com>
47107
47108         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
47109         strlen results.
47110
47111 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47112
47113         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
47114         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
47115         register in order to avoid conflicts with the soft frame pointer
47116         being held in r11 when necessary.
47117         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
47118         (INTERNAL_VSYSCALL_NCS): Likewise.
47119
47120 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
47121
47122         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
47123         * elf/dl-fini.c (_dl_fini): Adjust caller.
47124         * elf/dl-close.c (_dl_close_worker): Likewise.
47125         * sysdeps/generic/ldsodefs.h: Adjust declaration.
47126
47127 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
47128
47129         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
47130         "aux_cache->nlibs < 0".
47131
47132         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
47133         in the reload-count case.
47134
47135 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47136
47137         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47138         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
47139         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
47140         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
47141         * sysdeps/x86_64/multiarch/strcat.S: New file.
47142         * sysdeps/x86_64/multiarch/strncat.S: New file.
47143         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
47144         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
47145         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
47146         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
47147         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
47148         (USE_AS_STRCAT): Define.
47149         Add strcat and strncat support.
47150         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47151         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
47152         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
47153         * string/strncat.c: Update.
47154         (USE_AS_STRNCAT): Define.
47155         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47156         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
47157         and i7.
47158         * sysdeps/x86_64/multiarch/init-arch.h
47159         (bit_Prefer_PMINUB_for_stringop): New.
47160         (index_Prefer_PMINUB_for_stringop): Likewise.
47161         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
47162         bit_Prefer_PMINUB_for_stringop.
47163
47164 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
47165
47166         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
47167         buffer64.
47168         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
47169         of casting of buffer.
47170         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
47171         buffer32 and buffer64.
47172         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
47173         writes instead of casting of buffer.
47174         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
47175         buffer32.
47176         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
47177         casting of buffer.
47178
47179 2011-07-19  Andreas Schwab  <schwab@redhat.com>
47180
47181         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
47182
47183 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
47184
47185         * nscd/nscd.c (termination_handler): Don't do anything for a database
47186         if it has not yet been initialized.
47187
47188 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
47189
47190         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47191
47192 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
47193
47194         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47195
47196 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
47197
47198         * po/nl.po: Update from translation team.
47199         * po/sv.po: Likewise.
47200
47201 2011-07-16  Roland McGrath  <roland@hack.frob.com>
47202
47203         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
47204         now disallowed by GCC.
47205
47206         * configure.in (use-default-link): Default to yes if a test -shared
47207         link meets our qualifications.
47208         * configure: Regenerated.
47209
47210         * config.make.in (output-format): New variable.
47211         * configure.in: Check for ld --print-output-format support.
47212         * configure: Regenerated.
47213         * Makerules ($(common-objpfx)format.lds)
47214         [$(output-format) != unknown]: Just use $(output-format),
47215         instead of the linker-script munging.
47216
47217 2011-07-14  Roland McGrath  <roland@hack.frob.com>
47218
47219         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
47220         of $(common-objpfx)shlib.lds.
47221         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
47222
47223         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
47224         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
47225
47226         * configure.in (-z relro check): Adjust test code to add a large
47227         writable data section after it.
47228         * configure: Regenerated.
47229
47230 2011-07-11  Roland McGrath  <roland@hack.frob.com>
47231
47232         * configure.in (-z relro check): Fix test code to make the variable
47233         truly const.
47234         * configure: Regenerated.
47235
47236 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
47237
47238         * nscd/nscd.h (struct traced_file): Define.
47239         (struct database_dyn): Remove inotify_descr, reset_res, and filename
47240         elements.  Add traced_files.
47241         (inotify_fd): Declare.
47242         (register_traced_file): Declare.
47243         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
47244         (inotify_fd): Export.
47245         (resolv_conf_descr): Remove.
47246         (nscd_init): Move inotify descriptor creation to main.
47247         Don't register files for notification here.
47248         (register_traced_file): New function.
47249         (invalidate_cache): Don't use reset_res to determine whether to call
47250         res_init, go through the list of registered files.
47251         (main_loop_poll): The inotify descriptors are now stored in the
47252         structures for the traced files.
47253         (main_loop_epoll): Likewise
47254         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
47255         to __nss_disable_nscd.
47256         * nscd/cache.c (prune_cache): There is no single inotify descriptor
47257         for a database anymore.  Check the records for all the registered
47258         files instead.
47259         * nss/Makefile (libnss_files-routines): Add files-init.
47260         (libnss_db-routines): Add db-init.
47261         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
47262         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
47263         * nss/nss_db/db-init.c: New file.
47264         * nss/nss_files/files-init.c: New file.
47265         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
47266         __nss_lookup_function.
47267         (__nss_lookup_function): Call nss_load_library.
47268         (nss_load_all_libraries): New function.
47269         (__nss_disable_nscd): Take parameter with callback function for files
47270         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
47271         used for the cached services.
47272         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
47273         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
47274         options for features to all the files in nscd.
47275
47276         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
47277
47278 2011-07-10  Roland McGrath  <roland@hack.frob.com>
47279
47280         * csu/elf-init.c (__libc_csu_init): Comment typo.
47281
47282 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
47283
47284         * po/pl.po: Update from translation team.
47285         * po/ja.po: Likewise.
47286         * po/ru.po: Likewise.
47287         * po/ko.po: Likewise.
47288         * po/fr.po: Likewise.
47289
47290 2011-07-09  Roland McGrath  <roland@hack.frob.com>
47291
47292         * configure.in (.ctors/.dtors header and trailer check):
47293         Use an empirical test on a built program.
47294         * configure: Regenerated.
47295
47296         * configure.in (-z relro check): Use an empirical test on a built DSO.
47297         Detect, but do not require, on ia64.
47298         * configure: Regenerated.
47299
47300         * configure.in (READELF): Find it with AC_CHECK_TOOL.
47301         Update tests that use readelf to use $READELF instead.
47302         * configure: Regenerated.
47303
47304 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
47305
47306         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
47307         if the result is not used.
47308
47309 2011-07-05  Andreas Jaeger  <aj@suse.de>
47310
47311         [BZ#9696]
47312         * stdlib/tst-strtod.c: Add testcase.
47313
47314 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
47315
47316         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
47317         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
47318         The latter has a higher limit.  Take additional parameter to pass to
47319         the new function.
47320         (__pathconf): Pass file to __statfs_link_max.
47321         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
47322         __statfs_link_max.
47323         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
47324         __statfs_link_max.
47325
47326         [BZ #12868]
47327         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
47328         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47329         Handle Lustre.
47330         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
47331         (__statfs_filesize_max): Likewise.
47332         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
47333
47334 2011-07-05  Andreas Jaeger  <aj@suse.de>
47335
47336         * resolv/res_comp.c (dn_skipname): Remove unused variable.
47337
47338 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
47339
47340         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
47341         `status' variable.
47342         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
47343         Likewise.
47344
47345 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
47346
47347         * Makefile (strop-tests): Add strncat.
47348         * string/test-strncat.c: New file.
47349
47350 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
47351
47352         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
47353
47354 2011-06-21  Andreas Jaeger  <aj@suse.de>
47355
47356         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
47357         Copy rule from iconvdata/Makefile.
47358
47359 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
47360
47361         [BZ #12922]
47362         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
47363         but no long options are defined, just return 'W'.
47364
47365 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
47366
47367         [BZ #9696]
47368         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
47369
47370 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
47371
47372         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
47373         netgroups to read.
47374         (innetgr): Likewise.
47375
47376 2011-07-05  Roland McGrath  <roland@hack.frob.com>
47377
47378         * config.make.in (install_root): Default to $(DESTDIR).
47379
47380 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
47381
47382         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
47383
47384 2011-07-02  Roland McGrath  <roland@hack.frob.com>
47385
47386         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
47387
47388         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
47389         containing directory rather than embedding absolute directory names.
47390
47391         * scripts/check-local-headers.sh: Rewritten using awk.
47392         Match by word, not by line.  Print error messages for matches.
47393         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
47394
47395         * Makerules [shlib-lds-flags empty]:
47396         ($(common-objpfx)libc_pic.opts): New target.
47397         ($(common-objpfx)libc_pic.os.clean): New target.
47398         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
47399
47400         * config.make.in (OBJCOPY): New variable.
47401         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
47402         * configure: Regenerated.
47403
47404         * config.make.in (use-default-link): New variable.
47405         * configure.in (use_default_link): Grok --with-default-link to set it.
47406         * configure: Regenerated.
47407         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
47408         (shlib-lds, shlib-lds-flags): Define to empty.
47409
47410         * Makerules (shlib-lds): New variable.
47411         (shlib-lds-flags): New variable.
47412         (build-shlib, build-moduile, build-module-asneeded): Use it.
47413         ($(common-objpfx)libc.so): Use $(shlib-lds).
47414         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
47415         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
47416
47417         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
47418         DT_FLAGS/DT_FLAGS_1 with zero flags.
47419
47420         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
47421         linker script munging.
47422
47423 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
47424
47425         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
47426         as 128-bit value.
47427         * crypt/sha512.c (sha512_process_block): Perform total addition using
47428         128-bit if possible.
47429         (__sha512_finish_ctx): Likewise.
47430         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
47431         as 64-bit value.
47432         * crypt/sha256.c (SWAP64): Define.
47433         (sha256_process_block): Perform total addition using 64-bit if
47434         possible.
47435         (__sha256_finish_ctx): Likewise.
47436
47437 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
47438
47439         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
47440         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47441         * nscd/hstcache.c (cache_addhst): Likewise.
47442         * nscd/grpcache.c (cache_addgr): Likewise.
47443         * nscd/aicache.c (addhstaiX): Likewise
47444         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
47445
47446 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
47447
47448         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
47449         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47450         * nscd/hstcache.c (cache_addhst): Likewise.
47451         * nscd/grpcache.c (cache_addgr): Likewise.
47452         * nscd/aicache.c (addhstaiX): Likewise
47453
47454 2011-07-01  Andreas Schwab  <schwab@redhat.com>
47455
47456         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
47457         domain only when needed.
47458
47459 2011-06-30  Andreas Schwab  <schwab@redhat.com>
47460
47461         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
47462         is always restored.
47463
47464 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
47465
47466         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
47467         are re-adding the entry.
47468         * nscd/servicescache.c (cache_addserv): Likewise.
47469
47470 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
47471
47472         * sysdeps/generic/dl-irel.h: fix protection against multiple
47473         inclusions.
47474         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
47475
47476 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
47477
47478         [BZ #12935]
47479         * malloc/memusage.sh: Fix quoting in message.
47480         * debug/xtrace.sh: Likewise.
47481
47482         * configure.in: Remove support for --experimental-malloc option, make
47483         it the default.
47484         * config.make.in: Likewise.
47485         * malloc/Makefile: Likewise.
47486
47487 2011-06-27  Andreas Schwab  <schwab@redhat.com>
47488
47489         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
47490         two-byte characters.
47491
47492 2011-06-27  Roland McGrath  <roland@hack.frob.com>
47493
47494         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
47495         AC_CACHE_CHECK invocation.
47496         * configure: Regenerated.
47497
47498         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
47499
47500 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
47501
47502         [BZ #12350]
47503         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
47504         bit from old_res_options.
47505
47506         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
47507
47508         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
47509         value type for setfct.
47510
47511 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
47512
47513         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47514         __gettimeofday instead of gettimeofday.
47515
47516 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
47517
47518         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
47519
47520 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
47521
47522         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
47523
47524         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
47525         info.
47526
47527 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
47528
47529         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47530         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47531         strcpy-sse2-unaligned strncpy-sse2-unaligned
47532         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
47533         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
47534         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
47535         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
47536         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
47537         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
47538         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
47539         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
47540         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
47541         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
47542         (STRCPY): Support SSE2 and SSSE3 versions.
47543
47544 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
47545
47546         [BZ #12874]
47547         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
47548         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
47549         kernels which artificially limit size of requests.
47550
47551 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
47552
47553         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47554         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47555         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
47556         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
47557         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
47558         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
47559         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
47560         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
47561         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
47562         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
47563         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
47564         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
47565         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
47566         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
47567         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
47568         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47569         Enable unaligned load optimization for Intel Core i3, i5 and i7
47570         processors.
47571         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
47572         Define.
47573         (index_Fast_Unaligned_Load): Define.
47574         (HAS_FAST_UNALIGNED_LOAD): Define.
47575
47576 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
47577
47578         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
47579
47580 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
47581
47582         [BZ #12907]
47583         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
47584         until it is clear that the information is realy needed.
47585         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
47586
47587 2011-06-22  Andreas Schwab  <schwab@redhat.com>
47588
47589         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
47590
47591 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
47592
47593         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47594         /sys/devices/system/cpu/online if it is usable.
47595
47596         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
47597         reading the information from the /proc filesystem to once a second.
47598
47599 2011-06-21  Andreas Jaeger  <aj@suse.de>
47600
47601         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
47602         NULL after inclusion of kernel headers.
47603
47604 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
47605
47606         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
47607         calls to internal_setent.
47608
47609         [BZ #12885]
47610         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
47611         addresses using gethostbyname4_r ignore IPv4 addresses.
47612
47613         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
47614         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
47615
47616         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
47617
47618 2011-06-20  David S. Miller  <davem@davemloft.net>
47619
47620         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
47621         inclusions.
47622         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
47623
47624         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
47625         (elf_irel): Use it.
47626         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
47627         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
47628         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
47629         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
47630         * sysdeps/x86_64/dl-irel.h: Likewise.
47631
47632         * elf/dl-runtime.c: Use elf_ifunc_invoke.
47633         * elf/dl-sym.c: Likewise.
47634
47635 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
47636
47637         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
47638         need to dereference resplen2.
47639
47640 2011-06-14  Andreas Schwab  <schwab@redhat.com>
47641
47642         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
47643
47644 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
47645
47646         * Makeconfig: Define vardbdir and inst_vardbdir.
47647         * nss/Makefile: Add rules to install db-Makefile.
47648
47649         * nss/nss_db/db-XXX.c: Cleanup.
47650
47651         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
47652         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
47653         GLIBC_PRIVATE.
47654         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
47655         * nss/makedb.c: Implement -g option to specify that value strings
47656         are generated and should not be added to table iterated over for
47657         get*ent calls.
47658         * nss/nss_db/db-initgroups.c: New file.
47659
47660         * nss/getent.c: Add support for initgroups lookups through getgrouplist
47661         interface.
47662
47663         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
47664         (internal_getgrouplist): Adjust to name change.
47665         Update use_initgroups_entry if this is not the first call.
47666         * nss/databases.def: Add initgroups entry.
47667
47668         * nss/makedb.c (compute_tables): Check result of multiple hash table
47669         sizes to minimize maximum chain length.
47670
47671 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
47672
47673         * Versions.def: Add entry for libnss_db.
47674         * shlib-versions: Likewise.
47675         * nss/Makefile: Add rules to build libnss_db.
47676         * nss/Versions: Add libnss_db information.  Organize libnss_files
47677         entries better.
47678         * nss/db-Makefile: Add gshadow support.  Change rules for the new
47679         makedb progra.  Some minor improvements to generate smaller files.
47680         * nss/nss_db/nss_db.h: Move NSS database header data structures to
47681         here from...
47682         * nss/makedb.c: ...here.
47683         Improve database format to be smaller and require less memory at
47684         runtime.
47685         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
47686         db anymore.
47687         * nss/nss_db/db-netgrp.c: Likewise.
47688         * nss/nss_db/db-open.c: Likewise.
47689         * nss/nss_files/flies-XXX.x: Adjust comments.
47690         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
47691         * nss/nss_files/files-grp.c: Likewise.
47692         * nss/nss_files/files-hosts.c: Likewise.
47693         * nss/nss_files/files-network.c: Likewise.
47694         * nss/nss_files/files-proto.c: Likewise.
47695         * nss/nss_files/files-pwd.c: Likewise.
47696         * nss/nss_files/files-rpc.c: Likewise.
47697         * nss/nss_files/files-service.c: Likewise.
47698         * nss/nss_files/files-sgrp.c: Likewise.
47699         * nss/nss_files/files-spwd.c: Likewise.
47700         * nss/nss_db/db-alias.c: Removed.
47701         * nss/nss_db/dummy-db.h: Removed.
47702
47703 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
47704
47705         * nss/makedb.c: Rewritten to not use database library.
47706         * nss/Makefile: Update to build new makedb program.
47707
47708 2011-06-14  Andreas Jaeger  <aj@suse.de>
47709
47710         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
47711         memset declaration.
47712
47713 2011-06-10  Andreas Schwab  <schwab@redhat.com>
47714
47715         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
47716         tmpbuf.
47717
47718 2011-06-10  Roland McGrath  <roland@hack.frob.com>
47719
47720         * Makerules (shlib.lds): Fail if the linker script comes out empty.
47721         * elf/Makefile ($(objpfx)ld.so): Likewise.
47722
47723         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
47724         Don't list ld.so twice in dependencies.
47725
47726         * posix/bug-regex31.c: Include <stdlib.h>.
47727
47728         * nscd/hstcache.c (cache_addhst): Remove unused variable.
47729
47730         * nis/nss_compat/compat-spwd.c
47731         (getspent_next_nss_netgr): Remove unused variable.
47732         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
47733
47734         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
47735         nonmembers" output to use the right array.
47736
47737         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
47738
47739         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
47740
47741         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
47742         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
47743         * catgets/gencat.c (read_input_file): Likewise.
47744         * locale/programs/locarchive.c (enlarge_archive): Likewise.
47745
47746         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
47747         variable definition inside #if's controlling its use.
47748
47749         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
47750
47751         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
47752
47753         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
47754
47755         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
47756         unreachable code.
47757
47758         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
47759
47760         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
47761         * configure: Regenerated.
47762
47763         * Makerules: Revert last change.
47764         * elf/Makefile: Likewise.
47765
47766 2011-06-09  Roland McGrath  <roland@hack.frob.com>
47767
47768         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
47769         * elf/Makefile ($(objpfx)librtld.os): Likewise.
47770         (reloc-link): Likewise.
47771
47772 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
47773
47774         * elf/Makefile: Add rules to build pldd.
47775         * elf/pldd.c: New file.
47776         * elf/pldd-xx.c: New file.
47777
47778 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
47779
47780         * version.h: Update for 2.15 development version.
47781
47782 2011-06-07  David S. Miller  <davem@davemloft.net>
47783
47784         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
47785         ifuncs.
47786         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
47787         elf_machine_lazy_rel): Likewise.
47788         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47789         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
47790         elf_machine_lazy_rel): Likewise.
47791         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
47792         dl_hwcap via passed in argument.
47793         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
47794         Likewise.
47795
47796 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47797
47798         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
47799
47800 2011-06-06  Roland McGrath  <roland@hack.frob.com>
47801
47802         [BZ #12849]
47803         * manual/fdl-1.1.texi: New file, verbatim from:
47804         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
47805         * manual/lgpl-2.1.texi: New file, verbatim from:
47806         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
47807         * manual/Makefile (licenses): New variable, list those new file names.
47808         (texis): Use it.
47809         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
47810
47811         * manual/fdl.texi: File removed.
47812         * manual/lesser.texi: File removed.
47813         * manual/libc.texinfo (Copying, Documentation License):
47814         Use new @include file names, put @appendix directive before @include.
47815
47816 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
47817
47818         [BZ #12841]
47819         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
47820         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
47821         (mq_open): Add __NTH.
47822
47823 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
47824
47825         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47826         Assume Intel Core i3/i5/i7 processor if AVX is available.
47827
47828 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
47829
47830         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47831         typo.
47832
47833 2011-05-31  Andreas Schwab  <schwab@redhat.com>
47834
47835         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47836         memory.  Use alloca_account.  Fix memory leak when retrying.
47837
47838 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
47839
47840         * version.h (RELEASE): Bump for 2.14 release.
47841         * include/features.h (__GLIBC_MINOR__): Bump to 14.
47842
47843         * config.make.in (RANLIB): Remove entry.
47844
47845 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
47846
47847         * po/Makefile (po-sed-cmd): Add ksh to extensions.
47848         (libc.pot): Work around missing support for .ksh extension in xgettext.
47849
47850         [BZ #12684]
47851         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47852         if both request failed.
47853         (send_dg): In case of server errors clear resplen or *resplen2.
47854
47855         [BZ #12454]
47856         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47857         when there are multiple maps.
47858         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47859         (_dl_fini): Remove test here.
47860
47861         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47862
47863 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
47864
47865         [BZ #12350]
47866         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47867         bit from old_res_options.
47868         (gaih_inet): Likewise.
47869
47870         [BZ #11099]
47871         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
47872         as signed.
47873
47874         * resolv/res_init.c (res_setoptions): Make the code more compact.
47875
47876         [BZ #11558]
47877         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47878         set RES_USEVC.
47879
47880         [BZ #11634]
47881         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47882
47883         * malloc/malloc.h: Mark malloc hook variables as deprecated.
47884
47885         [BZ #11781]
47886         * malloc/malloc.h: Declare malloc hook variables as volatile.
47887
47888         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47889         in last patch.
47890
47891         [BZ #11799]
47892         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
47893         raise in the comment.
47894         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47895         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47896         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
47897
47898 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
47899
47900         [BZ #12811]
47901         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47902         grow the buffers more if it already has to be sufficient.
47903         (build_wcs_upper_buffer): Likewise.
47904         * posix/regexec.c (check_matching): Likewise.
47905         (clean_state_log_if_needed): Likewise.
47906         (extend_buffers): Don't enlarge buffers beyond size of the input
47907         buffer.
47908         Patches mostly by Emil Wojak <emil@wojak.eu>.
47909         * posix/bug-regex32.c: New file.
47910         * posix/Makefile (tests): Add bug-regex32.
47911
47912         * locale/findlocale.c (_nl_find_locale): Return right away if
47913         _nl_explode_name failed.
47914         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47915
47916         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47917
47918         * debug/xtrace.sh: Unify messages.
47919         * malloc/memusage.sh: Likewise.
47920
47921         [BZ #12813]
47922         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47923         time symbol from vDSO.  Substitute with vsyscall if not available.
47924         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47925         __vdso_time.
47926
47927         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47928         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47929         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47930         Add sendmmsg and internal_sendmmsg.
47931         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47932         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47933         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47934
47935         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47936         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47937         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47938
47939 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
47940
47941         [BZ #12813]
47942         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47943         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
47944         available.
47945         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47946         __vdso_getcpu.
47947
47948         [BZ #12814]
47949         * iconvdata/Makefile (tests): Add bug-iconv9.
47950         * iconvdata/bug-iconv9.c: New file.
47951
47952 2011-05-27  Andreas Schwab  <schwab@redhat.com>
47953
47954         [BZ #12814]
47955         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47956
47957 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
47958
47959         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47960         (struct user_regs_struct): Change intcs field back to cs.
47961
47962 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
47963
47964         * po/ja.po: Update from translation team.
47965
47966 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
47967
47968         [BZ #12795]
47969         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47970         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47971
47972 2011-05-20  Andreas Schwab  <schwab@redhat.com>
47973
47974         * stdlib/longlong.h: Update from GCC.
47975
47976 2011-05-23  Andreas Schwab  <schwab@redhat.com>
47977
47978         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47979         parameter name.
47980         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47981         Add parameter name.
47982         (__sysconf): Pass it down.
47983
47984 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
47985
47986         [BZ #12671]
47987         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47988         some situations.
47989         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47990         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47991         add in in __libc_use_alloca calls.  Adjust callers.
47992         (glob): Use malloc in some situations.
47993
47994         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47995         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47996         pltexit.
47997
47998 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
47999
48000         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
48001         and CLOCK_BOOTTIME_ALARM.
48002
48003         [BZ #12782]
48004         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
48005         is returned.
48006
48007         * string/_strerror.c (__strerror_r): Print negative errors as signed
48008         numbers.
48009
48010         [BZ #12777]
48011         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
48012         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
48013         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
48014
48015         * configure.in: Fix typo in redirection and correct removal of test
48016         files in two cases.
48017
48018         [BZ #12788]
48019         * locale/setlocale.c (new_composite_name): Fix test to check for
48020         identical name of all categories.
48021
48022         [BZ #12792]
48023         * libio/filedoalloc.c (local_isatty): New function.
48024         (_IO_file_doallocate): Use local_isatty.
48025         * stdio-common/perror.c (perror): In case a new stream is used
48026         forward the stream error.
48027         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
48028         error flag.
48029
48030 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
48031
48032         [BZ #11869]
48033         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
48034         alloca.
48035         * include/alloca.h (extend_alloca_account): Define.
48036
48037         [BZ #11857]
48038         * posix/regex.h: Fix comments with documentation of user-accessible
48039         fields after compilation and describe correct free'ing of pattern
48040         after re_compile_pattern.
48041         Patch by Reuben Thomas <rrt@sc3d.org>.
48042
48043 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
48044
48045         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
48046         and -mno-altivec to prevent the compiler from using Altivec and/or
48047         VSX instructions when the corresponding registers are not available.
48048
48049 2011-05-19  Andreas Schwab  <schwab@redhat.com>
48050
48051         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
48052
48053 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
48054
48055         * libio/freopen.c (freopen): Use __dup2, not dup2.
48056         * libio/freopen64.c (freopen64): Likewise.
48057
48058 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48059
48060         [BZ #12775]
48061         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
48062         * math/Makefile (tests): Add test-powl.
48063         (CFLAGS-test-powl.c): Define.
48064         * math/test-powl.c: New file.
48065
48066 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48067
48068         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
48069
48070 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
48071
48072         [BZ #11837]
48073         * iconvdata/gb18030.c: Update to GB18020-2005.
48074
48075 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
48076
48077         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
48078         RE_SYNTAX_POSIX_AWK): Update to match recent development.
48079         Patch by Aharon Robbins <arnold@skeeve.com>.
48080
48081         [BZ #11892]
48082         * stdlib/putenv.c (putenv): Don't always create copy of the variable
48083         on the stack.
48084
48085         [BZ #11895]
48086         * misc/pselect.c (__pselect): Handle timeout value errors hidden
48087         through underflows.
48088
48089         [BZ #12766]
48090         * misc/error.c (error_at_line): Ensure file_name and old_file_name
48091         point to strings before performing equality test for error_one_per_line
48092         mode.
48093
48094         [BZ #11697]
48095         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
48096
48097         [BZ #11820]
48098         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
48099         (struct user_fpregs_struct): Avoid __uint*_t types.
48100
48101         [BZ #6420]
48102         * malloc/mtrace.c (tr_where): Add additional parameter to point to
48103         symbol info.  Use it instead of calling _dl_addr locally.
48104         (lock_and_info): New function.
48105         (tr_freehook): Call lock_and_info and pass symbol info as additional
48106         parameter to tr_where.
48107         (tr_mallochook): Likewise.
48108         (tr_reallochook): Likewise.
48109         (tr_memalignhook): Likewise.
48110
48111         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
48112         used and couldn't be at all thread-safe.
48113
48114 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
48115
48116         * libio/freopen.c (freopen): Don't close old file descriptor
48117         before the new one is opened.  Instead dup the new file descriptor
48118         to the old one after the new stream is created.
48119         * libio/freopen64.c (freopen64): Likewise.
48120         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
48121         * libio/fileops.c (_IO_new_file_close_it): Handle new
48122         _IO_FLAGS2_NOCLOSE flag.
48123         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
48124         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
48125         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
48126         _IO_FLAGS2_NOCLOSE flag.
48127         * include/unistd.h: Add hidden_proto for dup3.
48128         Define __have_dup3.
48129         * io/dup3.c: Define hidden symbol.
48130         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
48131
48132         [BZ #7101]
48133         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
48134         when an incomplete long option is used.
48135         * posix/tst-getopt_long1.c: New file.
48136         * posix/Makefile (tests): Add tst-getopt_long1.
48137
48138         [BZ #10138]
48139         * scripts/config.guess: Update from autoconf-2.68.
48140         * scripts/config.sub: Likewise.
48141
48142         [BZ #10157]
48143         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
48144         tests into ...
48145         (has_cpuclock): ...this.  New function.
48146         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
48147         macro here based on has_cpuclock code.
48148
48149         [BZ #10149]
48150         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48151         First byte (not low byte) is now always NUL.
48152         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
48153
48154         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48155         Use non-cancelable interfaces.
48156
48157         [BZ #9809]
48158         * locale/iso-639.def: Add entry for Sorani.
48159
48160         [BZ #11901]
48161         * include/stdlib.h: Move include protection to the right place.
48162         Define abort_msg_s.  Declare __abort_msg with it.
48163         * stdlib/abort.c (__abort_msg): Adjust type.
48164         * assert/assert.c (__assert_fail_base): New function.  Majority
48165         of code from __assert_fail.  Allocate memory for __abort_msg with
48166         mmap.
48167         (__assert_fail): Now call __assert_fail_base.
48168         * assert/assert-perr.c: Remove bulk of implementation.  Use
48169         __assert_fail_base.
48170         * include/assert.hL Declare __assert_fail_base.
48171         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
48172         mmap.
48173         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
48174
48175 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
48176
48177         [BZ #11952]
48178         [BZ #12453]
48179         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
48180         until all modules are registered in the DTV.
48181         * elf/Makefile: Add rules to build and run tst-tls19.
48182         * elf/tst-tls19.c: New file.
48183         * elf/tst-tls19mod1.c: New file.
48184         * elf/tst-tls19mod2.c: New file.
48185         * elf/tst-tls19mod3.c: New file.
48186         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
48187
48188         [BZ #12083]
48189         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
48190         correctly.
48191
48192         [BZ #12601]
48193         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
48194         two-byte sequence errors.
48195         * iconvdata/Makefile (tests): Add bug-iconv8.
48196         * iconvdata/bug-iconv8.c: New file.
48197
48198         [BZ #12626]
48199         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
48200         buf2 definition.
48201
48202         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
48203
48204         [BZ #12432]
48205         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
48206         (dummy_getcfa): New function.
48207         (init): Get _Unwind_GetCFA address, use dummy if not found.
48208         (backtrace_helper): In recursion check, also check whether CFA changes.
48209         (__backtrace): Completely initialize arg.
48210
48211         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
48212         storing incomplete byte sequence in state object.  Avoid testing for
48213         guaranteed too small input if we know there is enough data available.
48214
48215 2011-05-11  Andreas Schwab  <schwab@redhat.com>
48216
48217         * Makeconfig (+link-pie): Indent.
48218         * Rules (binaries-pie): Define if $(have-fpie) and
48219         $(build-shared).
48220         (binaries-shared): Also filter out $(binaries-pie).
48221         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
48222         * nscd/Makefile (others-pie): Add nscd.
48223         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
48224         ($(objpfx)nscd): Remove command override.
48225         * login/Makefile (others-pie): Add pt_chown.
48226         ($(objpfx)pt_chown): Remove command override.
48227         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
48228         remove command overrides.
48229
48230 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
48231
48232         * libio/tst_putwc.c: Fix error messages.
48233
48234         [BZ #12724]
48235         * libio/fileops.c (_IO_new_file_close_it): Always flush when
48236         currently writing and seek to current position when not.
48237         * libio/Makefile (tests): Add bug-fclose1.
48238         * libio/bug-fclose1.c: New file.
48239
48240 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
48241
48242         [BZ #12511]
48243         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
48244         don't set DF_1_NODELETE here.
48245         (do_lookup_x): When entering new entry test for copy relocation
48246         and if necessary set DF_1_NODELETE flag.
48247         * elf/tst-unique4.cc: New file.
48248         * elf/tst-unique4.h: New file.
48249         * elf/tst-unique4lib.cc: New file.
48250         * elf/Makefile: Add rules to build and run tst-unique4.
48251         Patch by Piotr Bury <pbury@goahead.com>.
48252
48253 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
48254
48255         [BZ #12052]
48256         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
48257
48258         [BZ #12625]
48259         * misc/mntent_r.c (addmntent): Flush the stream after the output
48260
48261         [BZ #12393]
48262         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
48263         (is_trusted_path_normalize): Skip initial colon.  Append slash
48264         to empty buffer.  Duplicate is_trusted_path code but allow
48265         constructed patch to be prefix.
48266         (is_dst): Allow $ORIGIN followed by /.
48267         (_dl_dst_substitute): Correct clearing of check_for_trusted.
48268         Correct testing of result of is_trusted_path_normalize
48269         (decompose_rpath): Fix warning.
48270
48271 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
48272
48273         [BZ #11257]
48274         * grp/initgroups.c (internal_getgrouplist): When we found the service
48275         list through the initgroups entry in nsswitch.conf do not always
48276         continue on a successful lookup.  Don't always use the
48277         __nss_group_database value if it is set.
48278         * nss/nsswitch.conf (initgroups): Change action for successful db
48279         lookup to continue for compatibility.
48280
48281 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
48282
48283         [BZ #11532]
48284         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
48285         and CP774 modules.
48286         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
48287         and CP774 modules.
48288         * iconvdata/tst-tables.sh: Likewise.
48289         * iconvdata/cp770.c: New file.
48290         * iconvdata/cp771.c: New file.
48291         * iconvdata/cp772.c: New file.
48292         * iconvdata/cp773.c: New file.
48293         * iconvdata/cp774.c: New file.
48294         * iconvdata/testdata/CP770: New file.
48295         * iconvdata/testdata/CP770..UTF8: New file.
48296         * iconvdata/testdata/CP771: New file.
48297         * iconvdata/testdata/CP771..UTF8: New file.
48298         * iconvdata/testdata/CP772: New file.
48299         * iconvdata/testdata/CP772..UTF8: New file.
48300         * iconvdata/testdata/CP773: New file.
48301         * iconvdata/testdata/CP773..UTF8: New file.
48302         * iconvdata/testdata/CP774: New file.
48303         * iconvdata/testdata/CP774..UTF8: New file.
48304
48305         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
48306         END CHARMAP line.
48307         * iconvdata/gen-8bit-gap.sh: Likewise.
48308         * iconvdata/gen-8bit.sh: Likewise.
48309
48310         * locale/iso-639.def: Add ary entry.
48311
48312         [BZ #11258]
48313         * locale/C-translit.h.in: Add U20A1 transliteration.
48314
48315         [BZ #12178]
48316         * locale/iso-639.def: Add wae entry.
48317         Patch by Kevin Bortis <bortis@translate-wae.ch>.
48318
48319         [BZ #12545]
48320         * locale/programs/localedef.c (construct_output_path): Use ssize_t
48321         for n.
48322
48323         [BZ #12711]
48324         * locale/C-translit.h.in: Add entry for U20B9.
48325         Patch by pravin.d.s@gmail.com.
48326
48327 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
48328
48329         [BZ #12713]
48330         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
48331         ENAMETOOLONG use generic getcwd.
48332         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
48333         in rtld.  Use *stat64.
48334         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
48335         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
48336         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
48337         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
48338         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
48339         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
48340         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
48341         __fstatat64 macros.
48342         * include/dirent.h: Add libc_hidden_proto for rewinddir.
48343         * dirent/rewinddir.c: Add libc_hidden_def.
48344         * sysdeps/mach/hurd/rewinddir.c: Likewise.
48345         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
48346
48347         * include/dirent.h (__alloc_dir): Add flags parameter.
48348         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
48349         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
48350         __alloc_dir.
48351         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
48352         from fdopendir if O_CLOEXEC is already set.
48353
48354 2011-03-15  Alan Modra  <amodra@gmail.com>
48355
48356         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
48357         l_tls_firstbyte_offset non-zero.  Save padding offset in
48358         l_tls_firstbyte_offset for later use.
48359         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
48360         freeing static tls block.
48361
48362 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
48363
48364         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
48365         where #ifdef was intended.  The intent is to prevent ARG_MAX from
48366         being defined by the kernel headers.
48367
48368 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
48369
48370         [BZ #12734]
48371         * resolv/resolv.h: Define RES_NOTLDQUERY.
48372         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
48373         no-tld-query and set RES_NOTLDQUERY.
48374         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
48375         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
48376         modern BIND to search name as TLD unless forbidden.
48377
48378 2011-05-07  Petr Baudis  <pasky@suse.cz>
48379             Ulrich Drepper  <drepper@gmail.com>
48380
48381         [BZ #12393]
48382         * elf/dl-load.c (fillin_rpath): Move trusted path check...
48383         (is_trusted_path): ...to here.
48384         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
48385         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
48386         using is_trusted_path_normalize() in setuid scripts.
48387
48388 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
48389
48390         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
48391         __BEGIN/__END_DECLS.
48392
48393 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
48394
48395         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
48396         NSS_STATUS_NOTFOUND if no record was found.
48397
48398 2011-05-05  Andreas Schwab  <schwab@redhat.com>
48399
48400         * sunrpc/Makefile (headers): Add rpc/netdb.h.
48401         (headers-not-in-tirpc): Remove rpc/netdb.h
48402         * resolv/netdb.h: Revert last change.
48403
48404 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
48405
48406         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
48407         circular dependency between libgcc.a and libc.a.
48408
48409 2011-05-05  Andreas Schwab  <schwab@redhat.com>
48410
48411         * resolv/netdb.h: Don't include <rpc/netdb.h>.
48412         * nis/Makefile: Don't install rpcsvc/*.
48413         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
48414         instead of <rpc/types.h>.
48415         (MAXHOSTNAMELEN): Define.
48416
48417 2011-05-03  Andreas Schwab  <schwab@redhat.com>
48418
48419         * elf/ldconfig.c (add_dir): Don't crash on empty path.
48420
48421 2011-04-28  Maciej Babinski  <mbabinski@google.com>
48422
48423         [BZ #12714]
48424         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
48425         gethostbyname4_r when IPv6 results are possible.
48426
48427 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
48428
48429         [BZ #12723]
48430         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
48431         _PC_PIPE_BUF handling.
48432
48433 2011-04-30  Bruno Haible  <bruno@clisp.org>
48434
48435         [BZ #12717]
48436         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
48437         * resolv/netdb.h (getnameinfo): Change type of flags parameter
48438         to 'int'.
48439         * inet/getnameinfo.c (getnameinfo): Likewise.
48440
48441 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
48442
48443         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
48444         to groups setting in database lookup.
48445         * nss/nsswitch.conf: Add initgroups entry.
48446
48447 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
48448
48449         [BZ #12685]
48450         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
48451         mode string.
48452         Patch by Eric Blake <eblake@redhat.com>.
48453
48454 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
48455
48456         * sunrpc/Makefile (need-export-routines): Add svc_run.
48457         (routines): Remove svc_run.
48458         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
48459         * sunrpc/clnt_perr.c (clnt_perrno): Export.
48460         * sunrpc/svc_run.c (svc_run): Likewise.
48461         * sunrpc/svc_udp.c (svcudp_create): Likewise.
48462
48463 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
48464
48465         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
48466         problem in reallocation in last patch.
48467
48468 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
48469
48470         * sunrpc/Makefile: Move inclusion of Rules.
48471
48472 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
48473
48474         * nss/nss_files/files-initgroups.c: New file.
48475         * nss/Makefile (libnss_files-routines): Add files-initgroups.
48476         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
48477         _nss_files_initgroups_dyn.
48478
48479 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
48480
48481         * elf/elf.h (R_ARM_IRELATIVE): Define.
48482
48483 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
48484
48485         * po/ru.po: Update from translation team.
48486
48487 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
48488
48489         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
48490         dependencies.
48491
48492 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
48493
48494         [BZ #12653]
48495         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
48496         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
48497         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48498         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48499         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48500
48501 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
48502
48503         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
48504         differing bytes.
48505         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48506         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48507         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48508
48509 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
48510
48511         [BZ #12420]
48512         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
48513         storing it.
48514         * stdlib/bug-getcontext.c: New file.
48515         * stdlib/Makefile: Add rules to build and run bug-getcontext.
48516
48517 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48518
48519         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
48520         instructions into .machine "z9-109".
48521         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
48522         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
48523
48524 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48525
48526         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
48527         between environment variables and auxiliary vector.
48528
48529 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
48530
48531         * Makefile: Add rules to build linkobj/libc.so.
48532         * include/libc-symbols.h: Define libc_hidden_nolink.
48533         * include/rpc/auth.h: Mark functions which are to be hidden.
48534         * include/rpc/auth_des.h: Likewise.
48535         * include/rpc/auth_unix.h: Likewise.
48536         * include/rpc/clnt.h: Likewise.
48537         * include/rpc/des_crypt.h: Likewise.
48538         * include/rpc/key_prot.h: Likewise.
48539         * include/rpc/pmap_clnt.h: Likewise.
48540         * include/rpc/pmap_prot.h: Likewise.
48541         * include/rpc/pmap_rmt.h: Likewise.
48542         * include/rpc/rpc_msg.h: Likewise.
48543         * include/rpc/svc.h: Likewise.
48544         * include/rpc/svc_auth.h: Likewise.
48545         * include/rpc/xdr.h: Likewise.
48546         * nis/Makefile: Link all DSOs against linkobj/libc.so.
48547         * nss/Makefile: Likewise.
48548         * sunrpc/Makefile: Don't install headers.  Build library with normal
48549         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
48550         * sunrpc/auth_des.c: Hide exported symbols by default, export some
48551         for the compat linking library.  Remove use of INTDEF/INTUSE.
48552         * sunrpc/auth_none.c: Likewise.
48553         * sunrpc/auth_unix.c: Likewise.
48554         * sunrpc/authdes_prot.c: Likewise.
48555         * sunrpc/authuxprot.c: Likewise.
48556         * sunrpc/clnt_gen.c: Likewise.
48557         * sunrpc/clnt_perr.c: Likewise.
48558         * sunrpc/clnt_raw.c: Likewise.
48559         * sunrpc/clnt_simp.c: Likewise.
48560         * sunrpc/clnt_tcp.c: Likewise.
48561         * sunrpc/clnt_udp.c: Likewise.
48562         * sunrpc/clnt_unix.c: Likewise.
48563         * sunrpc/des_crypt.c: Likewise.
48564         * sunrpc/des_soft.c: Likewise.
48565         * sunrpc/get_myaddr.c: Likewise.
48566         * sunrpc/key_call.c: Likewise.
48567         * sunrpc/key_prot.c: Likewise.
48568         * sunrpc/netname.c: Likewise.
48569         * sunrpc/pm_getmaps.c: Likewise.
48570         * sunrpc/pm_getport.c: Likewise.
48571         * sunrpc/pmap_clnt.c: Likewise.
48572         * sunrpc/pmap_prot.c: Likewise.
48573         * sunrpc/pmap_prot2.c: Likewise.
48574         * sunrpc/pmap_rmt.c: Likewise.
48575         * sunrpc/publickey.c: Likewise.
48576         * sunrpc/rpc_cmsg.c: Likewise.
48577         * sunrpc/rpc_common.c: Likewise.
48578         * sunrpc/rpc_dtable.c: Likewise.
48579         * sunrpc/rpc_prot.c: Likewise.
48580         * sunrpc/rpc_thread.c: Likewise.
48581         * sunrpc/rtime.c: Likewise.
48582         * sunrpc/svc.c: Likewise.
48583         * sunrpc/svc_auth.c: Likewise.
48584         * sunrpc/svc_authux.c: Likewise.
48585         * sunrpc/svc_raw.c: Likewise.
48586         * sunrpc/svc_run.c: Likewise.
48587         * sunrpc/svc_simple.c: Likewise.
48588         * sunrpc/svc_tcp.c: Likewise.
48589         * sunrpc/svc_udp.c: Likewise.
48590         * sunrpc/svc_unix.c: Likewise.
48591         * sunrpc/svcauth_des.c: Likewise.
48592         * sunrpc/xcrypt.c: Likewise.
48593         * sunrpc/xdr.c: Likewise.
48594         * sunrpc/xdr_array.c: Likewise.
48595         * sunrpc/xdr_float.c: Likewise.
48596         * sunrpc/xdr_intXX_t.c: Likewise.
48597         * sunrpc/xdr_mem.c: Likewise.
48598         * sunrpc/xdr_rec.c: Likewise.
48599         * sunrpc/xdr_ref.c: Likewise.
48600         * sunrpc/xdr_sizeof.c: Likewise.
48601         * sunrpc/xdr_stdio.c: Likewise.
48602
48603 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
48604
48605         [BZ #12650]
48606         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
48607         * sysdeps/ia64/dl-tls.h: Likewise.
48608         * sysdeps/powerpc/dl-tls.h: Likewise.
48609         * sysdeps/s390/dl-tls.h: Likewise.
48610         * sysdeps/sh/dl-tls.h: Likewise.
48611         * sysdeps/sparc/dl-tls.h: Likewise.
48612         * sysdeps/x86_64/dl-tls.h: Likewise.
48613         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
48614
48615 2011-03-14  Andreas Schwab  <schwab@redhat.com>
48616
48617         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
48618         rpath element also skip the following colon.
48619         (expand_dynamic_string_token): Add is_path parameter and pass
48620         down to DL_DST_REQUIRED and _dl_dst_substitute.
48621         (decompose_rpath): Call expand_dynamic_string_token with
48622         non-zero is_path.  Ignore empty rpaths.
48623         (_dl_map_object_from_fd): Call expand_dynamic_string_token
48624         with zero is_path.
48625
48626 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
48627
48628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
48629         Make cancelable.
48630
48631 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
48632
48633         [BZ #12655]
48634         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
48635         Patch by Filipe David Manana <fdmanana@apache.org>.
48636
48637 2011-04-07  Andreas Schwab  <schwab@redhat.com>
48638
48639         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
48640         Maintain aligned stack.
48641         (CHECK_RSP): Remove unused macro.
48642
48643 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
48644
48645         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
48646         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
48647
48648 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
48649
48650         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
48651
48652         * include/features.h: Mention __USE_XOPEN2K8 in comment.
48653
48654 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
48655
48656         [BZ #12518]
48657         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
48658         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
48659         * sysdeps/x86_64/memmove.c: New file.
48660         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
48661         (memcpy): Renamed to ...
48662         (__new_memcpy): This.
48663         (memcpy): Provide GLIBC_2_14 memcpy.
48664         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
48665         (memcpy): Provide GLIBC_2_2_5 memcpy.
48666
48667 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48668
48669         [BZ #12631]
48670         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
48671
48672 2011-03-30  Andreas Schwab  <schwab@redhat.com>
48673
48674         * misc/syncfs.c: New file.
48675         * misc/Makefile (routines): Add syncfs.
48676         * posix/unistd.h: Declare syncfs.
48677         * sysdeps/unix/syscalls.list: Add syncfs.
48678
48679 2011-04-01  Andreas Schwab  <schwab@redhat.com>
48680
48681         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
48682         open_by_handle_at.
48683         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48684         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48685         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48686         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48687         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48688         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
48689         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48690
48691 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48692
48693         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
48694         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48695         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
48696         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48697         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48698         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48699         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48700
48701         * io/Makefile: Compile fallocate.c, fallocate64.c, and
48702         sync_file_range.c with -fexceptions.
48703         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
48704         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
48705         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
48706         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
48707         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
48708         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
48709         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
48710         sync_file_range as cancellation point
48711         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
48712         now a wrapper around __call_sync_file_range with cancellation handling.
48713         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
48714         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
48715         function name to __call_sync_file_range.
48716         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
48717         Add call_sync_file_range.
48718
48719 2011-04-01  Andreas Schwab  <schwab@redhat.com>
48720
48721         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48722         bits/timex.h.
48723
48724 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48725
48726         * iconv/iconv.h: Fix typo in comment.
48727         * io/fcntl.h: Likewise.
48728         * libio/stdio.h: Likewise.
48729         * posix/spawn.h: Likewise.
48730         * posix/unistd.h: Likewise.
48731         * stdlib/stdlib.h: Likewise.
48732         * time/time.h: Likewise.
48733         * wcsmbs/wchar.h: Likewise.
48734
48735         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
48736         open_by_handle): Add.
48737         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
48738         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
48739         Augment a few comments.
48740         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48741         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48742         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48743         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48744         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48745         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
48746         open_by_handle.
48747
48748         * io/fcntl.h (AT_EMPTY_PATH): Define.
48749
48750 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
48751
48752         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
48753         * sysdeps/unix/sysv/linux/bits/time.h: New file.
48754         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
48755         to...
48756         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
48757         * Versions.def: Add GLIBC_2.14.
48758         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
48759         Export.
48760
48761 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
48762
48763         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
48764         round counter.
48765         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48766
48767 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
48768
48769         [BZ #12597]
48770         * string/test-strncmp.c (do_page_test): New function.
48771         (check2): Likewise.
48772         (test_main): Call check2.
48773         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
48774
48775 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
48776
48777         [BZ #12587]
48778         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
48779         Handle cache information in CPU leaf 4.
48780         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48781
48782 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
48783
48784         [BZ #12583]
48785         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
48786         character representation.
48787         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
48788
48789 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
48790
48791         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
48792         END(__isnan) to END(__isnanf) to match function entry point/label
48793         EALIGN(__isnanf,...).
48794
48795 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
48796
48797         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
48798
48799 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
48800
48801         [BZ #12510]
48802         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
48803         copy from the symbol referenced in the relocation to initialize the
48804         used variable.
48805         Patch by Piotr Bury <pbury@goahead.com>.
48806         * elf/Makefile: Add rules to build and tst-unique3.
48807         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
48808         * elf/tst-unique3.cc: New file.
48809         * elf/tst-unique3.h: New file.
48810         * elf/tst-unique3lib.cc: New file.
48811         * elf/tst-unique3lib2.cc: New file.
48812
48813         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
48814
48815 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
48816
48817         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
48818         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
48819         to _start.
48820
48821 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
48822
48823         * elf/dl-load.c (_dl_map_object): If we are looking for the first
48824         to-be-loaded object along a path to loader is ld.so.
48825
48826 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
48827             Ulrich Drepper  <drepper@gmail.com>
48828
48829         * sysdeps/x86_64/memset.S: After aligning destination, code
48830         branches to different locations depending on the value of
48831         misalignment, when multiarch is enabled. Fix this.
48832
48833 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
48834
48835         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48836         Set _x86_64_preferred_memory_instruction for AMD processsors.
48837         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48838         Set bit_Prefer_SSE_for_memop for AMD processors.
48839
48840 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
48841
48842         * libio/fmemopen.c (fmemopen): Optimize a bit.
48843
48844 2011-03-03  Andreas Schwab  <schwab@redhat.com>
48845
48846         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48847
48848 2011-03-03  Roland McGrath  <roland@redhat.com>
48849
48850         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48851
48852 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
48853
48854         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
48855         __bzero_ultra1 instead of __memset_ultra1.
48856
48857 2011-02-23  Andreas Schwab  <schwab@redhat.com>
48858             Ulrich Drepper  <drepper@gmail.com>
48859
48860         [BZ #12509]
48861         * include/link.h (struct link_map): Add l_orig_initfini.
48862         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48863         returning unsuccessfully.
48864         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48865         close of a file loaded at startup, restore the original l_initfini
48866         list.
48867         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48868         list, store the pointer.
48869         * elf/Makefile ($(objpfx)noload-mem): New rule.
48870         (noload-ENV): Define.
48871         (tests): Add $(objpfx)noload-mem.
48872         * elf/noload.c: Include <memcheck.h>.
48873         (main): Call mtrace.  Close all opened handles.
48874
48875 2011-02-17  Andreas Schwab  <schwab@redhat.com>
48876
48877         [BZ #12454]
48878         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48879         dependencies are missing.
48880
48881 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48882
48883         Fix __if_freereq crash: Unlike the generic version which uses free,
48884         Hurd needs munmap.
48885         * sysdeps/mach/hurd/ifreq.h: New file.
48886
48887 2011-01-27  Petr Baudis  <pasky@suse.cz>
48888             Ulrich Drepper  <drepper@gmail.com>
48889
48890         [BZ 12445]#
48891         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48892         to extend_alloca().
48893         * stdio-common/bug23.c: New file.
48894         * stdio-common/Makefile (tests): Add bug23.
48895
48896 2010-09-28  Andreas Schwab  <schwab@redhat.com>
48897             Ulrich Drepper  <drepper@gmail.com>
48898
48899         [BZ #12489]
48900         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48901         before performing relro protection.  At old place add assertion
48902         to make sure nothing changed.
48903
48904 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
48905             Glauber de Oliveira Costa  <glommer@gmail.com>
48906
48907         * elf/elf.h: Add new ARM TLS relocs.
48908
48909 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
48910
48911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48912         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48913         cast from r3.
48914         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
48915         'tests' variable.
48916         * sysdeps/wordsize-64/tst-writev.c: New file.
48917
48918 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
48919
48920         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48921         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48922         insns in _dl_start to prevent a TOC reference before relocs are
48923         resolved.
48924
48925 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
48926
48927         [BZ #12469]
48928         * Makeconfig: Remove RANLIB definition.
48929         * Makerules: Don't use RANLIB.
48930         * aclocal.m4: Remove ranlib test.
48931         * configure.in: No need to check for ranlib.
48932         * elf/rtld-Rules: Don't use RANLIB.
48933
48934 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48935
48936         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48937         protection macro.
48938         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48939         inclusion protection macro.
48940
48941         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48942         SIGRTMIN and SIGRTMAX and print information in that case only when
48943         SIGRTMIN is defined.
48944
48945 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
48946
48947         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48948         arginfo fn returning -1.
48949
48950         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48951         and thousands string is zero terminated.
48952
48953 2011-02-03  Andreas Schwab  <schwab@redhat.com>
48954
48955         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48956         sysdeps/unix/sysv/linux/bits/socket.h.
48957
48958 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48959
48960         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48961         (__CPU_COUNT): Remove old macros.
48962         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48963         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48964         (__CPU_ALLOC, __CPU_FREE): Add macros.
48965         (__sched_cpualloc, __sched_cpufree): Add declarations.
48966
48967 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
48968
48969         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48970         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48971         * nscd/aicache.c (addhstaiX): Return timeout of added value.
48972         (readdhstai): Return value of addhstaiX call.
48973         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48974         (addgrbyX): Return value returned by cache_addgr.
48975         (readdgrbyname): Return value returned by addgrbyX.
48976         (readdgrbygid): Likewise.
48977         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48978         (addpwbyX): Return value returned by cache_addpw.
48979         (readdpwbyname): Return value returned by addhstbyX.
48980         (readdpwbyuid): Likewise.
48981         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48982         (addservbyX): Return value returned by cache_addserv.
48983         (readdservbyname): Return value returned by addservbyX:
48984         (readdservbyport): Likewise.
48985         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48986         (addhstbyX): Return value returned by cache_addhst.
48987         (readdhstbyname): Return value returned by addhstbyX.
48988         (readdhstbyaddr): Likewise.
48989         (readdhstbynamev6): Likewise.
48990         (readdhstbyaddrv6): Likewise.
48991         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48992         (readdinitgroups): Return value returned by addinitgroupsX.
48993         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48994         (prune_cache): Keep track of timeout value of re-added entries.
48995         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48996         * nscd/nscd.h: Adjust prototypes of readd* functions.
48997
48998 2011-02-04  Roland McGrath  <roland@redhat.com>
48999
49000         * nis/nis_server.c (nis_servstate): Use the right name for 0.
49001         (nis_stats): Likewise.
49002         * nis/nis_modify.c (nis_modify): Likewise.
49003         * nis/nis_remove.c (nis_remove): Likewise.
49004         * nis/nis_add.c (nis_add): Likewise.
49005
49006         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
49007
49008         * posix/fnmatch_loop.c: Add some consts.
49009
49010         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
49011
49012 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
49013
49014         [BZ #12460]
49015         * config.make.in (config-cflags-novzeroupper): Define.
49016         * configure.in: Substitute libc_cv_cc_novzeroupper.
49017         * elf/Makefile (AVX-CFLAGS): Define.
49018         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
49019         (CFLAGS-tst-auditmod4a.c): Likewise.
49020         (CFLAGS-tst-auditmod4b.c): Likewise.
49021         (CFLAGS-tst-auditmod6b.c): Likewise.
49022         (CFLAGS-tst-auditmod6c.c): Likewise.
49023         (CFLAGS-tst-auditmod7b.c): Likewise.
49024         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
49025
49026 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
49027
49028         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
49029         function to the callback.
49030         Patch partly by Jiri Olsa <jolsa@redhat.com>.
49031
49032 2011-02-02  Andreas Schwab  <schwab@redhat.com>
49033
49034         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
49035         of errno.
49036
49037 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
49038
49039         [BZ #11724]
49040         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
49041         of constructors.
49042         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
49043         of destructors.
49044         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
49045
49046         [BZ #11724]
49047         * elf/Makefile: Add rules to build and run new test.
49048         * elf/tst-initorder.c: New file.
49049         * elf/tst-initorder.exp: New file.
49050         * elf/tst-initordera1.c: New file.
49051         * elf/tst-initordera2.c: New file.
49052         * elf/tst-initordera3.c: New file.
49053         * elf/tst-initordera4.c: New file.
49054         * elf/tst-initorderb1.c: New file.
49055         * elf/tst-initorderb2.c: New file.
49056         * elf/tst-order-a1.c: New file.
49057         * elf/tst-order-a2.c: New file.
49058         * elf/tst-order-a3.c: New file.
49059         * elf/tst-order-a4.c: New file.
49060         * elf/tst-order-b1.c: New file.
49061         * elf/tst-order-b2.c: New file.
49062         * elf/tst-order-main.c: New file.
49063         New test case by George Gensure <werkt0@gmail.com>.
49064
49065 2010-10-01  Andreas Schwab  <schwab@redhat.com>
49066
49067         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
49068         decoding ACE if AI_CANONIDN.
49069
49070 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
49071
49072         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
49073
49074 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
49075
49076         * version.h (RELEASE): Bump for 2.13 release.
49077         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
49078
49079         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
49080
49081         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
49082         MADV_NOHUGEPAGE.
49083         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
49084         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
49085         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49086         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
49087         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49088         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49089
49090         * posix/getconf.c: Update copyright year.
49091         * catgets/gencat.c: Likewise.
49092         * csu/version.c: Likewise.
49093         * debug/catchsegv.sh: Likewise.
49094         * debug/xtrace.sh: Likewise.
49095         * elf/ldconfig.c: Likewise.
49096         * elf/ldd.bash.in: Likewise.
49097         * elf/sprof.c (print_version): Likewise.
49098         * iconv/iconv_prog.c: Likewise.
49099         * iconv/iconvconfig.c: Likewise.
49100         * locale/programs/locale.c: Likewise.
49101         * locale/programs/localedef.c: Likewise.
49102         * malloc/memusage.sh: Likewise.
49103         * malloc/mtrace.pl: Likewise.
49104         * nscd/nscd.c (print_version): Likewise.
49105         * nss/getent.c: Likewise.
49106
49107         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
49108         PF_CAIF, and PF_ALG.
49109         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49110
49111 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
49112
49113         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
49114         (modules-names): Use them.
49115         (ifunc-test-modules, ifunc-pie-tests): Define.
49116         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
49117         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
49118         (test-extras): Likewise.
49119         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
49120         $(compile-command.c).
49121         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
49122         (all-built-dso): Define.
49123         (check-textrel.out, check-execstack.out): Depend on it.
49124
49125         * configure.in: Don't override --enable-multi-arch.
49126
49127 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
49128
49129         [BZ #6812]
49130         * nscd/hstcache.c (tryagain): Define.
49131         (cache_addhst): Return tryagain not notfound for temporary errors.
49132         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
49133         failed.
49134
49135 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
49136
49137         [BZ #10563]
49138         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
49139         to make the syscall.
49140         * sysdeps/unix/sysv/linux/setgroups.c: New file.
49141
49142         [BZ #12378]
49143         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
49144         and fall back to matching as normal character if the string ends before
49145         the matching ']' is found.  This is what POSIX requires.
49146         * posix/testfnm.c: Adjust test result.
49147         * posix/globtest.sh: Adjust test result.  Add new test.
49148         * posix/tst-fnmatch.input: Likewise.
49149         * posix/tst-fnmatch2.c: Add new test.
49150
49151 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
49152
49153         * elf/Makefile (check-execstack): Revert last change.  Depend on
49154         check-execstack.h.
49155         (check-execstack.h): New target.
49156         (generated): Add check-execstack.h.
49157         * elf/check-execstack.c: Include "check-execstack.h".
49158         (main): Revert last change.
49159         (handle_file): Return zero if GNU_STACK is absent and
49160         DEFAULT_STACK_PERMS doesn't include PF_X.
49161
49162 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
49163
49164         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
49165         in child fails because the descriptor is already closed.
49166         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
49167         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
49168         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
49169
49170         [BZ #12397]
49171         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
49172         syscall.
49173
49174         [BZ #10484]
49175         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
49176         temporary buffer used to handle multi lookups locally.
49177         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
49178
49179 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
49180
49181         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
49182         loader is ld.so.
49183
49184 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
49185
49186         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
49187         alignment for SSE2.
49188
49189 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
49190
49191         [BZ #12394]
49192         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
49193         characters.  When rounding increased number of integer digits recompute
49194         number of groups.
49195         * stdio-common/tst-grouping.c: New file.
49196         * stdio-common/Makefile: Add rules to build and run tst-grouping.
49197
49198 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
49199
49200         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
49201         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
49202
49203         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
49204         void.
49205         * bits/select.h: Likewise.
49206
49207 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
49208
49209         * po/ja.po: Update from translation team.
49210
49211 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
49212
49213         [BZ #11155]
49214         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
49215         implementation just like for lxstat, fxstatat, et al.
49216
49217 2010-12-27  Jim Meyering  <meyering@redhat.com>
49218
49219         [BZ #12348]
49220         * posix/regexec.c (build_trtable): Return failure indication upon
49221         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
49222
49223 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
49224
49225         [BZ #12201]
49226         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
49227         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
49228         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
49229         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
49230
49231         [BZ #12207]
49232         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
49233
49234         [BZ #12204]
49235         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
49236         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
49237
49238 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
49239
49240         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
49241         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
49242         script has SORT_BY_INIT_PRIORITY.
49243         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
49244         NO_CTORS_DTORS_SECTIONS is defined.
49245         * elf/soinit.c: Likewise.
49246         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
49247         NO_CTORS_DTORS_SECTIONS is defined.
49248         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
49249         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
49250         * sysdeps/sh/init-first.c: Likewise.
49251         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
49252
49253 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
49254
49255         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
49256         always use the slow path.
49257
49258 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
49259
49260         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
49261         similar rule which adds the sysdep directories to the header search in
49262         order to pick up the correct platform stackinfo.h.
49263         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
49264         perform test if it is, otherwise return successfully without testing.
49265         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
49266         DEFAULT_STACK_PERMS define in stackinfo.h.
49267         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
49268         defined in stackinfo.h.
49269         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
49270         DEFAULT_STACK_PERMS defined in stackinfo.h.
49271         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
49272         * sysdeps/ia64/stackinfo.h: Likewise.
49273         * sysdeps/s390/stackinfo.h: Likewise.
49274         * sysdeps/sh/stackinfo.h: Likewise.
49275         * sysdeps/sparc/stackinfo.h: Likewise.
49276         * sysdeps/x86_64/stackinfo.h: Likewise.
49277         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
49278         PF_X for powerpc64.  Retain PF_X for powerpc32.
49279
49280 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
49281
49282         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
49283         accurately.
49284         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
49285         GETDENTS_64BIT_ALIGNED.
49286
49287 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
49288
49289         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
49290
49291 2010-12-10  Andreas Schwab  <schwab@redhat.com>
49292
49293         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
49294         _GNU_SOURCE.
49295
49296         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
49297         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
49298         Remove __restrict.
49299         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
49300         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
49301
49302 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
49303
49304         [BZ #11655]
49305         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
49306         are initialized.
49307
49308 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
49309
49310         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
49311
49312 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
49313
49314         * po/it.po: Update from translation team.
49315
49316 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
49317
49318         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
49319         unused codes.
49320
49321 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
49322
49323         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
49324
49325 2010-11-24  Andreas Schwab  <schwab@redhat.com>
49326
49327         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
49328         specially.
49329         (gaih_getanswer_slice): Likewise.
49330
49331 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
49332
49333         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
49334
49335 2010-05-31  Petr Baudis  <pasky@suse.cz>
49336
49337         [BZ #11149]
49338         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
49339         silently even in the chroot mode.
49340
49341 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
49342
49343         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
49344         last patch a bit.  Pretty printing
49345
49346 2010-05-31  Petr Baudis <pasky@suse.cz>
49347
49348         [BZ #10085]
49349         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
49350         initialization of skip_initgroups_dyn.
49351
49352 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
49353
49354         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
49355         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49356
49357 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
49358
49359         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
49360
49361 2010-11-11  Andreas Schwab  <schwab@redhat.com>
49362
49363         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
49364         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
49365         (tst-fnmatch-ENV): Set MALLOC_TRACE.
49366         ($(objpfx)tst-fnmatch-mem): New rule.
49367         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
49368         * posix/tst-fnmatch.c (main): Call mtrace.
49369
49370 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
49371
49372         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49373         Support Intel processor model 6 and model 0x2c.
49374
49375 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
49376
49377         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
49378           signed comparison.
49379
49380 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
49381
49382         [BZ #12205]
49383         * string/test-strncasecmp.c (check_result): New function.
49384         (do_one_test): Use it.
49385         (check1): New function.
49386         (test_main): Use it.
49387         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
49388         Support strcasecmp and strncasecmp.
49389
49390 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
49391
49392         [BZ #12194]
49393         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
49394         * sysdeps/x86_64/bits/byteswap.h: Likewise.
49395
49396 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
49397
49398         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
49399         IFUNC support.
49400         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49401         memset-x86-64.
49402         * sysdeps/x86_64/multiarch/bzero.S: New file.
49403         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
49404         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
49405         * sysdeps/x86_64/multiarch/memset.S: New file.
49406         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
49407         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49408         Set bit_Prefer_SSE_for_memop for Intel processors.
49409         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
49410         Define.
49411         (index_Prefer_SSE_for_memop): Define.
49412         (HAS_PREFER_SSE_FOR_MEMOP): Define.
49413
49414 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
49415
49416         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
49417         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
49418
49419 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
49420
49421         [BZ #12191]
49422         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49423         (__x86_64_raw_data_cache_size_half): Likewise.
49424         (__x86_64_raw_shared_cache_size): Likewise.
49425         (__x86_64_raw_shared_cache_size_half): Likewise.
49426
49427         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49428         (__x86_64_raw_data_cache_size_half): Likewise.
49429         (__x86_64_raw_shared_cache_size): Likewise.
49430         (__x86_64_raw_shared_cache_size_half): Likewise.
49431         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
49432         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
49433         and __x86_64_raw_shared_cache_size_half.  Round
49434         __x86_64_data_cache_size_half, __x86_64_data_cache_size
49435         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
49436         to multiple of 256 bytes.
49437
49438 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
49439
49440         [BZ #12167]
49441         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
49442         of inacessible symlinks.  Verify result of symlink before returning it.
49443         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
49444         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
49445
49446 2010-10-28  Erich Ritz  <erichritz@gmail.com>
49447
49448         * math/math.h (isinf): Fix typo in comment.
49449
49450 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
49451
49452         * po/da.po: Update from translation team.
49453
49454 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
49455
49456         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
49457         is added to the list.
49458
49459 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49460             Ulrich Drepper  <drepper@gmail.com>
49461
49462         * elf/dl-object.c (_dl_new_object): Don't append the new object to
49463         the global list here.  Move code to...
49464         (_dl_add_to_namespace_list): ...here.  New function.
49465         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
49466         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
49467         * elf/dl-load.c (lose): Don't remove the element from the list.
49468         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
49469         (_dl_map_object): Likewise.
49470
49471 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
49472
49473         [BZ #12159]
49474         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
49475         into all bytes of SSE register.
49476         Patch by Richard Li <richardpku@gmail.com>.
49477
49478 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
49479
49480         [BZ #12140]
49481         * malloc/malloc.c (_int_free): Fill correct number of bytes when
49482         perturbing.
49483
49484 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
49485
49486         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
49487         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
49488         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
49489         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
49491         submachine.
49492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
49493
49494 2010-10-22  Andreas Schwab  <schwab@redhat.com>
49495
49496         * include/dlfcn.h (__RTLD_SECURE): Define.
49497         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
49498         mode & __RTLD_SECURE instead.
49499         (open_path): Rename preloaded parameter to secure.
49500         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
49501         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
49502         * elf/dl-deps.c (openaux): Likewise.
49503         * elf/rtld.c (struct map_args): Remove is_preloaded.
49504         (map_doit): Don't use it.
49505         (dl_main): Likewise.
49506         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
49507         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
49508
49509 2010-09-09  Andreas Schwab  <schwab@redhat.com>
49510
49511         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
49512         (sysd-rules-targets): Remove duplicates.
49513         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
49514         rtld-%.$o dependency.
49515
49516 2010-10-18  Andreas Schwab  <schwab@redhat.com>
49517
49518         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
49519         _dl_map_object do it.
49520
49521 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
49522
49523         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
49524         fast fma builtins, define the macros in the C99 standard.
49525         (FP_FAST_FMAF): Likewise.
49526         (FP_FAST_FMAL): Likewise.
49527         * sysdeps/x86_64/bits/mathdef.h: Likewise.
49528
49529         * bits/mathdef.h: Update copyright year.
49530         * sysdeps/powerpc/bits/mathdef.h: Likewise.
49531
49532 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
49533
49534         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
49535         builtins, define the macros in the C99 standard.
49536         (FP_FAST_FMAF): Likewise.
49537         (FP_FAST_FMAL): Likewise.
49538         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
49539         multiply/add.
49540         (FP_FAST_FMAF): Likewise.
49541
49542 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
49543
49544         [BZ #3268]
49545         * math/libm-test.inc (fma_test): Some new testcases.
49546         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
49547         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
49548         y and infinite z.  Do multiplication by C already in long double.
49549         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
49550         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
49551         y and infinite z.  Do bitwise or of inexact bit into u.d.
49552         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
49553         * sysdeps/i386/fpu/s_fmaf.S: Removed.
49554         * sysdeps/i386/fpu/s_fma.S: Removed.
49555         * sysdeps/i386/fpu/s_fmal.S: Removed.
49556
49557 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
49558
49559         [BZ #3268]
49560         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
49561         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
49562         computation is not scheduled after fetestexcept.  Fix value
49563         of minimum denormal long double.
49564
49565 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
49566
49567         [BZ #3268]
49568         * math/libm-test.inc (fma_test): Add some more tests.
49569         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
49570         correctly.
49571
49572 2010-10-15  Andreas Schwab  <schwab@redhat.com>
49573
49574         * scripts/data/localplt-s390-linux-gnu.data: New file.
49575         * scripts/data/localplt-s390x-linux-gnu.data: New file.
49576
49577 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
49578
49579         [BZ #3268]
49580         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
49581         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
49582         instead of dbl-64.
49583         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
49584         inlines.
49585         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
49586         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
49587         if one of x and y is very large and the other is subnormal.
49588         * sysdeps/s390/fpu/s_fmaf.c: New file.
49589         * sysdeps/s390/fpu/s_fma.c: New file.
49590         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
49591         * sysdeps/powerpc/fpu/s_fma.S: New file.
49592         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
49593         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
49594         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
49595
49596 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
49597
49598         [BZ #3268]
49599         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
49600         fma tests.
49601         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
49602         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
49603         * sysdeps/i386/i686/multiarch/s_fma.c: Include
49604         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
49605         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
49606         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
49607         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
49608
49609 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
49610
49611         [BZ #12078]
49612         * posix/regcomp.c (parse_branch): One more memory leak plugged.
49613         * posix/bug-regex31.input: Add test case.
49614
49615 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
49616
49617         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
49618         * posix/bug-regex31.input: New file.
49619
49620         [BZ #12078]
49621         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
49622         (parse_sub_exp): Fix last change, use postorder.
49623
49624         * posix/bug-regex31.c: New file.
49625         * posix/Makefile: Add rules to build and run bug-regex31.
49626
49627         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
49628
49629         [BZ #12078]
49630         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
49631
49632         [BZ #12108]
49633         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
49634         to have entries in sys_siglist.
49635
49636         [BZ #12093]
49637         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
49638         be NULL.
49639
49640 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
49641
49642         [BZ #3268]
49643         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
49644         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
49645         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
49646         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
49647         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49648         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
49649         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
49650         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
49651         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
49652         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
49653         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
49654         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
49655         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
49656         * math/ftestexcept.c (fetestexcept): Likewise.
49657         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
49658         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
49659         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
49660         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
49661         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
49662         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
49663         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49664
49665 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
49666
49667         [BZ #12107]
49668         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
49669         newline.
49670
49671 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
49672
49673         * string/bug-strstr1.c: New file.
49674         * string/Makefile: Add rules to build and run bug-strstr1.
49675
49676 2010-10-05  Eric Blake  <eblake@redhat.com>
49677
49678         [BZ #12092]
49679         * string/str-two-way.h (two_way_long_needle): Always clear memory
49680         when skipping input due to the shift table.
49681
49682 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
49683
49684         [BZ #12005]
49685         * malloc/mcheck.c: Handle large requests.
49686
49687         [BZ #12077]
49688         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
49689         for strncmp and strncasecmp.
49690         * string/stratcliff.c: Add tests for strcmp and strncmp.
49691         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
49692
49693 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49694
49695         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
49696         __set_fpscr.
49697
49698 2010-09-30  Andreas Jaeger  <aj@suse.de>
49699
49700         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
49701         (CGROUP_SUPER_MAGIC): Define.
49702         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49703         Handle btrfs and cgroup file systems.
49704         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49705         Likewise.
49706
49707 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
49708
49709         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
49710         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
49711
49712 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49713
49714         [BZ #12067]
49715         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
49716         trying to locate the ELF header.
49717
49718 2010-09-27  Andreas Schwab  <schwab@redhat.com>
49719
49720         [BZ #11611]
49721         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
49722         Mask out sign-bit copies when constructing f_fsid.
49723
49724 2010-09-24  Petr Baudis <pasky@suse.cz>
49725
49726         * debug/stack_chk_fail_local.c: Add missing licence exception.
49727         * debug/warning-nop.c: Likewise.
49728
49729 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
49730
49731         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
49732         implementing getdents64 using getdents syscall, set d_type if
49733         __ASSUME_GETDENTS32_D_TYPE.
49734
49735 2010-09-16  Andreas Schwab  <schwab@redhat.com>
49736
49737         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
49738         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
49739
49740 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
49741
49742         [BZ #12037]
49743         * posix/unistd.h: Undo change of feature selection for ftruncate from
49744         2010-01-11.
49745
49746 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
49747
49748         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
49749         detection.
49750
49751 2010-09-20  Andreas Schwab  <schwab@redhat.com>
49752
49753         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
49754         fanotify_mark.
49755         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49756
49757 2010-09-14  Andreas Schwab  <schwab@redhat.com>
49758
49759         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
49760         variables after CHECK_SP call.
49761         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
49762
49763 2010-09-13  Andreas Schwab  <schwab@redhat.com>
49764             Ulrich Drepper  <drepper@redhat.com>
49765
49766         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
49767         re-relocationg ld.so.
49768         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
49769         _dl_init_paths call.
49770         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
49771         here anymore.
49772
49773 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
49774
49775         * resolv/res_init.c (__res_vinit): Count the default server we added.
49776
49777 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
49778             Ulrich Drepper  <drepper@redhat.com>
49779
49780         [BZ #11968]
49781         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49782         (____longjmp_chk): Use %ebx for saving value across system call.
49783         Add unwind info.
49784
49785 2010-09-06  Andreas Schwab  <schwab@redhat.com>
49786
49787         * manual/Makefile: Don't mix pattern rules with normal rules.
49788
49789 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
49790
49791         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
49792         operation.
49793         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
49794         * libio/iofopncook.c (_IO_cookie_init): Likewise.
49795         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
49796         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
49797         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49798         Likewise.
49799
49800 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
49801
49802         [BZ #11979]
49803         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
49804         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
49805
49806 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
49807
49808         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
49809         * sysdeps/x86_64/addmul_1.S: Likewise.
49810         * sysdeps/x86_64/lshift.S: Likewise.
49811         * sysdeps/x86_64/mul_1.S: Likewise.
49812         * sysdeps/x86_64/rshift.S: Likewise.
49813         * sysdeps/x86_64/sub_n.S: Likewise.
49814         * sysdeps/x86_64/submul_1.S: Likewise.
49815
49816 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49817
49818         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
49819         Define __sched_param instead of SCHED_* and sched_param when
49820         <bits/sched.h> is included with __need_schedparam defined.
49821         * bits/sched.h [__need_schedparam]
49822         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
49823         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
49824         (__defined_schedparam): Define to 1.
49825         (__sched_param): New structure, identical to sched_param.
49826         (__need_schedparam): Undefine.
49827
49828 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
49829
49830         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49831         (epoll_create1): Declare.
49832
49833         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49834
49835 2010-08-31  Andreas Schwab  <schwab@redhat.com>
49836
49837         [BZ #7066]
49838         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49839         shifting retval into place.
49840
49841 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
49842
49843         * nis/rpcsvc/nis.h: Update copyright notice.
49844         * nis/rpcsvc/nis.x: Likewise.
49845         * nis/rpcsvc/nis_callback.h: Likewise.
49846         * nis/rpcsvc/nis_callback.x: Likewise.
49847         * nis/rpcsvc/nis_object.x: Likewise.
49848         * nis/rpcsvc/nis_tags.h: Likewise.
49849         * nis/rpcsvc/yp.h: Likewise.
49850         * nis/rpcsvc/yp.x: Likewise.
49851         * nis/rpcsvc/ypupd.h: Likewise.
49852         * nis/yp_xdr.c: Likewise.
49853         * nis/ypupdate_xdr.c: Likewise.
49854
49855         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
49856         mainly the body of pmap_getport.  Add parameters to specify timeouts.
49857         (pmap_getport): Use __libc_rpc_getport.
49858         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49859         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49860         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49861
49862 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
49863
49864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49865         fanotify_mark.
49866
49867 2010-08-27  Roland McGrath  <roland@redhat.com>
49868
49869         * sysdeps/i386/i686/multiarch/Makefile
49870         (CFLAGS-varshift.c): New variable.
49871
49872 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
49873
49874         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49875         * sysdeps/i386/i686/multiarch/varshift.c: New file.
49876
49877         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49878
49879         * sysdeps/x86_64/strlen.S: Minimal code improvement.
49880
49881 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
49882
49883         * sysdeps/x86_64/strlen.S: Unroll the loop.
49884         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49885         strlen-sse2 strlen-sse2-bsf.
49886         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49887         __strlen_no_bsf if bit_Slow_BSF is set.
49888         (__strlen_sse42): Removed.
49889         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49890         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49891
49892 2010-08-25  Roland McGrath  <roland@redhat.com>
49893
49894         * sysdeps/x86_64/multiarch/varshift.S: File removed.
49895         * sysdeps/x86_64/multiarch/varshift.c: New file.
49896         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49897         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49898         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49899         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49900
49901 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
49902
49903         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49904         strlen-sse2 strlen-sse2-bsf.
49905         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49906         __strlen_sse2_bsf if bit_Slow_BSF is unset.
49907         (__strlen_sse2): Removed.
49908         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
49909         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49910         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49911         bit_Slow_BSF for Atom.
49912         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49913         (index_Slow_BSF): Define.
49914         (HAS_SLOW_BSF): Define.
49915
49916 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
49917
49918         [BZ #10851]
49919         * resolv/res_init.c (__res_vinit): When no server address at all
49920         is given default to loopback.
49921
49922 2010-08-24  Roland McGrath  <roland@redhat.com>
49923
49924         * configure.in: Remove config-name.h generation.
49925         * configure: Regenerated.
49926         * config-name.in: File removed.
49927         * scripts/config-uname.sh: New file.
49928         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49929         ($(objdir)config-name.h): New target.
49930
49931         * sunrpc/rpc_parse.h: Avoid nested comment.
49932
49933 2010-08-24  Richard Henderson  <rth@redhat.com>
49934             Ulrich Drepper  <drepper@redhat.com>
49935             H.J. Lu  <hongjiu.lu@intel.com>
49936
49937         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49938         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49939         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49940         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
49941         _mm_alignr_epi8 with _mm_loadu_si128.
49942         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49943         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49944         (__m128i_shift_right): Removed.
49945         * sysdeps/i386/i686/multiarch/varshift.h: New file.
49946         * sysdeps/i386/i686/multiarch/varshift.S: New file.
49947         * sysdeps/x86_64/multiarch/varshift.h: New file.
49948         * sysdeps/x86_64/multiarch/varshift.S: New file.
49949
49950 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
49951
49952         * configure.in: Move assembler checks to before sysdep dir checking.
49953
49954 2010-08-20  Petr Baudis  <pasky@suse.cz>
49955
49956         * LICENSES: Sync the sunrpc license.
49957
49958 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
49959
49960         * sunrpc/auth_des.c: Update copyright notice once again.
49961         * sunrpc/auth_none.c: Likewise.
49962         * sunrpc/auth_unix.c: Likewise.
49963         * sunrpc/authdes_prot.c: Likewise.
49964         * sunrpc/authuxprot.c: Likewise.
49965         * sunrpc/bindrsvprt.c: Likewise.
49966         * sunrpc/clnt_gen.c: Likewise.
49967         * sunrpc/clnt_perr.c: Likewise.
49968         * sunrpc/clnt_raw.c: Likewise.
49969         * sunrpc/clnt_simp.c: Likewise.
49970         * sunrpc/clnt_tcp.c: Likewise.
49971         * sunrpc/clnt_udp.c: Likewise.
49972         * sunrpc/clnt_unix.c: Likewise.
49973         * sunrpc/des_crypt.c: Likewise.
49974         * sunrpc/des_soft.c: Likewise.
49975         * sunrpc/get_myaddr.c: Likewise.
49976         * sunrpc/getrpcport.c: Likewise.
49977         * sunrpc/key_call.c: Likewise.
49978         * sunrpc/key_prot.c: Likewise.
49979         * sunrpc/openchild.c: Likewise.
49980         * sunrpc/pm_getmaps.c: Likewise.
49981         * sunrpc/pm_getport.c: Likewise.
49982         * sunrpc/pmap_clnt.c: Likewise.
49983         * sunrpc/pmap_prot.c: Likewise.
49984         * sunrpc/pmap_prot2.c: Likewise.
49985         * sunrpc/pmap_rmt.c: Likewise.
49986         * sunrpc/rpc/auth.h: Likewise.
49987         * sunrpc/rpc/auth_unix.h: Likewise.
49988         * sunrpc/rpc/clnt.h: Likewise.
49989         * sunrpc/rpc/des_crypt.h: Likewise.
49990         * sunrpc/rpc/key_prot.h: Likewise.
49991         * sunrpc/rpc/netdb.h: Likewise.
49992         * sunrpc/rpc/pmap_clnt.h: Likewise.
49993         * sunrpc/rpc/pmap_prot.h: Likewise.
49994         * sunrpc/rpc/pmap_rmt.h: Likewise.
49995         * sunrpc/rpc/rpc.h: Likewise.
49996         * sunrpc/rpc/rpc_des.h: Likewise.
49997         * sunrpc/rpc/rpc_msg.h: Likewise.
49998         * sunrpc/rpc/svc.h: Likewise.
49999         * sunrpc/rpc/svc_auth.h: Likewise.
50000         * sunrpc/rpc/types.h: Likewise.
50001         * sunrpc/rpc/xdr.h: Likewise.
50002         * sunrpc/rpc_clntout.c: Likewise.
50003         * sunrpc/rpc_cmsg.c: Likewise.
50004         * sunrpc/rpc_common.c: Likewise.
50005         * sunrpc/rpc_cout.c: Likewise.
50006         * sunrpc/rpc_dtable.c: Likewise.
50007         * sunrpc/rpc_hout.c: Likewise.
50008         * sunrpc/rpc_main.c: Likewise.
50009         * sunrpc/rpc_parse.c: Likewise.
50010         * sunrpc/rpc_parse.h: Likewise.
50011         * sunrpc/rpc_prot.c: Likewise.
50012         * sunrpc/rpc_sample.c: Likewise.
50013         * sunrpc/rpc_scan.c: Likewise.
50014         * sunrpc/rpc_scan.h: Likewise.
50015         * sunrpc/rpc_svcout.c: Likewise.
50016         * sunrpc/rpc_tblout.c: Likewise.
50017         * sunrpc/rpc_util.c: Likewise.
50018         * sunrpc/rpc_util.h: Likewise.
50019         * sunrpc/rpcinfo.c: Likewise.
50020         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
50021         * sunrpc/rpcsvc/key_prot.x: Likewise.
50022         * sunrpc/rpcsvc/klm_prot.x: Likewise.
50023         * sunrpc/rpcsvc/mount.x: Likewise.
50024         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
50025         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
50026         * sunrpc/rpcsvc/rex.x: Likewise.
50027         * sunrpc/rpcsvc/rstat.x: Likewise.
50028         * sunrpc/rpcsvc/rusers.x: Likewise.
50029         * sunrpc/rpcsvc/sm_inter.x: Likewise.
50030         * sunrpc/rpcsvc/spray.x: Likewise.
50031         * sunrpc/rpcsvc/yppasswd.x: Likewise.
50032         * sunrpc/rtime.c: Likewise.
50033         * sunrpc/svc.c: Likewise.
50034         * sunrpc/svc_auth.c: Likewise.
50035         * sunrpc/svc_authux.c: Likewise.
50036         * sunrpc/svc_raw.c: Likewise.
50037         * sunrpc/svc_run.c: Likewise.
50038         * sunrpc/svc_simple.c: Likewise.
50039         * sunrpc/svc_tcp.c: Likewise.
50040         * sunrpc/svc_udp.c: Likewise.
50041         * sunrpc/svc_unix.c: Likewise.
50042         * sunrpc/svcauth_des.c: Likewise.
50043         * sunrpc/xcrypt.c: Likewise.
50044         * sunrpc/xdr.c: Likewise.
50045         * sunrpc/xdr_array.c: Likewise.
50046         * sunrpc/xdr_float.c: Likewise.
50047         * sunrpc/xdr_mem.c: Likewise.
50048         * sunrpc/xdr_rec.c: Likewise.
50049         * sunrpc/xdr_ref.c: Likewise.
50050         * sunrpc/xdr_sizeof.c: Likewise.
50051         * sunrpc/xdr_stdio.c: Likewise.
50052
50053         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
50054         handling.
50055
50056 2010-08-19  Andreas Schwab  <schwab@redhat.com>
50057
50058         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
50059
50060 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
50061
50062         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
50063         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
50064         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
50065         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
50066         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
50067         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
50068         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
50069         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
50070         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
50071         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
50072         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
50073         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
50074         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
50075         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
50076
50077 2010-07-26  Anton Blanchard  <anton@samba.org>
50078
50079         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
50080         * malloc/arena.c (heap_trim): Likewise.
50081
50082 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
50083
50084         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
50085         here.  Not...
50086         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
50087         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
50088
50089 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
50090
50091         * sysdeps/i386/elf/Makefile: New file.
50092
50093 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
50094
50095         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
50096         from fanotify_init.
50097         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
50098         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50099
50100 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
50101
50102         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
50103         of strncasecmp_l.
50104         * sysdeps/multiarch/strcmp.S: Likewise.
50105
50106 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
50107
50108         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50109         strncase_l-nonascii.
50110         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50111         Add strncase_l-ssse3.
50112         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
50113         * sysdeps/x86_64/strcmp.S: Likewise.
50114         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
50115         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
50116         * sysdeps/x86_64/strncase.S: New file.
50117         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
50118         * sysdeps/x86_64/strncase_l.S: New file.
50119         * string/Makefile (strop-tests): Add strncasecmp.
50120         * string/test-strncasecmp.c: New file.
50121
50122         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
50123         warning.
50124
50125         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
50126         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
50127
50128 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
50129
50130         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
50131
50132 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
50133
50134         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
50135         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
50136         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
50137
50138 2010-05-01  Alan Modra  <amodra@gmail.com>
50139
50140         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
50141         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
50142         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
50143         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
50144         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
50145         tidying.  Don't tail-call __sigjmp_save for static lib.
50146         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
50147         save location.
50148         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
50149         (CALL_MCOUNT): Add eh info, and nop after bl.
50150         (TAIL_CALL_SYSCALL_ERROR): New macro.
50151         (PSEUDO_RET): Use it.
50152         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
50153         Correct save location of integer regs and cr.
50154         (_dl_profile_resolve): Correct cr save location.  Delete nops
50155         after bl when SHARED.  Reduce cfi size a little by better
50156         placement of cfi directives.
50157         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
50158         make a stack frame.  Instead use parm save area as a temp.
50159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
50160         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
50161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
50162         Don't make a stack frame for parent, use parm save area.
50163         Increase child stack frame to 112 bytes.  Don't save unused reg,
50164         and adjust reg usage.  Set up cfi on error recovery and
50165         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
50166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
50167         (__makecontext): Add dummy nop after jump to exit.
50168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
50169         Use correct parm save area and cr save, reduce stack frame.
50170         Correct cfi for possible PSEUDO_RET frame setup.
50171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
50172         Branch to local label emitted by PSEUDO_RET rather than
50173         __syscall_error.
50174
50175 2010-08-12  Andreas Schwab  <schwab@redhat.com>
50176
50177         [BZ #11904]
50178         * locale/programs/locale.c (print_assignment): New function.
50179         (show_locale_vars): Use it.
50180
50181 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
50182
50183         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
50184         field.
50185         (struct statfs64): Likewise.
50186         (_STATFS_F_FLAGS): Define.
50187         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
50188         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50189         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
50190         (ST_VALID): Define locally.
50191         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
50192         __statvfs_getflags, use the provided value.
50193         * sysdeps/unix/sysv/linux/kernel-features.h: Define
50194         __ASSUME_STATFS_F_FLAGS.
50195
50196         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
50197
50198         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
50199         Add sys/fanotify.h.
50200         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
50201         fanotify_mask for GLIBC_2.13.
50202         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
50203         fanotify_init and fanotify_mark.
50204         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50205         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
50206
50207         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
50208         Add prlimit.
50209         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
50210         prlimit64 for GLIBC_2.13.
50211         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
50212         prlimit64.
50213         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
50214         syscall.
50215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
50216         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50217         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
50218         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
50219         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
50220         add prlimit alias.
50221         * sysdeps/unix/sysv/linux/prlimit.c: New file.
50222
50223         [BZ #11903]
50224         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
50225         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
50226
50227         * nss/Makefile: Add rules to build and run tst-nss-test1.
50228         * shlib-versions: Add entry for libnss_test1.
50229         * nss/nss_test1.c: New file.
50230         * nss/tst-nss-test1.c: New file.
50231
50232         * nss/nsswitch.c (__nss_database_custom): Define new variable.
50233         (__nss_configure_lookup): Set appropriate entry in
50234         __nss_configure_lookup to true.
50235         * nss/nsswitch.h: Define enum with indeces of databases in
50236         databases and __nss_database_custom arrays.  Declare
50237         __nss_database_custom.
50238         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
50239         to avoid using nscd when custom rules are installed.
50240         * nss/getXXbyYY_r.c: Likewise.
50241         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
50242
50243         * nss/nss_files/files-parse.c: Whitespace fixes.
50244
50245 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
50246
50247         [BZ #11883]
50248         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
50249         * posix/fnmatch_loop.c: Likewise.
50250
50251 2010-07-17  Andi Kleen  <ak@linux.intel.com>
50252
50253         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
50254         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
50255         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
50256         * Versions.def [GLIBC_2.13]: Add.
50257
50258 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
50259
50260         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50261         Also fail if tpwd after pwuid call is NULL.
50262
50263 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50264
50265         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
50266         when converting to ms.
50267
50268 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50269
50270         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
50271         EOPNOTSUPP errors with ENOTTY.
50272         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
50273         EOPNOTSUPP errors with ENOTTY.
50274
50275 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
50276
50277         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50278         Add strcasecmp_l-ssse3.
50279         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
50280         strcasecmp.
50281         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
50282         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
50283         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
50284
50285 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
50286
50287         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
50288
50289         * string/Makefile (strop-tests): Add strcasecmp.
50290         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50291         strcasecmp_l-nonascii.
50292         (gen-as-const-headers): Add locale-defines.sym.
50293         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
50294         * sysdeps/x86_64/strcasecmp.S: New file.
50295         * sysdeps/x86_64/strcasecmp_l.S: New file.
50296         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
50297         * sysdeps/x86_64/locale-defines.sym: New file.
50298         * string/test-strcasecmp.c: New file.
50299
50300         * string/test-strcasestr.c: Test both ends of the range of characters.
50301         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
50302
50303 2010-07-29  Roland McGrath  <roland@redhat.com>
50304
50305         [BZ #11856]
50306         * manual/locale.texi (Yes-or-No Questions): Fix example code.
50307
50308 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
50309
50310         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
50311         for ld.so.
50312
50313 2010-07-27  Andreas Schwab  <schwab@redhat.com>
50314
50315         * manual/memory.texi (Malloc Tunable Parameters): Document
50316         M_PERTURB.
50317
50318 2010-07-26  Roland McGrath  <roland@redhat.com>
50319
50320         [BZ #11840]
50321         * configure.in (-fgnu89-inline check): Set and substitute
50322         gnu89_inline, not libc_cv_gnu89_inline.
50323         * configure: Regenerated.
50324         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
50325
50326 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
50327
50328         * string/test-strnlen.c: New file.
50329         * string/Makefile (strop-tests): Add strnlen.
50330         * string/tester.c (test_strnlen): Add a few more test cases.
50331         * string/tst-strlen.c: Better error reporting.
50332
50333         * sysdeps/x86_64/strnlen.S: New file.
50334
50335 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
50336
50337         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
50338         lower-latency instructions.
50339
50340 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
50341
50342         * string/test-strcasestr.c: New file.
50343         * string/test-strstr.c: New file.
50344         * string/Makefile (strop-tests): Add strstr and strcasestr.
50345         * string/str-two-way.h: Don't undefine MAX.
50346         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
50347
50348 2010-07-21  Andreas Schwab  <schwab@redhat.com>
50349
50350         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50351         strcasestr-nonascii.
50352         (CFLAGS-strcasestr-nonascii.c): Define.
50353         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
50354         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
50355         Remove unused attribute.
50356
50357 2010-07-20  Roland McGrath  <roland@redhat.com>
50358
50359         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
50360         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
50361         ld.so.cache was broken.  With it, there is no way to disable dsocaps
50362         like LD_HWCAP_MASK can disable hwcaps.
50363
50364 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
50365
50366         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
50367
50368 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
50369
50370         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
50371         call in strcasestr.
50372         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
50373         __strcasestr_sse42_nonascii.
50374         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
50375         strcasestr-nonascii.c.
50376         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
50377
50378 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
50379
50380         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
50381         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
50382         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
50383         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
50384
50385 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
50386
50387         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
50388         fcntl.
50389
50390 2010-07-06  Andreas Schwab  <schwab@redhat.com>
50391
50392         [BZ #11577]
50393         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
50394         dl_signal_cerror.
50395
50396 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
50397
50398         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
50399         _PC_PIPE_BUF using F_GETPIPE_SZ.
50400
50401 2010-07-05  Roland McGrath  <roland@redhat.com>
50402
50403         * manual/arith.texi (Rounding Functions): Fix rint description
50404         implicit in round description.
50405
50406 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
50407
50408         * elf/Makefile: Fix linking for a few tests to make recent linker
50409         happy.
50410
50411 2010-06-30  Andreas Schwab  <schwab@redhat.com>
50412
50413         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50414         $(common-objpfx)libc_nonshared.a.
50415
50416 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
50417
50418         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
50419         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
50420         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50421         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50422         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
50423         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
50424         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50425         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
50427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
50428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
50429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
50431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
50433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
50434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
50435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
50436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
50438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
50440         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
50441         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
50442         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
50443         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
50444         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
50445         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
50446         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
50447         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
50448         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
50449         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
50450         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
50451         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
50452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
50453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
50454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
50455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
50456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
50457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
50458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
50459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
50460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
50461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
50462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
50463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
50464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
50465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
50466
50467 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
50468
50469         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
50470         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
50471         * string/memmove.c (memmove): Renamed to ...
50472         (MEMMOVE): ...this.  Default to memmove.
50473         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
50474         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
50475         (END_CHK): Define.
50476         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50477         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
50478         mempcpy-ssse3-back memmove-ssse3-back.
50479         * sysdeps/x86_64/multiarch/bcopy.S: New file .
50480         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
50481         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
50482         * sysdeps/x86_64/multiarch/memcpy.S: New file.
50483         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
50484         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
50485         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
50486         * sysdeps/x86_64/multiarch/memmove.c: New file.
50487         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
50488         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
50489         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
50490         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
50491         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
50492         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
50493         Define.
50494         (index_Fast_Copy_Backward): Define.
50495         (HAS_ARCH_FEATURE): Define.
50496         (HAS_FAST_REP_STRING): Define.
50497         (HAS_FAST_COPY_BACKWARD): Define.
50498
50499 2010-06-21  Andreas Schwab  <schwab@redhat.com>
50500
50501         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50502         Restore proper fallback handling.
50503
50504 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
50505
50506         [BZ #11701]
50507         * posix/group_member.c (__group_member): Correct checking loop.
50508
50509         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
50510         OOM in getpwuid_r correctly.  Return error number when the caller
50511         should return, otherwise -1.
50512         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
50513         call returning > 0 value.
50514         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
50515
50516 2010-06-07  Andreas Schwab  <schwab@redhat.com>
50517
50518         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
50519         libc_nonshared.a from targets in modules-names.
50520
50521 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
50522
50523         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
50524         requires it.
50525
50526 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
50527
50528         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
50529         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
50530         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
50531         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
50532
50533 2010-06-02  Andreas Schwab  <schwab@redhat.com>
50534
50535         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
50536
50537 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
50538
50539         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
50540         and F_GETPIPE_SZ.
50541         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50542         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50543         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50544         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50545         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50546         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
50547
50548 2010-06-14  Roland McGrath  <roland@redhat.com>
50549
50550         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
50551
50552 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
50553
50554         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
50555         __REDIRECT followed by __THROW.
50556         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
50557         * posix/getopt.h (getopt): Likewise.
50558
50559 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
50560
50561         * hurd/lookup-at.c (__file_name_lookup_at): Accept
50562         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
50563         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
50564         in AT_FLAGS.
50565         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
50566         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
50567
50568 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
50569
50570         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
50571
50572 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
50573
50574         [BZ #11640]
50575         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50576         Properly check family and model.
50577
50578 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
50579
50580         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
50581
50582 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
50583
50584         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
50585
50586 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
50587
50588         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
50589         symbol reference.
50590
50591 2010-05-19  Andreas Schwab  <schwab@redhat.com>
50592
50593         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
50594         symbol reference.
50595
50596 2010-05-21  Andreas Schwab  <schwab@redhat.com>
50597
50598         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
50599         and internal_recvmmsg.
50600         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
50601         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
50602         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
50603         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
50604
50605         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
50606         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50607         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50608
50609 2010-05-20  Andreas Schwab  <schwab@redhat.com>
50610
50611         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
50612
50613 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
50614
50615         POWER7 optimizations.
50616         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
50617         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
50618
50619 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
50620
50621         * version.h: Update for 2.13 development version.
50622
50623 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
50624
50625         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
50626         exceptions.  Return 0.
50627
50628 2010-05-07  Roland McGrath  <roland@redhat.com>
50629
50630         * elf/ldconfig.c (main): Add a const.
50631
50632 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
50633
50634         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
50635         (args_options): Add no-idn option.
50636         (ahosts_keys_int): Add idn_flags to ai_flags.
50637         (parse_option): Handle 'i' option to clear idn_flags.
50638
50639         * malloc/malloc.c (_int_free): Possible race in the most recently
50640         added check.  Only act on the data if no current modification
50641         happened.
50642
50643 See ChangeLog.17 for earlier changes.