0d37530437794ca42cb2b3dbca87ae735be2e0f3
[platform/upstream/glibc.git] / ChangeLog
1 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2
3         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
4         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
5         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
6         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
7         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
8         Likewise.
9         (__old_sem_post): Likewise.
10
11 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
12
13         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
14         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
15         HAVE_CLOCK_GETTIME_VSYSCALL macros.
16         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
17         Use INLINE_VSYSCALL macro.
18         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
19         __vdso_clock_gettime.
20         * sysdeps/unix/sysv/linux/tile/init-first.c
21         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
22         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
23         __vdso_clock_gettime.
24
25         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
26         to set up frame more cleanly.
27
28         * sysdeps/tile/memcmp.c: New file.
29
30         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
31
32         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
33         * sysdeps/tile/tilegx/strcasestr.c: New file.
34         * sysdeps/tile/tilegx/strnlen.c: New file.
35         * sysdeps/tile/tilegx/strstr.c: New file.
36
37         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
38
39 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
40
41         * nptl/tst-setuid3.c: Write errors to stdout.
42
43 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44
45         * elf/dl-deps.c
46         (preload): New functions broken out of _dl_map_object_deps.
47         (_dl_map_object_deps):  Remove a nested function. Update call sites.
48
49 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
50
51         [BZ #14138]
52         * sysdeps/unix/sysv/linux/execve.c: Remove file.
53         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
54
55 2014-10-01  Steve Ellcey  <sellcey@mips.com>
56
57         * sysdeps/mips/strcmp.S: New.
58
59 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
60
61         [BZ #14138]
62         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
63         (linkat): Likewise.
64         (mkdirat): Likewise.
65         (readlinkat): Likewise.
66         (renameat): Likewise.
67         (symlinkat): Likewise.
68         (unlinkat): Likewise.
69         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
70         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
71         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
72         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
73         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
74         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
75         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
76
77 2014-09-30  Will Newton  <will.newton@linaro.org>
78
79         * math/math.h: Define long double math functions if
80         _LIBC_TEST is defined.
81         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
82
83         * localedata/Makefile: Move assignment to tests-special
84         into an ifdef testing run-built-tests.
85         * timezone/Makefile: Likewise.
86
87 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
88
89         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
90         with $(BASH) not $(SHELL).
91
92 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
93             Matthew LeGendre  <legendre1@llnl.gov>
94
95         [BZ #17411]
96         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
97         l_reloc_result.
98
99 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
100
101         * stdio-common/printf_fp.c
102         (hack_digit): New function, broken out of ...
103         (__printf_fp): ... local function here.  Update call sites.
104         hack_digit now takes an additional parameter that is a pointer
105         to a struct of the referenced locals.  Those locals moved inside
106         the struct and references updated.
107
108 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
109
110         * aclocal.m4: Require autoconf 2.69.
111         * configure: Regenerated.
112         * sysdeps/aarch64/configure: Likewise.
113         * sysdeps/alpha/configure: Likewise.
114         * sysdeps/arm/armv7/configure: Likewise.
115         * sysdeps/arm/configure: Likewise.
116         * sysdeps/ia64/configure: Likewise.
117         * sysdeps/mach/configure: Likewise.
118         * sysdeps/mips/configure: Likewise.
119         * sysdeps/s390/configure: Likewise.
120         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
122
123         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
124         file.
125         * sysdeps/ia64/configure.ac: Likewise.
126
127 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
128
129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
130         specify symbol version for ld.so.  Do not include entry for
131         libpthread.
132         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
133         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
134         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
135
136         [BZ #14171]
137         * Makeconfig [$(build-shared) = yes]
138         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
139         makefiles.
140         [$(build-shared) = yes && $(soversions.mk-done) = t]
141         ($(common-objpfx)gnu/lib-names.h): Remove rule.
142         [$(build-shared) = yes && $(soversions.mk-done) = t]
143         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
144         to Makerules.
145         [$(build-shared) = yes && $(soversions.mk-done) = t]
146         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
147         here.
148         [$(build-shared) = yes && $(soversions.mk-done) = t]
149         (common-generated): Don't append gnu/lib-names.h and
150         gnu/lib-names.stmp here.
151         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
152         (lib-names-h-abi): New variable.
153         [$(build-shared) = yes && $(soversions.mk-done) = t]
154         (lib-names-stmp-abi): Likewise.
155         [$(build-shared) = yes && $(soversions.mk-done) = t &&
156         abi-variants] (before-compile): Append
157         $(common-objpfx)$(lib-names-h-abi).
158         [$(build-shared) = yes && $(soversions.mk-done) = t &&
159         abi-variants] (common-generated): Append gnu/lib-names.h.
160         [$(build-shared) = yes && $(soversions.mk-done) = t &&
161         abi-variants] (install-others-nosubdir): Depend on
162         $(inst_includedir)/$(lib-names-h-abi).
163         [$(build-shared) = yes && $(soversions.mk-done) = t &&
164         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
165         [$(build-shared) = yes && $(soversions.mk-done) = t]
166         ($(common-objpfx)$(lib-names-h-abi)): New rule.
167         [$(build-shared) = yes && $(soversions.mk-done) = t]
168         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
169         [$(build-shared) = yes && $(soversions.mk-done) = t]
170         (common-generated): Append $(lib-names-h-abi) and
171         $(lib-names-stmp-abi).
172         * scripts/lib-names.awk: Do not handle multi being set.
173         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
174         Remove variable.
175         (abi-lp64_be-ld-soname): Likewise.
176         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
177         Likewise.
178         (abi-hard-ld-soname): Likewise.
179         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
180         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
181         Remove variable.
182         (abi-o32_hard-ld-soname): Likewise.
183         (abi-o32_soft_2008-ld-soname): Likewise.
184         (abi-o32_hard_2008-ld-soname): Likewise.
185         (abi-n32_soft-ld-soname): Likewise.
186         (abi-n32_hard-ld-soname): Likewise.
187         (abi-n32_soft_2008-ld-soname): Likewise.
188         (abi-n32_hard_2008-ld-soname): Likewise.
189         (abi-n64_soft-ld-soname): Likewise.
190         (abi-n64_hard-ld-soname): Likewise.
191         (abi-n64_soft_2008-ld-soname): Likewise.
192         (abi-n64_hard_2008-ld-soname): Likewise.
193         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
194         Likewise.
195         (abi-64-v2-ld-soname): Likewise.
196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
197         ld.so entries.
198         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
199         variable.
200         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
201         entry.
202         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
203         variable.
204         (abi-64-ld-soname): Likewise.
205         (abi-x32-ld-soname): Likewise.
206         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
207         entry.
208         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
209
210 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
211
212         [BZ #14138]
213         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
214         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
215         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
216         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
217         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
218         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
219         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
220         syscall entry for GLIBC_2.2 symbol version.
221         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
222         Likewise.
223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
224         (setrlimit): Likewise.
225         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
226         Likewise.
227
228 2014-09-23  Will Newton  <will.newton@linaro.org>
229
230         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
231         _LINUX_ARM_SYSDEP_H include guard too.
232         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
233         define.
234
235 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
236
237         * sysdeps/unix/sysv/linux/eventfd.c:
238         Make first argument unsigned.
239         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
240         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
241
242 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
243
244         * socket/recvmmsg.c (recvmmsg): Drop const argument.
245         * socket/sys/socket.h: Likewise
246         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
247
248 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
249
250         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
251
252 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
253
254         * time/tst-ftime.c: New test.
255         * time/Makefile (tests): Add tst-ftime.
256
257 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
258
259         * soft-fp/extended.h: Fix comment formatting.
260         * soft-fp/op-1.h: Likewise.
261         * soft-fp/op-2.h: Likewise.
262         * soft-fp/op-4.h: Likewise.
263         * soft-fp/op-8.h: Likewise.
264         * soft-fp/op-common.h: Likewise.
265         * soft-fp/soft-fp.h: Likewise.
266
267         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
268
269 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
270
271         [BZ #6652]
272         * Makeconfig (soversions-default-setname): Remove variable.
273         ($(common-objpfx)soversions.i): Don't pass default_setname to
274         soversions.awk.
275         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
276         oldest_abi to abi-versions.awk.
277         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
278         * config.make.in (oldest-abi): Remove variable.
279         * configure.ac (--enable-oldest-abi): Remove configure option.
280         * configure: Regenerated.
281         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
282         text.
283         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
284         * scripts/soversions.awk: Do not handle default_setname variable.
285         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
286         variable.
287         * sysdeps/mach/hurd/configure: Regenerated.
288         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
289         variable.
290         * sysdeps/unix/sysv/linux/configure: Regenerated.
291
292 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
293
294         * elf/Makefile (CFLAGS-interp.c): Remove.
295         ($(elf-objpfx)runtime-linker.h): Generate header with linker
296         path string.
297         * elf/interp.c: Include generated runtime-linker.h
298
299         * Makerules (lib%.so): Don't include $(+interp) in
300         prerequisites.
301         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
302         * dlfcn/eval.c: Remove file.
303
304         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
305         macros.
306
307         [BZ #17266]
308         * misc/sys/cdefs.h: Define __extern_always_inline for clang
309         4.2 and newer.
310
311         [BZ #17370]
312         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
313
314 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
315             Jakub Jelinek  <jakub@redhat.com>
316
317         [BZ #17266]
318         * libio/stdio.h: Check definition of __fortify_function
319         instead of __extern_always_inline to include bits/stdio2.h.
320         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
321         check if __extern_always_inline is defined.
322         [__USE_MISC || __USE_XOPEN]: Likewise.
323         [__USE_ISOC99] Likewise.
324         * misc/sys/cdefs.h (__fortify_function): Define only if
325         __extern_always_inline is defined.
326         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
327         __extern_always_inline and __extern_inline only for g++-4.3
328         and newer or a compatible gcc.
329
330 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
331
332         [BZ #17371]
333         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
334         last change to handle zero prefix length.
335
336 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
337
338         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
339         _SC_REGEX_VERSION.
340
341         * posix/getconf.c (vars): Add _POSIX_IPV6 and
342         _POSIX_RAW_SOCKETS.
343
344 2014-09-13  Allan McRae  <allan@archlinux.org>
345
346         * po/ru.po: Update Russian translation from translation project.
347
348 2014-09-12  Roland McGrath  <roland@hack.frob.com>
349
350         * locale/programs/locale.c (show_locale_vars): Inline local function
351         into its sole call site.  Clean up some style nits.
352         (print_item): New function, broken out of ...
353         (show_info): ... local function here.  Clean up style nits.
354
355         * locale/programs/ld-ctype.c (set_one_default): New function, broken
356         out of ...
357         (set_class_defaults): ... local function set_default here.
358         Define set_default as a macro locally to pass constant parameters.
359         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
360         rather than a shared local.
361
362         * stdlib/rpmatch.c (try): New function, broken out of ...
363         (rpmatch): ... local function here.  Also, prototypify definition.
364
365 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
366
367         * scripts/soversions.awk: Do not handle configuration names.
368         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
369         vendor and os variables to soversions.awk.
370         * configure.ac: Do not modify gnu-* host_os.
371         * configure: Regenerated
372         * shlib-versions: Remove first column with configuration names.
373         * nptl/shlib-versions: Likewise.
374         * nptl_db/shlib-versions: Likewise.
375         * sysdeps/hppa/shlib-versions: Likewise.
376         * sysdeps/m68k/shlib-versions: Likewise.
377         * sysdeps/mach/hurd/shlib-versions: Likewise.
378         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
379         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
380         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
381         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
382         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
383         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
384         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
385         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
387         Likewise.
388         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
389         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
390         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
391         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
392         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
393         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
394         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
395         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
396
397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
398         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
400         Regenerated.
401         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
403         Condition symbol version definitions on [HAVE_ELFV2_ABI].
404
405         * shlib-versions: Remove OS-specific entries.  Moved to files in
406         sysdeps.
407         * sysdeps/mach/hurd/shlib-versions: New file.
408         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
409
410         * nptl/shlib-versions: Remove architecture-specific entries.
411         Moved to files in sysdeps.
412         * shlib-versions: Likewise.
413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
414         file.
415         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
416         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
417         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
418         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
419
420         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
421         (UDP_NO_CHECK6_RX): Likewise.
422
423 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
424
425         * sysdeps/posix/sysconf.c (__sysconf): Spell
426         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
427
428 2014-08-12  Florian Weimer  <fweimer@redhat.com>
429
430         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
431         loading.
432         * iconv/Versions (__gconv_transliterate): Export for use from
433         gconv modules.
434         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
435         (struct __gconv_trans_data, __gconv_trans_fct,
436         __gconv_trans_context_fct, __gconv_trans_query_fct,
437         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
438         definitions.
439         (struct __gconv_step_data): Remove __trans member.
440         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
441         longer hidden.  Remove unused trans_data argument.
442         * iconv/gconv_int.h (struct trans_struct): Remove definition.
443         (__gconv_translit_find): Remove declaration.
444         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
445         prototype.
446         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
447         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
448         trans_data argument.  Add hidden definition.
449         (__gconv_translit_find): Remove.
450         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
451         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
452         * iconv/skeleton.c: Remove transliteration initialization.
453         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
454         __gconv_step_data initialization.
455         * libio/iofwide.c (__libio_translit_): Remove.
456         (_IO_fwide): Adjust struct __gconv_step_data initialization.
457         * wcsmbs/btowc.c (__btowc): Likewise.
458         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
459         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
460         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
461         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
462         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
463         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
464         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
465         * wcsmbs/wctob.c (wctob): Likewise.
466
467 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
468
469         [BZ #16194]
470         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
471         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
472         register usage.
473         * sysdeps/x86/Makefile: Adjust.
474
475 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
476             Roland McGrath  <roland@hack.frob.com>
477
478         * locale/weight.h: Add include guard.
479         (findidx): Make static rather than auto; take new parameters
480         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
481         * locale/weightwc.h: Likewise.
482         * posix/fnmatch_loop.c
483         (FCT): Change type of EXTRA from int32_t to wint_t.
484         Don't include either header inside the function.
485         Call FINDIDX rather than findidx, and pass new arguments.
486         #undef FINDIDX at the end of the file.
487         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
488         FINDIDX before including fnmatch_loop.c for the non-wide version.
489         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
490         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
491         for the wide version.
492         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
493         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
494         Pass new arguments to findidx.
495         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
496         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
497         Don't #include it inside the function.  Pass new arguments to findidx.
498         * posix/regex_internal.h
499         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
500         (re_string_elem_size_at): Don't #include it inside the function.
501         Pass new arguments to findidx.
502         * string/strcoll_l.c: #include WEIGHT_H at top level.
503         (get_next_seq): Don't #include it inside the function.
504         Pass new arguments to findidx.
505         (get_next_seq_nocache): Likewise.
506         * string/strxfrm_l.c: #include WEIGHT_H at top level.
507         (STRXFRM): Don't #include it inside the function.
508         Pass new arguments to findidx.
509
510 2014-09-11  Florian Weimer  <fweimer@redhat.com>
511
512         [BZ #17344]
513         * malloc/malloc.c (unlink): Turn asserts into a call to
514         malloc_printerr.
515
516 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
517
518         [BZ #17370]
519         * libio/wfileops (do_ftell_wide): Free OUT.
520
521 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
522
523         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
524
525 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
526
527         [BZ #17363]
528         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
529         group if the current group is empty.
530
531 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
532
533         * benchtests/bench-memset.c (test_main): Add more test from size
534         from 32 to 512 bytes.
535         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
536         Add POWER8 memset object.
537         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
538         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
539         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
540         implementation.
541         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
542         Likewise.
543         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
544         multiarch POWER8 memset optimization.
545         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
546         POWER8 memset optimization.
547
548         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
549         Remove bzero multiarch objects.
550         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
551         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
552         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
553         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
554         Remove define.
555         [__bzero]: Redefine to specific name.
556         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
557         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
558         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
559         define.
560         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
561         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
562
563 2014-09-10  Florian Weimer  <fweimer@redhat.com>
564
565         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
566         warnings into errors.
567
568         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
569         __cxa_thread_atexit_impl prototype.
570
571 2014-09-09  Steve Ellcey  <sellcey@mips.com>
572
573         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
574         Fix capitalization of error message.
575
576 2014-09-09  Steve Ellcey  <sellcey@mips.com>
577
578         * sysdeps/mips/preconfigure: Modify ABI tests.
579
580 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
581
582         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
583
584 2014-09-07  Roland McGrath  <roland@hack.frob.com>
585             Carlos O'Donell  <carlos@systemhalted.org>
586
587         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
588         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
589         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
590         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
591         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
592         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
593         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
594         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
595         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
596         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
597         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
598         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
599         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
600         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
601         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
602         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
603         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
604         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
605         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
606         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
607         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
608         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
609         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
610         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
611         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
612         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
613         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
614         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
615         Deconditionalize the code that was previously under [RESET_PID].
616         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
617         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
618         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
619         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
620         include sysdep.h.
621
622 2014-09-08  Allan McRae  <allan@archlinux.org>
623
624         * version.h (RELEASE): Set to "development".
625         (VERSION): Set to "2.20.90"
626
627 2014-09-07  Allan McRae  <allan@archlinux.org
628
629         * version.h (RELEASE): Set to "stable".
630         (VERSION): Set to "2.20"
631         * include/features.h (__GLIBC_MINOR__): Set to 20.
632
633         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
634         Liebler.
635
636         * po/ko.po: Update Korean translation from translation project.
637
638 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
639
640         [BZ #17354]
641         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
642         macro for handling signed relocations.
643
644 2014-09-03  Florian Weimer  <fweimer@redhat.com>
645
646         [BZ #17325]
647         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
648         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
649         assert.
650         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
651         * iconvdata/ibm935.c (BODY): Likewise.
652         * iconvdata/ibm937.c (BODY): Likewise.
653         * iconvdata/ibm939.c (BODY): Likewise.
654         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
655         assert.
656         * iconvdata/Makefile (iconv-test.out): Pass module list to test
657         script.
658         * iconvdata/run-iconv-test.sh: New test loop for checking for
659         decoder crashers.
660
661 2014-09-02  Khem Raj  <raj.khem@gmail.com>
662
663         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
664         libm_hidden_ver.
665
666 2014-09-01  Allan McRae  <allan@archlinux.org>
667
668         * po/eo.po: Update Esperanto translation from translation project.
669
670         * po/ca.po: Update Catalan translation from translation project.
671
672 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
673
674         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
675         __proc_dostop call.
676
677 2014-08-27  Mark Wielaard  <mjw@redhat.com>
678
679         [BZ #17319]
680         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
681         to call set_thread_area instead of hand written asm.
682         (__NR_set_thread_area): Removed define.
683         (TLS_FLAG_WRITABLE): Likewise.
684         (__ASSUME_SET_THREAD_AREA): Remove check.
685         (TLS_EBX_ARG): Remove define.
686         (TLS_LOAD_EBX): Likewise.
687
688 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
689
690         Simplify atomicity of socket creation in bind.
691
692         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
693         looking up the name after linking the file.
694
695 2014-08-27  Allan McRae  <allan@archlinux.org>
696
697         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
698
699 2014-08-26  Florian Weimer  <fweimer@redhat.com>
700
701         [BZ #17187]
702         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
703         trans_compare, open_translit, __gconv_translit_find):
704         Remove module loading code.
705
706 2014-08-26  Allan McRae  <allan@archlinux.org>
707
708         * po/vi.po: Update Vietnamese translation from translation project.
709
710         * po/uk.po: Update Ukrainian translation from translation project.
711
712         * po/fr.po: Update French translation from translation project.
713
714         * po/ru.po: Update Russian translation from translation project.
715
716         * po/pl.po: Update Polish translation from translation project.
717
718         * po/cs.po: Update Czech translation from translation project.
719
720         * po/de.po: Update German translation from translation project.
721
722         * po/bg.po: Update Bulgarian translation from translation project.
723
724         * po/sv.po: Update Sweedish translation from translation project.
725
726         * po/nl.po: Update Dutch translation from translation project.
727
728         * po/es.po: Update Spanish translation from translation project.
729
730 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
731
732         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
733
734         * catgets/Makefile (CPPFLAGS-gencat): Remove.
735         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
736         (CPPFLAGS-iconvconfig): Likewise.
737         * timezone/Makefile (CPPFLAGS-zic): Likewise.
738
739         * include/libc-symbols.h: Remove unnecessary check for
740         NOT_IN_libc.
741         * nptl/pthreadP.h: Likewise.
742         * sysdeps/aarch64/setjmp.S: Likewise.
743         * sysdeps/alpha/setjmp.S: Likewise.
744         * sysdeps/arm/sysdep.h: Likewise.
745         * sysdeps/i386/setjmp.S: Likewise.
746         * sysdeps/m68k/setjmp.c: Likewise.
747         * sysdeps/posix/getcwd.c: Likewise.
748         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
749         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
750         * sysdeps/s390/s390-32/setjmp.S: Likewise.
751         * sysdeps/s390/s390-64/setjmp.S: Likewise.
752         * sysdeps/sh/sh3/setjmp.S: Likewise.
753         * sysdeps/sh/sh4/setjmp.S: Likewise.
754         * sysdeps/unix/alpha/sysdep.h: Likewise.
755         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
756         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
757         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
758         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
761         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
762         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
763         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
764         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
765         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
766         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
767         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
768         * sysdeps/x86_64/setjmp.S: Likewise.
769
770 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
771
772         [BZ #17263]
773         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
774         <stdint.h>.
775         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
776         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
777
778 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
779
780         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
781
782         [BZ #17262]
783         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
784         and __x86_64__ when disabling x87 inline functions.
785
786 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
787
788         [BZ #17259]
789         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
790         asm statement with __cpuid_count.
791
792 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
793
794         * configure.ac: Change __ehdr_start code to dereference the struct.
795         Run readelf on the output to look for relocations.
796         * configure: Regenerated.
797
798 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
799
800         [BZ #17261]
801         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
802         value to 0.
803         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
804
805 2014-08-12  Roland McGrath  <roland@hack.frob.com>
806
807         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
808
809 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
810
811         [BZ #16892]
812         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
813         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
814
815 2014-08-12  Sean Anderson  <seanga2@gmail.com>
816
817         * malloc/malloc.c: Fix typo in comment.
818
819 2014-08-09  Allan McRae  <allan@archlinux.org>
820
821         * Regenerate libc.po.
822
823 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
824
825         * intl/tst-gettext2.sh: Check every lang file for creation.
826
827 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
828
829         * sysdeps/aarch64/fpu/math_private.h
830         (libc_feholdsetround_noex_aarch64_ctx): New function.
831
832 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
833
834         * sysdeps/arm/armv6/strcpy.S (strcpy):
835         Fix performance issue in misaligned cases.
836
837 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
838
839         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
840         Move definition from termios.h.
841         (struct termio): Likewise.
842         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
843         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
844         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
845         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
846         Likewise.
847         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
848         Move definition to ioctl-types.h
849         (struct termio): Likewise.
850         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
851         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
852         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
853         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
854         Likewise.
855
856 2014-08-05  Richard Henderson  <rth@redhat.com>
857
858         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
859         exceptions.
860         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
861         Add fraiseexcpt.
862         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
863         Use __feraiseexcept.
864         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
865         Protect libm symbols with IS_IN_libm.
866
867         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
868
869 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
870
871         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
872
873 2014-08-04  Will Newton  <will.newton@linaro.org>
874
875         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
876         file.
877
878 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
879
880         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
881         variants for each function.
882
883 2014-08-04  Roland McGrath  <roland@hack.frob.com>
884
885         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
886         appended ...
887         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
888         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
889         appended ...
890         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
891         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
892         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
893         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
894         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
895         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
896         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
897         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
898         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
899         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
900         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
901         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
902         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
903         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
904         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
905         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
906         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
907         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
908         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
909         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
910         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
911         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
912         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
913         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
914         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
915         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
916         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
917         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
918         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
919         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
920         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
921         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
922         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
923         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
924         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
925         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
926         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
927         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
928         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
929         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
930         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
931         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
932         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
933         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
934         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
935         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
936         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
937         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
938         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
939         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
940         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
941         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
942         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
943         Update #include.
944         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
945         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
946
947 2014-08-04  Roland McGrath  <roland@hack.frob.com>
948
949         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
950         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
951         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
952         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
953         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
954         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
955
956 2014-08-04  Roland McGrath  <roland@hack.frob.com>
957
958         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
959         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
960         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
961         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
962
963 2014-08-04  Roland McGrath  <roland@hack.frob.com>
964
965         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
966         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
967         (__libc_vfork): Define function under this name.
968         (__vfork): Define as an alias.
969         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
970         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
971
972 2014-08-04  Roland McGrath  <roland@hack.frob.com>
973
974         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
975         that was previously under [RESET_PID].
976         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
977
978 2014-08-04  Andreas Schwab  <schwab@suse.de>
979
980         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
981
982 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
983
984         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
985         (main): Likewise.
986
987 2014-08-01  Roland McGrath  <roland@hack.frob.com>
988
989         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
990
991 2014-08-01  Richard Henderon  <rth@redhat.com>
992
993         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
994         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
995         typo in exact zero test.
996         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
997         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
998         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
999
1000 2014-08-01  Roland McGrath  <roland@hack.frob.com>
1001
1002         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
1003         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
1004         * sysdeps/arm/sysdep.h: ... here.
1005         [!__ASSEMBLER__]: Include <stdint.h>.
1006
1007 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1008
1009         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
1010         (HAVE_WCTYPE_H): Likewise.
1011         (HAVE_ISWCTYPE): Likewise.
1012         (ENABLE_NLS): Likewise.
1013         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
1014         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
1015
1016         * posix/regex_internal.c: Check if DEBUG is defined and is
1017         set.
1018
1019         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
1020         (HAVE_MBSRTOWCS): Likewise.
1021         * posix/fnmatch.c: Include string.h unconditionally.
1022
1023 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
1024
1025         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
1026         reversal.
1027
1028 2014-07-31  Roland McGrath  <roland@hack.frob.com>
1029
1030         * sysdeps/generic/safe-fatal.h: New file.
1031         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
1032         * nptl/forward.c: Include it.
1033         (__pthread_unwind): Use __safe_fatal as default action, rather
1034         than a bogus use of INTERNAL_SYSCALL that could never work.
1035
1036         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
1037         * configure.ac (libc_cv_builtin_trap): New test.
1038         * configure: Regenerated.
1039         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
1040         (ABORT_INSTRUCTION): Define using __builtin_trap.
1041
1042         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
1043         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
1044         * sysdeps/nptl/nptl-signals.h: New file.
1045         * nptl/pthreadP.h: Include <nptl-signals.h>.
1046
1047 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1048
1049         * sysdeps/s390/s390-64/utf16-utf32-z9.c
1050         (ONE_DIRECTION): Define.
1051         * sysdeps/s390/s390-64/utf8-utf16-z9.c
1052         (ONE_DIRECTION): Define.
1053         * sysdeps/s390/s390-64/utf8-utf32-z9.c
1054         (ONE_DIRECTION): Define.
1055
1056 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1057
1058         * sysdeps/s390/Makefile: Delete file.
1059         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
1060         * sysdeps/s390/__longjmp.c: Delete file.
1061         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
1062         Remove fields __flags and __reserved.
1063         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
1064         and add versioning.
1065         * sysdeps/s390/rtld-__longjmp.c: Delete file.
1066         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
1067         * sysdeps/s390/rtld-setjmp.S: Likewise.
1068         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
1069         * sysdeps/s390/s390-32/__longjmp.c: ... here.
1070         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
1071         * sysdeps/s390/s390-32/setjmp.S: ... here.
1072         Add versioning.
1073         (__sigsetjmp): Remove setting __flags field.
1074         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
1075         * sysdeps/s390/s390-64/__longjmp.c: ... here.
1076         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
1077         * sysdeps/s390/s390-64/setjmp.S: ... here.
1078         Add versioning.
1079         (__sigsetjmp): Remove setting __flags field.
1080         * sysdeps/s390/setjmp.S: Delete file.
1081         * sysdeps/s390/sigjmp.c: Likewise.
1082         * sysdeps/s390/v1-longjmp.c: Likewise.
1083         * sysdeps/s390/v1-setjmp.h: Likewise.
1084         * sysdeps/s390/v1-sigjmp.c: Likewise.
1085         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
1086         Remove v1-longjmp_chk.
1087         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
1088         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
1089         Include debug/longjmp_chk.c and add versioning.
1090         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
1091         Include nptl/pt-longjmp.c and add versioning.
1092         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
1093         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
1094         Include __longjmp.c.
1095         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1096         Move to ...
1097         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
1098         (__getcontext): Remove setting __flags field.
1099         Add versioning.
1100         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1101         Don't restore upper high grps.
1102         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
1103         Likewise.
1104         (__swapcontext): Remove setting uc_flags field.
1105         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
1106         Delete file.
1107         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1108         Include __longjmp.c.
1109         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1110         Move to ...
1111         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
1112         (__getcontext): Remove setting __flags field.
1113         Add versioning.
1114         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
1115         (__swapcontext): Remove setting uc_flags field.
1116         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
1117         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
1118         Remove fields uc_high_gprs and __reserved.
1119         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
1120         New file with reverted content.
1121         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
1122         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
1123         Regenerated.
1124         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
1125         Regenerated.
1126
1127 2014-07-31  Andreas Schwab  <schwab@suse.de>
1128
1129         * config.h.in (HAVE_IFUNC): Define to 0.
1130         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
1131         definedness.
1132
1133 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
1134
1135         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1136         memmove-avx-unaligned, memcpy-avx-unaligned and
1137         mempcpy-avx-unaligned.
1138         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1139         Add tests for AVX memcpy functions.
1140         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
1141         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
1142         memcpy_chk.
1143         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
1144         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
1145         memmove_chk.
1146         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
1147         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
1148         mempcpy_chk.
1149         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
1150         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
1151         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
1152
1153 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1154
1155         [BZ #17213]
1156         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
1157         powerpc64le.
1158
1159 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
1160
1161         [BZ #16839]
1162         * manual/llio.texi: Add section about open file description locks.
1163         * manual/examples/ofdlocks.c: Example of open file description
1164         lock usage.
1165         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
1166         F_OFD_SETLK, and F_OFD_SETLKW.
1167
1168 2014-07-23  Allan McRae  <allan@archlinux.org>
1169
1170         * po/es.po: Update Spanish translation from translation project.
1171
1172 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
1173
1174         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
1175
1176 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
1177
1178         [BZ #17078]
1179         * sysdeps/arm/dl-machine.h (elf_machine_rela)
1180         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
1181         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
1182
1183 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
1184
1185         [BZ #17088]
1186         * math/fesetenv.c (__fesetenv)
1187         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
1188         * math/feupdateenv.c (__feupdateenv)
1189         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
1190
1191         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
1192         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1193         (__ASSUME_SOCKETCALL): Do not define.
1194
1195         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
1196         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
1197         (__ASSUME_SOCKETCALL): Do not define.
1198         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
1199         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1200         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1201         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1202         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1203         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
1204         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1205         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1206
1207         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
1208         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
1209         (__ASSUME_SOCKETCALL): Do not define.
1210         (__ASSUME_IPC64): Define unconditionally.
1211         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1212         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1213         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1214         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1215         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
1216         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1217         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
1218         Likewise.
1219
1220         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
1221         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
1222         (__ASSUME_SOCKETCALL): Do not define.
1223         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
1224         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1225         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1226         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
1227         (__ASSUME_REQUEUE_PI): Define unconditionally.
1228         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
1229         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
1230         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1231         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
1232         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1233         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1234
1235         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
1236         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
1237         (__ASSUME_SOCKETCALL): Do not define.
1238         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
1239         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1240         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1241         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
1242         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1243         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1244
1245         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
1246         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
1247         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1248         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
1249         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1250         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
1251         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1252         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
1253         (__ASSUME_GETCPU_SYSCALL): Likewise.
1254
1255         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
1256         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
1257         cases for individual architectures.
1258         * sysdeps/gnu/configure: Regenerated.
1259         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
1260         LIBC_SLIBDIR_RTLDDIR.
1261         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
1262         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
1263         LIBC_SLIBDIR_RTLDDIR.
1264         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
1266         LIBC_SLIBDIR_RTLDDIR.
1267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1268         Regenerated.
1269         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
1270         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
1271         file.
1272         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
1273         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
1274         file.
1275         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
1276         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
1277         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
1278         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
1279
1280         * sysdeps/aarch64/shlib-versions: Move to ...
1281         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
1282         * sysdeps/alpha/shlib-versions: Move to ...
1283         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
1284         * sysdeps/arm/shlib-versions: Move to ...
1285         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
1286         * sysdeps/hppa/shlib-versions: Move all contents except for
1287         libgcc_s entry to ...
1288         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
1289         entry from ...
1290         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
1291         * sysdeps/ia64/shlib-versions: Move to ...
1292         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
1293         entry from ...
1294         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
1295         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
1296         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
1297         * sysdeps/microblaze/shlib-versions: Move to ...
1298         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
1299         * sysdeps/mips/shlib-versions: Move to ...
1300         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
1301         entry from ...
1302         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
1303         * sysdeps/tile/shlib-versions: Move to ...
1304         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
1305         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
1306         from ...
1307         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
1308         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
1309         entry from ...
1310         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
1311
1312 2014-07-17  Will Newton  <will.newton@linaro.org>
1313
1314         * sysdeps/arm/bits/atomic.h
1315         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
1316         (__arch_compare_and_exchange_bool_16_int): Likewise.
1317         (__arch_compare_and_exchange_bool_64_int): Likewise.
1318
1319         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
1320         into an #else block.
1321
1322 2014-07-16  Roland McGrath  <roland@hack.frob.com>
1323
1324         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
1325         just Linux configurations.  Test empirically that the compiler sets
1326         __ARM_EABI__, rather than using the tuple to decide.
1327         * sysdeps/arm/preconfigure: Regenerated.
1328         * sysdeps/unix/sysv/linux/arm/configure: File removed.
1329         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
1330         contents appended ...
1331         * sysdeps/arm/configure.ac: ... here.
1332         * sysdeps/arm/configure: Regenerated.
1333
1334 2014-07-15  Roland McGrath  <roland@hack.frob.com>
1335
1336         * nptl/pthread_kill.c: New file.
1337         * nptl/pthread_sigmask.c: New file.
1338         * nptl/pthread_sigqueue.c: New file.
1339
1340         * sysdeps/nptl/lowlevellock.h: New file.
1341         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
1342         * sysdeps/nptl/lowlevellock-futex.h: New file.
1343
1344         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
1345         Remove dead declarations.
1346
1347 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
1348
1349         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
1350         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
1351         config-cflags-avx2.
1352         * sysdeps/x86_64/configure.ac: Likewise.
1353         * sysdeps/i386/configure: Regenerated.
1354         * sysdeps/x86_64/configure: Likewise.
1355         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1356         memset-avx2 only if config-cflags-avx2 is yes.
1357         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1358         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
1359         defined.
1360         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
1361         only if HAVE_AVX2_SUPPORT is defined.
1362         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1363
1364 2014-07-14  Alan Modra  <amodra@gmail.com>
1365
1366         [BZ #17153]
1367         * elf/elf.h (DT_PPC64_NUM): Correct value.
1368         * NEWS: Add to fixed bug list.
1369
1370 2014-07-13  Jim Meyering  <meyering@fb.com>
1371
1372         [BZ 17150]
1373         regex: don't deref NULL upon heap allocation failure
1374         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
1375         failure in one more place.
1376         To trigger the segfault, configure grep -with-included-regex,
1377         build it, and run these commands:
1378         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
1379
1380 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
1381
1382         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1383
1384 2014-07-11  Richard Henderson  <rth@redhat.com>
1385
1386         * sysdeps/aarch64/libm-test-ulps: Update.
1387
1388 2014-07-10  Florian Weimer  <fweimer@redhat.com>
1389
1390         [BZ #17135]
1391         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
1392         * nptl/allocatestack.c (__nptl_setxid_error): New function.
1393         (__nptl_setxid): Initialize error member.  Call
1394         __nptl_setxid_error.
1395         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
1396         * nptl/descr.h (struct xid_command): Add error member.
1397         * nptl/tst-setuid3.c: New file.
1398         * nptl/Makefile (tests): Add it.
1399
1400 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1401
1402         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
1403         New define.
1404         (__lll_trylock): Use __lll_base_trylock.
1405         (__lll_cond_trylock): Likewise.
1406
1407 2014-07-10  Roland McGrath  <roland@hack.frob.com>
1408
1409         * nptl/pthread_create.c (start_thread): Use atomic_or and
1410         lll_futex_wake directly rather than lll_robust_dead.
1411         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1412         (lll_robust_dead): Macro removed.
1413         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
1414         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1415         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1416         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1417         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1418         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1419         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1420         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1421         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1422         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1423         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1424         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1425         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1426         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1427         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1428
1429         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1430         Use atomic_compare_and_exchange_val_acq directly rather than
1431         lll_robust_trylock.
1432         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1433         (__lll_robust_trylock, lll_robust_trylock): Removed.
1434         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1435         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1436         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1437         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1438         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1439         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1440         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1441         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1442         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1443         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1444         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1445         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1446         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1447         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1448
1449 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1450
1451         * manual/locale.texi (Locale Names): New section documenting
1452         locale name syntax.  Adjust menu and node chaining accordingly.
1453         (Choosing Locale): Reference Locale Names, Locale Categories.
1454         Mention setting LC_ALL=C.  Reflect that name syntax is now
1455         documented.
1456         (Locale Categories): New section title.  Reference Locale Names.
1457         LC_ALL is an environment variable, but not a category.
1458         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
1459         description, now in Locale Name.  Reference that section.  Locale
1460         name syntax is now documented.
1461
1462 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1463
1464         [BZ #17137]
1465         * locale/findlocale.c (name_present, valid_locale_name): New
1466         functions.
1467         (_nl_find_locale): Use the loc_name variable to store name
1468         candidates.  Call name_present and valid_locale_name to check and
1469         validate locale names.  Return an error if the locale is invalid.
1470
1471 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1472
1473         * locale/setlocale.c (setlocale): Use strdup for allocating
1474         composite name copy.
1475
1476 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1477
1478         Sync up with gnulib.
1479         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
1480         [!_LIBC && ENABLE_NLS]: Include gettext.h.
1481         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
1482         and _GL_ARG_NONNULL.
1483         [USE_UNLOCKED_IO]: Include unlocked-io.h.
1484         [!_LIBC]: Include code for Windows and Cygwin.
1485         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
1486         Include prototype for int strerror_r.
1487         [!_LIBC] (is_open): New function.
1488         (flush_stdout): New function.
1489         (print_errno_message): Use it.
1490         (error): Likewise.
1491         (error_at_line): Likewise.
1492         (error_tail) Add function attribute macros.  Use
1493         __builtin_expect.
1494
1495         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
1496
1497         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
1498
1499         * io/ftw.c: Include sys/param.h unconditionally.
1500
1501         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
1502
1503         [BZ #17125]
1504         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
1505         libc_freeres_ptr.
1506         (freecache): New function to free CACHE on exit.
1507
1508         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
1509         initialization.
1510
1511 2014-07-09  David S. Miller  <davem@davemloft.net>
1512
1513         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1514
1515         * sysdeps/sparc/nptl/internaltypes.h: Delete.
1516         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
1517         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
1518         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
1519         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
1520         * sysdeps/sparc/nptl/sem_init.c: Likewise.
1521         * sysdeps/sparc/nptl/sem_post.c: Likewise.
1522         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
1523         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
1524         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
1525         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
1526         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
1527         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
1528
1529 2014-07-09  Andreas Schwab  <schwab@suse.de>
1530
1531         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
1532         output.
1533         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
1534         (do_test): Likewise.
1535
1536         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1537
1538 2014-07-09  Will Newton  <will.newton@linaro.org>
1539
1540         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
1541         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
1542         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
1543         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
1544         * sysdeps/hppa/start.S (_start): Likewise.
1545
1546 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
1547
1548         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
1549
1550         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
1551         defined.
1552
1553 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1554
1555         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
1556         after checking that it is non-NULL.
1557
1558         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
1559
1560 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1561
1562         * sysdeps/powerpc/memmove.c: Remove file.
1563         * sysdeps/powerpc/powerpc32/power4/memcopy.h
1564         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
1565         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1566         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
1567         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
1568         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
1569         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
1570         string memmove instead of removed powerpc one.
1571
1572         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1573         [weak_alias]: Fix compiler warning due trailing data.
1574         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
1575         [weak_alias]: Likewise.
1576         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
1577         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
1578
1579         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1580         (__libc_ifunc_impl_list): Add memmove functions.
1581
1582 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1583
1584         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
1585         Remove code.
1586         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
1587         Likewise
1588         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
1589         Likewise
1590         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
1591         Likewise
1592         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
1593         Likewise
1594         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
1595         Likewise
1596         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
1597         Likewise
1598         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
1599         Likewise
1600         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
1601         Likewise
1602         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
1603         Likewise
1604         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
1605         Likewise
1606         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
1607         Likewise
1608         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
1609         Likewise
1610         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
1611         Likewise
1612         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
1613         Likewise
1614         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
1615         Likewise
1616         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
1617         Likewise
1618
1619 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1620
1621         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
1622         to avoid alignment traps in non-cacheable memory.
1623         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1624
1625         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
1626         multiarch objects.
1627         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
1628         file: multiarch power7 memmove.
1629         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
1630         multiarch default memmove.
1631         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
1632         multiarch memove for powerpc32/power4.
1633
1634         * string/bcopy.c: Use full path to include memmove.c.
1635         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
1636         multiarch objects.
1637         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
1638         bcopy for powerpc64.
1639         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
1640         bcopy for powerpc64.
1641         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
1642         and memmove implementations.
1643         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
1644         optimized multiarch memmove for POWER7/powerpc64.
1645         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
1646         default multiarch memmove for powerpc64.
1647         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
1648         multiarch for powerpc64.
1649         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
1650         for POWER7/powerpc64.
1651         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
1652         memmove for POWER7/powerpc64.
1653
1654         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
1655         glibc default one.
1656
1657         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
1658         __ELF_NATIVE_CLASS equal to 64.
1659
1660 2014-07-07  Roland McGrath  <roland@hack.frob.com>
1661
1662         * sysdeps/nptl/lowlevellock.h: File removed.
1663
1664         * NEWS: NPTL is no longer an add-on!
1665         * nptl/internaltypes.h: Moved ...
1666         * sysdeps/nptl/internaltypes.h: ... here.
1667         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
1668         * sysdeps/nptl/fork.c: Likewise.
1669         * sysdeps/nptl/gai_misc.h: Likewise.
1670         * sysdeps/nptl/librt-cancellation.c: Likewise.
1671         * sysdeps/nptl/jmp-unwind.c: Likewise.
1672         * sysdeps/nptl/setxid.h: Likewise.
1673         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
1674         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
1675         * sysdeps/unix/sysv/linux/arm/Implies: New file.
1676         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
1677         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
1678         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
1679         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
1680         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
1681         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
1682         * sysdeps/unix/sysv/linux/mips/Implies: New file.
1683         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
1684         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
1685         * sysdeps/unix/sysv/linux/sh/Implies: New file.
1686         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
1687         * sysdeps/unix/sysv/linux/tile/Implies: New file.
1688         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
1689         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
1690         * nptl/Makeconfig: Moved ...
1691         * sysdeps/nptl/Makeconfig: ... here.
1692         * nptl/configure: File removed.
1693         * nptl/ANNOUNCE: File removed.
1694         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
1695         * sysdeps/unix/sysv/linux/configure: Regenerated.
1696
1697         * nptl/Makefile (routines): Add libc_pthread_init,
1698         libc_multiple_threads, register-atfork and unregister-atfork.
1699         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
1700         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
1701         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
1702         pthread-pi-defines.sym, structsem.sym.
1703         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
1704         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
1705         [$(subdir) = nptl] (tests): Add tst-setgetname.
1706         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
1707         * sysdeps/unix/sysv/linux/sigaction.c: Just include
1708         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
1709         [!LIBC_SIGACTION]: Remove aliases.
1710         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1711         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1712         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1713         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1714         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1715         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
1716         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1717         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1718         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1719         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
1720         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
1721         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
1722         __libc_allocate_rtsig_private.
1723         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
1724         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
1725         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1726         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1727         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1728         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
1729         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
1730         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
1731         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
1732         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
1733         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
1734         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
1735         * nptl/internaltypes.h: ... here.
1736         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1737         * sysdeps/nptl/jmp-unwind.c: ... here.
1738         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1739         * nptl/libc-lowlevellock.c: ... here.
1740         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1741         * nptl/libc_multiple_threads.c: ... here.
1742         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1743         * nptl/libc_pthread_init.c: ... here.
1744         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1745         * nptl/lowlevelbarrier.sym: ... here.
1746         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1747         * nptl/lowlevelcond.sym: ... here.
1748         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1749         * nptl/lowlevellock.c: ... here.
1750         * nptl/lowlevellock.h: Moved ...
1751         * sysdeps/nptl/lowlevellock.h: ... here.
1752         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1753         * nptl/lowlevelrobustlock.c: ... here.
1754         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1755         * nptl/lowlevelrobustlock.sym: ... here.
1756         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1757         * nptl/lowlevelrwlock.sym: ... here.
1758         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1759         * nptl/pt-fork.c: ... here.
1760         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1761         * nptl/pthread-pi-defines.sym: ... here.
1762         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1763         * nptl/pthread_attr_getaffinity.c: ... here.
1764         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1765         * nptl/pthread_attr_setaffinity.c: ... here.
1766         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1767         * nptl/pthread_mutex_cond_lock.c: ... here.
1768         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1769         Update #include.
1770         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1771         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1772         * nptl/pthread_once.c: ... here, replacing old file.
1773         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1774         * nptl/pthread_yield.c: ... here.
1775         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1776         * nptl/register-atfork.c: ... here.
1777         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1778         * nptl/sem_post.c: ... here.
1779         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1780         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1781         * nptl/sem_timedwait.c: ... here.
1782         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1783         * nptl/sem_trywait.c: ... here.
1784         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1785         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1786         * nptl/sem_wait.c: ... here.
1787         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1788         * nptl/structsem.sym: ... here.
1789         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1790         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1791         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1792         * nptl/unregister-atfork.c: ... here.
1793         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1794         * nptl/unwindbuf.sym: ... here.
1795         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1796         * sysdeps/nptl/fork.c: ... here.
1797         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1798         * sysdeps/nptl/fork.h: ... here.
1799         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1800         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1801         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1802         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1803         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1804         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1805         * sysdeps/unix/sysv/linux/getpid.c: ... here.
1806         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1807         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1808         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1809         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1810         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1811         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1812         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
1813         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1814         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1815         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1816         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1817         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1818         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1819         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1820         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1821         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1822         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1823         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1824         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1825         * sysdeps/unix/sysv/linux/raise.c: ... here.
1826         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1827         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1828         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1829         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1830         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1831         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1832         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1833         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1834         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1835         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1836         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1837         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1838         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1839         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1840         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1841
1842 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1843
1844         * sysdeps/generic/memcopy.h: Add comment for
1845         MEMCPY_OK_FOR_FWD_MEMMOVE.
1846
1847 2014-07-04  Will Newton  <will.newton@linaro.org>
1848
1849         * string/memchr.c: Merge from gnulib.
1850         [_LIBC]: Remove conditionals.
1851         (__ptr_t): Remove define.
1852         (LONG_MAX_32_BITS): Likewise.
1853         (LONG_MAX): Likewise.
1854         (MEMCHR): Use ANSI prototype and optimize algorithm.
1855
1856         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1857
1858 2014-07-03  Roland McGrath  <roland@hack.frob.com>
1859
1860         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1861         (lll_futex_timed_wait_bitset): Fix syscall argument count.
1862
1863         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1864         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1865         in a bare environment with no <stdlib.h> installed.
1866         * sysdeps/nptl/configure: Regenerated.
1867
1868         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1869
1870         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1871         AC_EGREP_CPP for kernel header checks, so they only succeed if
1872         including <linux/version.h> actually works right.
1873         * sysdeps/unix/sysv/linux/configure: Regenerated.
1874
1875         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1876         value so it's not diagnosed as unused.
1877
1878         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1879         thing) with "ifeq ($(subdir),rt)".
1880
1881 2014-07-03  Richard Henderson  <rth@redhat.com>
1882
1883         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1884         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1885         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1886
1887         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1888         (math_force_eval): New.
1889
1890         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1891         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1892
1893         * sysdeps/alpha/fpu/s_round.c: Remove file.
1894         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1895
1896         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1897         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1898         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1899         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1900         (_dl_start, print_statistics): Likewise.
1901         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1902         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1903
1904         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1905         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1906         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1907         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1908         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1909         (HP_SMALL_TIMING_AVAIL): Define.
1910         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1911         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1912         (HP_SMALL_TIMING_AVAIL): Define.
1913         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1914         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1915
1916         * sysdeps/aarch64/hp-timing.h: New file.
1917
1918         * sysdeps/generic/hp-timing.h: Remove dead comment.
1919         * sysdeps/generic/hp-timing-common.h: New file.
1920         * sysdeps/alpha/hp-timing.h: Include it.
1921         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1922         * sysdeps/i386/i686/hp-timing.h: Likewise.
1923         * sysdeps/ia64/hp-timing.h: Likewise.
1924         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1925         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1926         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1927         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1928         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1929         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1930         (hp_timing_t): New.
1931
1932         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1933         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1934         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1935         * elf/rtld.c (_dl_start_final): Likewise.
1936         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1937         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1938         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1939         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1940         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1941         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1942         (HP_TIMING_DIFF_INIT): Remove.
1943         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1944         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1945         (HP_TIMING_DIFF_INIT): Remove.
1946         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1947         * sysdeps/i386/i686/hp-timing.c: Remove file.
1948         * sysdeps/x86_64/hp-timing.c: Remove file.
1949         * sysdeps/ia64/hp-timing.c: Remove file.
1950         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1951         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1952         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1953         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1954
1955         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1956         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1957         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1958         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1959         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1960         (HP_TIMING_ACCUM): Remove.
1961         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1962         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1963         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1964
1965         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1966         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1967         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1968         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1969         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1970         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1971         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1972         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1973
1974         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1975
1976 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
1977
1978         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1979
1980 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1981
1982         Sync up with gettext.
1983         * intl/loadmsgcat.c: Define O_BINARY if not defined.
1984         [_MSC_VER]: Include malloc.h
1985         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1986         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1987         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
1988         TEMP_FAILURE_RETRY.  Cast return of alloca.
1989         [!_LIBC] Call gl_rwlock_init.
1990         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1991
1992 2014-07-02  Roland McGrath  <roland@hack.frob.com>
1993
1994         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1995         before checking its value.
1996
1997 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1998
1999         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
2000
2001         * debug/memcpy_chk.c: Don't include pagecopy.h.
2002         * debug/mempcpy_chk.c: Likewise.
2003         * string/memcpy.c: Likewise.
2004         * string/memmove.c: Likewise.
2005         * sysdeps/powerpc/memmove.c: Likewise.
2006         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
2007         definition of PAGE_COPY_FWD_MAYBE here...
2008         * sysdeps/generic/pagecopy.h: ... from here.
2009         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
2010
2011 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2012             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2013
2014         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
2015         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
2016         optimizations.
2017         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2018         (__libc_ifunc_impl_list): Likewise.
2019         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
2020         multiarch strcat for PPC64.
2021         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
2022         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
2023
2024 2014-07-02  Roland McGrath  <roland@hack.frob.com>
2025
2026         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
2027
2028 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2029
2030         * intl/loadmsgcat.c: Remove declaration of
2031         get_sysdep_segment_value.
2032         (get_sysdep_segment_value): Use ISO C style.
2033         (_nl_load_domain): Use ISO C style.  Get rid of redundant
2034         semicolon.  Fix typo and formatting in comment.
2035         (_nl_unload_domain): Use ISO C style.
2036
2037         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
2038
2039 2014-07-02  Will Newton  <will.newton@linaro.org>
2040
2041         * malloc/obstack.c: Merge from gnulib master.
2042         [HAVE_CONFIG_H]: Remove conditional code.
2043         [!_LIBC]: Include config.h.
2044         [!ELIDE_CODE]: Don't include inttypes.h, include
2045         stdint.h unconditionally.
2046         (print_and_abort): Mark as _Noreturn.
2047         (_obstack_allocated_p): Mark as __attribute_pure__.
2048         (obstack_free): Rename to __obstack_free.
2049         [!__attribute__]: Remove conditional code.
2050         * malloc/obstack.h: Merge from gnulib master.
2051         [__cplusplus]: Move conditional down.
2052         [!__attribute_pure__]: Define __attribute_pure__ here
2053         if it is not already defined.
2054         (_obstack_memory_used): Mark as __attribute_pure__.
2055         [!__obstack_free]: Define as obstack_free.
2056         [__GNUC__]: Remove check for ancient NeXT gcc.
2057
2058 2014-07-02  Will Newton  <will.newton@linaro.org>
2059             Paul Eggert  <eggert@cs.ucla.edu>
2060
2061         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
2062
2063 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2064
2065         * resolv/gethnamaddr.c: Add comment warning that the file is
2066         not maintained.
2067
2068 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
2069
2070         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
2071         entries.
2072
2073         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
2074         entry for aio_cancel and aio_cancel64.
2075         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
2076         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
2077         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
2078         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
2079         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
2080         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
2081         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
2082         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
2083         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
2084         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
2085         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
2086         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
2087         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
2088
2089 2014-07-01  Roland McGrath  <roland@hack.frob.com>
2090
2091         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
2092         * nptl/pthread_mutex_lock.c: Likewise.
2093         * nptl/pthread_mutex_timedlock.c: Likewise.
2094         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
2095
2096 2014-07-01  Richard henderson  <rth@redhat.com>
2097
2098         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
2099         (__isnan, __isnanl): Remove.
2100         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
2101
2102         * sysdeps/alpha/fpu/libm-test-ulps: Update.
2103
2104 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
2105
2106         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2107
2108 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
2109
2110         * resolv/nss_dns/dns-host.c (getanswer_r)
2111         [MULTI_PTRS_ARE_ALIASES]: Remove code.
2112
2113 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
2114
2115         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2116         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
2117         undefine.
2118         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
2119         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
2120
2121 2014-07-01  Roland McGrath <roland@hack.frob.com>
2122
2123         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
2124         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
2125
2126         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
2127         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
2128
2129         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
2130         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
2131         ... here.
2132         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
2133         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
2134
2135         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
2136         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
2137         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
2138         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
2139
2140         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
2141         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
2142         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
2143         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
2144         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
2145         Moved ...
2146         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
2147         ... here.
2148         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
2149         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
2150         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
2151         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
2152         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
2153         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
2154         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
2155         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
2156         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
2157         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
2158         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
2159         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
2160         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
2161         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
2162         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
2163         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
2164         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
2165         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
2166         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
2167         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
2168         ... here.
2169         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
2170         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
2171         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
2172         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
2173         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
2174         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
2175         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
2176         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
2177
2178 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
2179
2180         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
2181         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
2182         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
2183         Add sysdep.
2184
2185 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2186
2187         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2188
2189 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
2190
2191         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2192         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2193
2194         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2195
2196         * sysdeps/arm/libm-test-ulps: Regenerated.
2197
2198 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
2199             Roland McGrath <roland@hack.frob.com>
2200
2201         * test-skeleton.c (signal_handler): Kill the whole process group
2202         before killing the child individually.
2203         (main): Report any failure on `setpgid'.
2204
2205 2014-06-30  Roland McGrath  <roland@hack.frob.com>
2206
2207         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
2208         from _TLS_H to _ARM_NPTL_TLS_H.
2209         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
2210         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
2211
2212 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
2213
2214         [BZ #16539]
2215         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
2216         (__expm1l): Return argument unchanged when small but not
2217         subnormal.
2218
2219         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
2220         include macro name.
2221         (_FP_UNPACK_RAW_1_P): Likewise.
2222         (_FP_PACK_RAW_1): Likewise.
2223         (_FP_PACK_RAW_1_P): Likewise.
2224         (_FP_MUL_MEAT_1_wide): Likewise.
2225         (_FP_MUL_MEAT_DW_1_hard): Likewise.
2226         (_FP_MUL_MEAT_1_hard): Likewise.
2227         (_FP_DIV_MEAT_1_imm): Likewise.
2228         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
2229         (_FP_DIV_MEAT_1_udiv): Likewise.
2230         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
2231         (_FP_UNPACK_RAW_2): Likewise.
2232         (_FP_UNPACK_RAW_2_P): Likewise.
2233         (_FP_PACK_RAW_2): Likewise.
2234         (_FP_PACK_RAW_2_P): Likewise.
2235         (_FP_MUL_MEAT_DW_2_wide): Likewise.
2236         (_FP_MUL_MEAT_2_wide): Likewise.
2237         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
2238         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
2239         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
2240         (_FP_MUL_MEAT_2_gmp): Likewise.
2241         (_FP_DIV_MEAT_2_udiv): Likewise.
2242         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
2243         (_FP_FRAC_SRL_4): Likewise.
2244         (_FP_FRAC_SRST_4): Likewise.
2245         (_FP_FRAC_SRS_4): Likewise.
2246         (_FP_UNPACK_RAW_4): Likewise.
2247         (_FP_UNPACK_RAW_4_P): Likewise.
2248         (_FP_PACK_RAW_4): Likewise.
2249         (_FP_PACK_RAW_4_P): Likewise.
2250         (_FP_MUL_MEAT_DW_4_wide): Likewise.
2251         (_FP_MUL_MEAT_4_wide): Likewise.
2252         (_FP_MUL_MEAT_4_gmp): Likewise.
2253         (umul_ppppmnnn): Likewise.
2254         (_FP_DIV_MEAT_4_udiv): Likewise.
2255         (__FP_FRAC_ADD_4): Likewise.
2256         (__FP_FRAC_SUB_3): Likewise.
2257         (__FP_FRAC_SUB_4): Likewise.
2258         (__FP_FRAC_DEC_3): Likewise.
2259         (__FP_FRAC_DEC_4): Likewise.
2260         (__FP_FRAC_ADDI_4): Likewise.
2261         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
2262         (_FP_FRAC_SRL_8): Likewise.
2263         (_FP_FRAC_SRS_8): Likewise.
2264
2265         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
2266         include macro name.
2267         (FP_UNPACK_RAW_EP): Likewise.
2268         (FP_PACK_RAW_E): Likewise.
2269         (FP_PACK_RAW_EP): Likewise.
2270         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
2271         (_FP_ISSIGNAN): Likewise.
2272         (_FP_ADD_INTERNAL): Likewise.
2273         (_FP_FMA): Likewise.
2274         (_FP_CMP): Likewise.
2275         (_FP_SQRT): Likewise.
2276         (_FP_TO_INT): Likewise.
2277         (_FP_FROM_INT): Likewise.
2278         (FP_EXTEND): Likewise.
2279         (_FP_DIV_MEAT_N_loop): Likewise.
2280
2281 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
2282
2283         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
2284         throughout.
2285
2286 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
2287
2288         [BZ #17097]
2289         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
2290         result with correct sign in case of exponents that produce
2291         overflow except for X very close to 1.
2292
2293 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
2294
2295         mktime: merge #if/#ifdef usage from glibc
2296         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
2297         as that works with both Glibc's and Gnulib's style.
2298         See thread starting at Siddhesh Poyarekar's bug report at:
2299         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
2300
2301 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2302
2303         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
2304         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
2305         * sysdeps/tile/tilegx/memmove.c: Remove file.
2306
2307 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
2308
2309         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
2310         abi-name definition.
2311         * scripts/soversions.awk: Do not handle or generate ABI lines.
2312         * shlib-versions: Remove ABI entries.
2313         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
2314         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
2315
2316 2014-06-27  Roland McGrath  <roland@hack.frob.com>
2317
2318         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
2319         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
2320         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
2321         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
2322         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
2323         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
2324         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
2325         Moved ...
2326         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
2327         ... here.
2328         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
2329         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
2330         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
2331         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
2332         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
2333         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
2334         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
2335         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
2336         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
2337         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
2338         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
2339         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
2340         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
2341         Moved ...
2342         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
2343         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
2344         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
2345         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
2346         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
2347         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
2348         Moved ...
2349         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
2350         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
2351         Moved ...
2352         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
2353         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
2354         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
2355         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
2356         Moved ...
2357         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
2358         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
2359         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
2360         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
2361         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
2362         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
2363         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
2364         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
2365         Moved ...
2366         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
2367         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
2368         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
2369         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
2370         Moved ...
2371         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
2372         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
2373         Moved ...
2374         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
2375         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
2376         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
2377         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
2378         Moved ...
2379         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
2380         ... here.
2381         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
2382         Identical file removed.
2383         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
2384         Moved ...
2385         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
2386         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
2387         Identical file removed.
2388         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
2389         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
2390         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
2391         Moved ...
2392         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
2393         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
2394         Identical file removed.
2395         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
2396         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
2397         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
2398         Identical file removed.
2399         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
2400         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
2401         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
2402         Identical file removed.
2403         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
2404         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
2405         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
2406         Identical file removed.
2407         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
2408         Moved ...
2409         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
2410         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
2411         Identical file removed.
2412         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
2413         Moved ...
2414         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
2415         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
2416         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
2417         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
2418         Identical file removed.
2419         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
2420         Moved ...
2421         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
2422         ... here.
2423         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
2424         Identical file removed.
2425         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
2426         Moved ...
2427         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
2428         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
2429         Identical file removed.
2430         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
2431         Moved ...
2432         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
2433         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
2434         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
2435         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
2436         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
2437         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
2438         Moved ...
2439         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
2440         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
2441         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
2442
2443         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
2444         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
2445         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
2446         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
2447         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
2448
2449 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
2450
2451         [BZ #17092]
2452         * nscd/nscd.c (monitor_child): Return exit status of child
2453         instead of return value from wait syscall.
2454
2455 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
2456
2457         * configure.ac (libc_commonpagesize): Remove variable.
2458         (libc_relro_required): Likewise.
2459         (libc_cv_z_relro): Remove configure test.
2460         * configure: Regenerated.
2461         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
2462         variable.
2463         (libc_relro_required): Likewise.
2464         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
2465         (libc_relro_required): Likewise.
2466         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
2467         (libc_relro_required): Likewise.
2468         * sysdeps/arm/preconfigure: Regenerated.
2469         * sysdeps/ia64/preconfigure: Remove file.
2470         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
2471         variable.
2472         (libc_relro_required): Likewise.
2473
2474         [BZ #16561]
2475         [BZ #16562]
2476         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
2477         (__ieee754_yn): Set FE_TONEAREST mode internally and then
2478         recompute overflowing results in original rounding mode.
2479         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
2480         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
2481         recompute overflowing results in original rounding mode.
2482         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
2483         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2484         recompute overflowing results in original rounding mode.
2485         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
2486         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2487         recompute overflowing results in original rounding mode.
2488         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
2489         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2490         recompute overflowing results in original rounding mode.
2491         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
2492         (libc_feholdsetround_ctx): New macro.
2493         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
2494         * sysdeps/i386/fpu/libm-test-ulps: Update.
2495         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
2496
2497 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2498
2499         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
2500         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
2501         corresponding .cpsetup call.
2502
2503 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2504
2505         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
2506         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
2507         * sysdeps/arm/Makefile [$(subdir) = csu]
2508         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
2509         (static-only-routines): Add aeabi_read_tp here.
2510         (shared-only-routines): Add libc-aeabi_read_tp here.
2511         (CFLAGS-libc-start.c): Add -fexceptions here.
2512         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
2513         (sysdep_routines, static-only-routines, shared-only-routines):
2514         Don't add to these here.
2515         (CFLAGS-libc-start.c): Likewise.
2516
2517         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
2518         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2519         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
2520         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2521         * sysdeps/arm/Makefile [$(subdir) = rt]
2522         (librt-sysdep_routines, librt-shared-only-routines):
2523         Append rt-aeabi_unwind_cpp_pr1 here.
2524         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
2525         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
2526         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
2527         (libpthread-sysdep_routines, libpthread-shared-only-routines):
2528         Append nptl-aeabi_unwind_cpp_pr1 here.
2529         (tests): Filter out tst-cleanupx4 here.
2530         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
2531         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
2532         Don't do those here.
2533
2534 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2535
2536         * scripts/list-sources.sh: Do not handle ports specially.
2537
2538 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2539
2540         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
2541         * sysdeps/arm/feupdateenv.c: Likewise.
2542
2543         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
2544
2545 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2546
2547         * manual/texinfo.tex: Update to version 2014-05-05.10 with
2548         trailing whitespace removed.
2549         * scripts/config.guess: Update to version 2014-03-23.
2550         * scripts/config.sub: Update to version 2014-05-01
2551         * scripts/install-sh: Update to version 2013-12-25.23.
2552         * scripts/move-if-change: Update from gnulib.
2553
2554 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2555
2556         * debug/memmove_chk.c: Remove pagecopy.h include.
2557
2558 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
2559
2560         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
2561         identical to gnulib mktime.
2562
2563 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2564
2565         * configure.ac: Do not test for machine being rs6000.  Do not test
2566         for powerpc*-*soft.
2567         * configure: Regenerated.
2568
2569         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
2570         test.
2571         * configure: Regenerated.
2572         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
2573         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
2574         Remove configure test.
2575         * sysdeps/arm/configure: Regenerated.
2576         * sysdeps/nptl/configure.ac: Do not check
2577         libc_cv_asm_cfi_directives.
2578         * sysdeps/nptl/configure: Regenerated.
2579         * sysdeps/x86_64/nptl/configure.ac: Remove file.
2580         * sysdeps/x86_64/nptl/configure: Remove generated file.
2581         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
2582         unconditional.
2583         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
2584
2585 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2586
2587         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
2588         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
2589         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
2590         it is defined.
2591
2592         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
2593         instead of whether it is defined.
2594         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
2595         * sysdeps/hppa/dl-machine.h: Likewise.
2596         * sysdeps/ia64/dl-machine.h: Likewise.
2597         * sysdeps/m68k/dl-machine.h: Likewise.
2598         * sysdeps/microblaze/dl-machine.h: Likewise.
2599         * sysdeps/mips/dl-machine.: Likewise.
2600         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
2601         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2602         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2603         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2604         * sysdeps/sh/dl-machine.h: Likewise.
2605         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2606         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2607         * sysdeps/tile/dl-machine.h: Likewise.
2608         * sysdeps/x86_64/dl-machine.h: Likewise.
2609
2610         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
2611         code.
2612         (verify_persistent_db): Likewise.
2613
2614 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2615
2616         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
2617         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
2618         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
2619         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
2620         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2621         Moved ...
2622         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
2623         ... here.
2624         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
2625         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
2626         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
2627         Identical file removed.
2628         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
2629         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
2630         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
2631         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
2632         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
2633         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
2634         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
2635         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
2636         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
2637         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
2638         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2639         Moved ...
2640         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
2641         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
2642         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
2643         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
2644         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
2645         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2646         Moved ...
2647         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
2648         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
2649         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
2650         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
2651         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
2652         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2653         Identical file removed.
2654         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
2655         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
2656         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
2657         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
2658         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2659         Moved ...
2660         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
2661         ... here.
2662         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
2663         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
2664         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
2665         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
2666         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
2667         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
2668         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
2669         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
2670         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
2671         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
2672         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2673         Moved ...
2674         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
2675         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
2676         Moved ...
2677         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
2678         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
2679         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
2680         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2681         Moved ...
2682         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
2683         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
2684         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
2685
2686         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
2687         folded into ...
2688         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
2689         * sysdeps/unix/sysv/linux/s390/Versions
2690         (libpthread: GLIBC_2.19): New version set.
2691         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
2692         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
2693         (librt: GLIBC_2.3.3): New version set.
2694         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
2695         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
2696         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
2697         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
2698         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
2699         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
2700         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
2701         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
2702         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
2703         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
2704         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
2705         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
2706         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
2707         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
2708         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
2709         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
2710         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
2711         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
2712         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
2713         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
2714         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
2715         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
2716         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
2717         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
2718         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
2719         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
2720         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
2721         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
2722         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
2723         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
2724         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
2725         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
2726         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
2727         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
2728         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
2729         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
2730         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
2731         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
2732         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
2733         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
2734         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
2735         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2736         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2737         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2738         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2739
2740         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2741         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2742         (__libc_vfork): Define the function under this name.
2743         [!NOT_IN_libc] (__vfork): Make this an alias.
2744         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2745         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2746         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
2747         (__libc_vfork): Define the function under this name.
2748         [!NOT_IN_libc] (__vfork): Make this an alias.
2749         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2750         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2751         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2752         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2753         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2754         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2755
2756         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2757         code that was previously under [RESET_PID].
2758         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2759         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2760         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2761
2762         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2763         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2764         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2765         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2766         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2767         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2768         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2769         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2770         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2771         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2772         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2773         Moved ...
2774         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2775         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2776         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2777         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2778         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2779         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2780         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2781         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2782         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2783         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2784         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2785         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2786         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2787         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2788         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2789         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2790         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2791         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2792         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2793         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2794         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2795         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2796         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2797         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2798         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2799         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2800         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2801         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2802         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2803
2804 2014-06-25  Roland McGrath  <roland@hack.frob.com>
2805
2806         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2807         that was previously under [RESET_PID].
2808         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2809
2810 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2811
2812         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
2813         not undefine and redefine.
2814         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2815         [O_CLOEXEC]: Make code unconditional.
2816         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2817         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2818         <kernel-features.h>.
2819         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2820         conditional variable definition.
2821         (shm_open) [O_CLOEXEC]: Make code unconditional.
2822         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2823         code.
2824
2825         * configure.ac (USE_REGPARMS): Don't define here.
2826         * configure: Regenerated.
2827         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2828         * sysdeps/i386/configure: Regenerated.
2829
2830         * nptl/createthread.c: Don't include kernel-features.h.
2831         * nptl/pthread_cancel.c: Likewise.
2832         * nptl/pthread_condattr_setclock.c: Likewise.
2833         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2834         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2835         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2836         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2837         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2838         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2839         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2840         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2841         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2842         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2843         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2844         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2845         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2846         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2847         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2848         * nscd/gai.c: Likewise.
2849         * nss/nss_db/db-open.c: Likewise.
2850         * sysdeps/generic/ldsodefs.h: Likewise.
2851         * sysdeps/sh/nptl/tls.h: Likewise.
2852         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2853         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2854         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2855         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2856         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2857         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2858         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2859         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2860         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2861         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2862         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2863         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2864         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2865         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2866         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2867         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2868         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2869         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2870         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2871         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2872         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2873         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2874         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2875         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2876         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2877         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2878         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2879         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2880         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2881         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2882         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2883         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2884         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2885         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2886         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2887         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2888         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2889         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2890         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2891         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2892         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2893         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2894         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2895         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2896         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2897         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2898         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2899         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2900         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2901         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2902         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2903         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2904         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2905         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2906         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2907         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2908         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2909         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2932         * sysdeps/unix/sysv/linux/pread.c: Likewise.
2933         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2934         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2935         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2936         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2937         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2938         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2939         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2940         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2941         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2942         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2943         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2944         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2945         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2946         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2947         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2948         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2949         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2950         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2951         * sysdeps/unix/sysv/linux/system.c: Likewise.
2952         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2953         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2954         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2955         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2956         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2957         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2958         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2959
2960         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2961         * configure: Regenerated.
2962         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2963
2964         * configure.ac (base_machine): Do not set specially for particular
2965         machines here.
2966         * configure: Regenerated.
2967         * sysdeps/powerpc/preconfigure: Move machine and base_machine
2968         settings from configure.ac.
2969         * sysdeps/i386/preconfigure: New file.
2970         * sysdeps/s390/preconfigure: Likewise.
2971         * sysdeps/sh/preconfigure: Likewise.
2972         * sysdeps/sparc/preconfigure: Likewise.
2973
2974 2014-06-25  Roland McGrath  <roland@hack.frob.com>
2975
2976         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2977         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2978         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2979         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2980         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2981         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2982         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2983         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2984         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2985         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2986         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2987         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2988         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2989         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2990         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2991         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2992         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2993         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2994         * sysdeps/sparc/sparc64/Makefile: ... appended here.
2995
2996         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2997         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2998         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2999         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
3000         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
3001         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
3002         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
3003         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
3004         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
3005         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
3006         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
3007         * sysdeps/sparc/sparc32/sem_post.c: ... here.
3008         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
3009         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
3010         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
3011         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
3012         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
3013         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
3014         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
3015         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
3016         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
3017         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
3018         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
3019         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
3020         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
3021         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
3022         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
3023         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
3024         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
3025         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
3026         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
3027         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
3028         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
3029         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
3030         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
3031         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
3032         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
3033         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
3034
3035         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
3036         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
3037         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
3038         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
3039         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3040         Moved ...
3041         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
3042         ... here.
3043         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
3044         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
3045         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
3046         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
3047         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
3048         Moved ...
3049         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
3050         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
3051         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
3052         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
3053         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
3054         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
3055         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
3056         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3057         Moved ...
3058         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
3059         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3060         Moved ...
3061         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
3062         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
3063         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
3064         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3065         Moved ...
3066         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
3067         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
3068         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
3069         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
3070         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
3071         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
3072         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
3073         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
3074         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
3075         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3076         Moved ...
3077         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
3078         ... here.
3079         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
3080         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
3081         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
3082         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
3083         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
3084         Moved ...
3085         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
3086         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
3087         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
3088         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
3089         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
3090         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
3091         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
3092         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3093         Moved ...
3094         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
3095         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3096         Moved ...
3097         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
3098         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
3099         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
3100         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3101         Moved ...
3102         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
3103         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
3104         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
3105         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
3106         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
3107
3108 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
3109
3110         * timezone/checktab.awk: Update from tzcode 2014e.
3111         * timezone/private.h: Likewise.
3112         * timezone/tzfile.h: Likewise.
3113         * timezone/zdump.c: Likewise.
3114         * timezone/zic.c: Likewise.
3115
3116         * sysdeps/unix/sysv/linux/kernel-features.h
3117         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
3118         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
3119         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
3120         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3121         Remove conditional code.
3122
3123 2014-06-25  Will Newton  <will.newton@linaro.org>
3124
3125         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
3126         (_dl_arm_cap_flags): Add HWCAP2 values.
3127         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
3128         (_DL_HWCAP_COUNT): Increase to 37.
3129         (_DL_HWCAP_LAST): New define.
3130         (_DL_HWCAP2_LAST): New define.
3131         (_dl_procinfo): Add support for printing
3132         AT_HWCAP2 entries.
3133         (_dl_string_hwcap): Use _dl_hwcap_string.
3134
3135 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3136
3137         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3138
3139 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
3140
3141         * README: Do not mention ports directory.
3142
3143         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
3144         Remove macro.
3145         * sysdeps/unix/sysv/linux/futimes.c: Do not include
3146         <kernel-features.h>.
3147         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
3148         conditional variable definition.
3149         (__futimes): Update comment.
3150         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
3151         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
3152
3153         [BZ #16560]
3154         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
3155         arguments close to 0.
3156         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
3157         Likewise.
3158         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
3159         Likewise.
3160         * math/auto-libm-test-in: Add more tests of exp10.
3161         * math/auto-libm-test-out: Regenerated.
3162         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3163
3164         * sysdeps/unix/sysv/linux/kernel-features.h
3165         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
3166         * sysdeps/unix/sysv/linux/readv.c: Do not include
3167         <kernel-features.h>.
3168         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3169         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3170         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3171         unconditional.
3172         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3173         conditional code.
3174         * sysdeps/unix/sysv/linux/writev.c: Do not include
3175         <kernel-features.h>.
3176         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3177         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3178         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3179         unconditional.
3180         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3181         conditional code.
3182
3183 2014-06-25  Will Newton  <will.newton@linaro.org>
3184
3185         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
3186         comment changes throughout the file.  Remove checks
3187         for HAVE_*_H definitions that are not required.
3188         (__gen_tempname): Call abort if an unknown kind value is
3189         passed.
3190
3191 2014-06-25  Andreas Schwab  <schwab@suse.de>
3192
3193         [BZ #17086]
3194         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
3195         scalbln, scalblnf, scalblnl in libc.
3196
3197 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
3198
3199         [BZ #17086]
3200         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
3201         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3202         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3203
3204 2014-06-24  Roland McGrath  <roland@hack.frob.com>
3205
3206         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
3207         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
3208         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
3209         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
3210         Update #include.
3211         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
3212         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
3213         Update #include.
3214         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
3215         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
3216         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
3217         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
3218         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
3219         * sysdeps/x86/bits/pthreadtypes.h: ... here.
3220         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
3221         * sysdeps/x86/bits/semaphore.h: ... here.
3222         * sysdeps/x86/nptl/elide.h: Moved ...
3223         * sysdeps/x86/elide.h: ... here.
3224         * sysdeps/x86_64/nptl/Implies: File removed.
3225         * sysdeps/i386/nptl/Implies: File removed.
3226
3227 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
3228
3229         [BZ #16539]
3230         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
3231         return the argument for normal arguments with exponent below -64.
3232         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
3233         Likewise.
3234         * math/auto-libm-test-in: Add another test of expm1.
3235         * math/auto-libm-test-out: Regenerated.
3236
3237         [BZ #16287]
3238         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
3239         calling __erfcl for arguments at least 16.
3240         * math/auto-libm-test-in: Add more tests of erf.
3241         * math/auto-libm-test-out: Regenerated.
3242
3243         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
3244         individual architectures.
3245         * sysdeps/unix/sysv/linux/configure: Regenerated.
3246         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
3247         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
3248         * sysdeps/unix/sysv/linux/powerpc/configure.ac
3249         (ldd_rewrite_script): Define variable.
3250         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
3252         file.
3253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
3254         generated file.
3255         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
3256         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
3257         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
3258         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
3259         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
3260         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
3261         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
3262         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
3263
3264 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3265
3266         [BZ #17084]
3267         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
3268         Rename member __data.d to __data.__elision_data.
3269
3270 2014-06-24  Wilco  <wdijkstr@arm.com>
3271
3272         * NEWS: Add 16918 to fixed bug list.
3273
3274 2014-06-24  Wilco  <wdijkstr@arm.com>
3275
3276         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
3277
3278 2014-06-24  Wilco  <wdijkstr@arm.com>
3279
3280         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
3281         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
3282         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
3283         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
3284         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
3285         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
3286         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
3287         Use _FPU_MASK_RM.
3288
3289 2014-06-24  Wilco  <wdijkstr@arm.com>
3290
3291         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
3292
3293 2014-06-24  Wilco  <wdijkstr@arm.com>
3294
3295         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
3296         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
3297         * sysdeps/arm/fesetround.c (fesetround): Remove space.
3298         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
3299
3300 2014-06-24  Wilco  <wdijkstr@arm.com>
3301
3302         [BZ #16918]
3303         * sysdeps/arm/feupdateenv.c (feupdateenv):
3304         Rewrite to reduce FPSCR accesses and fix return value.
3305
3306 2014-06-24  Wilco  <wdijkstr@arm.com>
3307
3308         * sysdeps/arm/fclrexcpt.c (feclearexcept):
3309         Optimize to avoid unnecessary FPSCR writes.
3310         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
3311         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
3312         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
3313         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
3314
3315 2014-06-24  Wilco  <wdijkstr@arm.com>
3316
3317         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
3318         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
3319         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
3320         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
3321         Call libc_fetestexcept_vfp.
3322         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
3323         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
3324         __SOFTFP__ ifdef so that they can be built for softfp.
3325
3326 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3327
3328         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
3329         argument type signed char.
3330
3331         * Makerules (check-abi): Dump diff of symlist if the test
3332         fails.
3333
3334 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3335
3336         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
3337         using abort.
3338
3339         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3340         Remove unused variable ST.
3341
3342 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
3343
3344         [BZ #16354]
3345         [BZ #17061]
3346         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
3347         small arguments before calling __expm1.
3348         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
3349         small arguments before calling __expm1f.
3350         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
3351         small arguments before calling __expm1l.
3352         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3353         Likewise.
3354         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
3355         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
3356         spurious underflow for some cosh tests.
3357         * math/auto-libm-test-out: Regenerated.
3358         * sysdeps/i386/fpu/libm-test-ulps: Update.
3359
3360         [BZ #17050]
3361         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
3362         (__ieee754_y1): Set errno if return value overflows.
3363         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
3364         (__ieee754_y1f): Set errno if return value overflows.
3365         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
3366         (__ieee754_y1l): Set errno if return value overflows.
3367         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
3368         (__ieee754_y1l): Set errno if return value overflows.
3369         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
3370         * math/auto-libm-test-out: Regenerated.
3371
3372         * math/gen-auto-libm-tests.c: Document use of
3373         ignore-zero-inf-sign.
3374         (input_flag_type): Add value flag_ignore_zero_inf_sign.
3375         (input_flags): Add ignore-zero-inf-sign.
3376         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
3377         * math/gen-libm-test.pl (generate_testfile): Handle
3378         ignore-zero-inf-sign.
3379         * math/auto-libm-test-in: Mark some cpow tests with
3380         ignore-zero-inf-sign and some with xfail-rounding.
3381         * math/auto-libm-test-out: Regenerated.
3382         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
3383         * sysdeps/i386/fpu/libm-test-ulps: Update.
3384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3385
3386         [BZ #16315]
3387         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
3388         overflowing or underflowing operations take place with sign of
3389         result.
3390         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3391         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3392         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
3393         (__ieee754_pow): Recompute overflowing and underflowing results in
3394         original rounding mode.
3395         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
3396         (__powl_helper): Allow negative argument X and scale negated value
3397         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
3398         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
3399         overflowing or underflowing operations take place with sign of
3400         result.
3401         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
3402         Include <math.h>.
3403         * math/auto-libm-test-in: Add more tests of pow.
3404         * math/auto-libm-test-out: Regenerated.
3405         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
3406         (pow_tonearest_test_data): Remove.
3407         (pow_test_tonearest): Likewise.
3408         (pow_towardzero_test_data): Likewise.
3409         (pow_test_towardzero): Likewise.
3410         (pow_downward_test_data): Likewise.
3411         (pow_test_downward): Likewise.
3412         (pow_upward_test_data): Likewise.
3413         (pow_test_upward): Likewise.
3414         (main): Don't call removed functions.
3415         * sysdeps/i386/fpu/libm-test-ulps: Update.
3416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3417
3418 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3419
3420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
3421         Moved ...
3422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
3423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3424         Moved ...
3425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
3426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3427         Moved ...
3428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
3429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3430         Moved ...
3431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
3432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3433         File removed.
3434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3435         File removed.
3436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
3437         File removed.
3438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
3439         File removed.
3440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
3441         File removed.
3442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
3443         File removed.
3444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
3445         File removed.
3446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3447         File removed.
3448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
3449         File removed.
3450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3451         File removed.
3452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
3453         File removed.
3454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
3455         File removed.
3456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
3457         Moved ...
3458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
3459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
3460         Moved ...
3461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
3462         ... here.
3463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
3464         Moved ...
3465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
3466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
3467         Moved ...
3468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
3469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
3470         Moved ...
3471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
3472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
3473         Moved ...
3474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
3475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
3476         Moved ...
3477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
3478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
3479         Moved ...
3480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
3481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
3482         Moved ...
3483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
3484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
3485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
3486         ... here.
3487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
3488         Moved ...
3489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
3490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3491         Moved ...
3492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3493         ... here.
3494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
3495         Moved ...
3496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3497         ... here.
3498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3499         Moved ...
3500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3501         ... here.
3502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3503         Moved ...
3504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
3505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
3506         Moved ...
3507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
3508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
3509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
3510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3511         Moved ...
3512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
3513         ... here.
3514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3515         Moved ...
3516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
3517         ... here.
3518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
3519         Moved ...
3520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
3521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3522         Moved ...
3523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
3524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
3525         Moved ...
3526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
3527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3528         Moved ...
3529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
3530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3531         Moved ...
3532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
3533         ... here.
3534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3535         Moved ...
3536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
3537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
3538         Moved ...
3539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
3540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3541         Moved ...
3542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
3543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
3544         Moved ...
3545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
3546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
3547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
3548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3549         Moved ...
3550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
3551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3552         Moved ...
3553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
3554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3555         Moved ...
3556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
3557         ... here.
3558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3559         Moved ...
3560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
3561         ... here.
3562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3563         Moved ...
3564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
3565         ... here.
3566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3567         Moved ...
3568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
3569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3570         Moved ...
3571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
3572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3573         Moved ...
3574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
3575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3576         Moved ...
3577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
3578         ... here.
3579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3580         Moved ...
3581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
3582         ... here.
3583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3584         Moved ...
3585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
3586         ... here.
3587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3588         Moved ...
3589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
3590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3591         Moved ...
3592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
3593
3594 2014-06-23  Will Newton  <will.newton@linaro.org>
3595             Wilco  <wdijkstr@arm.com>
3596
3597         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
3598         implementation.  Include get-rounding-mode.h.
3599         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
3600         [!libc_feholdsetround_noex_ctx]: Define
3601         libc_feholdsetround_noex_ctx.
3602         [!libc_feholdsetround_noexf_ctx]: Define
3603         libc_feholdsetround_noexf_ctx.
3604         [!libc_feholdsetround_noexl_ctx]: Define
3605         libc_feholdsetround_noexl_ctx.
3606         (libc_feholdsetround_ctx): New function.
3607         (libc_feresetround_ctx): New function.
3608         (libc_feholdsetround_noex_ctx): New function.
3609         (libc_feresetround_noex_ctx): New function.
3610
3611 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3612
3613         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
3614         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
3615         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
3616         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
3617         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
3618         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
3619
3620         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
3621         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
3622         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
3623         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
3624         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
3625         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
3626         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
3627         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
3628         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
3629         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
3630         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
3631         Moved ...
3632         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
3633         ... here.
3634         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
3635         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
3636         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
3637         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
3638         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
3639         Moved ...
3640         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
3641         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
3642         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
3643         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
3644         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
3645         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
3646         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
3647         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
3648         Moved ...
3649         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
3650         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
3651         Moved ...
3652         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
3653         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
3654         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
3655         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
3656         Moved ...
3657         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
3658         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
3659         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
3660         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
3661         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
3662         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
3663         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
3664         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
3665         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
3666         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
3667         Moved ...
3668         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
3669         ... here.
3670         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
3671         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
3672         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
3673         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
3674         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
3675         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
3676         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
3677         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
3678         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
3679         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
3680         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
3681         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
3682         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
3683         Moved ...
3684         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
3685         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
3686         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
3687         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
3688         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
3689         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
3690         Moved ...
3691         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
3692         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
3693         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
3694         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
3695         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
3696
3697         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
3698         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
3699         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
3700         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
3701         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
3702         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
3703         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
3704         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
3705         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
3706         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
3707         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
3708         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
3709         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
3710         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
3711         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
3712         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
3713         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
3714         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
3715         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
3716         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
3717         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
3718         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
3719         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
3720         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
3721         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
3722         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
3723         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
3724         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
3725
3726 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
3727
3728         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3729         (FALLOC_FL_COLLAPSE_RANGE): New macro.
3730         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
3731         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
3732         (IPV6_PMTUDISC_INTERFACE): Likewise.
3733         (IPV6_PMTUDISC_OMIT): Likewise.
3734
3735 2014-06-23  Andreas Schwab  <schwab@suse.de>
3736
3737         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3738         Remove unused errout label.
3739
3740 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3741
3742         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3743         macro: hardware supports Vector Crypto instructions.
3744
3745 2014-06-23  Will Newton  <will.newton@linaro.org>
3746
3747         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3748         rather than __builtin_expect.
3749
3750         * elf/dl-lookup.c (undefined_msg): Remove variable.
3751         (_dl_lookup_symbol_x): Replace undefined_msg with string
3752         literal.
3753
3754         * elf/dl-lookup.c (do_lookup_unique): New function.
3755         (do_lookup_x): Move STB_GNU_UNIQUE handling code
3756         to a separate function.
3757
3758 2014-06-23  Andreas Schwab  <schwab@suse.de>
3759
3760         [BZ #17079]
3761         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3762         before reading the next line.
3763
3764 2014-06-23  Will Newton  <will.newton@linaro.org>
3765
3766         * test-skeleton.c (signal_handler): Use printf and %m
3767         rather than perror.  Use printf rather than fprintf to
3768         stderr.  Use puts rather than fputs to stderr.
3769         (main): Likewise.
3770
3771 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
3772
3773         * nscd/nscd.c (thread_info_t): Remove typedef.
3774         (thread_info): Remove variable.
3775
3776 2014-06-21  Allan McRae  <allan@archlinux.org>
3777
3778         * NEWS: Mention CVE-2014-4043.
3779
3780 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3781
3782         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3783         * nptl/smp.h: ... here.
3784
3785         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3786
3787         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3788         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3789         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3790         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3791
3792         * nptl/allocatestack.c: Include <stack-aliasing.h>.
3793         * nptl/stack-aliasing.h: New file.
3794         * sysdeps/i386/i686/stack-aliasing.h: New file.
3795         * sysdeps/i386/i686/nptl/Makefile: File removed.
3796         * sysdeps/x86_64/stack-aliasing.h: New file.
3797         * sysdeps/x86_64/nptl/Makefile
3798         (CFLAGS-pthread_create.c): Variable removed.
3799
3800         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3801         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3802         old file.
3803         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3804         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3805         old file.
3806
3807 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
3808
3809         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3810         (__ASSUME_SIGFRAME_V2): Remove macro.
3811         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3812         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
3813         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3814         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3815         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3816         Declare as function.  Remove conditional macro definitions.
3817         (__default_rt_sa_restorer): Likewise.
3818         (__default_sa_restorer_v1): Remove declaration.
3819         (__default_sa_restorer_v2): Likewise.
3820         (__default_rt_sa_restorer_v1): Likewise.
3821         (__default_rt_sa_restorer_v2): Likewise.
3822         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3823         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3824         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3825
3826 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3827
3828         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3829         (libpthread-routines): Add sysdep.
3830         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3831         * sysdeps/unix/sysv/linux/sparc/Versions
3832         (libpthread: GLIBC_2.3.3): New version set.
3833         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3834         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3835         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3836         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3837         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
3838         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3839         Moved ...
3840         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3841         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3842         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3843         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3844         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3845         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3846         * sysdeps/sparc/nptl/sem_init.c: ... here.
3847         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3848         * sysdeps/sparc/nptl/sem_post.c: ... here.
3849         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3850         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3851         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3852         * sysdeps/sparc/nptl/sem_wait.c: ... here.
3853         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3854         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3855         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3856         (libpthread-routines): Add cpu_relax.
3857         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3858         File removed.
3859         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3860         (librt: GLIBC_2.3.3): New version set.
3861         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3862         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3863         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3864         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3865         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3866         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3867         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3868         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3869         Moved ...
3870         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3871         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3872         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3873         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3874         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3875         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3876         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3877         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3878         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3879         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3880         Moved ...
3881         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3882         Update #include.
3883         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3884         Moved ...
3885         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3886         Update #include.
3887         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3888         Moved ...
3889         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3890         Update #include.
3891         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3892         Moved ...
3893         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3894         Update #include.
3895         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3896         Moved ...
3897         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3898         Update #include.
3899         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3900         Moved ...
3901         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3902         Update #include.
3903         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3904         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3905         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3906         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3907         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3908         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3909         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3910         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3911         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3912         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3913         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3914         Moved ...
3915         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3916         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3917         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3918         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3919         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3920
3921 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3922
3923         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3924         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3925         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3926         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3927         * nscd/nscd.c: Likewise.
3928         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3929         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3930         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3931         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3932
3933         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3934         <kernel-features.h>.
3935         (init_mq_netlink): Remove conditional have_sock_cloexec
3936         definitions.  Remove code conditional on have_sock_cloexec < 0.
3937         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3938         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3939         * sysdeps/unix/sysv/linux/opensock.c: Do not include
3940         <kernel-features.h>.
3941         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3942         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3943
3944 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
3945
3946         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3947         Add tests for memset_chk and memset.
3948
3949         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3950         with AVX2_Usable.
3951
3952 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
3953
3954         [BZ #16046]
3955         * elf/tst-dl-iter-static.c: New file.
3956         * elf/Makefile (tests-static): Add tst-dl-iter-static.
3957
3958         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3959         error.
3960
3961 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3962
3963         * sysdeps/unix/sysv/linux/kernel-features.h
3964         (__ASSUME_F_GETOWN_EX): Remove macro.
3965         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3966         <kernel-features.h>.
3967         (miss_F_GETOWN_EX): Remove variable or macro.
3968         (do_fcntl): Do not check miss_F_GETOWN_EX.
3969         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3970
3971         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3972         Remove macro.
3973         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3974         [!__ASSUME_AT_RANDOM]: Remove conditional code.
3975         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3976
3977         * sysdeps/unix/sysv/linux/kernel-features.h
3978         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3979         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3980         [ADJ_OFFSET_SS_READ]: Make code unconditional.
3981         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3982
3983 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
3984
3985         [BZ #17075]
3986         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3987         Fix calculation of the symbol's value.
3988         * sysdeps/arm/tst-armtlsdescloc.c: New file.
3989         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3990         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3991         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3992         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3993         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3994         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3995         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3996         (modules-names): Add `tst-armtlsdescmod',
3997         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3998         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3999         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
4000         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
4001         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
4002         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
4003         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
4004         ($(objpfx)tst-armtlsdescloc): New dependency.
4005         ($(objpfx)tst-armtlsdescextnow): Likewise.
4006         ($(objpfx)tst-armtlsdescextlazy): Likewise.
4007         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
4008         TLS scheme support.
4009         * sysdeps/arm/configure: Regenerate.
4010
4011 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
4012
4013         * include/fcntl.h (__atfct_seterrno): Remove prototype.
4014         (__atfct_seterrno_2): Likewise.
4015         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
4016         <kernel-features.h>.
4017         (__ASSUME_ATFCTS): Do not undefine and redefine.
4018         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
4019         (__have_atfcts): Remove conditional definition.
4020         (__fxstatat([__NR_fstatat64]: Make code unconditional.
4021         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
4022         unreachable if [__ASSUME_ATFCTS].
4023         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
4024         not undefine and redefine.
4025         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
4026         <kernel-features.h>.
4027         (faccessat) [__NR_faccessat]: Make code unconditional.
4028         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
4029         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
4030         <kernel-features.h>.
4031         (fchmodat) [__NR_fchmodat]: Make code unconditional.
4032         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4033         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
4034         <kernel-features.h>.
4035         (fchownat) [__NR_fchownat]: Make code unconditional.
4036         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
4037         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
4038         <kernel-features.h>.
4039         (futimesat) [__NR_futimesat]: Make code unconditional.
4040         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
4041         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
4042         <kernel-features.h>.
4043         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4044         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4045         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
4046         <kernel-features.h>.
4047         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
4048         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4049         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
4050         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
4051         <kernel-features.h>.
4052         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
4053         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4054         * sysdeps/unix/sysv/linux/linkat.c: Do not include
4055         <kernel-features.h>.
4056         (linkat) [__NR_linkat]: Make code unconditional.
4057         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4058         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
4059         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
4060         <kernel-features.h>.
4061         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
4062         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4063         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
4064         <kernel-features.h>.
4065         (mkdirat) [__NR_mkdirat]: Make code unconditional.
4066         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
4067         * sysdeps/unix/sysv/linux/openat.c: Do not include
4068         <kernel-features.h>.
4069         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
4070         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
4071         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
4072         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
4073         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
4074         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
4075         <kernel-features.h>.
4076         (readlinkat) [__NR_readlinkat]: Make code unconditional.
4077         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
4078         result of INLINE_SYSCALL directly, not via int variable.
4079         * sysdeps/unix/sysv/linux/renameat.c: Do not include
4080         <kernel-features.h>.
4081         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
4082         (renameat) [__NR_renameat]: Make code unconditional.
4083         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
4084         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
4085         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
4086         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
4087         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
4088         (__ASSUME_ATFCTS): Do not undefine and redefine.
4089         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
4090         <kernel-features.h>.
4091         (symlinkat) [__NR_symlinkat]: Make code unconditional.
4092         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4093         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
4094         <kernel-features.h>.
4095         (unlinkat) [__NR_unlinkat]: Make code unconditional.
4096         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4097         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
4098         (__ASSUME_ATFCTS): Do not undefine and redefine.
4099         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
4100         <kernel-features.h>.
4101         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4102         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4103         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
4104         <kernel-features.h>.
4105         (__xmknodat) [__NR_mknodat]: Make code unconditional.
4106         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4107
4108 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
4109
4110         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
4111
4112 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
4113
4114         [BZ #17069]
4115         * posix/regcomp.c (parse_reg_exp): Deallocate partially
4116         constructed tree before returning error.
4117         * posix/bug-regexp36.c: Expand test case.
4118
4119 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4120
4121         [BZ #6803]
4122         * math/libm-test.inc (scalbln_test_date):
4123         Add errno expectations.
4124         * math/w_scalblnf.c: New File.
4125         Add wrapper which checks for setting errno to ERANGE.
4126         Add weak_alias for corresponding scalbln function.
4127         * math/w_scalbln.c: Likewise.
4128         * math/w_scalblnl.c: Likewise.
4129         * math/Makefile (libm-calls): Add w_scalbln.
4130         * sysdeps/ieee754/flt-32/s_scalblnf.c:
4131         Remove weak_alias for corresponding scalbln function.
4132         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4133         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4134         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4135         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4136         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
4137         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4138         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
4139         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4140         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
4141         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
4142         Remove long_double_symbol for scalblnl function in libm, libc.
4143         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
4144         Add wrapper which checks for setting errno to ERANGE.
4145         Add long_double_symbol for scalblnl function in libm, libc.
4146         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
4147         Remove long_double_symbol for scalblnl in libm.
4148         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
4149         Add wrapper which checks for setting errno to ERANGE.
4150         Add long_double_symbol for scalblnl function in libm.
4151         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
4152         Do not use wrapper because of own implementation.
4153
4154 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
4155
4156         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
4157         3 bytes for __pad1 for x32.
4158         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
4159
4160 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
4161             H.J. Lu  <hongjiu.lu@intel.com>
4162
4163         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
4164         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
4165         * sysdeps/x86_64/multiarch/memset.S: Likewise.
4166         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4167         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
4168
4169 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
4170
4171         [BZ #17069]
4172         * posix/regcomp.c (parse_expression): Deallocate partially
4173         constructed tree before returning error.
4174         * posix/Makefile.c (tests): Add bug-regex36.
4175         (generated): Add bug-regex36.mtrace.
4176         (tests-special): Add $(objpfx)bug-regex36-mem.out
4177         (bug-regex36-ENV): New variable.
4178         ($(objpfx)bug-regex36-mem.out): New rule.
4179         * posix/bug-regex36.c: New file.
4180
4181 2014-06-19  Will Newton  <will.newton@linaro.org>
4182
4183         * malloc/malloc.c (systrim): If extra is zero then return
4184         early.
4185
4186 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4187
4188         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
4189
4190 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
4191
4192         * sysdeps/aarch64/strchr.S: New file.
4193
4194 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
4195
4196         [BZ #17022]
4197         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
4198         from arguments -2 or below.
4199         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4200         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
4201
4202 2014-06-18  Andreas Schwab  <schwab@suse.de>
4203
4204         [BZ #17062]
4205         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
4206         of a bracket expr not to run off the end of the string.
4207         * posix/Makefile (tests): Add tst-fnmatch3.
4208         * posix/tst-fnmatch3.c: New file.
4209
4210 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
4211
4212         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
4213         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4214         [$(cross-compiling) = no]: Likewise.
4215         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4216         [$(cross-compiling) = no]: Likewise.
4217
4218 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4219
4220         [BZ #17031]
4221         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
4222         double, adjusted for any remainder from the high double.
4223         * math/libm-test.inc (nearbyint): Add tests.
4224         (rint): Likewise.
4225
4226 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4227
4228         * nptl/sysdeps/powerpc/Makefile: Moved ...
4229         * sysdeps/powerpc/nptl/Makefile: ... here.
4230         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
4231         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
4232         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
4233         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
4234         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
4235         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
4236         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
4237         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
4238         * nptl/sysdeps/powerpc/tls.h: Moved ...
4239         * sysdeps/powerpc/nptl/tls.h: ... here.
4240
4241 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
4242
4243         [BZ #16681]
4244         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
4245         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
4246         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
4247         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
4248         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
4249         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
4250         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
4251         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
4252         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
4253
4254 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
4255
4256         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4257
4258 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
4259
4260         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
4261         defined operator.
4262
4263         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
4264         $TIMEOUTFACTOR.
4265
4266 2014-06-16  Florian Weimer  <fweimer@redhat.com>
4267
4268         [BZ #17058]
4269         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
4270         non-executed part of the test.
4271
4272 2014-06-16  Andreas Schwab  <schwab@suse.de>
4273
4274         * string/bits/string2.h (strdup, strndup): Update feature guard.
4275
4276 2014-06-14  David S. Miller  <davem@davemloft.net>
4277
4278         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4279
4280 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
4281
4282         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
4283         that was previously under [RESET_PID].
4284         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
4285
4286         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
4287         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
4288         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
4289         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4290         (__libc_vfork): New strong alias.
4291         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
4292
4293 2014-06-14 Andi Kleen  <ak@linux.intel.com>
4294
4295         * sysdeps/generic/elide.h: New file.
4296
4297 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4298
4299         * Makefile (installed-headers): Adjust path of pthread.h header.
4300
4301 2014-06-13  Roland McGrath  <roland@hack.frob.com>
4302
4303         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
4304         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
4305         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
4306         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
4307
4308         * nptl/sysdeps/s390/Makefile: Moved ...
4309         * sysdeps/s390/nptl/Makefile: ... here.
4310         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
4311         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
4312         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
4313         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
4314         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
4315         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
4316         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
4317         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
4318         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
4319         * sysdeps/s390/nptl/pthreaddef.h: ... here.
4320         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
4321         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
4322         * nptl/sysdeps/s390/tls.h: Moved ...
4323         * sysdeps/s390/nptl/tls.h: ... here.
4324
4325         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
4326         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
4327
4328 2014-06-13  David S. Miller  <davem@davemloft.net>
4329
4330         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
4331         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
4332         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
4333         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
4334         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
4335         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
4336         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
4337         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
4338         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
4339         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
4340         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
4341         Remove RESET_PID cpp guards.
4342         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
4343         Remove RESET_PID cpp guards.
4344         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
4345
4346 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
4347
4348         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
4349         __sp to uintptr_t.
4350
4351 2014-06-13  Andi Kleen  <ak@linux.intel.com>
4352
4353         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
4354         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
4355         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
4356         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
4357         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
4358         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
4359         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
4360         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
4361         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
4362         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
4363         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
4364         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
4365         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
4366         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
4367         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
4368         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
4369         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
4370         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
4371         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
4372         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
4373
4374         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4375         (pthread_rwlock_rdlock): Add elision.
4376         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
4377         (pthread_rwlock_wrlock): Add elision.
4378         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
4379         (pthread_rwlock_trywrlock): Add elision.
4380         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
4381         (pthread_rwlock_tryrdlock): Add elision.
4382         * nptl/pthread_rwlock_unlock.c: Include elide.h.
4383         (pthread_rwlock_tryrdlock): Add elision unlock.
4384         * nptl/sysdeps/pthread/pthread.h:
4385         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
4386         (PTHREAD_RWLOCK_INITIALIZER,
4387         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
4388         Handle new elision field.
4389         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
4390         * sysdeps/arm/nptl/bits/pthreadtypes.h
4391         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4392         * sysdeps/sh/nptl/bits/pthreadtypes.h
4393         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4394         * sysdeps/tile/nptl/bits/pthreadtypes.h
4395         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4396         * sysdeps/a/nptl/bits/pthreadtypes.h
4397         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4398         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4399         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4400         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4401         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4402         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
4403         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4404         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4405         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4406         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4407         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4408         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4409         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4410         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4411         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4412         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
4413         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4414         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
4415         (elision_init): Set try_xbegin to zero when no RTM.
4416         * sysdeps/x86/nptl/bits/pthreadtypes.h
4417         (pthread_rwlock_t): Change __pad1 to __rwelision.
4418         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4419
4420 2014-06-13  Andi Kleen  <ak@linux.intel.com>
4421
4422         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
4423         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
4424         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
4425         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
4426
4427 2014-06-13  Meador Inge  <meadori@codesourcery.com>
4428
4429         [BZ #16996]
4430         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
4431         that the cached result has been set before returning it.
4432
4433 2014-06-12  Roland McGrath  <roland@hack.frob.com>
4434
4435         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
4436         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
4437         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
4438         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
4439         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
4440         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
4441
4442         * nptl/sysdeps/sparc/Makefile: Moved ...
4443         * sysdeps/sparc/nptl/Makefile: ... here.
4444         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
4445         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
4446         * nptl/sysdeps/sparc/tls.h: Moved ...
4447         * sysdeps/sparc/nptl/tls.h: ... here.
4448         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
4449         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
4450         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
4451         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
4452         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
4453         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
4454         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
4455         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
4456         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
4457         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
4458         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
4459         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
4460         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
4461         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
4462         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
4463         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
4464         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
4465         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
4466         Update #include.
4467         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
4468         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
4469         Update #include.
4470         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
4471         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
4472         Update #include.
4473         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
4474         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
4475         Update #include.
4476
4477         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4478
4479         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
4480         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
4481
4482         * sysdeps/pthread/posix-timer.h: Include <list.h>.
4483         (struct list_links): Type removed.
4484         (struct thread_node, struct timer_node): Replace struct list_links
4485         with struct list_head.
4486         (list_unlink_ip): Likewise.
4487         * sysdeps/pthread/timer_routines.c
4488         (timer_free_list, thread_free_list, thread_active_list): Likewise.
4489         (list_append, list_insbefore): Likewise.
4490         (list_init): Function removed.
4491         (thread_init, init_module): Use INIT_LIST_HEAD instead.
4492         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
4493         * sysdeps/pthread/Makefile: ... here, new file.
4494
4495         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
4496         * sysdeps/nptl/Implies: ... here.
4497         * sysdeps/unix/sysv/linux/Implies: Add nptl.
4498         * nptl/sysdeps/pthread/list.h: Moved ...
4499         * include/list.h: ... here.
4500         * nptl/sysdeps/pthread/createthread.c: Moved ...
4501         * nptl/createthread.c: ... here.
4502         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
4503         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
4504         * nptl/pt-longjmp.c: ... here.
4505         * nptl/sysdeps/pthread/Makefile: Moved ...
4506         * sysdeps/nptl/Makefile: ... here.
4507         * nptl/sysdeps/pthread/Subdirs: Moved ...
4508         * sysdeps/nptl/Subdirs: ... here.
4509         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
4510         * sysdeps/nptl/aio_misc.h: ... here.
4511         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
4512         * sysdeps/nptl/bits/libc-lock.h: ... here.
4513         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
4514         * sysdeps/nptl/bits/libc-lockP.h: ... here.
4515         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
4516         * sysdeps/nptl/bits/stdio-lock.h: ... here.
4517         * nptl/sysdeps/pthread/configure: Moved ...
4518         * sysdeps/nptl/configure: ... here.
4519         * nptl/sysdeps/pthread/configure.ac: Moved ...
4520         * sysdeps/nptl/configure.ac: ... here.
4521         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
4522         * sysdeps/nptl/gai_misc.h: ... here.
4523         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
4524         * sysdeps/nptl/librt-cancellation.c: ... here.
4525         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
4526         * sysdeps/nptl/malloc-machine.h: ... here.
4527         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
4528         * sysdeps/nptl/pthread-functions.h: ... here.
4529         * nptl/sysdeps/pthread/pthread.h: Moved ...
4530         * sysdeps/nptl/pthread.h: ... here.
4531         * nptl/sysdeps/pthread/setxid.h: Moved ...
4532         * sysdeps/nptl/setxid.h: ... here.
4533         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
4534         * sysdeps/nptl/sigfillset.c: ... here.
4535         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
4536         * sysdeps/nptl/tcb-offsets.h: ... here.
4537         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
4538         * sysdeps/nptl/tst-mqueue8x.c: ... here.
4539         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
4540         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
4541         * nptl/sysdeps/pthread/allocalim.h: Moved ...
4542         * sysdeps/pthread/allocalim.h: ... here.
4543         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
4544         * sysdeps/pthread/bits/sigthread.h: ... here.
4545         * nptl/sysdeps/pthread/flockfile.c: Moved ...
4546         * sysdeps/pthread/flockfile.c: ... here.
4547         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
4548         * sysdeps/pthread/ftrylockfile.c: ... here.
4549         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
4550         * sysdeps/pthread/funlockfile.c: ... here.
4551         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
4552         * sysdeps/pthread/posix-timer.h: ... here.
4553         * nptl/sysdeps/pthread/timer_create.c: Moved ...
4554         * sysdeps/pthread/timer_create.c: ... here.
4555         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
4556         * sysdeps/pthread/timer_delete.c: ... here.
4557         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
4558         * sysdeps/pthread/timer_getoverr.c: ... here.
4559         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
4560         * sysdeps/pthread/timer_gettime.c: ... here.
4561         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
4562         * sysdeps/pthread/timer_routines.c: ... here.
4563         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
4564         * sysdeps/pthread/timer_settime.c: ... here.
4565         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
4566         * sysdeps/pthread/tst-timer.c: ... here.
4567         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
4568         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
4569
4570         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
4571         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
4572
4573         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
4574         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
4575         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
4576         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
4577         Update #include target.
4578         * nptl/sysdeps/i386/i686/Makefile: Moved ...
4579         * sysdeps/i386/i686/nptl/Makefile: ... here.
4580         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
4581         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
4582         Update #include target.
4583         * nptl/sysdeps/i386/i686/tls.h: Moved ...
4584         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
4585         * nptl/sysdeps/i386/Makefile: Moved ...
4586         * sysdeps/i386/nptl/Makefile: ... here.
4587         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
4588         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
4589         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
4590         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
4591         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
4592         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
4593         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
4594         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
4595         * sysdeps/i386/nptl/pthreaddef.h: ... here.
4596         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
4597         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
4598         * nptl/sysdeps/i386/tls.h: Moved ...
4599         * sysdeps/i386/nptl/tls.h: ... here.
4600
4601         * sysdeps/sh/Makefile [$(subdir) = csu]
4602         (gen-as-const-headers): Add tcb-offsets.sym.
4603         * nptl/sysdeps/sh/Makefile: File removed.
4604         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
4605         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
4606         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
4607         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
4608         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
4609         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
4610         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
4611         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
4612         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
4613         * sysdeps/sh/nptl/pthreaddef.h: ... here.
4614         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
4615         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
4616         * nptl/sysdeps/sh/tls.h: Moved ...
4617         * sysdeps/sh/nptl/tls.h: ... here.
4618         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
4619         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
4620         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
4621         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
4622         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
4623         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
4624         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
4625         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
4626         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
4627         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
4628         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
4629         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
4630         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
4631         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
4632         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
4633         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
4634         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
4635         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
4636         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
4637         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
4638         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
4639         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
4640         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
4641         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
4642         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
4643         Moved ...
4644         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
4645         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
4646         Moved ...
4647         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
4648         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
4649         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
4650         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
4651         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
4652         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
4653         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
4654         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
4655         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
4656         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
4657         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
4658         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
4659         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
4660         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
4661         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
4662         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
4663         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
4664         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
4665         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
4666
4667 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4668
4669         * posix/spawn_faction_addopen.c: Include string.h.
4670
4671 2014-06-11  Roland McGrath  <roland@hack.frob.com>
4672
4673         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
4674         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
4675         * nptl/sysdeps/x86_64/Makefile: Moved ...
4676         * sysdeps/x86_64/nptl/Makefile: ... here.
4677         * nptl/sysdeps/x86_64/configure: Moved ...
4678         * sysdeps/x86_64/nptl/configure: ... here.
4679         * nptl/sysdeps/x86_64/configure.ac: Moved ...
4680         * sysdeps/x86_64/nptl/configure.ac: ... here.
4681         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
4682         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
4683         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
4684         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
4685         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
4686         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
4687         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
4688         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
4689         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
4690         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
4691         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
4692         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
4693         * nptl/sysdeps/x86_64/tls.h: Moved ...
4694         * sysdeps/x86_64/nptl/tls.h: ... here.
4695         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
4696         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
4697         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
4698         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
4699
4700         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
4701
4702 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4703
4704         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4705
4706 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
4707
4708         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
4709         type.
4710         [POSIX] (off_t): Likewise.
4711         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
4712         [POSIX] (S_ISBLK): Require macro.
4713         [POSIX] (S_ISCHR): Likewise.
4714         [POSIX] (S_ISDIR): Likewise.
4715         [POSIX] (S_ISFIFO): Likewise.
4716         [POSIX] (S_ISREG): Likewise.
4717         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
4718         optional-macro.
4719         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
4720         type.
4721         [POSIX] (time_t): Likewise.
4722         [POSIX] (timer_t): Likewise.
4723
4724 2014-06-11  Florian Weimer  <fweimer@redhat.com>
4725
4726         [BZ #17048]
4727         * posix/spawn_int.h (struct __spawn_action): Make the path string
4728         non-const to support deallocation.
4729         * posix/spawn_faction_addopen.c
4730         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
4731         * posix/spawn_faction_destroy.c
4732         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
4733         path in all spawn_do_open actions.
4734         * posix/tst-spawn.c (do_test): Exercise the copy operation in
4735         posix_spawn_file_actions_addopen.
4736
4737 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
4738
4739         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4740         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4741         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4742         conditional code always true.
4743         (__libc_vfork): New alias.
4744
4745 2014-06-11  Roland McGrath  <roland@hack.frob.com>
4746
4747         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4748         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4749
4750         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4751
4752         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4753         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4754
4755         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4756         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4757
4758         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4759         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4760
4761 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4762
4763         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4764         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4765         multiarch strcmp for PPC64.
4766         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4767         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4768         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4769         multiarch optimizations.
4770         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4771         (__libc_ifunc_impl_list): Likewise.
4772
4773 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4774
4775         * benchtests/scripts/validate_benchout.py: New script.
4776         * benchtests/Makefile (bench-func): Call it.
4777         * benchtests/scripts/benchout.schema.json: New file.
4778
4779 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
4780
4781         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4782         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4783         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4784         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4785         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4786         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4787         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4788         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4789         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4790         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4791         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4792         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4793         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4794         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4795         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4796         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4797         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
4798         Moved ...
4799         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
4800         ... here.
4801         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
4802         Moved ...
4803         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4804         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
4805         Moved ...
4806         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
4807         ... here.
4808         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
4809         Moved ...
4810         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
4811         ... here.
4812         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
4813         Moved ...
4814         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4815         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
4816         Moved ...
4817         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
4818         ... here.
4819         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
4820         Moved ...
4821         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
4822         ... here.
4823         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
4824         Moved ...
4825         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4826         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
4827         Moved ...
4828         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
4829         ... here.
4830         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
4831         Moved ...
4832         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
4833         ... here.
4834         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
4835         Moved ...
4836         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
4837         ... here.
4838         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
4839         Moved ...
4840         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4841         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
4842         Moved ...
4843         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
4844         ... here.
4845         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
4846         Moved ...
4847         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
4848         ... here.
4849         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
4850         Moved ...
4851         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
4852         ... here.
4853         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
4854         Moved ...
4855         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4856         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
4857         Moved ...
4858         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
4859         ... here.
4860         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
4861         Moved ...
4862         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
4863         ... here.
4864         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
4865         Moved ...
4866         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4867         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
4868         Moved ...
4869         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
4870         ... here.
4871         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
4872         Moved ...
4873         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4874         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
4875         Moved ...
4876         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4877         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
4878         Moved ...
4879         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
4880         ... here.
4881         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
4882         Moved ...
4883         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
4884         ... here.
4885         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
4886         Moved ...
4887         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
4888         ... here.
4889         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
4890         Moved ...
4891         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4892         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
4893         Moved ...
4894         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
4895         ... here.
4896         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
4897         Moved ...
4898         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
4899         ... here.
4900         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4901         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4902         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4903         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4904         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
4905         Moved ...
4906         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
4907         ... here.
4908         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4909         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4910         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4911         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4912         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4913         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4914         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4915         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4916         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4917         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4918         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4919         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4920         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
4921         Moved ...
4922         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4923         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
4924         Moved ...
4925         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4926         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4927         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4928         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
4929         Moved ...
4930         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4931         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4932         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4933         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4934         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4935         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4936         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
4937
4938 2014-06-10  Wilco  <wdijkstr@arm.com>
4939
4940         * math/test-fenv-return.c: New file.
4941         * math/Makefile: Add new test test-fenv-return.
4942
4943 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
4944
4945         [BZ #17042]
4946         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4947         when x - 1 is zero.
4948         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4949         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4950         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4951         0.0L for an argument of 1.0L.
4952         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4953         Likewise.
4954         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4955         value when x - 1 is zero.
4956         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4957         * sysdeps/i386/fpu/libm-test-ulps: Update.
4958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4959
4960 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
4961
4962         [BZ #15119]
4963         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4964
4965 2014-06-09  Roland McGrath  <roland@hack.frob.com>
4966
4967         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4968         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4969
4970 2014-06-09  Roland McGrath  <roland@hack.frob.com>
4971
4972         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4973         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4974
4975         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4976         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4977
4978         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4979         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4980
4981         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4982         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4983
4984         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4985         if not already defined.
4986         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4987         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4988         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4989         (TLS_INIT_TP): Use it.
4990         (TLS_DEFINE_INIT_TP): New macro.
4991         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4992
4993 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
4994
4995         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4996         constant.
4997         [POSIX] (IXANY): Likewise.
4998         [POSIX] (OLCUC): Likewise.
4999         [POSIX || POSIX2008] (CBAUD): Do not allow.
5000         [POSIX || POSIX2008] (DEFECHO): Likewise.
5001         [POSIX || POSIX2008] (ECHOCTL): Likewise.
5002         [POSIX || POSIX2008] (ECHOKE): Likewise.
5003         [POSIX || POSIX2008] (ECHOPRT): Likewise.
5004         [POSIX || POSIX2008] (EXTA): Likewise.
5005         [POSIX || POSIX2008] (EXTB): Likewise.
5006         [POSIX || POSIX2008] (FLUSHO): Likewise.
5007         [POSIX || POSIX2008] (LOBLK): Likewise.
5008         [POSIX || POSIX2008] (PENDIN): Likewise.
5009         [POSIX || POSIX2008] (SWTCH): Likewise.
5010         [POSIX || POSIX2008] (VDISCARD): Likewise.
5011         [POSIX || POSIX2008] (VDSUSP): Likewise.
5012         [POSIX || POSIX2008] (VLNEXT): Likewise.
5013         [POSIX || POSIX2008] (VREPRINT): Likewise.
5014         [POSIX || POSIX2008] (VSTATUS): Likewise.
5015         [POSIX || POSIX2008] (VWERASE): Likewise.
5016         (B*): Change to B[0123456789]*.
5017         * conform/data/time.h-data [POSIX || UNIX98]
5018         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
5019         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5020         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
5021         [POSIX] (tm_*): Do not allow.
5022
5023 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
5024
5025         * Makefile (install): Don't set LANGUAGE.
5026         * Makefile.in (install): Likewise.
5027         * assert/Makefile (test-assert-ENV): Remove variable.
5028         (test-assert-perr-ENV): Likewise.
5029         * elf/Makefile (neededtest4-ENV): Likewise.
5030         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5031         [$(cross-compiling) = no]: Don't set LANGUAGE.
5032         * io/ftwtest-sh (LANG): Remove variable.
5033         * libio/Makefile (tst-widetext-ENV): Likewise.
5034         * manual/install.texi (Running make install): Don't refer to
5035         environment settings for make install.
5036         * INSTALL: Regenerated.
5037         * nptl/tst-tls6.sh: Don't set LANG.
5038         * posix/globtest.sh (LANG): Remove variable.
5039         * string/Makefile (tester-ENV): Likewise.
5040         (inl-tester-ENV): Likewise.
5041         (noinl-tester-ENV): Likewise.
5042         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5043         [$(cross-compiling) = no]: Don't set LANGUAGE.
5044         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
5045         without explicit environment settings.
5046
5047 2014-06-06  Roland McGrath  <roland@hack.frob.com>
5048
5049         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
5050         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
5051         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
5052         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
5053
5054 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
5055
5056         * crypt/crypt-private.h [DOS]: Add some includes taken from the
5057         other files in the crypt directory.
5058         * crypt/crypt.c: Remove duplicate includes.
5059         * crypt/crypt-entry.c: Likewise.
5060         * crypt/crypt_util.c: Likewise.
5061
5062 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
5063
5064         * Makeconfig (run-program-env): New variable.
5065         (run-program-prefix-before-env): Likewise.
5066         (run-program-prefix-after-env): Likewise.
5067         (run-program-prefix): Define in terms of new variables.
5068         (built-program-cmd-before-env): New variable.
5069         (built-program-cmd-after-env): Likewise.
5070         (built-program-cmd): Define in terms of new variables.
5071         (test-program-prefix-before-env): New variable.
5072         (test-program-prefix-after-env): Likewise.
5073         (test-program-prefix): Define in terms of new variables.
5074         (test-program-cmd-before-env): New variable.
5075         (test-program-cmd-after-env): Likewise.
5076         (test-program-cmd): Define in terms of new variables.
5077         * Rules (make-test-out): Use $(run-program-env).
5078         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
5079         (help): Do not mention environment variables.  Mention
5080         --timeoutfactor option.
5081         (timeoutfactor): New variable.
5082         (blacklist_exports): Remove function.
5083         (exports): Remove variable.
5084         (command): Do not include ${exports}.
5085         * manual/install.texi (Configuring and compiling): Do not mention
5086         test wrappers preserving environment variables.  Mention that last
5087         assignment to a variable must take precedence.
5088         * INSTALL: Regenerated.
5089         * benchtests/Makefile (run-bench): Use $(run-program-env).
5090         * catgets/Makefile ($(objpfx)test1.cat): Use
5091         $(built-program-cmd-before-env), $(run-program-env) and
5092         $(built-program-cmd-after-env).
5093         ($(objpfx)test2.cat): Do not specify environment variables
5094         explicitly.
5095         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
5096         $(run-program-env) and $(built-program-cmd-after-env).
5097         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
5098         $(run-program-env) and $(test-program-cmd-after-env).
5099         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
5100         explicitly.
5101         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
5102         run_program_env and test_program_cmd_after_env arguments.
5103         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
5104         * elf/tst-pathopt.sh: Use run_program_env argument.
5105         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
5106         $(test-wrapper-env) and $(run-program-env).
5107         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
5108         run_program_env arguments.
5109         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
5110         * intl/Makefile ($(objpfx)tst-gettext.out): Use
5111         $(test-program-prefix-before-env), $(run-program-env) and
5112         $(test-program-prefix-after-env).
5113         ($(objpfx)tst-gettext2.out): Likewise.
5114         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
5115         run_program_env and test_program_prefix_after_env arguments.
5116         * intl/tst-gettext2.sh: Likewise.
5117         * intl/tst-gettext4.sh: Do not set environment variables
5118         explicitly.
5119         * intl/tst-gettext6.sh: Likewise.
5120         * intl/tst-translit.sh: Likewise.
5121         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
5122         $(test-program-prefix-before-env), $(run-program-env) and
5123         $(test-program-prefix-after-env).
5124         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
5125         run_program_env and test_program_prefix_after_env arguments.
5126         * math/Makefile (run-regen-ulps): Use $(run-program-env).
5127         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
5128         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
5129         explicitly with each use of ${test_wrapper_env}.
5130         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
5131         $(test-program-prefix-before-env), $(run-program-env) and
5132         $(test-program-prefix-after-env).
5133         * posix/tst-getconf.sh: Do not set environment variables
5134         explicitly.
5135         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
5136         run_program_env and test_program_prefix_after_env arguments.
5137         * stdio-common/tst-printf.sh: Do not set environment variables
5138         explicitly.
5139         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
5140         $(test-program-prefix-before-env), $(run-program-env) and
5141         $(test-program-prefix-after-env).
5142         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
5143         run_program_env and test_program_prefix_after_env arguments.
5144         Split $test calls into $test_pre and $test.
5145         * timezone/Makefile (build-testdata): Use
5146         $(built-program-cmd-before-env), $(run-program-env) and
5147         $(built-program-cmd-after-env).
5148
5149 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5150
5151         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
5152         strlen for non SHARED builds.
5153
5154 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
5155
5156         * nptl/allocatestack.c (check_list): Inlined function...
5157         (__reclaim_stacks): ... here.
5158
5159 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
5160
5161         [BZ #15698]
5162         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5163         memory overrun.
5164
5165 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
5166
5167         * Rules (make-test-out): Include
5168         LOCPATH=$(common-objpfx)localedata in default environment.
5169         * debug/Makefile (tst-chk1-ENV): Remove variable.
5170         (tst-chk2-ENV): Likewise.
5171         (tst-chk3-ENV): Likewise.
5172         (tst-chk4-ENV): Likewise.
5173         (tst-chk5-ENV): Likewise.
5174         (tst-chk6-ENV): Likewise.
5175         (tst-lfschk1-ENV): Likewise.
5176         (tst-lfschk2-ENV): Likewise.
5177         (tst-lfschk3-ENV): Likewise.
5178         (tst-lfschk4-ENV): Likewise.
5179         (tst-lfschk5-ENV): Likewise.
5180         (tst-lfschk6-ENV): Likewise.
5181         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
5182         (tst-iconv7-ENV): Likewise.
5183         * intl/Makefile (LOCPATH-ENV): Likewise.
5184         (tst-codeset-ENV): Likewise.
5185         (tst-gettext3-ENV): Likewise.
5186         (tst-gettext5-ENV): Likewise.
5187         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
5188         (tst-fopenloc-ENV): Likewise.
5189         (tst-fgetws-ENV): Remove variable.
5190         (tst-ungetwc1-ENV): Likewise.
5191         (tst-ungetwc2-ENV): Likewise.
5192         (bug-ungetwc2-ENV): Likewise.
5193         (tst-swscanf-ENV): Likewise.
5194         (bug-ftell-ENV): Likewise.
5195         (tst-fgetwc-ENV): Likewise.
5196         (tst-fseek-ENV): Likewise.
5197         (tst-ftell-partial-wide-ENV): Likewise.
5198         (tst-ftell-active-handler-ENV): Likewise.
5199         (tst-ftell-append-ENV): Likewise.
5200         * posix/Makefile (tst-fnmatch-ENV): Likewise.
5201         (tst-regexloc-ENV): Likewise.
5202         (bug-regex1-ENV): Likewise.
5203         (tst-regex-ENV): Likewise.
5204         (tst-regex2-ENV): Likewise.
5205         (bug-regex5-ENV): Likewise.
5206         (bug-regex6-ENV): Likewise.
5207         (bug-regex17-ENV): Likewise.
5208         (bug-regex18-ENV): Likewise.
5209         (bug-regex19-ENV): Likewise.
5210         (bug-regex20-ENV): Likewise.
5211         (bug-regex22-ENV): Likewise.
5212         (bug-regex23-ENV): Likewise.
5213         (bug-regex25-ENV): Likewise.
5214         (bug-regex26-ENV): Likewise.
5215         (bug-regex30-ENV): Likewise.
5216         (bug-regex32-ENV): Likewise.
5217         (bug-regex33-ENV): Likewise.
5218         (bug-regex34-ENV): Likewise.
5219         (bug-regex35-ENV): Likewise.
5220         (tst-rxspencer-ENV): Likewise.
5221         (tst-rxspencer-no-utf8-ENV): Likewise.
5222         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
5223         (tst-sscanf-ENV): Likewise.
5224         (tst-swprintf-ENV): Likewise.
5225         (tst-swscanf-ENV): Likewise.
5226         (test-vfprintf-ENV): Likewise.
5227         (scanf13-ENV): Likewise.
5228         (bug14-ENV): Likewise.
5229         (tst-grouping-ENV): Likewise.
5230         * stdlib/Makefile (tst-strtod-ENV): Likewise.
5231         (tst-strtod3-ENV): Likewise.
5232         (tst-strtod4-ENV): Likewise.
5233         (tst-strtod5-ENV): Likewise.
5234         (testmb2-ENV): Likewise./
5235         * string/Makefile (tst-strxfrm-ENV): Likewise.
5236         (tst-strxfrm2-ENV): Likewise.
5237         (bug-strcoll1-ENV): Likewise.
5238         (test-strcasecmp-ENV): Likewise.
5239         (test-strncasecmp-ENV): Likewise.
5240         * time/Makefile (tst-strptime-ENV): Likewise.
5241         (tst-ftime_l-ENV): Likewise.
5242         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
5243         (tst-mbrtowc-ENV): Likewise.
5244         (tst-wcrtomb-ENV): Likewise.
5245         (tst-mbrtowc2-ENV): Likewise.
5246         (tst-c16c32-1-ENV): Likewise.
5247         (tst-mbsnrtowcs-ENV): Likewise.
5248
5249 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
5250
5251         * manual/resource.texi (How to get information about the memory
5252         subsystem?): Fix typo.
5253         Reported by Peon de la Parra Ivan <peon@keba.com>
5254
5255 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
5256
5257         [BZ #16882]
5258         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
5259         (pthread_spin_lock): Branch out of spin loop to proper location.
5260         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
5261         (pthread_spin_lock): Likewise.
5262
5263         * nptl/tst-spin4.c: New test.
5264         * nptl/Makefile (tests): Add tst-spin4.
5265
5266 2014-06-03  Andreas Schwab  <schwab@suse.de>
5267
5268         [BZ #15946]
5269         * resolv/res_send.c (send_dg): Reload file descriptor after
5270         calling reopen.
5271
5272 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
5273
5274         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5275
5276 2014-06-03  Richard Henderson  <rth@redhat.com>
5277
5278         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
5279         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
5280         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
5281         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
5282         in the SAVE_PID block.
5283         (__libc_vfork): New alias.
5284         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
5285
5286         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
5287         child in registers, not on the stack.  Remove RESET_PID conditionals.
5288         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
5289
5290 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5291
5292         * sysdeps/aarch64/libm-test-ulps: Regenerate.
5293
5294 2014-06-03  Wilco  <wdijkstr@arm.com>
5295
5296         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
5297         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
5298         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5299         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
5300         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
5301         Likewise.
5302
5303 2014-06-03  Wilco  <wdijkstr@arm.com>
5304
5305         * sysdeps/aarch64/fpu/math_private.h
5306         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
5307         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
5308         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
5309         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5310         Fix declarations.
5311
5312 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5313
5314         * crypt/crypt-private.h: Include ufc-crypt.h.
5315         (__b64_from_24bit): Declare extern.
5316         * crypt/crypt_util.c(__b64_from_24bit): New function.
5317         (b64t): New static const variable.
5318         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
5319         (b64t): Remove variable.
5320         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
5321         * crypt/sha256-crypt.c: Include crypt-private.h.
5322         (b64t): Remove variable.
5323         (__sha256_crypt_r): Remove b64_from_24bit and replace
5324         with __b64_from_24bit.
5325         * crypt/sha512-crypt.c: Likewise.
5326
5327 2014-06-02  Roland McGrath  <roland@hack.frob.com>
5328
5329         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
5330         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
5331         Label the code __libc_vfork rather than __vfork.
5332         [!NOT_IN_libc] (vfork): Define as weak alias.
5333         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
5334         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
5335         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
5336
5337 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5338
5339         * malloc/malloc.c (malloc_info): Fix format specifier for
5340         n_mmaps.
5341
5342 2014-06-02  Wilco  <wdijkstr@arm.com>
5343
5344         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
5345         FPCR write.
5346
5347 2014-06-02  Wilco  <wdijkstr@arm.com>
5348
5349         [BZ #17009]
5350         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
5351         Rewrite to reduce FPCR/FPSR accesses.
5352
5353 2014-06-01  David S. Miller  <davem@davemloft.net>
5354
5355         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5356
5357 2014-05-31  David S. Miller  <davem@davemloft.net>
5358
5359         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
5360         to occur in round to nearest mode when |x| >= 2.0
5361
5362 2014-05-30  Richard Henderson  <rth@twiddle.net>
5363
5364         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
5365         (PSEUDO_RET_NOERRNO): Remove.
5366         (ret): Don't redefine.
5367         (ret_NOERRNO): Define in terms of ret.
5368         (ret_ERRVAL): Likewise.
5369
5370         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
5371         use of PSEUDO_RET; perform the error check directly.
5372
5373 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
5374
5375         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
5376         with __int128_t.
5377
5378 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5379
5380         * malloc/malloc (malloc_info): Fix formatting.
5381
5382 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5383             Roland McGrath  <roland@hack.frob.com>
5384
5385         * malloc/malloc (malloc_info): Also print mmapped statistics.
5386
5387 2014-05-30  Roland McGrath  <roland@hack.frob.com>
5388
5389         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
5390         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
5391
5392 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
5393
5394         * malloc/malloc.c (malloc_info): Inline mi_arena.
5395
5396 2014-05-29  Richard Henderson  <rth@twiddle.net>
5397
5398         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
5399         Remove comma before expanding ASM_ARGS_##nr.
5400         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
5401         Make _x0 a strict output; make _x8 a strict input; adjust expansion
5402         of ASM_ARGS_##nr.
5403         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
5404         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
5405         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
5406         (ASM_ARGS_1): Add leading comma.
5407
5408         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
5409         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
5410         to __errno_location.
5411         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
5412         Remove the expected plt for __errno_location.
5413
5414         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5415         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
5416         call to __read_tp.
5417
5418         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5419         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
5420         it and break it down.
5421         (DOCARGS_0, DOCARGS_1): Do nothing.
5422         (DOCARGS_2): Update to store into the new stack frame.
5423         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
5424         (UNDOCARGS_1): Update to restore from the new stack frame.
5425         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
5426         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
5427
5428         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5429         (SINGLE_THREAD_P): New parameter for result regno.
5430         (PSEUDO): Update to match; use cbz instead of beq.
5431
5432         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5433         Use ENTRY to define the _nocancel entry point.  Share the syscall
5434         and syscall error check paths with the cancel path.
5435         (PSEUDO_END): New.
5436
5437         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
5438         whitespace; tabs before and after asm mnemonics.
5439
5440 2014-05-29  Eric Wong  <normalperson@yhbt.net>
5441
5442         [BZ #15132]
5443         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5444         Call fstat64 or stat64 internally, depending on arguments passed.
5445         Replace stat buffer argument with file descriptor argument.
5446         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
5447         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5448         Pass fd to __internal_statvfs instead of calling fstat64.
5449         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
5450         Pass fd to __internal_statvfs64 instead of calling fstat64.
5451         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
5452         Pass -1 to __internal_statvfs instead of calling stat64.
5453         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
5454         Pass -1 to __internal_statvfs64 instead of calling stat64.
5455
5456 2014-05-28  Roland McGrath  <roland@hack.frob.com>
5457
5458         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
5459         that was previously under [RESET_PID].
5460         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
5461
5462         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
5463         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
5464
5465 2014-05-27  Roland McGrath  <roland@hack.frob.com>
5466
5467         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
5468
5469         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
5470         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
5471
5472 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
5473
5474         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
5475
5476 2014-05-27  Andreas Schwab  <schwab@suse.de>
5477
5478         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
5479         TLS_INIT_TP macro.
5480         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5481         * elf/rtld.c (init_tls, dl_main): Likewise.
5482         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
5483         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
5484         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
5485         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
5486         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
5487         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
5488         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
5489         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
5490         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
5491         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
5492         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
5493         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
5494         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
5495         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
5496         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
5497         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
5498         * sysdeps/generic/tls.h: Update description.
5499
5500 2014-05-27  Will Newton  <will.newton@linaro.org>
5501
5502         [BZ #16990]
5503         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
5504         and restore r2 rather than just restoring.
5505
5506 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5507
5508         [BZ #16724]
5509         * libio/tst-ftell-append.c: New test case.
5510         * libio/Makefile (tests): Add test case.
5511         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
5512         append mode.
5513         * libio/wfileops.c (do_ftell_wide): Likewise.
5514
5515 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5516
5517         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5518
5519         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
5520         ...
5521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
5522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5523         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
5524         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
5525         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
5526         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
5527         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
5528         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
5529         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5530         Moved ...
5531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
5532         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5533         Moved ...
5534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
5535         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
5536         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
5537         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
5538         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
5539         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
5540         ...
5541         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
5542         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
5543         Moved ...
5544         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
5545         here.
5546         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
5547         ...
5548         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
5549         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
5550         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
5551
5552         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
5553         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
5554         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
5555         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
5556
5557         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
5558         merge into ...
5559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
5560         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
5561         ...
5562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
5563         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
5564         ...
5565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
5566         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5567         Moved ...
5568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
5569         here.
5570         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5571         Moved ...
5572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
5573         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5574         Moved ...
5575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
5576
5577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
5578         conditional [RESET_PID].
5579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
5580         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
5581         removed.
5582         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
5583         removed.
5584
5585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
5586         <tcb-offsets.h>.
5587         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5588         (__libc_vfork): New strong alias.
5589         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
5590         removed.
5591         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
5592         Removed.
5593
5594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
5595         <tcb-offsets.h>.
5596         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
5597         (__libc_vfork): New strong alias.
5598         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
5599         removed.
5600         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
5601         removed.
5602
5603 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
5604
5605         * malloc/malloc.c (mi_arena): New function.
5606         (malloc_info): Remove nested function mi_arena. Call non-nosted
5607         function mi_arena.
5608
5609 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5610
5611         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
5612         by insrwi.
5613         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
5614         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
5615         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
5616         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
5617         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
5618         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
5619         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
5620
5621 2014-05-26  Andreas Schwab  <schwab@suse.de>
5622
5623         [BZ #16984]
5624         * locale/programs/repertoire.c (repertoire_read): Add slash
5625         between I18NPATH element and file name.
5626         * locale/programs/locfile.c (locfile_read): Likewise.
5627
5628 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5629
5630         * nptl/pthread_mutexattr_settype.c
5631         (__pthread_mutexattr_settype):
5632         Disable lock elision for PTHREAD_MUTEX_NORMAL.
5633
5634 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5635
5636         * nptl/tst-mutex5 (do_test):
5637         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
5638
5639 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5640
5641         * benchtests/README: Document 'init' directive.
5642         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
5643         BENCH_INIT.
5644         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
5645         (parse_file): Recognize 'init' directive.
5646
5647 2014-05-26  Kyle McMartin  <kyle@redhat.com>
5648
5649         [BZ #16796]
5650         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
5651         alignment of struct pthread.
5652
5653 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5654
5655         [BZ #16878]
5656         * nscd/netgroupcache.c (addgetnetgrentX): Look for
5657         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5658         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
5659         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5660
5661 2014-05-25  Richard Henderson  <rth@twiddle.net>
5662
5663         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5664         (SINGLE_THREAD_P_PIC): Remove.
5665         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
5666         (SINGLE_THREAD_P_PIC): Remove.
5667
5668         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
5669         branch to syscall error ...
5670         (PSEUDO): ... here.
5671         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
5672         from __local_syscall_error to .Lsyscall_error.
5673         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
5674         (SYSCALL_ERROR): Update label name.
5675
5676         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5677         Do not use DOARGS/UNDOARGS.
5678         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
5679         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
5680         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
5681         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
5682         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
5683
5684         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
5685         block comment.
5686
5687         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
5688         define if !NOT_IN_libc.
5689         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
5690         define with non-default symbol versions.
5691
5692 2014-05-23  Richard Henderson  <rth@twiddle.net>
5693
5694         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
5695         (vfork, __vfork): Define via compat_symbol.
5696
5697         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
5698         [!HAVE_IFUNC] (vfork_compat): Remove.
5699         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
5700
5701 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
5702
5703         [BZ #16978]
5704         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
5705         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
5706         variable.
5707
5708 2014-05-23  Richard Henderson  <rth@twiddle.net>
5709
5710         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
5711         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
5712         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
5713         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
5714
5715         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
5716         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
5717         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
5718         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
5719         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
5720         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
5721         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
5722         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
5723         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
5724         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
5725         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
5726         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
5727         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
5728         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
5729         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
5730         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
5731         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
5732         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
5733         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
5734         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
5735         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5736         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5737         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5738         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5739         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5740         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5741         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5742         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5743         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5744         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5745         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5746         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5747         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5748         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5749         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5750         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5751         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5752         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5753         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5754         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5755         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5756         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5757         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5758         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5759         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5760         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5761         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5762         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5763         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5764         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5765         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5766         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5767         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5768         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5769         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5770         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5771
5772         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5773         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5774         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
5775         before exiting on error.
5776         (__libc_vfork): New strong alias.
5777         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5778         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5779
5780         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5781         that was previously under [RESET_PID].
5782         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5783
5784         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5785
5786 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
5787
5788         [BZ #16977]
5789         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5790         value when x - 1 is zero.
5791         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5792         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5793         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5794         0.0L for an argument of 1.0L.
5795         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5796         Likewise.
5797         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5798         value when x - 1 is zero.
5799         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5800         * sysdeps/i386/fpu/libm-test-ulps: Update.
5801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5802
5803 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
5804
5805         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5806         alphasort and versionsort.
5807
5808 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5809
5810         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5811         macro.
5812         [copysignf]: Likewise.
5813
5814 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5815
5816         * crypt/md5-crypt.c: Fix formatting.
5817
5818 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5819
5820         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5821         (b64_from_24bit): New function.
5822
5823 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5824
5825         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5826         libc_hidden_builtin_def to ifunc.
5827         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5828         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5829
5830 2014-05-21  Roland McGrath  <roland@hack.frob.com>
5831
5832         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5833         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5834
5835 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
5836
5837         * nscd/Depend (linuxthreads): Remove.
5838         (nptl): Add.
5839         * resolv/Depend (linuxthreads): Remove.
5840         * rt/Depend (linuxthreads): Remove.
5841
5842         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5843         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5844         $(common-objpfx)elf/.
5845         (link-libc-before-gnulib): Likewise.
5846         (elfobjdir): Remove variable.
5847         * Makefile (install): Use $(elf-objpfx) instead of
5848         $(common-objpfx)elf/.
5849         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5850         $(elfobjdir)/.
5851         (link-libc-deps): Likewise.
5852         ($(common-objpfx)libc.so): Likewise.
5853         ($(common-objpfx)linkobj/libc.so): Likewise.
5854         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5855         instead of $(common-objpfx)elf/.
5856         (symbolic-link-list): Likewise.
5857         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5858         [$(cross-compiling) = no]: Likewise.
5859         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5860         $(elfobjdir)/.
5861         (static-gnulib-arch): Likewise.
5862         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5863         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5864         $(common-objpfx)elf/.
5865
5866 2014-05-21  Richard Henderson  <rth@redhat.com>
5867
5868         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5869         (SINGLE_THREAD_P): Use the correct width load.  Fold
5870         into the ldr offset.
5871
5872         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5873         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5874
5875 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
5876
5877         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5878         (libgcc_s_resume): Use __attribute_used__.
5879         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5880         Likewise.
5881
5882 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5883
5884         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5885         optimization when used with float constants.
5886
5887         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5888
5889 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
5890
5891         [BZ #16915]
5892         * locale/nl_langinfo_l.c: Make direct reference to every
5893         _nl_current_CATEGORY symbol.
5894         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5895         (tests-static): Add tst-langinfo-static.
5896         (tests-special): Add tst-langinfo-static.out.
5897         ($(objpfx)tst-langinfo.out): Redirect output.
5898         ($(objpfx)tst-langinfo-static.out): New.
5899         * localedata/tst-langinfo.sh: Send output to stdout.
5900         * localedata/tst-langinfo-static.c: New file.
5901
5902         [BZ #16965]
5903         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5904         when the shift amount is modulo the limb size.
5905
5906 2014-05-20  Richard Henderson  <rth@redhat.com>
5907
5908         [BZ #16967]
5909         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5910         Change type of sa_flags from unsigned int to int.
5911
5912         [BZ #16966]
5913         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
5914
5915         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5916
5917 2014-05-20  Will Newton  <will.newton@linaro.org>
5918
5919         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5920         Test the return value of the system call in the nocancel case.
5921
5922 2014-05-20  Will Newton  <will.newton@linaro.org>
5923             Yvan Roux  <yvan.roux@linaro.org>
5924
5925         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5926         #include of asm/ptrace.h.
5927         (PTRACE_GET_THREAD_AREA): Remove #undef.
5928         (PTRACE_GETHBPREGS): Likewise.
5929         (PTRACE_SETHBPREGS): Likewise.
5930         (struct user_regs_struct): New structure.
5931         (struct user_fpsimd_struct): New structure.
5932         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5933         #include of asm/ptrace.h and second #include of sys/user.h.
5934         (PTRACE_GET_THREAD_AREA): Remove #undef.
5935         (PTRACE_GETHBPREGS): Likewise.
5936         (PTRACE_SETHBPREGS): Likewise.
5937         (ELF_NGREG): Use new struct user_regs_struct.
5938         (elf_fpregset_t): Use new struct user_fpsimd_struct.
5939
5940 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5941
5942         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5943         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5944
5945 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
5946
5947         [BZ #16958]
5948         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5949         membar to avoid block loads/stores to overlap previous stores.
5950
5951 2014-05-17  Richard Henderson  <rth@redhat.com>
5952
5953         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5954         Create the __##syscall_name##_nocancel entry point.
5955         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5956         Remove; let the sysdep-cancel.h code create it.
5957
5958 2014-05-17  David S. Miller  <davem@davemloft.net>
5959
5960         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5961         Protect with __USE_GNU.
5962         (TIOCSET_TEMPT): Likewise.
5963         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5964         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5965         these are already provided in bits/ioctl-types.h
5966
5967 2014-05-16  Roland McGrath  <roland@hack.frob.com>
5968
5969         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5970         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5971
5972         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5973         Use wait4 regardless of [__NR_waitpid].
5974
5975 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
5976
5977         PR libgcc/60166
5978         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5979         (_FP_NANSIGN_Q): Set the quiet bit.
5980
5981 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
5982
5983         * benchtests/Makefile
5984         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5985         not $(common-objpfx)math/libm.so.
5986         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5987         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5988         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5989         $(common-objpfx)dlfcn/libdl.so.
5990         ($(objpfx)tst-audit8): Depend on $(libm), not
5991         $(common-objpfx)math/libm.so.
5992         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5993         not $(common-objpfx)dlfcn/libdl.so.
5994         * math/Makefile
5995         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5996         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
5997         [$(build-shared) = yes].
5998         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5999         $(common-objpfx)nptl/libpthread.so.
6000         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
6001         $(common-objpfx)math/libm.so$(libm.so-version) or
6002         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
6003         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
6004         $(common-objpfx)dlfcn/libdl.so.
6005         * setjmp/Makefile (link-libm): Remove variable.
6006         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
6007         * stdio-common/Makefile (link-libm): Remove variable.
6008         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
6009         * stdlib/Makefile (link-libm): Remove variable.
6010         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
6011         ($(objpfx)tst-strtod-round): Likewise.
6012         ($(objpfx)tst-tininess): Likewise.
6013         ($(objpfx)tst-strtod-underflow): Likewise.
6014         ($(objpfx)tst-strtod6): Likewise.
6015         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
6016         $(libdl), not $(common-objpfx)nptl/libpthread.so and
6017         $(common-objpfx)dlfcn/libdl.so.
6018
6019 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6020
6021         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
6022         BSD terminal modes definitions.
6023
6024 2014-05-16  Roland McGrath  <roland@hack.frob.com>
6025
6026         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
6027         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
6028
6029         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
6030         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
6031         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
6032         Don't do #include_next.
6033         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
6034         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
6035         Don't do #include_next.
6036         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
6037         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
6038         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
6039         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
6040
6041 2014-05-16  Allan McRae  <allan@archlinux.org>
6042
6043         * po/sv.po: Update Swedish translation from translation project.
6044
6045         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
6046         in sed expression.
6047
6048 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
6049
6050         [BZ #16917]
6051         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
6052         errno if the TIOCGPTN ioctl fails with an error different than
6053         EINVAL.
6054         * login/tst-ptsname.c: New file.
6055         * login/Makefile (tests): Add tst-ptsname.
6056
6057         [BZ #16943]
6058         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
6059         and prlimit64.
6060
6061 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6062
6063         [BZ #16849]
6064         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
6065         herrno to return EAI_AGAIN.
6066
6067 2014-05-14  Roland McGrath  <roland@hack.frob.com>
6068
6069         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
6070         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
6071         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
6072         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
6073         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
6074         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
6075         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
6076         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
6077         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
6078         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
6079         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
6080         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
6081         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
6082         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
6083         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
6084         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
6085         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
6086         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
6087         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
6088         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
6089         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
6090         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
6091         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
6092         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
6093         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
6094         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
6095         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
6096         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
6097         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
6098         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
6099         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
6100         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
6101         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
6102         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
6103         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6104         Moved ...
6105         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
6106         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
6107         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
6108         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
6109         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
6110         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
6111         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
6112         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
6113         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
6114         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
6115         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
6116         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
6117         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
6118         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
6119         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
6120         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
6121         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
6122         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
6123         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
6124         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
6125         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
6126         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
6127         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
6128         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
6129         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
6130         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
6131         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
6132         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
6133         Moved ...
6134         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
6135         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
6136         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
6137         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
6138         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
6139         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
6140         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
6141         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
6142         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
6143         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
6144         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
6145         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
6146         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
6147         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
6148         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
6149         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
6150         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
6151         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
6152         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
6153         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
6154         Moved ...
6155         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
6156         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
6157         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
6158
6159         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
6160         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
6161         (libpthread-sysdep_routines): Add elision-related stuff here instead.
6162         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
6163         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
6164         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
6165         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
6166         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
6167         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
6168         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
6169         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
6170         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
6171         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
6172         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
6173         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
6174         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
6175         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
6176         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
6177         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
6178         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
6179         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
6180         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
6181         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
6182         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
6183         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
6184         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
6185         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
6186         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
6187         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
6188         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
6189         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
6190
6191         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
6192         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
6193
6194         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
6195         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
6196         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
6197         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
6198         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
6199         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
6200         Moved ...
6201         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
6202         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
6203         Moved ...
6204         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
6205         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
6206         Moved ...
6207         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
6208         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
6209         Moved ...
6210         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
6211         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
6212         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
6213         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
6214         Moved ...
6215         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
6216         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
6217         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
6218         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
6219         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
6220         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
6221         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
6222         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
6223         Moved ...
6224         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
6225         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6226         Moved ...
6227         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6228         ... here.
6229         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
6230         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
6231         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
6232         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
6233         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6234         Moved ...
6235         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6236         ... here.
6237         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
6238         Moved ...
6239         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
6240         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
6241         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
6242         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
6243         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
6244         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
6245         Moved ...
6246         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
6247         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
6248         Moved ...
6249         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
6250         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
6251         Moved ...
6252         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
6253         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
6254         Moved ...
6255         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
6256         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
6257         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
6258         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
6259         Moved ...
6260         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
6261         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
6262         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
6263         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
6264         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
6265         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
6266         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
6267         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
6268         Moved ...
6269         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
6270         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6271         Moved ...
6272         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6273         ... here.
6274         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
6275         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
6276         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
6277         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
6278         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6279         Moved ...
6280         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6281         ... here.
6282         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
6283         Moved ...
6284         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
6285         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
6286         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
6287         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
6288         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
6289         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
6290         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
6291         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
6292         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
6293         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
6294         Moved ...
6295         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
6296         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
6297         Moved ...
6298         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
6299         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
6300         Moved ...
6301         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
6302         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
6303         Moved ...
6304         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
6305         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
6306         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
6307         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
6308         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
6309         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
6310         Moved ...
6311         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
6312         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
6313         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
6314         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
6315         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
6316         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
6317         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
6318         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
6319         Moved ...
6320         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
6321         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6322         Moved ...
6323         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6324         ... here.
6325         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
6326         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
6327         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
6328         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
6329         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6330         Moved ...
6331         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6332         ... here.
6333         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
6334         Moved ...
6335         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
6336         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
6337         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
6338         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
6339         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
6340         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
6341         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
6342         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
6343         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
6344         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
6345         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
6346
6347         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
6348         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
6349
6350         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
6351         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
6352
6353         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
6354         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
6355         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
6356         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
6357         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
6358         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
6359         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
6360         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
6361         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
6362         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
6363         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
6364         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
6365         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
6366         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
6367         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
6368         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
6369         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
6370         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
6371         Moved ...
6372         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
6373         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
6374         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
6375         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
6376         Moved ...
6377         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
6378         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
6379         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
6380         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
6381         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
6382         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
6383         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
6384         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
6385         Moved ...
6386         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
6387         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
6388         Moved ...
6389         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
6390         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
6391         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
6392         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
6393         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
6394         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
6395         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
6396         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
6397         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
6398         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
6399         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
6400         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
6401         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
6402         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
6403         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
6404         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
6405         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
6406
6407         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
6408         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
6409         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
6410         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
6411         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
6412
6413         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
6414         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
6415         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
6416         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
6417         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
6418         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
6419         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
6420         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
6421         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
6422         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
6423
6424         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
6425         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
6426
6427         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
6428         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
6429         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
6430         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
6431         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
6432         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
6433         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
6434         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
6435         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
6436         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
6437         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
6438         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
6439         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
6440         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
6441         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
6442         Update #include.
6443         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
6444         Likewise.
6445         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6446         Likewise.
6447         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6448         Likewise.
6449         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6450         Likewise.
6451         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
6452         Likewise.
6453         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
6454         Likewise.
6455         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6456         Likewise.
6457         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
6458         Likewise.
6459         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
6460         Likewise.
6461         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
6462         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
6463         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
6464         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
6465         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
6466         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
6467         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
6468         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
6469         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
6470         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
6471         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
6472         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
6473         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
6474         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
6475         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
6476
6477         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
6478         that was previously under [RESET_PID].
6479         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6480         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
6481         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
6482
6483         * sysdeps/i386/nptl/Implies: New file.
6484         * sysdeps/x86_64/nptl/Implies: New file.
6485         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
6486         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6487         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
6488         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
6489
6490         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
6491         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6492         (__libc_vfork): New strong alias.
6493         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
6494         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
6495
6496         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
6497         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6498         (__libc_vfork): New strong alias.
6499         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
6500         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
6501
6502         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
6503         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6504         (__libc_vfork): New strong alias.
6505         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
6506         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
6507         * nptl/pt-vfork.c: New file.
6508         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
6509         (libpthread: GLIBC_2.20): New version set (empty).
6510
6511 2014-05-14  Will Newton  <will.newton@linaro.org>
6512
6513         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
6514         rather than #if.
6515
6516 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
6517
6518         [BZ #16564]
6519         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
6520         arguments with exponent 65 or above.
6521         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
6522         arguments 0x1p113L or above.
6523         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
6524         to arguments 0x1p107L or above.
6525         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
6526         positive arguments with exponent 65 or above.
6527         * math/auto-libm-test-in: Add more tests of log1p.
6528         * math/auto-libm-test-out: Regenerated.
6529
6530         [BZ #16928]
6531         * math/s_cacos.c (__cacos): Ensure zero real part of result from
6532         non-finite arguments is +0.
6533         * math/s_cacosf.c (__cacosf): Likewise.
6534         * math/s_cacosl.c (__cacosl): Likewise.
6535         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
6536         * sysdeps/i386/fpu/libm-test-ulps: Update.
6537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6538
6539         [BZ #16927]
6540         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
6541         value.
6542         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6543         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
6544         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
6545         for explicit high bit of mantissa when testing for argument equal
6546         to 1.
6547         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
6548         * sysdeps/i386/fpu/libm-test-ulps: Update.
6549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6550
6551         [BZ #16516]
6552         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
6553         (__erf): Scale by 16 instead of 8 in potentially underflowing
6554         case.  Ensure exception if result actually underflows.
6555         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
6556         (__erff): Scale by 16 instead of 8 in potentially underflowing
6557         case.  Ensure exception if result actually underflows.
6558         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
6559         (efx8): Remove variable.
6560         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6561         case.  Ensure exception if result actually underflows.
6562         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
6563         (efx8): Remove variable.
6564         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6565         case.  Ensure exception if result actually underflows.
6566         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
6567         (efx8): Remove variable.
6568         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6569         case.  Ensure exception if result actually underflows.
6570         * math/auto-libm-test-in: Add more tests of erf.
6571         * math/auto-libm-test-out: Regenerated.
6572
6573 2014-05-14  Andreas Schwab  <schwab@suse.de>
6574
6575         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
6576         Remove code conditionalized on USE___THREAD.
6577
6578         * config.h.in (HAVE_PT_CHOWN): Define as 0.
6579         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
6580         not definedness.
6581
6582 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
6583
6584         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
6585         Define unconditionally.
6586         (__ASSUME_O_CLOEXEC): Likewise.
6587         (__ASSUME_SOCK_CLOEXEC): Likewise.
6588         (__ASSUME_IN_NONBLOCK): Likewise.
6589         (__ASSUME_PIPE2): Likewise.
6590         (__ASSUME_EVENTFD2): Likewise.
6591         (__ASSUME_SIGNALFD4): Likewise.
6592         (__ASSUME_DUP3): Likewise.
6593         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6594         (__ASSUME_DUP3): Do not define.
6595         (__ASSUME_EVENTFD2): Likewise.
6596         (__ASSUME_IN_NONBLOCK): Likewise.
6597         (__ASSUME_O_CLOEXEC): Likewise.
6598         (__ASSUME_PIPE2): Likewise.
6599         (__ASSUME_SIGNALFD4): Likewise.
6600         (__ASSUME_SOCK_CLOEXEC): Likewise.
6601         (__ASSUME_UTIMES): Undefine.
6602         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6603         (__ASSUME_UTIMES): Do not define.
6604         (__ASSUME_O_CLOEXEC): Likewise.
6605         (__ASSUME_SOCK_CLOEXEC): Likewise.
6606         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
6607         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
6608         0x020621].
6609         (__ASSUME_PIPE2): Likewise.
6610         (__ASSUME_EVENTFD2): Likewise.
6611         (__ASSUME_SIGNALFD4): Likewise.
6612         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
6613         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
6614         Do not define.
6615         (__ASSUME_EVENTFD2): Likewise.
6616         (__ASSUME_SIGNALFD4): Likewise.
6617         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6618         (__ASSUME_32BITUIDS): Likewise.
6619         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6620         (__ASSUME_IPC64): Likewise.
6621         (__ASSUME_ST_INO_64_BIT): Likewise.
6622         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
6623         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
6624         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6625         (__ASSUME_UTIMES): Do not define.
6626         (__ASSUME_PSELECT): Likewise.
6627         (__ASSUME_PPOLL): Likewise.
6628         (__ASSUME_O_CLOEXEC): Likewise.
6629         (__ASSUME_SOCK_CLOEXEC): Likewise.
6630         (__ASSUME_IN_NONBLOCK): Likewise.
6631         (__ASSUME_PIPE2): Likewise.
6632         (__ASSUME_EVENTFD2): Likewise.
6633         (__ASSUME_SIGNALFD4): Likewise.
6634         (__ASSUME_DUP3): Likewise.
6635         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6636         (__ASSUME_UTIMES): Likewise.
6637         (__ASSUME_O_CLOEXEC): Likewise.
6638         (__ASSUME_SOCK_CLOEXEC): Likewise.
6639         (__ASSUME_IN_NONBLOCK): Likewise.
6640         (__ASSUME_PIPE2): Likewise.
6641         (__ASSUME_EVENTFD2): Likewise.
6642         (__ASSUME_SIGNALFD4): Likewise.
6643         (__ASSUME_DUP3): Likewise.
6644         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6645         (__ASSUME_UTIMES): Likewise.
6646         (__ASSUME_O_CLOEXEC): Likewise.
6647         (__ASSUME_SOCK_CLOEXEC): Likewise.
6648         (__ASSUME_IN_NONBLOCK): Likewise.
6649         (__ASSUME_PIPE2): Likewise.
6650         (__ASSUME_EVENTFD2): Likewise.
6651         (__ASSUME_SIGNALFD4): Likewise.
6652         (__ASSUME_DUP3): Likewise.
6653         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
6654         Likewise.
6655         (__ASSUME_UTIMES): Likewise.
6656         (__ASSUME_EVENTFD2): Likewise.
6657         (__ASSUME_SIGNALFD4): Likewise.
6658         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6659         (__ASSUME_O_CLOEXEC): Likewise.
6660         (__ASSUME_SOCK_CLOEXEC): Likewise.
6661         (__ASSUME_IN_NONBLOCK): Likewise.
6662         (__ASSUME_PIPE2): Likewise.
6663         (__ASSUME_EVENTFD2): Likewise.
6664         (__ASSUME_SIGNALFD4): Likewise.
6665         (__ASSUME_DUP3): Likewise.
6666         (__ASSUME_UTIMES): Undefine.
6667
6668         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
6669         feclearexcept.  Remove symbol versioning code.
6670         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
6671         symbol versioning code.
6672         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
6673         symbol versioning code.
6674         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
6675         feupdateenv.  Remove symbol versioning code.
6676         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
6677         fegetexceptflag.  Remove symbol versioning code.
6678         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
6679         fesetexceptflag.  Remove symbol versioning code.
6680         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
6681         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
6682         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
6683         (__posix_fadvise64_l32): Remove prototype.
6684         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
6685         code.
6686
6687 2014-05-13  Roland McGrath  <roland@hack.frob.com>
6688
6689         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
6690         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
6691         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
6692         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
6693
6694 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
6695
6696         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
6697         current working directory
6698
6699 2014-05-13  Roland McGrath  <roland@hack.frob.com>
6700
6701         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
6702         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
6703         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
6704         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
6705         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
6706         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
6707         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
6708         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
6709         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
6710         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
6711         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
6712         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
6713         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
6714         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
6715         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
6716         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
6717         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
6718         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
6719         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
6720         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
6721         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
6722         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
6723         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
6724         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
6725         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
6726         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
6727         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
6728         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
6729         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
6730         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
6731         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
6732         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
6733         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
6734         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
6735         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6736         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6737         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6738         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6739         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6740         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6741         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6742         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6743
6744         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6745         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6746
6747         * sysdeps/unix/sysv/linux/arm/Makefile
6748         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6749         Add rt-aeabi_unwind_cpp_pr1.
6750         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6751         Add nptl-aeabi_unwind_cpp_pr1.
6752         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6753         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6754         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6755         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6756         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6757         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6758
6759         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6760         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6761         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6762         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6763
6764         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6765         Deconditionalize the code that was previously under [RESET_PID].
6766         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6767
6768         * sysdeps/generic/exit-thread.h: New file.
6769         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6770         * include/unistd.h (__exit_thread): Remove declaration.
6771         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6772         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6773         * csu/libc-start.c: Include <exit-thread.h>.
6774         (LIBC_START_MAIN): Pass no argument to __exit_thread.
6775         * nptl/pthread_create.c: Include <exit-thread.h>.
6776         (start_thread): Call __exit_thread in place of __exit_thread_inline.
6777         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6778         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6779         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6780         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6781         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6782         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6783         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6784         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6785         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6786         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6787         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6788         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6789         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6790         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6791         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6792         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6793
6794 2014-05-13  Andreas Schwab  <schwab@suse.de>
6795
6796         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6797
6798 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
6799
6800         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6801         (__ASSUME_UTIMES): Do not condition on kernel version.
6802         (__ASSUME_PSELECT): Define unconditionally.
6803         (__ASSUME_PPOLL): Likewise.
6804         (__ASSUME_ATFCTS): Likewise.
6805         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6806         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6807         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6808         (__ASSUME_UTIMENSAT): Define unconditionally.
6809         (__ASSUME_PRIVATE_FUTEX): Likewise.
6810         (__ASSUME_FALLOCATE): Likewise.
6811         (__ASSUME_O_CLOEXEC): Likewise.
6812         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
6813         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6814         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6815         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6816         (__ASSUME_IN_NONBLOCK): Likewise.
6817         (__ASSUME_PIPE2): Likewise.
6818         (__ASSUME_EVENTFD2): Likewise.
6819         (__ASSUME_SIGNALFD4): Likewise.
6820         (__ASSUME_DUP3): Likewise.
6821         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6822         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6823         (__ASSUME_AT_RANDOM): Likewise.
6824         (__ASSUME_PREADV): Likewise.
6825         (__ASSUME_PWRITEV): Likewise.
6826         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6827         (__ASSUME_F_GETOWN_EX): Define unconditionally.
6828         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6829         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6830         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6831         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6832         (__ASSUME_O_CLOEXEC): Define unconditionally.
6833         (__ASSUME_PSELECT): Do not undefine conditionally.
6834         (__ASSUME_PPOLL): Likewise.
6835         (__ASSUME_ATFCTS): Likewise.
6836         (__ASSUME_SET_ROBUST_LIST): Likewise.
6837         (__ASSUME_UTIMENSAT): Likewise.
6838         (__ASSUME_FDATASYNC): Define unconditionally.
6839         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6840         (__ASSUME_SIGFRAME_V2): Likewise.
6841         )__ASSUME_EVENTFD2): Likewise.
6842         (__ASSUME_SIGNALFD4): Likewise.
6843         (__ASSUME_PSELECT): Do not undefine conditionally.
6844         (__ASSUME_PPOLL): Likewise.
6845         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6846         (__ASSUME_PSELECT): Define unconditionally.
6847         (__ASSUME_PPOLL): Likewise.
6848         (__ASSUME_O_CLOEXEC): Likewise.
6849         (__ASSUME_SOCK_CLOEXEC): Likewise.
6850         (__ASSUME_IN_NONBLOCK): Likewise.
6851         (__ASSUME_PIPE2): Likewise.
6852         (__ASSUME_EVENTFD2): Likewise.
6853         (__ASSUME_SIGNALFD4): Likewise.
6854         (__ASSUME_DUP3): Likewise.
6855         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6856         (__ASSUME_O_CLOEXEC): Likewise.
6857         (__ASSUME_SOCK_CLOEXEC): Likewise.
6858         (__ASSUME_IN_NONBLOCK): Likewise.
6859         (__ASSUME_PIPE2): Likewise.
6860         (__ASSUME_EVENTFD2): Likewise.
6861         (__ASSUME_SIGNALFD4): Likewise.
6862         (__ASSUME_DUP3): Likewise.
6863         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6864         (__ASSUME_EVENTFD2): Likewise.
6865         (__ASSUME_SIGNALFD4): Likewise.
6866         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6867
6868 2014-05-12  Andreas Schwab  <schwab@suse.de>
6869
6870         [BZ #16932]
6871         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6872         (_nss_nis_gethostbyname4_r): Return error if item length is larger
6873         than maximum RPC packet size.
6874         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6875         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6876         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6877         (_nss_nis_getservbyport_r): Likewise.
6878
6879 2014-05-12  Will Newton  <will.newton@linaro.org>
6880
6881         * malloc/Makefile (tests): Add tst-mallopt.
6882         * malloc/tst-mallopt.c: New file.
6883
6884 2014-05-09  Roland McGrath  <roland@hack.frob.com>
6885
6886         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6887         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6888
6889 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6890
6891         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6892         (tst-tlsmod6.so): Likewise.
6893
6894 2014-05-09  Roland McGrath  <roland@hack.frob.com>
6895
6896         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6897
6898 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
6899
6900         [BZ #16064]
6901         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6902         and <dl-procinfo.h>.
6903         (__fegetenv): Save SSE state in envp->__eip if supported.
6904         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6905         envp->__eip if supported.
6906         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6907         and <dl-procinfo.h>.
6908         (__fesetenv): Always set __eip, __cs_selector, __opcode,
6909         __data_offset and __data_selector in environment to 0.  Set SSE
6910         state if supported.
6911         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6912         test-fenv-sse.
6913         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6914         -mfpmath=sse.
6915         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6916
6917 2014-05-09  Will Newton  <will.newton@linaro.org>
6918
6919         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6920         and libc_relro_required for ARM.
6921         * sysdeps/arm/preconfigure: Regenerate.
6922
6923 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
6924             Stefan Liebler  <stli@linux.vnet.ibm.com>
6925
6926         * config.make.in (enable-lock-elision): New Makefile variable.
6927         * configure.ac: Likewise.
6928         * configure: Regenerate.
6929         * sysdeps/s390/configure.ac:
6930         Add check for gcc transactions support.
6931         * sysdeps/s390/configure: Regenerate.
6932         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6933         Build elision files if enabled.
6934         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6935         Add lock elision support for s390.
6936         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6937         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6938         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6939         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6940         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6941         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6942         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6943         Likewise.
6944         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6945         Likewise.
6946         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6947         Likewise.
6948         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6949         Likewise.
6950         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6951         (__lll_timedlock_elision, __lll_lock_elision)
6952         (__lll_unlock_elision, __lll_trylock_elision)
6953         (lll_timedlock_elision, lll_lock_elision)
6954         (lll_unlock_elision, lll_trylock_elision): Add.
6955         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6956         (pthread_mutex_t): Add lock elision support for s390.
6957
6958 2014-05-14  Wilco  <wdijkstr@arm.com>
6959
6960         * sysdeps/arm/fclrexcpt.c: Cleanup.
6961         * sysdeps/arm/fedisblxcpt.c: Cleanup.
6962         * sysdeps/arm/feenablxcpt.c: Cleanup.
6963         * sysdeps/arm/fegetenv.c: Cleanup.
6964         * sysdeps/arm/fegetexcept.c: Cleanup.
6965         * sysdeps/arm/fegetround.c: Cleanup.
6966         * sysdeps/arm/feholdexcpt.c: Cleanup.
6967         * sysdeps/arm/fesetenv.c: Cleanup.
6968         * sysdeps/arm/fesetround.c: Cleanup.
6969         * sysdeps/arm/feupdateenv.c: Cleanup.
6970         * sysdeps/arm/fgetexcptflg.c: Cleanup.
6971         * sysdeps/arm/fraiseexcpt.c: Cleanup.
6972         * sysdeps/arm/fsetexcptflg.c: Cleanup.
6973         * sysdeps/arm/ftestexcept.c: Cleanup.
6974         * sysdeps/arm/get-rounding-mode.h: Cleanup.
6975         * sysdeps/arm/setfpucw.c: Cleanup.
6976
6977 2014-05-09  Will Newton  <will.newton@linaro.org>
6978
6979         * sysdeps/arm/armv7/strcmp.S: New file.
6980         * NEWS: Mention addition of ARMv7 optimized strcmp.
6981
6982 2014-05-08  Roland McGrath  <roland@hack.frob.com>
6983
6984         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6985         look for %.ac rather than %.in.
6986
6987         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6988         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6989         * sysdeps/mach/hurd/configure: Regenerated.
6990         * sysdeps/unix/sysv/linux/configure: Regenerated.
6991
6992         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6993
6994 2014-05-07  Steve Ellcey  <sellcey@mips.com>
6995
6996         [BZ# 16922]
6997         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6998         (LONG_SUB): Ditto.
6999         (PTR_SUB): Ditto.
7000
7001 2014-05-07  Andreas Schwab  <schwab@suse.de>
7002
7003         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
7004         when skipping over non-matching result from nscd.
7005
7006 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
7007
7008         [BZ #16876]
7009         * nptl/sockperf.c (client): Check socket return value.
7010
7011         [BZ #16877]
7012         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
7013         nscd security class.
7014
7015 2014-05-06  Roland McGrath  <roland@hack.frob.com>
7016
7017         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
7018         * sysdeps/arm/unwind.h: ... here.
7019
7020 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
7021
7022         [BZ# 16916]
7023         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
7024         Define.
7025
7026 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7027
7028         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
7029         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
7030         multiarch strncpy for PPC64.
7031         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
7032         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
7033         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
7034         multiarch optimizations.
7035         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7036         (__libc_ifunc_impl_list): Likewise.
7037         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
7038         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
7039         multiarch stpncpy for PPC64.
7040         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
7041         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
7042
7043 2014-05-06  Andreas Schwab  <schwab@suse.de>
7044
7045         [BZ #16912]
7046         * gmon/mcount.c (_MCOUNT_DECL): Use
7047         atomic_compare_and_exchange_bool_acq instead of
7048         catomic_compare_and_exchange_bool_acq.
7049
7050 2014-05-05  Roland McGrath  <roland@hack.frob.com>
7051
7052         * elf/Makefile (others, install-bin): Remove pldd.
7053         (pldd-modules): Variable removed.
7054         ($(objpfx)pldd): Target removed.
7055         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
7056         (others, install-bin): Append pldd here.
7057         ($(objpfx)pldd): New target.
7058
7059         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
7060         to 0, so the first #if test emitted later doesn't see it undefined.
7061         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
7062         * sysdeps/gnu/errlist.c: Regenerated.
7063
7064 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7065
7066         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7067         [libc_hidden_builtin_def]: Define to empty value.
7068         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
7069         [libc_hidden_builtin_def]: Likewise.
7070         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
7071         [libc_hidden_builtin_def]: Likewise.
7072         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
7073         [libc_hidden_builtin_def]: Likewise.
7074         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
7075         __redirect_memcpy and define ifunc as default hidden symbol.
7076         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
7077         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
7078
7079 2014-05-04  Adam Conrad  <adconrad@0c3.net>
7080
7081         * locale/iso-4217.def: Reintroduce XDR currency.
7082
7083 2014-05-04  Allan McRae  <allan@archlinux.org>
7084
7085         * po/eo.po: Update Esperanto translation from translation project.
7086
7087 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
7088
7089         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
7090         and FEATURE_INDEX_MAX to 1.
7091         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
7092
7093 2014-05-01  Steve Ellcey  <sellcey@mips.com>
7094
7095         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
7096         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
7097         * iconvdata/big5.c (ONE_DIRECTION): Define.
7098         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
7099         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
7100         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
7101         * iconvdata/cp932.c (ONE_DIRECTION): Define.
7102         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
7103         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
7104         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
7105         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
7106         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
7107         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
7108         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
7109         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
7110         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
7111         * iconvdata/gbk.c (ONE_DIRECTION): Define.
7112         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
7113         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
7114         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
7115         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
7116         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
7117         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
7118         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
7119         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
7120         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
7121         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
7122         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
7123         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
7124         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
7125         * iconvdata/iso646.c (ONE_DIRECTION): Define.
7126         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
7127         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
7128         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
7129         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
7130         * iconvdata/johab.c (ONE_DIRECTION): Define.
7131         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
7132         * iconvdata/sjis.c (ONE_DIRECTION): Define.
7133         * iconvdata/t.61.c (ONE_DIRECTION): Define.
7134         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
7135         * iconvdata/tscii.c (ONE_DIRECTION): Define.
7136         * iconvdata/uhc.c (ONE_DIRECTION): Define.
7137         * iconvdata/unicode.c (ONE_DIRECTION): Define.
7138         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
7139         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
7140         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
7141
7142 2014-05-01  Roland McGrath  <roland@hack.frob.com>
7143
7144         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
7145         (_IO_JUMPS_OFFSET): Define to 0.
7146
7147         * nptl/sysdeps/pthread/bits/libc-lock.h
7148         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7149         (__libc_lock_define_initialized_recursive): Always define using
7150         initializer.  Modern compilers treat uninitialized (implicit zero) and
7151         explicit zero initializers the same (i.e. put the datum in bss).
7152
7153 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
7154
7155         * nscd/nscd-client.h: Include <string.h>.
7156
7157 2014-05-01  David S. Miller  <davem@davemloft.net>
7158
7159         [BZ #16885]
7160         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
7161         multiple zero bytes exist at the end of a string.
7162         Reported by Aurelien Jarno <aurelien@aurel32.net>
7163
7164         * string/test-strcmp.c (check): Add explicit test for situations where
7165         there are multiple zero bytes after the first.
7166
7167 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
7168
7169         [BZ #16890]
7170         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
7171         when compiling wprintf.
7172         * stdio-common/tstdiomisc.c (t3): New function.
7173         (main): Call it.
7174
7175 2014-05-01  Steve Ellcey  <sellcey@mips.com>
7176
7177         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
7178         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
7179         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
7180         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
7181
7182 2014-05-01  Steve Ellcey  <sellcey@mips.com>
7183
7184         * stdlib/longlong.h: Updated from GCC.
7185
7186 2014-05-01  Will Newton  <will.newton@linaro.org>
7187             Bernard Ogden  <bernie.ogden@linaro.org>
7188
7189         * NEWS: Update fixed bug list.
7190
7191         [BZ #15119]
7192         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
7193
7194 2014-04-30  David S. Miller  <davem@davemloft.net>
7195
7196         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
7197         (libc_feholdexcept_setround_sparc_ctx): New function.
7198         (libc_fesetenv_sparc_ctx): Likewise.
7199         (libc_feupdateenv_sparc_ctx): Likewise.
7200         (libc_feholdsetround_sparc_ctx): Likewise.
7201         (libc_feholdexcept_setround_ctx): Define.
7202         (libc_feholdexcept_setroundf_ctx): Likewise.
7203         (libc_feholdexcept_setroundl_ctx): Likewise.
7204         (libc_fesetenv_ctx): Likewise.
7205         (libc_fesetenvf_ctx): Likewise.
7206         (libc_fesetenvl_ctx): Likewise.
7207         (libc_feupdateenv_ctx): Likewise.
7208         (libc_feupdateenvf_ctx): Likewise.
7209         (libc_feupdateenvl_ctx): Likewise.
7210         (libc_feresetround_ctx): Likewise.
7211         (libc_feresetroundf_ctx): Likewise.
7212         (libc_feresetroundl_ctx): Likewise.
7213         (libc_feholdsetround_ctx): Likewise.
7214         (libc_feholdsetroundf_ctx): Likewise.
7215         (libc_feholdsetroundl_ctx): Likewise.
7216
7217         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7218         with __USE_GNU instead of XOPEN cpp guards.
7219
7220         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
7221         0.
7222
7223         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7224         with XOPEN cpp guards.
7225
7226 2014-04-30  Julian Brown  <julian@codesourcery.com>
7227
7228         [BZ #16888]
7229         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
7230         handling.
7231
7232 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
7233
7234         [BZ #9894]
7235         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7236         Change to 2.6.32.
7237         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
7238         * sysdeps/unix/sysv/linux/configure: Regenerated.
7239         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
7240         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
7241         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
7242         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
7243         * README: Update reference to required Linux kernel version.
7244         * manual/install.texi (Linux): Update reference to required Linux
7245         kernel headers version.
7246         * INSTALL: Regenerated.
7247
7248         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
7249         header inclusion.
7250         [POSIX] (limits.h): Likewise.
7251         [POSIX] (math.h): Likewise.
7252         [POSIX] (sys/wait.h): Likewise.
7253         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
7254         function.
7255         [POSIX] (stddef.h): Do not allow header inclusion.
7256
7257 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7258
7259         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
7260
7261 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
7262
7263         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
7264         Return immediately after lll_futex_wake.
7265
7266 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7267
7268         [BZ #16791]
7269         * nscd/nscd-client.h (datahead_init_common): Initialize entire
7270         structure.
7271         (datahead_init_pos): Call datahead_init_common early.
7272         (datahead_init_neg): Likewise.
7273
7274         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
7275         datahead_init_neg): New functions.
7276         * nscd/aicache.c (addhstaiX): Use them.
7277         * nscd/grpcache.c (cache_addgr): Likewise.
7278         * nscd/hstcache.c (cache_addhst): Likewise.
7279         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7280         * nscd/netgroupcache.c (do_notfound): Likewise.
7281         (addgetnetgrentX): Likewise.
7282         (addinnetgrX): Likewise.
7283         * nscd/pwdcache.c (cache_addpw): Likewise.
7284         * nscd/servicescache.c (cache_addserv): Likewise.
7285
7286 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7287             Atsushi Onoe  <atsushi@onoe.org>
7288
7289         [BZ #14308]
7290         [BZ #12994]
7291         [BZ #13651]
7292         * resolv/res_query.c (__libc_res_nsearch): Return if at least
7293         one response is valid.
7294         * resolv/res_send.c (send_dg): Check for validity of other
7295         response if the current response is a referral.
7296
7297 2014-04-29  Steve Ellcey  <sellcey@mips.com>
7298
7299         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
7300
7301 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
7302
7303         [BZ #16823]
7304         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
7305         Always divide by positive zero when computing -Inf result.
7306         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7307         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
7308
7309 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7310
7311         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
7312         FPSCR if value do not change.
7313         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7314         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
7315         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7316         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7317         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
7318         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
7319         function.
7320
7321 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
7322
7323         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
7324         * sysdeps/unix/sysv/linux/hppa: Move directory from
7325         ports/systeps/unix/sysv/linux/hppa.
7326         * README: Update listing for hppa-*-linux-gnu.
7327
7328 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
7329
7330         [BZ #16754]
7331         * manual/stdio.texi (Hook functions): Fix types of stream hook
7332         functions.
7333         [BZ #16854]
7334         * socket/sys/socket.h: Fix typo in comment.
7335
7336 2014-04-28  Wilco  <wdijkstr@arm.com>
7337
7338         * sysdeps/arm/fenv_private.h: New file.
7339         * sysdeps/arm/math_private.h: New file.
7340         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
7341
7342 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
7343
7344         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
7345         with __int128_t.
7346         (La_x86_64_retval): Likewise.
7347
7348 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
7349
7350         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
7351         fpsr if value didn't change.
7352         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
7353         to fpcr if value didn't change.
7354         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
7355         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
7356         fpsr or fpcr if value didn't change.
7357         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7358         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
7359         fpcr if value didn't change.
7360         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
7361         to fpsr if value didn't change.
7362
7363 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
7364
7365         * nptl/tst-sem3.c: Use test-skeleton.c
7366         (main): Rename to do_test.  Use return instead of
7367         exit.
7368         * nptl/tst-sem4.c: Use test-skeleton.c
7369         (main): Rename to do_test.
7370
7371 2014-04-22  David S. Miller  <davem@davemloft.net>
7372
7373         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
7374         (struct sigaction): New struct member __glibc_reserved0, change
7375         type of sa_flags to int.
7376
7377 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
7378
7379         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
7380         (COUNT_LEADING_ZEROS_0): Define for AArch64.
7381
7382 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7383
7384         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
7385         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
7386
7387 2014-04-22  Will Newton  <will.newton@linaro.org>
7388             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
7389
7390         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
7391         (__longjmp): Add longjmp and longjmp_target SystemTap
7392         probes.
7393         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
7394         (__sigsetjmp): Add setjmp SystemTap probe.
7395
7396 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
7397
7398         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
7399         match manual order.
7400
7401 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7402
7403         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
7404
7405         * sysdeps/powerpc/fpu/fenv_private.h
7406         (libc_feholdexcept_setroundl_ctx): Define to
7407         libc_feholdexcept_setround_ppc_ctx.
7408         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
7409         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
7410         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
7411         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
7412
7413 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
7414
7415         * sysdeps/aarch64/math-tests.h: New file.
7416
7417 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
7418
7419         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
7420         New.
7421         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7422         Check and set bit_AVX2_Usable.
7423         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
7424         macro.
7425         (bit_AVX2): Likewise.
7426         (index_AVX2_Usable): Likewise.
7427         (CPUID_AVX2): Likewise.
7428         (HAS_AVX2): Likewise.
7429
7430 2014-04-17  Will Newton  <will.newton@linaro.org>
7431
7432         * manual/setjmp.texi (System V contexts): Add note that
7433         calling setcontext on a context created by a call to a
7434         signal handler is undefined.  Update text to note that
7435         setcontext from a signal handler is possible but not
7436         recommended.
7437
7438         [BZ #16629]
7439         * stdlib/tst-setcontext.c: Include signal.h.
7440         (main): Check that the signal stack before and
7441         after swapcontext is the same.
7442
7443         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
7444         Re-implement to restore registers in user code and avoid
7445         rt_sigreturn system call.
7446
7447 2014-04-17  Wilco  <wdijkstr@arm.com>
7448
7449         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
7450         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
7451         * math/test-fenv.c: Skip exception trap tests on targets which only
7452         support non-stop mode.
7453
7454 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
7455             Wilco Dijkstra  <wilco.dijkstra@arm.com>
7456
7457         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
7458         (libc_feholdsetround_aarch64_ctx)
7459         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
7460         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
7461         (libc_feresetround_ctx, libc_feresetroundf_ctx)
7462         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
7463         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
7464         (libc_feresetround_noexl_ctx): Define.
7465
7466 2014-04-16  Richard Henderson  <rth@redhat.com>
7467
7468         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
7469
7470         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
7471         unwind tables.
7472
7473         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
7474         const from the non-libc, non-ldso copy.
7475
7476         * sysdeps/alpha/libm-test-ulps: Regenerate.
7477
7478 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
7479             Wilco Dijkstra  <wilco.dijkstra@arm.com>
7480
7481         * sysdeps/aarch64/fpu/math_private.h: New file.
7482
7483 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7484
7485         * sysdeps/aarch64/libm-test-ulps: Regenerate.
7486
7487 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
7488
7489         [BZ #16275]
7490         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
7491         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
7492         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
7493         Intel MPX bound registers before _dl_profile_fixup.
7494         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
7495         registers after _dl_profile_fixup.  Save and restore bound
7496         registers bnd0/bnd1 when calling _dl_call_pltexit.
7497         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
7498         (LR_BND_OFFSET): Likewise.
7499         (LRV_BND0_OFFSET): Likewise.
7500         (LRV_BND1_OFFSET): Likewise.
7501
7502 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7503
7504         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
7505         to...
7506         * sysdeps/mach/hurd/i386/tls.h: ... here.
7507         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
7508         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
7509         fields.
7510
7511 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7512
7513         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
7514
7515 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7516
7517         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7518
7519 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7520
7521         [BZ #14770]
7522         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
7523         * sysdeps/s390/configure: Regenerate.
7524
7525         [BZ #16824]
7526         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
7527         Set round-to-nearest internally to reduce error accumulation.
7528
7529 2014-04-16  Alan Modra  <amodra@gmail.com>
7530
7531         [BZ #16740]
7532         [BZ #16619]
7533         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
7534         * math/libm-test.inc (frexp_test_data): Add tests.
7535         * NEWS: Update fixed bug list.
7536
7537 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7538
7539         * benchtests/Makefile: Depend on libraries in build directory.
7540         (bench-math): Separate out math tests.
7541         (bench-pthread): Separate out pthread tests.
7542         (bench): Include math and pthread tests.
7543
7544 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
7545
7546         [BZ #16831]
7547         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
7548         _dl_debug_initialize.
7549
7550         * configure.ac: Remove SELinux header check.
7551         * configure: Regenerate.
7552         * nscd/selinux.c (perms): Array of const char* to permission names.
7553         (nscd_request_avc_has_perm): Call security_deny_unknown to find
7554         default policy. Call string_to_security_class and string_to_av_perm to
7555         translate strings. Enforce default policy and call avs_has_perm with
7556         results of translated strings.
7557
7558 2014-04-13  David S. Miller  <davem@davemloft.net>
7559
7560         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7561
7562 2014-04-12  Allan McRae  <allan@archlinux.org>
7563
7564         [BZ #16838]
7565         * manual/string.texi (Collation Functions): Fix qsort argument
7566         order in example.
7567         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7568
7569 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
7570
7571         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
7572         Make the test a no-op if there are no exceptions defined.
7573
7574 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
7575
7576         * elf/Makefile (tests): make tst-dlopen-aout conditional on
7577         enable-hardcoded-path-in-tests
7578
7579 2014-04-11  Will Newton  <will.newton@linaro.org>
7580
7581         * benchtests/Makefile (extra-objs): Add json-lib.o.
7582         (bench-func): Tidy up JSON output.
7583         * benchtests/bench-skeleton.c: Include json-lib.h.
7584         (main): Use JSON library functions to do output of
7585         benchmark results.
7586         * benchtests/bench-timing-type.c (main): Output the
7587         timing type simply, leaving formatting to the user.
7588         * benchtests/json-lib.c: New file.
7589         * benchtests/json-lib.h: Likewise.
7590
7591 2014-04-11  Torvald Riegel  <triegel@redhat.com>
7592
7593         [BZ #15215]
7594         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
7595         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
7596         memory barriers.  Add comments.
7597         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
7598         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
7599         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
7600         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
7601         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
7602         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
7603
7604 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7605
7606         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
7607         * sysdeps/s390/s390-64/configure.ac: ... this ...
7608         * sysdeps/s390/configure.ac: ... to here.
7609         * sysdeps/s390/s390-32/configure: Delete file.
7610         * sysdeps/s390/s390-64/configure: Delete file.
7611         * sysdeps/s390/configure: Regenerate.
7612
7613 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
7614
7615         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
7616
7617 2014-04-11  Will Newton  <will.newton@linaro.org>
7618
7619         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
7620         to zero if it is not defined elsewhere.  (mtrim): Test
7621         the value of MALLOC_DEBUG with #if rather than #ifdef.
7622
7623 2014-04-10 Torvald Riegel  <triegel@redhat.com>
7624
7625         * benchtests/pthread_once-inputs: New file.
7626         * benchtests/pthread_once-source.c: New file.
7627         * benchtests/README: Update documentation.
7628
7629 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
7630             H.J. Lu  <hongjiu.lu@intel.com>
7631
7632         [BZ #16275]
7633         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
7634         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
7635         * sysdeps/x86_64/configure: Regenerated.
7636         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
7637         macro.
7638         (REGISTER_SAVE_RAX): Likewise.
7639         (REGISTER_SAVE_RCX): Likewise.
7640         (REGISTER_SAVE_RDX): Likewise.
7641         (REGISTER_SAVE_RSI): Likewise.
7642         (REGISTER_SAVE_RDI): Likewise.
7643         (REGISTER_SAVE_R8): Likewise.
7644         (REGISTER_SAVE_R9): Likewise.
7645         (REGISTER_SAVE_BND0): Likewise.
7646         (REGISTER_SAVE_BND1): Likewise.
7647         (REGISTER_SAVE_BND2): Likewise.
7648         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
7649         bound registers when calling _dl_fixup.
7650
7651 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7652
7653         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
7654         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
7655         of its definition.
7656         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
7657         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
7658         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
7659         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
7660         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
7661         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
7662         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
7663
7664 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
7665
7666         [BZ #15514]
7667         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
7668         pathconf(_PC_NAME_MAX).
7669
7670 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7671
7672         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
7673         Remove macro usage.
7674         (__PTHREAD_SPINS): Move definition to ...
7675         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7676         (__PTHREAD_SPINS): ... here.
7677         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7678         (__PTHREAD_SPIN): Likewise.
7679         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
7680         (__PTHREAD_SPIN): Likewise.
7681         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
7682         (__PTHREAD_SPIN): Likewise.
7683         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
7684         (__PTHREAD_SPIN): Likewise.
7685         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7686         (__PTHREAD_SPIN): Likewise.
7687         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7688         (__PTHREAD_SPIN): Likewise.
7689         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
7690         (__PTHREAD_SPIN): Likewise.
7691         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7692         (__PTHREAD_SPIN): Likewise.
7693         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7694         (__PTHREAD_SPIN): Likewise.
7695         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7696         (__PTHREAD_SPIN): Likewise.
7697         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7698         (__PTHREAD_SPIN): Likewise.
7699         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
7700         (__PTHREAD_SPIN): Likewise.
7701
7702         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
7703         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
7704         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
7705         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
7706         imply folder.
7707         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
7708         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
7709         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
7710         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
7711         correct imply path.
7712         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
7713         strlen symbol for non multi-arch builds.
7714         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
7715         missing hidden_def and weak_alias.
7716
7717 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
7718
7719         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
7720
7721 2014-04-07  Will Newton  <will.newton@linaro.org>
7722
7723         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
7724         and contents.  [!_LIBC] Remove #ifndef and contents.
7725         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
7726         * string/memccpy.c (__memccpy): Use ANSI prototype.
7727         * string/memfrob.c (memfrob): Likewise.
7728         * string/strcoll.c (STRCOLL): Likewise.
7729         * string/strlen.c (strlen): Likewise.
7730         * string/strtok.c (STRTOK): Likewise.
7731         * string/strcat.c: Remove unused #include of memcopy.h.
7732         (strcat): Use ANSI prototype.
7733         * string/strchr.c: Remove unused #include of memcopy.h.
7734         (strchr): Use ANSI prototype.
7735         * string/strcmp.c: Remove unused #include of memcopy.h.
7736         (strcmp): Use ANSI prototype.
7737         * string/strcpy.c: Remove unused #include of memcopy.h.
7738         (strcpy): Use ANSI prototype.
7739
7740 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7741
7742         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7743         * config.make.in (config-extra-cppflags): Set it from
7744         libc_extra_cppflags.
7745         * configure.ac (libc_extra_cflags): Make it accumulate over
7746         configure fragments.
7747         (libc_extra_cppflags): New flag.
7748         * configure. Regenerate.
7749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7750         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7751         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7753
7754         [BZ #16815]
7755         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7756         result for FE_DOWNWARD rounding mode.
7757         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7758         Likewise.
7759         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7760
7761 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
7762
7763         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7764         in function argument name.
7765
7766 2014-04-03  David Svoboda  <svoboda@cert.org>
7767
7768         [BZ #5666]
7769         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7770         explicitly.
7771
7772 2014-04-03  Roland McGrath  <roland@hack.frob.com>
7773
7774         * elf/dl-unmap-segments.h: New file.
7775         * sysdeps/generic/ldsodefs.h
7776         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7777         * elf/dl-close.c: Include <dl-unmap-segments.h>.
7778         * elf/dl-fptr.c: Likewise.
7779         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7780         * sysdeps/aarch64/tlsdesc.c: Likewise.
7781         * sysdeps/arm/tlsdesc.c: Likewise.
7782         * sysdeps/i386/tlsdesc.c: Likewise.
7783         * sysdeps/tile/dl-runtime.c: Likewise.
7784         * sysdeps/x86_64/tlsdesc.c: Likewise.
7785         * elf/dl-load.h: New file.
7786         * elf/dl-load.c: Include it.
7787         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7788         Macros moved to dl-load.h.
7789         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7790         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7791         Use _dl_unmap_segments in place of __munmap.
7792         Break out segment-mapping loop into ...
7793         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7794
7795 2014-04-03  Will Newton  <will.newton@linaro.org>
7796
7797         * elf/dl-lookup.c (do_lookup_x): Remove comment
7798         referring to nested function and move variable
7799         declarations down to before first use.
7800
7801 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
7802
7803         [BZ #16799]
7804         [BZ #16800]
7805         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7806         with 0 numerator.
7807         * math/s_catanf.c (__catanf): Likewise.
7808         * math/s_catanh.c (__catanh): Likewise.
7809         * math/s_catanhf.c (__catanhf): Likewise.
7810         * math/s_catanhl.c (__catanhl): Likewise.
7811         * math/s_catanl.c (__catanl): Likewise.
7812         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
7813         by positive zero when computing -Inf result.
7814         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
7815         (catanh_test): Likewise.
7816         * sysdeps/i386/fpu/libm-test-ulps: Update.
7817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7818
7819         [BZ #16789]
7820         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7821         instead of using underflowing value in computing result.
7822         * math/s_clog10.c (__clog10): Likewise.
7823         * math/s_clog10f.c (__clog10f): Likewise.
7824         * math/s_clog10l.c (__clog10l): Likewise.
7825         * math/s_clogf.c (__clogf): Likewise.
7826         * math/s_clogl.c (__clogl): Likewise.
7827         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7828         (clog10_test): Likewise.
7829         * sysdeps/i386/fpu/libm-test-ulps: Update.
7830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7831
7832 2014-04-02  Alan Modra  <amodra@gmail.com>
7833
7834         [BZ #16739]
7835         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7836         output when value is near a power of two.  Use int64_t for lx and
7837         remove casts.  Use decimal rather than hex exponent constants.
7838         Don't use long double multiplication when double will suffice.
7839         * math/libm-test.inc (nextafter_test_data): Add tests.
7840         * NEWS: Add 16739 and 16786 to bug list.
7841
7842         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7843
7844         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7845
7846 2014-04-01  Will Newton  <will.newton@linaro.org>
7847
7848         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7849         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
7850
7851 2014-04-01  Florian Weimer  <fweimer@redhat.com>
7852
7853         [BZ #13347]
7854         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7855         * nptl/tst-setuid2.c: New file.
7856         * nptl/Makefile (xtests): Add tst-setuid2.
7857
7858 2014-04-01  Alan Modra  <amodra@gmail.com>
7859
7860         [BZ #16786]
7861         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7862
7863 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
7864
7865         [BZ #6803]
7866         [BZ #6804]
7867         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7868         set errno as appropriate.
7869         * math/w_scalbf.c (__scalbf): Likewise.
7870         * math/w_scalbl.c (__scalbl): Likewise.
7871         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7872         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7873         * math/libm-test.inc (scalb_test_data): Add errno expectations.
7874         Add more NaN tests.
7875
7876         [BZ #16349]
7877         * math/w_atan2.c: Include <errno.h>.
7878         (__atan2): Set errno for result underflowing to zero.
7879         * math/w_atan2f.c: Include <errno.h>.
7880         (__atan2f): Set errno for result underflowing to zero.
7881         * math/w_atan2l.c: Include <errno.h>.
7882         (__atan2l): Set errno for result underflowing to zero.
7883         * math/auto-libm-test-in: Don't allow missing errno for some atan2
7884         tests.
7885         * math/auto-libm-test-out: Regenerated.
7886
7887 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7888
7889         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7890         Encode instruction correctly in little endian.
7891         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7892         Likewise.
7893         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7894         Likewise.
7895         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7896         Likewise.
7897         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7898         Likewise.
7899
7900 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
7901
7902         [BZ #9894]
7903         * sysdeps/unix/sysv/linux/kernel-features.h
7904         [__sparc__ && !__arch64__ && !__sparc_v9__]
7905         (__ASSUME_SET_ROBUST_LIST): Do not define.
7906         [__sparc__ && !__arch64__ && !__sparc_v9__]
7907         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7908         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7909         Likewise.
7910         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7911         (__ASSUME_FUTEX_LOCK_PI): Undefine.
7912         (__ASSUME_REQUEUE_PI): Likewise.
7913         (__ASSUME_SET_ROBUST_LIST): Likewise.
7914         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7915         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7916         Undefine.
7917         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7918         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7919         Likewise.
7920         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7921         Likewise.
7922         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7923         Likewise.
7924         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7925         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7926         Undefine.
7927         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7928         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7929         Likewise.
7930
7931         [BZ #16648]
7932         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7933         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7934         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7935
7936 2014-03-31  Will Newton  <will.newton@linaro.org>
7937
7938         * benchtests/Makefile (bench): Add ffs and ffsll to list
7939         of tests.
7940         * benchtests/ffs-inputs: New file.
7941         * benchtests/ffsll-inputs: Likewise.
7942
7943 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
7944
7945         [BZ #16770]
7946         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7947         too large before casting to int.
7948         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7949         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7950         * math/libm-test.inc (scalb_test_data): Add more tests.
7951
7952 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7953
7954         * benchtests/Makefile (DETAILED_OPT): New make option.
7955         (bench-func): Run benchmark program with -d if DETAILED_OPT is
7956         set.
7957         * benchtests/bench-skeleton.c: Include stdbool.h.
7958         (main): Store and print timings per input.
7959         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7960         member to each argument value.
7961         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7962         (_print_arg_data): Initialize per-input timing to 0.
7963
7964         * benchtests/Makefile (timing-type): New binary.
7965         (bench-clean): Also remove bench-timing-type.
7966         (bench): New target for timing-type.
7967         (bench-func): Print output in JSON format.
7968         * benchtests/bench-skeleton.c (main): Print output in JSON
7969         format.
7970         * benchtests/bench-timing-type.c: New file.
7971         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7972         (TIMING_PRINT_STATS): Remove.
7973         * benchtests/scripts/bench.py (_print_arg_data): Store variant
7974         name separately.
7975
7976         * benchtests/bench-modf.c: Remove.
7977         * benchtests/modf-inputs: New inputs file.
7978
7979 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
7980
7981         [BZ #16362]
7982         * math/s_clog10.c (M_PI_LOG10E): New macro.
7983         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7984         imaginary parts are 0.
7985         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7986         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7987         imaginary parts are 0.
7988         * math/s_clog10l.c (M_PI_LOG10El): New macro.
7989         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7990         imaginary parts are 0.
7991         * math/libm-test.inc (clog10_test_data): Update expected results
7992         for when real and imaginary parts are 0.
7993
7994 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
7995
7996         * elf/dl-load.c: Finish conversion of __builtin_expect into
7997         __glibc_{un}likely.
7998
7999 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
8000
8001         [BZ #16348]
8002         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
8003         1+x for argument with exponent below -67.
8004         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
8005         Likewise.
8006         * math/auto-libm-test-in: Add more tests of exp.
8007         * math/auto-libm-test-out: Regenerated.
8008
8009 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8010
8011         [BZ #16759]
8012         * inet/getnetgrent_r.c (get_nonempty_val): New function.
8013         (nscd_getnetgrent): Use it.
8014
8015         [BZ #16760]
8016         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
8017         of stpcpy.
8018
8019 2014-03-27  Andi Kleen  <ak@linux.intel.com>
8020
8021         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
8022         (lll_robust_lock, lll_cond_lock, lll_timedlock)
8023         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
8024         (lll_robust_unlock): Remove out of line section. Use cfi
8025         intrinsics.
8026         (LLL_STUB_UNWIND_INFO*): Remove.
8027         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
8028         (lll_robust_lock, lll_cond_lock, lll_timedlock)
8029         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
8030         (lll_robust_unlock): Remove out of line section. Use cfi
8031         intrinsics.
8032         (LLL_STUB_UNWIND_INFO*): Remove.
8033
8034 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8035
8036         [BZ #16758]
8037         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
8038         blank values.
8039
8040 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
8041
8042         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
8043
8044 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
8045
8046         [BZ #16198]
8047         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
8048         fnstenv.
8049         * math/test-fenv-preserve.c: New file.
8050         * math/Makefile (tests): Add test-fenv-preserve.
8051
8052 2014-03-26  Will Newton <will.newton@linaro.org>
8053
8054         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
8055
8056 2014-03-25  Roland McGrath  <roland@hack.frob.com>
8057
8058         * scripts/versionlist.awk: Partition the version sets and emit all
8059         GLIBC_* (sorted) before all others (sorted).
8060
8061 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
8062
8063         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
8064         GLIBC_2.2.5 version.
8065
8066 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8067
8068         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
8069         calls.
8070
8071         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
8072         previous change.
8073
8074         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8075
8076 2014-03-25  Andreas Schwab  <schwab@suse.de>
8077
8078         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
8079         label to be used after in6ailist is initialized.
8080
8081 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8082
8083         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8084         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8085
8086 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
8087
8088         [BZ #16357]
8089         [BZ #16599]
8090         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
8091         min_plus_half.
8092         (fp_formats): Update initializers.
8093         (init_fp_formats): Initialize new field.
8094         (output_for_one_input_case): Allow underflow for results up to
8095         min_plus_half.
8096         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
8097         * math/auto-libm-test-in: Don't mark some underflows from asin and
8098         atanh as spurious.
8099         * math/auto-libm-test-out: Regenerated.
8100         * sysdeps/i386/fpu/libm-test-ulps: Update.
8101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8102
8103 2014-03-25  Andreas Schwab  <schwab@suse.de>
8104
8105         * libio/Makefile (tst-ftell-partial-wide-ENV)
8106         (tst-ftell-active-handler-ENV): Define.
8107
8108 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
8109
8110         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
8111
8112 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
8113
8114         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
8115
8116 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
8117
8118         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
8119         * sysdeps/x86_64/fpu/multiarch/e_exp.c
8120         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8121
8122 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
8123
8124         [BZ #16634]
8125         * elf/dl-load.c (open_verify): Add mode parameter.
8126         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
8127         (open_path): Change from boolean 'secure' to complete flag 'mode'
8128         (_dl_map_object): Adjust.
8129         * elf/Makefile (tests): Add tst-dlopen-aout.
8130         * elf/tst-dlopen-aout.c: New test.
8131
8132 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
8133
8134         [BZ #16714]
8135         * sysdeps/unix/sysv/linux/s390/bits/stat.h
8136         (struct stat): Rename member pad0 to __glibc_reserved0.
8137
8138         [BZ #16712]
8139         * sysdeps/s390/s390-32/bits/wordsize.h
8140         (__WORDSIZE32_SIZE_ULONG): New define.
8141         * sysdeps/s390/s390-64/bits/wordsize.h
8142         (__WORDSIZE32_SIZE_ULONG): Likewise.
8143         * sysdeps/generic/stdint.h (SIZE_MAX):
8144         Define as UL if __WORDSIZE32_SIZE_ULONG.
8145
8146         [BZ #16713]
8147         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
8148         (__glibc_reserved0): New variable.
8149         (sa_flags): Change type to int.
8150
8151         * posix/Makefile (before-compile): Use += before-compile instead
8152         of a :=.
8153
8154         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8155         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8156
8157 2014-03-20  Andreas Schwab  <schwab@suse.de>
8158
8159         [BZ #16743]
8160         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
8161         non-matching result from nscd.
8162
8163 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8164
8165         * scripts/bench.py: Moved to ...
8166         * benchtests/scripts/bench.py: ... here.
8167         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
8168
8169 2014-03-24  Andreas Schwab  <schwab@suse.de>
8170
8171         [BZ #16002]
8172         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
8173         alloca_account and account alloca use for struct in6ailist.
8174
8175 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
8176
8177         [BZ #16284]
8178         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
8179         rounding mode to recompute results that overflow to infinity or
8180         underflow to zero.
8181         * math/auto-libm-test-in: Don't mark tests as expected to fail for
8182         bug 16284.
8183         * math/auto-libm-test-out: Regenerated.
8184         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
8185         (ccosh_test): Likewise.
8186         (csin_test_data): Use plus_oflow.
8187         (csin_test): Use ALL_RM_TEST.
8188         (csinh_test_data): Use plus_oflow.
8189         (csinh_test): Use ALL_RM_TEST.
8190         * sysdeps/i386/fpu/libm-test-ulps: Update.
8191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8192
8193 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
8194
8195         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
8196         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
8197         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
8198
8199         [BZ #16731]
8200         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
8201         when x - 1 is zero.
8202         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
8203         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
8204         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8205         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
8206         argument is 1.
8207         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
8208         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
8209         zero.
8210         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
8211         * sysdeps/i386/fpu/libm-test-ulps: Update.
8212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8213
8214 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8215
8216         * scripts/bench.pl: Remove file.
8217         * scripts/bench.py: New benchmark script.
8218         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
8219         * benchtests/README: Mention python dependency.
8220         * scripts/pylintrc: New file.
8221         * scripts/pylint: New file.
8222
8223         * bits/mathdef.h: Use #ifdef instead of #if.
8224         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
8225         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8226         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
8227         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8228         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
8229         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8230
8231 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8232             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8233
8234         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
8235         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
8236         and strpbrk-ppc64 objects.
8237         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8238         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
8239         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
8240         multiarch strpbrk for POWER7.
8241         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
8242         multiarch strpbrk for PPC64.
8243         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
8244         ifunc selector.
8245         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
8246         strpbrk for POWER7.
8247
8248 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
8249
8250         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
8251         (atan_test): Likewise.
8252         (atanh_test_data): Use NO_TEST_INLINE for two tests.
8253         (atanh_test): Use ALL_RM_TEST.
8254         (atan2_test_data): Likewise.
8255         (cabs_test): Likewise.
8256         (cacosh_test): Likewise.
8257         (carg_test): Likewise.
8258         (casin_test): Likewise.
8259         (casinh_test): Likewise.
8260         (cbrt_test): Likewise.
8261         (csqrt_test): Likewise.
8262         (erf_test): Likewise.
8263         (erfc_test): Likewise.
8264         (pow10_test): Likewise.
8265         (exp2_test): Likewise.
8266         (hypot_test): Likewise.
8267         (j0_test): Likewise.
8268         (j1_test): Likewise.
8269         (lgamma_test): Likewise.
8270         (gamma_test): Likewise.
8271         (sincos_test): Likewise.
8272         (tanh_test): Likewise.
8273         (y0_test): Likewise.
8274         (y1_test): Likewise.
8275         * sysdeps/i386/fpu/libm-test-ulps: Update.
8276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8277
8278 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8279
8280         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
8281         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
8282         and strcspn-ppc64 objects.
8283         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8284         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
8285         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
8286         multiarch strcspn for POWER7.
8287         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
8288         multiarch strcspn for PPC64.
8289         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
8290         ifunc selector.
8291         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
8292         strcspn for POWER7.
8293
8294 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
8295
8296         * math/gen-libm-test.pl (generate_testfile): Expect only function
8297         name as argument to AUTO_TESTS_* and pass results for all rounding
8298         modes to parse_args.
8299         (parse_auto_input): Separate inputs of automatic tests from
8300         outputs before storing in %auto_tests.
8301         * math/libm-test.inc (acos_test_data): Update call to
8302         AUTO_TESTS_f_f.
8303         (acos_test): Use ALL_RM_TEST.
8304         (acos_tonearest_test_data): Remove.
8305         (acos_test_tonearest): Likewise.
8306         (acos_towardzero_test_data): Likewise.
8307         (acos_test_towardzero): Likewise.
8308         (acos_downward_test_data): Likewise.
8309         (acos_test_downward): Likewise.
8310         (acos_upward_test_data): Likewise.
8311         (acos_test_upward): Likewise.
8312         (acosh_test_data): Update call to AUTO_TESTS_f_f.
8313         (asin_test_data): Likewise.
8314         (asin_test): Use ALL_RM_TEST.
8315         (asin_tonearest_test_data): Remove.
8316         (asin_test_tonearest): Likewise.
8317         (asin_towardzero_test_data): Likewise.
8318         (asin_test_towardzero): Likewise.
8319         (asin_downward_test_data): Likewise.
8320         (asin_test_downward): Likewise.
8321         (asin_upward_test_data): Likewise.
8322         (asin_test_upward): Likewise.
8323         (asinh_test_data): Update call to AUTO_TESTS_f_f.
8324         (atan_test_data): Likewise.
8325         (atanh_test_data): Likewise.
8326         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
8327         (cabs_test_data): Update call to AUTO_TESTS_c_f.
8328         (carg_test_data): Likewise.
8329         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
8330         (ccos_test_data): Update call to AUTO_TESTS_c_c.
8331         (ccosh_test_data): Likewise.
8332         (cexp_test_data): Likewise.
8333         (clog_test_data): Likewise.
8334         (clog10_test_data): Likewise.
8335         (cos_test_data): Update call to AUTO_TESTS_f_f.
8336         (cos_test): Use ALL_RM_TEST.
8337         (cos_tonearest_test_data): Remove.
8338         (cos_test_tonearest): Likewise.
8339         (cos_towardzero_test_data): Likewise.
8340         (cos_test_towardzero): Likewise.
8341         (cos_downward_test_data): Likewise.
8342         (cos_test_downward): Likewise.
8343         (cos_upward_test_data): Likewise.
8344         (cos_test_upward): Likewise.
8345         (cosh_test_data): Update call to AUTO_TESTS_f_f.
8346         (cosh_test): Use ALL_RM_TEST.
8347         (cosh_tonearest_test_data): Remove.
8348         (cosh_test_tonearest): Likewise.
8349         (cosh_towardzero_test_data): Likewise.
8350         (cosh_test_towardzero): Likewise.
8351         (cosh_downward_test_data): Likewise.
8352         (cosh_test_downward): Likewise.
8353         (cosh_upward_test_data): Likewise.
8354         (cosh_test_upward): Likewise.
8355         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
8356         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
8357         (ctan_test_data): Likewise.
8358         (ctan_test): Use ALL_RM_TEST.
8359         (ctan_tonearest_test_data): Remove.
8360         (ctan_test_tonearest): Likewise.
8361         (ctan_towardzero_test_data): Likewise.
8362         (ctan_test_towardzero): Likewise.
8363         (ctan_downward_test_data): Likewise.
8364         (ctan_test_downward): Likewise.
8365         (ctan_upward_test_data): Likewise.
8366         (ctan_test_upward): Likewise.
8367         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
8368         (ctanh_test): Use ALL_RM_TEST.
8369         (ctanh_tonearest_test_data): Remove.
8370         (ctanh_test_tonearest): Likewise.
8371         (ctanh_towardzero_test_data): Likewise.
8372         (ctanh_test_towardzero): Likewise.
8373         (ctanh_downward_test_data): Likewise.
8374         (ctanh_test_downward): Likewise.
8375         (ctanh_upward_test_data): Likewise.
8376         (ctanh_test_upward): Likewise.
8377         (erf_test_data): Update call to AUTO_TESTS_f_f.
8378         (erfc_test_data): Likewise.
8379         (exp_test_data): Likewise.
8380         (exp_test): Use ALL_RM_TEST.
8381         (exp_tonearest_test_data): Remove.
8382         (exp_test_tonearest): Likewise.
8383         (exp_towardzero_test_data): Likewise.
8384         (exp_test_towardzero): Likewise.
8385         (exp_downward_test_data): Likewise.
8386         (exp_test_downward): Likewise.
8387         (exp_upward_test_data): Likewise.
8388         (exp_test_upward): Likewise.
8389         (exp10_test_data): Update call to AUTO_TESTS_f_f.
8390         (exp10_test): Use ALL_RM_TEST.
8391         (exp10_tonearest_test_data): Remove.
8392         (exp10_test_tonearest): Likewise.
8393         (exp10_towardzero_test_data): Likewise.
8394         (exp10_test_towardzero): Likewise.
8395         (exp10_downward_test_data): Likewise.
8396         (exp10_test_downward): Likewise.
8397         (exp10_upward_test_data): Likewise.
8398         (exp10_test_upward): Likewise.
8399         (exp2_test_data): Update call to AUTO_TESTS_f_f.
8400         (expm1_test_data): Likewise.
8401         (expm1_test): Use ALL_RM_TEST.
8402         (expm1_tonearest_test_data): Remove.
8403         (expm1_test_tonearest): Likewise.
8404         (expm1_towardzero_test_data): Likewise.
8405         (expm1_test_towardzero): Likewise.
8406         (expm1_downward_test_data): Likewise.
8407         (expm1_test_downward): Likewise.
8408         (expm1_upward_test_data): Likewise.
8409         (expm1_test_upward): Likewise.
8410         (fma_test_data): Update call to AUTO_TESTS_fff_f.
8411         (fma_test): Use ALL_RM_TEST.
8412         (fma_towardzero_test_data): Remove.
8413         (fma_test_towardzero): Likewise.
8414         (fma_downward_test_data): Likewise.
8415         (fma_test_downward): Likewise.
8416         (fma_upward_test_data): Likewise.
8417         (fma_test_upward): Likewise.
8418         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
8419         (j0_test_data): Update call to AUTO_TESTS_f_f.
8420         (j1_test_data): Likewise.
8421         (jn_test_data): Update call to AUTO_TESTS_if_f.
8422         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
8423         (log_test_data): Update call to AUTO_TESTS_f_f.
8424         (log10_test_data): Likewise.
8425         (log1p_test_data): Likewise.
8426         (log2_test_data): Likewise.
8427         (pow_test_data): Update call to AUTO_TESTS_ff_f.
8428         (pow_tonearest_test_data): Likewise.
8429         (sin_test_data): Update call to AUTO_TESTS_f_f.
8430         (sin_test): Use ALL_RM_TEST.
8431         (sin_tonearest_test_data): Remove.
8432         (sin_test_tonearest): Likewise.
8433         (sin_towardzero_test_data): Likewise.
8434         (sin_test_towardzero): Likewise.
8435         (sin_downward_test_data): Likewise.
8436         (sin_test_downward): Likewise.
8437         (sin_upward_test_data): Likewise.
8438         (sin_test_upward): Likewise.
8439         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
8440         (sinh_test_data): Update call to AUTO_TESTS_f_f.
8441         (sinh_test): Use ALL_RM_TEST.
8442         (sinh_tonearest_test_data): Remove.
8443         (sinh_test_tonearest): Likewise.
8444         (sinh_towardzero_test_data): Likewise.
8445         (sinh_test_towardzero): Likewise.
8446         (sinh_downward_test_data): Likewise.
8447         (sinh_test_downward): Likewise.
8448         (sinh_upward_test_data): Likewise.
8449         (sinh_test_upward): Likewise.
8450         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
8451         (sqrt_test): Use ALL_RM_TEST.
8452         (sqrt_tonearest_test_data): Remove.
8453         (sqrt_test_tonearest): Likewise.
8454         (sqrt_towardzero_test_data): Likewise.
8455         (sqrt_test_towardzero): Likewise.
8456         (sqrt_downward_test_data): Likewise.
8457         (sqrt_test_downward): Likewise.
8458         (sqrt_upward_test_data): Likewise.
8459         (sqrt_test_upward): Likewise.
8460         (tan_test_data): Update call to AUTO_TESTS_f_f.
8461         (tan_test): Use ALL_RM_TEST.
8462         (tan_tonearest_test_data): Remove.
8463         (tan_test_tonearest): Likewise.
8464         (tan_towardzero_test_data): Likewise.
8465         (tan_test_towardzero): Likewise.
8466         (tan_downward_test_data): Likewise.
8467         (tan_test_downward): Likewise.
8468         (tan_upward_test_data): Likewise.
8469         (tan_test_upward): Likewise.
8470         (tanh_test_data): Update call to AUTO_TESTS_f_f.
8471         (tgamma_test_data): Likewise.
8472         (y0_test_data): Likewise.
8473         (y1_test_data): Likewise.
8474         (yn_test_data): Update call to AUTO_TESTS_if_f.
8475         (main): Do not call removed functions.
8476
8477 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
8478
8479         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
8480         (ldexp_test_data): Remove.
8481         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
8482         scalbn_test_data.
8483         (scalb_test): Use ALL_RM_TEST.
8484
8485 2014-03-19  Andreas Schwab  <schwab@suse.de>
8486
8487         * nscd/nscd.service: Also invalidate netgroup cache on reload.
8488
8489 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
8490
8491         [BZ #16649]
8492         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8493         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
8494         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
8495         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8496         (__ASSUME_PREADV): Undefine.
8497         (__ASSUME_PWRITEV): Likewise.
8498
8499 2014-03-18  Roland McGrath  <roland@hack.frob.com>
8500
8501         * bits/mman-linux.h: Add comment about non-Linux use.
8502         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
8503         bits/mman-linux.h resting place.
8504
8505         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
8506         * bits/mman-linux.h: ... here.
8507
8508 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8509
8510         * conform/conformtest.pl: Add standard definition when calling C
8511         preprocessor on data files.
8512         (checknamespace): Remove unused variable.
8513
8514 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
8515
8516         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
8517         minus_oflow, plus_uflow and minus_uflow in expected results.
8518         * math/libm-test.inc (scalbn_test_data): Add more tests of
8519         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
8520         minus_uflow.
8521         (scalbn_test): Use ALL_RM_TEST.
8522         (scalbln_test_data): Add more tests of negative arguments.  Use
8523         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
8524         (scalbln_test): Use ALL_RM_TEST.
8525
8526 2014-03-18  Roland McGrath  <roland@hack.frob.com>
8527
8528         * scripts/abilist.awk: Ignore symbols marked with .hidden.
8529
8530 2014-03-18  Will Newton  <will.newton@linaro.org>
8531
8532         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
8533         inaccurate comment.
8534
8535 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
8536
8537         * Makerules [!subdir] (check-abi): Exit with error status if a
8538         test failed.
8539
8540 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
8541
8542         * math/libm-test.inc (nearbyint_test_data): Include all tests used
8543         for rint.  Include results for all rounding modes.
8544         (nearbyint_test): Use ALL_RM_TEST.
8545         (rint_test_data): Include all tests used for nearbyint.
8546
8547 2014-03-17  Will Newton  <will.newton@linaro.org>
8548
8549         * nptl/sysdeps/pthread/pthread.h: Revert previous
8550         change.
8551
8552         * sysdeps/generic/ldsodefs.h: Revert previous
8553         change.
8554
8555         * libio/genops.c: Revert previous change.
8556         * libio/libioP.h: Likewise.
8557         * stdio-common/vfprintf.c: Likewise.
8558
8559         * sysdeps/generic/math_private.h: Revert previous
8560         change.
8561
8562         * sysdeps/generic/math_private.h: Check whether
8563         HAVE_RM_CTX is defined with #ifdef rather
8564         than #if.
8565
8566         * argp/argp-fmtstream.h: Check whether
8567         __STRICT_ANSI__ is defined with #ifdef rather
8568         than #if.
8569         * argp/argp.h: Likewise.
8570
8571         * libio/genops.c: Check whether
8572         _IO_JUMPS_OFFSET is defined with #ifdef rather
8573         than #if.
8574         * libio/libioP.h: Likewise.
8575         * stdio-common/vfprintf.c: Likewise.
8576
8577         * sysdeps/generic/ldsodefs.h: Check whether
8578         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
8579         than #if.
8580
8581         * nptl/sysdeps/pthread/pthread.h: Check
8582         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
8583         its value.
8584
8585 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
8586
8587         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
8588         setting O_APPEND.
8589         * libio/tst-ftell-active-handler.c (do_append_test): Add a
8590         test case.
8591
8592         [BZ #16680]
8593         * libio/fileops.c (_IO_file_open): Seek to end of file but
8594         don't cache the offset.
8595         (get_file_offset): Remove function.
8596         (do_ftell): Use cached offset when available.
8597         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
8598         don't cache the offset.
8599         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
8600         case.
8601         (do_one_test): Call it.
8602         (do_ftell_test): Fix up expected old offset for a+ mode.
8603         * libio/wfileops.c (do_ftell_wide): Used cached offset when
8604         available.
8605
8606         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
8607         up test status with function return status.
8608         (do_write_test): Likewise.
8609         (do_append_test): Likewise.
8610
8611         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
8612         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
8613         Remove.
8614
8615 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
8616
8617         * math/gen-libm-test.pl (parse_args): Handle results specified for
8618         each rounding mode separately.
8619         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
8620         tests and results from lrint_tonearest_test_data,
8621         lrint_towardzero_test_data, lrint_downward_test_data and
8622         lrint_upward_test_data.
8623         (lrint_test): Use ALL_RM_TEST.
8624         (lrint_tonearest_test_data): Remove.
8625         (lrint_test_tonearest): Likewise.
8626         (lrint_towardzero_test_data): Likewise.
8627         (lrint_test_towardzero): Likewise.
8628         (lrint_downward_test_data): Likewise.
8629         (lrint_test_downward): Likewise.
8630         (lrint_upward_test_data): Likewise.
8631         (lrint_test_upward): Likewise.
8632         (llrint_test_data): Merge in per-rounding-mode tests and results
8633         from llrint_tonearest_test_data, llrint_towardzero_test_data,
8634         llrint_downward_test_data and llrint_upward_test_data.
8635         (llrint_test): Use ALL_RM_TEST.
8636         (llrint_tonearest_test_data): Remove.
8637         (llrint_test_tonearest): Likewise.
8638         (llrint_towardzero_test_data): Likewise.
8639         (llrint_test_towardzero): Likewise.
8640         (llrint_downward_test_data): Likewise.
8641         (llrint_test_downward): Likewise.
8642         (llrint_upward_test_data): Likewise.
8643         (llrint_test_upward): Likewise.
8644         (rint_test_data): Merge in per-rounding-mode tests and results
8645         from rint_tonearest_test_data, rint_towardzero_test_data,
8646         rint_downward_test_data and rint_upward_test_data.  Add
8647         per-rounding-mode results for tests not in those arrays.
8648         (rint_test): Use ALL_RM_TEST.
8649         (rint_tonearest_test_data): Remove.
8650         (rint_test_tonearest): Likewise.
8651         (rint_towardzero_test_data): Likewise.
8652         (rint_test_towardzero): Likewise.
8653         (rint_downward_test_data): Likewise.
8654         (rint_test_downward): Likewise.
8655         (rint_upward_test_data): Likewise.
8656         (rint_test_upward): Likewise.
8657         (main): Don't call removed functions.
8658
8659 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8660
8661         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
8662         "Compiled on ..." crapola.  It is anti-useful.
8663
8664 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
8665
8666         * scripts/evaluate-test.sh: Handle fourth argument to determine
8667         whether test run should stop on failure.
8668         * Makeconfig (stop-on-test-failure): New variable.
8669         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
8670         $(stop-on-test-failure).
8671         * Makefile (tests): Give a summary of results from testing and
8672         exit with failure status if they include an ERROR or FAIL.
8673         (xtests): Likewise.
8674         * manual/install.texi (Configuring and compiling): Mention
8675         stop-on-test-failure=y.
8676         * INSTALL: Regenerated.
8677
8678 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8679
8680         * scripts/versionlist.awk: New file.
8681         * Makerules [$(build-shared) = yes]
8682         (postclean-generated): Add Versions.def, not Versions.def.v and
8683         Versions.def.v.i.
8684         ($(common-objpfx)Versions.def.v.i): Target removed.
8685         ($(common-objpfx)Versions.def): New target.
8686         ($(common-objpfx)Versions.all): Depend on that rather that
8687         $(common-objpfx)Versions.def.v.
8688         * Versions.def: File removed.
8689
8690         * Makeconfig (+gccwarn): Add -Wundef.
8691         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
8692         a dl-sysdep.h breaking its contract.
8693         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
8694         * include/stackinfo.h: New file.
8695         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
8696         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
8697         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
8698         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
8699         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
8700         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
8701         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8702         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8703         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8704         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8705         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8706         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
8707         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8708         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8709         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8710
8711 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8712
8713         [BZ #16707]
8714         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
8715         implementation.
8716         * math/libm-test.inc (round_test_data): Add more tests.
8717
8718         [BZ #16706]
8719         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
8720         implementation.
8721         * math/libm-test.inc (nearbyint_test_data): Add more tests.
8722
8723         [BZ #16701]
8724         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
8725         implementation.
8726         * math/libm-test.inc (ceil_test_data): Add more tests.
8727
8728         * math/libm-test.inc (trunc_test_data): Add more tests related to
8729         BZ#16414.
8730
8731 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8732
8733         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
8734         with #if rather than #ifdef.
8735         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8736
8737 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
8738
8739         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8740         first.  Disable AVX-512 GCC support if assembler doesn't support
8741         it.
8742         * sysdeps/x86_64/configure: Regenerated.
8743
8744 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
8745
8746         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8747         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8748         (__old_pthread_attr_setstack): Likewise.
8749         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8750         [!_STACK_GROWS_DOWN]: Likewise.
8751
8752 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
8753
8754         * config.make.in (have-bash2): Delete.
8755         * configure.ac (libc_cv_have_bash2): Delete.
8756         * configure: Regenerate.
8757         * elf/Makefile (common-ldd-rewrite): Rename to ...
8758         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
8759         (sh-ldd-rewrite): Delete.
8760         (bash-ldd-rewrite): Delete.
8761         (have-bash2): Delete checks.
8762         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8763         ldd-rewrite.
8764
8765         * config.make.in (have-ksh): Delete.
8766         (KSH): Delete.
8767         * configure.ac (libc_cv_have_ksh): Delete.
8768         * configure: Regenerate.
8769
8770         * elf/Makefile: Delete $(have-ksh) check.
8771         ($(objpfx)sotruss): Change KSH to BASH.
8772         * elf/sotruss.ksh: Rename to ...
8773         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
8774         function style to match POSIX.  Drop ksh vim mode setting.
8775
8776         * manual/time.texi (Specifying the Time Zone with TZ): Change
8777         Tuesday to Thursday.
8778
8779         * debug/tst-longjmp_chk2.c: Update header comment.
8780         (stackoverflow_handler): Add comment.  Call assert on pass value.
8781
8782 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
8783
8784         [BZ #16194]
8785         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8786         (HAVE_AVX512_ASM_SUPPORT): Likewise.
8787         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8788         (La_x86_64_vector): Add zmm.
8789         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8790         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8791         ($(objpfx)tst-audit10): New target.
8792         ($(objpfx)tst-audit10.out): Likewise.
8793         (tst-audit10-ENV): New.
8794         (AVX512-CFLAGS): Likewise.
8795         (CFLAGS-tst-audit10.c): Likewise.
8796         (CFLAGS-tst-auditmod10a.c): Likewise.
8797         (CFLAGS-tst-auditmod10b.c): Likewise.
8798         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8799         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8800         * sysdeps/x86_64/configure: Regenerated.
8801         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8802         AVX-512 zmm register support.
8803         (_dl_x86_64_save_sse): Likewise.
8804         (_dl_x86_64_restore_sse): Likewise.
8805         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8806         size vector registers.
8807         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8808         (ZMM_SIZE): Likewise.
8809         * sysdeps/x86_64/tst-audit10.c: New file.
8810         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8811         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8812
8813 2014-03-13  Roland McGrath  <roland@hack.frob.com>
8814
8815         * configure.ac (HAVE_EHDR_START): New check.
8816         * configure: Regenerated.
8817         * config.h.in (HAVE_EHDR_START): New #undef.
8818         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8819         assuming the lowest-addressed segment maps the start of the file.
8820
8821 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
8822
8823         * INSTALL: Regenerated.
8824
8825 2014-03-13  Will Newton  <will.newton@linaro.org>
8826
8827         * manual/setjmp.texi (System V contexts): Improve
8828         clarity and grammar of documentation.
8829
8830 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
8831
8832         [BZ #16381]
8833         * elf/Makefile (tests): Add tst-pie2.
8834         (tests-pie): Add tst-pie2.
8835         * elf/tst-pie2.c: New file.
8836         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8837         for ET_EXEC.
8838         * elf/rtld.c (map_doit): Load executable as lt_executable.
8839         (dl_main): Likewise.
8840
8841 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
8842
8843         [BZ #16642]
8844         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8845         (__ASSUME_PSELECT): Undefine.
8846
8847 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8848
8849         [BZ #16689]
8850         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8851         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8852         static build.
8853         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8854         selector for static builds.
8855
8856 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8857
8858         [BZ #16695]
8859         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8860         key in the buffer.
8861
8862 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8863
8864         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8865         IFUNC selector for static builds.
8866
8867 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
8868
8869         * sysdeps/mips/math_private.h [__mips_hard_float]
8870         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8871         libc_feresetround_mips_ctx.
8872         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8873         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8874         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8875
8876         [BZ #16677]
8877         * math/s_nextafter.c (__nextafter): Do not return value from
8878         overflowing computation.
8879         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8880         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8881         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8882         Likewise.
8883         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8884         Likewise.
8885         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8886         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8887
8888 2014-03-11  Roland McGrath  <roland@hack.frob.com>
8889
8890         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8891         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8892         Move sfi_sp use from the load-multiple (that no longer sets sp) to
8893         the new mov targetting sp.
8894
8895 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8896
8897         [BZ #16683]
8898         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8899         Define it for static builds as well.
8900         (NO_BZERO_IMPL): Likewise.
8901
8902 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8903
8904         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8905         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8906         multiarch strspn for PPC64.
8907         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8908         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8909         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8910         (__libc_ifunc_impl_list): Likewise.
8911         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8912         multiarch optimizations
8913         * string/strspn.c (strspn): Using macro to redefine symbol name.
8914
8915 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8916             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8917
8918         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8919         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8920         multiarch strncat for PPC64.
8921         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8922         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8923         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8924         (__libc_ifunc_impl_list): Likewise.
8925         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8926         multiarch optimizations
8927
8928 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8929
8930         [BZ #16639]
8931         * nscd/nscd.service: Make service type forking.
8932
8933 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8934
8935         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8936         sign in non default rounding modes.
8937         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8938
8939 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
8940
8941         * math/libm-test.inc (ALL_RM_TEST): New macro.
8942         (ceil_test): Use ALL_RM_TEST.
8943         (cimag_test): Likewise.
8944         (conj_test): Likewise.
8945         (copysign_test): Likewise.
8946         (cproj_test): Likewise.
8947         (creal_test): Likewise.
8948         (fabs_test): Likewise.
8949         (floor_test): Likewise.
8950         (fmax_test): Likewise.
8951         (fmin_test): Likewise.
8952         (fmod_test): Likewise.
8953         (fpclassify_test): Likewise.
8954         (frexp_test): Likewise.
8955         (ilogb_test): Likewise.
8956         (isfinite_test): Likewise.
8957         (finite_test): Likewise.
8958         (isgreater_test): Likewise.
8959         (isgreaterequal_test): Likewise.
8960         (isinf_test): Likewise.
8961         (isless_test): Likewise.
8962         (islessequal_test): Likewise.
8963         (islessgreater_test): Likewise.
8964         (isnan_test): Likewise.
8965         (isnormal_test): Likewise.
8966         (issignaling_test): Likewise.
8967         (isunordered_test): Likewise.
8968         (logb_test): Likewise.
8969         (logb_downward_test_data): Remove.
8970         (logb_test_downward): Likewise.
8971         (lround_test): Use ALL_RM_TEST.
8972         (llround_test): Likewise.
8973         (modf_test): Likewise.
8974         (nexttoward_test): Likewise.
8975         (remainder_test): Likewise.
8976         (drem_test): Likewise.
8977         (remainder_tonearest_test_data): Likewise.
8978         (remainder_test_tonearest): Likewise.
8979         (drem_test_tonearest): Likewise.
8980         (remainder_towardzero_test_data): Likewise.
8981         (remainder_test_towardzero): Likewise.
8982         (drem_test_towardzero): Likewise.
8983         (remainder_downward_test_data): Likewise.
8984         (remainder_test_downward): Likewise.
8985         (drem_test_downward): Likewise.
8986         (remainder_upward_test_data): Likewise.
8987         (remainder_test_upward): Likewise.
8988         (drem_test_upward): Likewise.
8989         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
8990         (round_test): Use ALL_RM_TEST.
8991         (signbit_test): Likewise.
8992         (trunc_test): Likewise.
8993         (significand_test): Likewise.
8994         (main): Don't call removed functions.
8995
8996 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
8997
8998         [BZ #16674]
8999         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
9000         || __USE_XOPEN2K8].
9001         (ILL_ILLOPN): Likewise.
9002         (ILL_ILLADR): Likewise.
9003         (ILL_ILLTRP): Likewise.
9004         (ILL_PRVOPC): Likewise.
9005         (ILL_PRVREG): Likewise.
9006         (ILL_COPROC): Likewise.
9007         (ILL_BADSTK): Likewise.
9008         (FPE_INTDIV): Likewise.
9009         (FPE_INTOVF): Likewise.
9010         (FPE_FLTDIV): Likewise.
9011         (FPE_FLTOVF): Likewise.
9012         (FPE_FLTUND): Likewise.
9013         (FPE_FLTRES): Likewise.
9014         (FPE_FLTINV): Likewise.
9015         (FPE_FLTSUB): Likewise.
9016         (SEGV_MAPERR): Likewise.
9017         (SEGV_ACCERR): Likewise.
9018         (BUS_ADRALN): Likewise.
9019         (BUS_ADRERR): Likewise.
9020         (BUS_OBJERR): Likewise.
9021         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9022         (TRAP_TRACE): Likewise.
9023         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9024         __USE_XOPEN2K8].
9025         (CLD_KILLED): Likewise.
9026         (CLD_DUMPED): Likewise.
9027         (CLD_TRAPPED): Likewise.
9028         (CLD_STOPPED): Likewise.
9029         (CLD_CONTINUED): Likewise.
9030         (POLL_IN): Likewise.
9031         (POLL_OUT): Likewise.
9032         (POLL_MSG): Likewise.
9033         (POLL_ERR): Likewise.
9034         (POLL_PRI): Likewise.
9035         (POLL_HUP): Likewise.
9036         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
9037         Likewise.
9038         (ILL_ILLOPN): Likewise.
9039         (ILL_ILLADR): Likewise.
9040         (ILL_ILLTRP): Likewise.
9041         (ILL_PRVOPC): Likewise.
9042         (ILL_PRVREG): Likewise.
9043         (ILL_COPROC): Likewise.
9044         (ILL_BADSTK): Likewise.
9045         (FPE_INTDIV): Likewise.
9046         (FPE_INTOVF): Likewise.
9047         (FPE_FLTDIV): Likewise.
9048         (FPE_FLTOVF): Likewise.
9049         (FPE_FLTUND): Likewise.
9050         (FPE_FLTRES): Likewise.
9051         (FPE_FLTINV): Likewise.
9052         (FPE_FLTSUB): Likewise.
9053         (SEGV_MAPERR): Likewise.
9054         (SEGV_ACCERR): Likewise.
9055         (BUS_ADRALN): Likewise.
9056         (BUS_ADRERR): Likewise.
9057         (BUS_OBJERR): Likewise.
9058         (BUS_MCEERR_AR): Likewise.
9059         (BUS_MCEERR_AO): Likewise.
9060         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9061         (TRAP_TRACE): Likewise.
9062         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9063         __USE_XOPEN2K8].
9064         (CLD_KILLED): Likewise.
9065         (CLD_DUMPED): Likewise.
9066         (CLD_TRAPPED): Likewise.
9067         (CLD_STOPPED): Likewise.
9068         (CLD_CONTINUED): Likewise.
9069         (POLL_IN): Likewise.
9070         (POLL_OUT): Likewise.
9071         (POLL_MSG): Likewise.
9072         (POLL_ERR): Likewise.
9073         (POLL_PRI): Likewise.
9074         (POLL_HUP): Likewise.
9075         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
9076         (ILL_ILLOPN): Likewise.
9077         (ILL_ILLADR): Likewise.
9078         (ILL_ILLTRP): Likewise.
9079         (ILL_PRVOPC): Likewise.
9080         (ILL_PRVREG): Likewise.
9081         (ILL_COPROC): Likewise.
9082         (ILL_BADSTK): Likewise.
9083         (FPE_INTDIV): Likewise.
9084         (FPE_INTOVF): Likewise.
9085         (FPE_FLTDIV): Likewise.
9086         (FPE_FLTOVF): Likewise.
9087         (FPE_FLTUND): Likewise.
9088         (FPE_FLTRES): Likewise.
9089         (FPE_FLTINV): Likewise.
9090         (FPE_FLTSUB): Likewise.
9091         (SEGV_MAPERR): Likewise.
9092         (SEGV_ACCERR): Likewise.
9093         (BUS_ADRALN): Likewise.
9094         (BUS_ADRERR): Likewise.
9095         (BUS_OBJERR): Likewise.
9096         (BUS_MCEERR_AR): Likewise.
9097         (BUS_MCEERR_AO): Likewise.
9098         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9099         (TRAP_TRACE): Likewise.
9100         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9101         __USE_XOPEN2K8].
9102         (CLD_KILLED): Likewise.
9103         (CLD_DUMPED): Likewise.
9104         (CLD_TRAPPED): Likewise.
9105         (CLD_STOPPED): Likewise.
9106         (CLD_CONTINUED): Likewise.
9107         (POLL_IN): Likewise.
9108         (POLL_OUT): Likewise.
9109         (POLL_MSG): Likewise.
9110         (POLL_ERR): Likewise.
9111         (POLL_PRI): Likewise.
9112         (POLL_HUP): Likewise.
9113         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
9114         Likewise.
9115         (ILL_ILLOPN): Likewise.
9116         (ILL_ILLADR): Likewise.
9117         (ILL_ILLTRP): Likewise.
9118         (ILL_PRVOPC): Likewise.
9119         (ILL_PRVREG): Likewise.
9120         (ILL_COPROC): Likewise.
9121         (ILL_BADSTK): Likewise.
9122         (ILL_BADIADDR): Likewise.
9123         (ILL_BREAK): Likewise.
9124         (FPE_INTDIV): Likewise.
9125         (FPE_INTOVF): Likewise.
9126         (FPE_FLTDIV): Likewise.
9127         (FPE_FLTOVF): Likewise.
9128         (FPE_FLTUND): Likewise.
9129         (FPE_FLTRES): Likewise.
9130         (FPE_FLTINV): Likewise.
9131         (FPE_FLTSUB): Likewise.
9132         (FPE_DECOVF): Likewise.
9133         (FPE_DECDIV): Likewise.
9134         (FPE_DECERR): Likewise.
9135         (FPE_INVASC): Likewise.
9136         (FPE_INVDEC): Likewise.
9137         (SEGV_MAPERR): Likewise.
9138         (SEGV_ACCERR): Likewise.
9139         (SEGV_PSTKOVF): Likewise.
9140         (BUS_ADRALN): Likewise.
9141         (BUS_ADRERR): Likewise.
9142         (BUS_OBJERR): Likewise.
9143         (BUS_MCEERR_AR): Likewise.
9144         (BUS_MCEERR_AO): Likewise.
9145         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9146         (TRAP_TRACE): Likewise.
9147         (TRAP_BRANCH): Likewise.
9148         (TRAP_HWBKPT): Likewise.
9149         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9150         __USE_XOPEN2K8].
9151         (CLD_KILLED): Likewise.
9152         (CLD_DUMPED): Likewise.
9153         (CLD_TRAPPED): Likewise.
9154         (CLD_STOPPED): Likewise.
9155         (CLD_CONTINUED): Likewise.
9156         (POLL_IN): Likewise.
9157         (POLL_OUT): Likewise.
9158         (POLL_MSG): Likewise.
9159         (POLL_ERR): Likewise.
9160         (POLL_PRI): Likewise.
9161         (POLL_HUP): Likewise.
9162         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
9163         (ILL_ILLOPN): Likewise.
9164         (ILL_ILLADR): Likewise.
9165         (ILL_ILLTRP): Likewise.
9166         (ILL_PRVOPC): Likewise.
9167         (ILL_PRVREG): Likewise.
9168         (ILL_COPROC): Likewise.
9169         (ILL_BADSTK): Likewise.
9170         (FPE_INTDIV): Likewise.
9171         (FPE_INTOVF): Likewise.
9172         (FPE_FLTDIV): Likewise.
9173         (FPE_FLTOVF): Likewise.
9174         (FPE_FLTUND): Likewise.
9175         (FPE_FLTRES): Likewise.
9176         (FPE_FLTINV): Likewise.
9177         (FPE_FLTSUB): Likewise.
9178         (SEGV_MAPERR): Likewise.
9179         (SEGV_ACCERR): Likewise.
9180         (BUS_ADRALN): Likewise.
9181         (BUS_ADRERR): Likewise.
9182         (BUS_OBJERR): Likewise.
9183         (BUS_MCEERR_AR): Likewise.
9184         (BUS_MCEERR_AO): Likewise.
9185         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9186         (TRAP_TRACE): Likewise.
9187         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9188         __USE_XOPEN2K8].
9189         (CLD_KILLED): Likewise.
9190         (CLD_DUMPED): Likewise.
9191         (CLD_TRAPPED): Likewise.
9192         (CLD_STOPPED): Likewise.
9193         (CLD_CONTINUED): Likewise.
9194         (POLL_IN): Likewise.
9195         (POLL_OUT): Likewise.
9196         (POLL_MSG): Likewise.
9197         (POLL_ERR): Likewise.
9198         (POLL_PRI): Likewise.
9199         (POLL_HUP): Likewise.
9200         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
9201         (ILL_ILLOPN): Likewise.
9202         (ILL_ILLADR): Likewise.
9203         (ILL_ILLTRP): Likewise.
9204         (ILL_PRVOPC): Likewise.
9205         (ILL_PRVREG): Likewise.
9206         (ILL_COPROC): Likewise.
9207         (ILL_BADSTK): Likewise.
9208         (FPE_INTDIV): Likewise.
9209         (FPE_INTOVF): Likewise.
9210         (FPE_FLTDIV): Likewise.
9211         (FPE_FLTOVF): Likewise.
9212         (FPE_FLTUND): Likewise.
9213         (FPE_FLTRES): Likewise.
9214         (FPE_FLTINV): Likewise.
9215         (FPE_FLTSUB): Likewise.
9216         (SEGV_MAPERR): Likewise.
9217         (SEGV_ACCERR): Likewise.
9218         (BUS_ADRALN): Likewise.
9219         (BUS_ADRERR): Likewise.
9220         (BUS_OBJERR): Likewise.
9221         (BUS_MCEERR_AR): Likewise.
9222         (BUS_MCEERR_AO): Likewise.
9223         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9224         (TRAP_TRACE): Likewise.
9225         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9226         __USE_XOPEN2K8].
9227         (CLD_KILLED): Likewise.
9228         (CLD_DUMPED): Likewise.
9229         (CLD_TRAPPED): Likewise.
9230         (CLD_STOPPED): Likewise.
9231         (CLD_CONTINUED): Likewise.
9232         (POLL_IN): Likewise.
9233         (POLL_OUT): Likewise.
9234         (POLL_MSG): Likewise.
9235         (POLL_ERR): Likewise.
9236         (POLL_PRI): Likewise.
9237         (POLL_HUP): Likewise.
9238         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
9239         (ILL_ILLOPN): Likewise.
9240         (ILL_ILLADR): Likewise.
9241         (ILL_ILLTRP): Likewise.
9242         (ILL_PRVOPC): Likewise.
9243         (ILL_PRVREG): Likewise.
9244         (ILL_COPROC): Likewise.
9245         (ILL_BADSTK): Likewise.
9246         (FPE_INTDIV): Likewise.
9247         (FPE_INTOVF): Likewise.
9248         (FPE_FLTDIV): Likewise.
9249         (FPE_FLTOVF): Likewise.
9250         (FPE_FLTUND): Likewise.
9251         (FPE_FLTRES): Likewise.
9252         (FPE_FLTINV): Likewise.
9253         (FPE_FLTSUB): Likewise.
9254         (SEGV_MAPERR): Likewise.
9255         (SEGV_ACCERR): Likewise.
9256         (BUS_ADRALN): Likewise.
9257         (BUS_ADRERR): Likewise.
9258         (BUS_OBJERR): Likewise.
9259         (BUS_MCEERR_AR): Likewise.
9260         (BUS_MCEERR_AO): Likewise.
9261         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9262         (TRAP_TRACE): Likewise.
9263         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9264         __USE_XOPEN2K8].
9265         (CLD_KILLED): Likewise.
9266         (CLD_DUMPED): Likewise.
9267         (CLD_TRAPPED): Likewise.
9268         (CLD_STOPPED): Likewise.
9269         (CLD_CONTINUED): Likewise.
9270         (POLL_IN): Likewise.
9271         (POLL_OUT): Likewise.
9272         (POLL_MSG): Likewise.
9273         (POLL_ERR): Likewise.
9274         (POLL_PRI): Likewise.
9275         (POLL_HUP): Likewise.
9276         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
9277         (ILL_ILLOPN): Likewise.
9278         (ILL_ILLADR): Likewise.
9279         (ILL_ILLTRP): Likewise.
9280         (ILL_PRVOPC): Likewise.
9281         (ILL_PRVREG): Likewise.
9282         (ILL_COPROC): Likewise.
9283         (ILL_BADSTK): Likewise.
9284         (ILL_DBLFLT): Likewise.
9285         (ILL_HARDWALL): Likewise.
9286         (FPE_INTDIV): Likewise.
9287         (FPE_INTOVF): Likewise.
9288         (FPE_FLTDIV): Likewise.
9289         (FPE_FLTOVF): Likewise.
9290         (FPE_FLTUND): Likewise.
9291         (FPE_FLTRES): Likewise.
9292         (FPE_FLTINV): Likewise.
9293         (FPE_FLTSUB): Likewise.
9294         (SEGV_MAPERR): Likewise.
9295         (SEGV_ACCERR): Likewise.
9296         (BUS_ADRALN): Likewise.
9297         (BUS_ADRERR): Likewise.
9298         (BUS_OBJERR): Likewise.
9299         (BUS_MCEERR_AR): Likewise.
9300         (BUS_MCEERR_AO): Likewise.
9301         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9302         (TRAP_TRACE): Likewise.
9303         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9304         __USE_XOPEN2K8].
9305         (CLD_KILLED): Likewise.
9306         (CLD_DUMPED): Likewise.
9307         (CLD_TRAPPED): Likewise.
9308         (CLD_STOPPED): Likewise.
9309         (CLD_CONTINUED): Likewise.
9310         (POLL_IN): Likewise.
9311         (POLL_OUT): Likewise.
9312         (POLL_MSG): Likewise.
9313         (POLL_ERR): Likewise.
9314         (POLL_PRI): Likewise.
9315         (POLL_HUP): Likewise.
9316         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
9317         (ILL_ILLOPN): Likewise.
9318         (ILL_ILLADR): Likewise.
9319         (ILL_ILLTRP): Likewise.
9320         (ILL_PRVOPC): Likewise.
9321         (ILL_PRVREG): Likewise.
9322         (ILL_COPROC): Likewise.
9323         (ILL_BADSTK): Likewise.
9324         (FPE_INTDIV): Likewise.
9325         (FPE_INTOVF): Likewise.
9326         (FPE_FLTDIV): Likewise.
9327         (FPE_FLTOVF): Likewise.
9328         (FPE_FLTUND): Likewise.
9329         (FPE_FLTRES): Likewise.
9330         (FPE_FLTINV): Likewise.
9331         (FPE_FLTSUB): Likewise.
9332         (SEGV_MAPERR): Likewise.
9333         (SEGV_ACCERR): Likewise.
9334         (BUS_ADRALN): Likewise.
9335         (BUS_ADRERR): Likewise.
9336         (BUS_OBJERR): Likewise.
9337         (BUS_MCEERR_AR): Likewise.
9338         (BUS_MCEERR_AO): Likewise.
9339         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9340         (TRAP_TRACE): Likewise.
9341         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9342         __USE_XOPEN2K8].
9343         (CLD_KILLED): Likewise.
9344         (CLD_DUMPED): Likewise.
9345         (CLD_TRAPPED): Likewise.
9346         (CLD_STOPPED): Likewise.
9347         (CLD_CONTINUED): Likewise.
9348         (POLL_IN): Likewise.
9349         (POLL_OUT): Likewise.
9350         (POLL_MSG): Likewise.
9351         (POLL_ERR): Likewise.
9352         (POLL_PRI): Likewise.
9353         (POLL_HUP): Likewise.
9354         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
9355         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9356
9357         [BZ #16670]
9358         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
9359         before #include of <time.h>.
9360         [!__USE_XOPEN2K] (__need_timespec): Likewise.
9361         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
9362         (test-xfail-UNIX98/sched.h/conform): Likewise.
9363
9364 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9365
9366         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
9367         error absence of trapping exception support.
9368         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9369
9370 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
9371
9372         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
9373         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
9374         * timezone/Makefile (testdata): Move definition above include of
9375         Rules.
9376         (test-zones): New variable.
9377         (tests-special): Add zone files.
9378         (build-testdata): Use $(evaluate-test).
9379
9380         * elf/Makefile (tests-special): Rename tests to end with .out.
9381         ($(objpfx)noload-mem): Likewise.
9382         ($(objpfx)tst-leaks1-mem): Likewise.
9383         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
9384         * iconv/Makefile (xtests-special): Change test-iconvconfig to
9385         $(objpfx)test-iconvconfig.out.
9386         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
9387         set -e inside subshell and redirect output to file.
9388         * iconvdata/Makefile (generated): Rename tests to end with .out.
9389         Correct type.
9390         (tests-special): Rename tests to end with .out.
9391         ($(objpfx)mtrace-tst-loading): Likewise.
9392         * intl/Makefile (generated): Likewise.
9393         (tests-special): Likewise.
9394         ($(objpfx)mtrace-tst-gettext): Likewise.
9395         * misc/Makefile (generated): Likewise.
9396         (tests-special): Likewise.
9397         ($(objpfx)tst-error1-mem): Likewise.
9398         * nptl/Makefile (tests-special): Likewise.
9399         ($(objpfx)tst-stack3-mem): Likewise.
9400         (generated): Likewise.
9401         * posix/Makefile (generated): Likewise.
9402         (tests-special): Likewise.
9403         (xtests-special): Likewise.
9404         ($(objpfx)tst-fnmatch-mem): Likewise.
9405         ($(objpfx)bug-regex2-mem): Likewise.
9406         ($(objpfx)bug-regex14-mem): Likewise.
9407         ($(objpfx)bug-regex21-mem): Likewise.
9408         ($(objpfx)bug-regex31-mem): Likewise.
9409         ($(objpfx)tst-vfork3-mem): Likewise.
9410         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9411         ($(objpfx)tst-pcre-mem): Likewise.
9412         ($(objpfx)tst-boost-mem): Likewise.
9413         ($(objpfx)bug-ga2-mem): Likewise.
9414         ($(objpfx)bug-glob2-mem): Likewise.
9415         * resolv/Makefile (generate): Likewise.
9416         (tests-special): Likewise.
9417         (xtests-special): Likewise.
9418         (generated): Likewise.
9419         ($(objpfx)mtrace-tst-leaks): Likewise.
9420         ($(objpfx)mtrace-tst-leaks2): Likewise.
9421
9422         * scripts/merge-test-results.sh: New file.
9423         * Makefile (tests-special-notdir): New variable.
9424         (tests): Run merge-test-results.sh.
9425         (xtests): Likewise.
9426         * Rules (tests-special-notdir): New variable.
9427         (xtests-special-notdir): Likewise.
9428         (tests): Run merge-test-results.sh
9429         (xtests): Likewise.
9430
9431         * Makeconfig (test-xfail-name): New variable.
9432         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
9433         compute variable name for expected failures.
9434         * conform/Makefile (conformtest-headers-data): New variable.
9435         (conformtest-standards): Likewise.
9436         (conformtest-headers-ISO): Likewise.
9437         (conformtest-headers-ISO99): Likewise.
9438         (conformtest-headers-ISO11): Likewise.
9439         (conformtest-headers-POSIX): Likewise.
9440         (conformtest-headers-XPG3): Likewise.
9441         (conformtest-headers-XPG4): Likewise.
9442         (conformtest-headers-UNIX98): Likewise.
9443         (conformtest-headers-XOPEN2K): Likewise.
9444         (conformtest-headers-POSIX2008): Likewise.
9445         (conformtest-headers-XOPEN2K8): Likewise.
9446         (conformtest-header-list-base): Likewise.
9447         (conformtest-header-list-tests): Likewise.
9448         (conformtest-header-base): Likewise.
9449         (conformtest-header-tests): Likewise.
9450         (tests-special): Add $(conformtest-header-list-tests).  If
9451         [$(fast-check) && !$(cross-compiling)], add
9452         $(conformtest-header-tests) instead of
9453         $(objpfx)run-conformtest.out.
9454         (generated): Add $(conformtest-header-list-base).  If
9455         [$(fast-check) && !$(cross-compiling)], add
9456         $(conformtest-header-base).  Remove previous setting.
9457         ($(conformtest-header-list-tests)): New target.
9458         (test-xfail-run-conformtest): Remove variable.
9459         ($(objpfx)run-conformtest.out): Remove target.
9460         (test-xfail-ISO11/complex.h/conform): New variable.
9461         (test-xfail-ISO11/stdalign.h/conform): Likewise.
9462         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9463         (test-xfail-XPG3/varargs.h/conform): Likewise.
9464         (test-xfail-XPG4/varargs.h/conform): Likewise.
9465         (test-xfail-UNIX98/varargs.h/conform): Likewise.
9466         (test-xfail-XPG4/ndbm.h/conform): Likewise.
9467         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
9468         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
9469         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
9470         (test-xfail-XPG3/fcntl.h/conform): Likewise.
9471         (test-xfail-XPG3/ftw.h/conform): Likewise.
9472         (test-xfail-XPG3/grp.h/conform): Likewise.
9473         (test-xfail-XPG3/langinfo.h/conform): Likewise.
9474         (test-xfail-XPG3/limits.h/conform): Likewise.
9475         (test-xfail-XPG3/pwd.h/conform): Likewise.
9476         (test-xfail-XPG3/search.h/conform): Likewise.
9477         (test-xfail-XPG3/signal.h/conform): Likewise.
9478         (test-xfail-XPG3/stdio.h/conform): Likewise.
9479         (test-xfail-XPG3/stdlib.h/conform): Likewise.
9480         (test-xfail-XPG3/string.h/conform): Likewise.
9481         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
9482         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
9483         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9484         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9485         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
9486         (test-xfail-XPG3/sys/types.h/conform): Likewise.
9487         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
9488         (test-xfail-XPG3/termios.h/conform): Likewise.
9489         (test-xfail-XPG3/time.h/conform): Likewise.
9490         (test-xfail-XPG3/unistd.h/conform): Likewise.
9491         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
9492         (test-xfail-XPG4/fcntl.h/conform): Likewise.
9493         (test-xfail-XPG4/langinfo.h/conform): Likewise.
9494         (test-xfail-XPG4/netdb.h/conform): Likewise.
9495         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
9496         (test-xfail-XPG4/signal.h/conform): Likewise.
9497         (test-xfail-XPG4/stdio.h/conform): Likewise.
9498         (test-xfail-XPG4/stdlib.h/conform): Likewise.
9499         (test-xfail-XPG4/stropts.h/conform): Likewise.
9500         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9501         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9502         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9503         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9504         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9505         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
9506         (test-xfail-XPG4/sys/time.h/conform): Likewise.
9507         (test-xfail-XPG4/sys/types.h/conform): Likewise.
9508         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
9509         (test-xfail-XPG4/termios.h/conform): Likewise.
9510         (test-xfail-XPG4/ucontext.h/conform): Likewise.
9511         (test-xfail-XPG4/unistd.h/conform): Likewise.
9512         (test-xfail-XPG4/utmpx.h/conform): Likewise.
9513         (test-xfail-POSIX/sched.h/conform): Likewise.
9514         (test-xfail-POSIX/signal.h/conform): Likewise.
9515         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9516         (test-xfail-POSIX/tar.h/conform): Likewise.
9517         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
9518         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
9519         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9520         (test-xfail-UNIX98/netdb.h/conform): Likewise.
9521         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
9522         (test-xfail-UNIX98/sched.h/conform): Likewise.
9523         (test-xfail-UNIX98/signal.h/conform): Likewise.
9524         (test-xfail-UNIX98/stdio.h/conform): Likewise.
9525         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
9526         (test-xfail-UNIX98/stropts.h/conform): Likewise.
9527         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9528         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9529         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9530         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9531         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9532         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9533         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
9534         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
9535         (test-xfail-UNIX98/unistd.h/conform): Likewise.
9536         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9537         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
9538         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
9539         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9540         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
9541         (test-xfail-XOPEN2K/math.h/conform): Likewise.
9542         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9543         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9544         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9545         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
9546         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
9547         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
9548         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
9549         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9550         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9551         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9552         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9553         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9554         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9555         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
9556         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
9557         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9558         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
9559         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9560         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
9561         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9562         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
9563         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
9564         (test-xfail-POSIX2008/signal.h/conform): Likewise.
9565         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9566         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
9567         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
9568         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9569         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9570         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
9571         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9572         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9573         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9574         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
9575         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
9576         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9577         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9578         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9579         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
9580         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9581         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9582         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9583         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9584         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
9585         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9586         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9587         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
9588         (conformtest-cc-flags): Likewise.
9589         ($(conformtest-header-tests): New target.
9590         * conform/check-header-lists.sh: New file.
9591         * conform/run-conformtest.sh: Remove.
9592
9593         * conform/conformtest.pl: Allow ' and \ in values given for
9594         constants.
9595         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
9596         inclusion.
9597         [POSIX] (sys/types.h): Likewise.
9598         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
9599         inclusion.
9600         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
9601         inclusion.
9602         * conform/data/signal.h-data (SIGIO): Remove expectation.
9603         [XPG3] (SIGBUS): Do not expect.
9604         [POSIX || XPG3] (SIGPOLL): Likewise.
9605         [POSIX || XPG3] (SIGPROF): Likewise.
9606         [POSIX || XPG3] (SIGSYS): Likewise.
9607         [XPG3] (SIGTRAP): Likewise.
9608         [POSIX || XPG3] (SIGURG): Likewise.
9609         [POSIX || XPG3] (SIGVTALRM): Likewise.
9610         [POSIX || XPG3] (SIGXCPU): Likewise.
9611         [POSIX || XPG3] (SIGXFSZ): Likewise.
9612         [POSIX] (SA_SIGINFO): Expect.
9613         [XPG3] (siginfo_t): Do not expect type or contents.
9614         [POSIX] (si_pid): Do not expect element.
9615         [POSIX] (si_uid): Likewise.
9616         [POSIX] (si_addr): Likewise.
9617         [POSIX] (si_status): Likewise.
9618         [POSIX] (si_band): Likewise.
9619         [XPG4] (si_value): Likewise.
9620         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
9621         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
9622         [POSIX || XPG3] (ILL_ILLADR): Likewise.
9623         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
9624         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
9625         [POSIX || XPG3] (ILL_PRVREG): Likewise.
9626         [POSIX || XPG3] (ILL_COPROC): Likewise.
9627         [POSIX || XPG3] (ILL_BADSTK): Likewise.
9628         [POSIX || XPG3] (FPE_INTDIV): Likewise.
9629         [POSIX || XPG3] (FPE_INTOVF): Likewise.
9630         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
9631         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
9632         [POSIX || XPG3] (FPE_FLTUND): Likewise.
9633         [POSIX || XPG3] (FPE_FLTRES): Likewise.
9634         [POSIX || XPG3] (FPE_FLTINV): Likewise.
9635         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
9636         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
9637         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
9638         [POSIX || XPG3] (BUS_ADRALN): Likewise.
9639         [POSIX || XPG3] (BUS_ADRERR): Likewise.
9640         [POSIX || XPG3] (BUS_OBJERR): Likewise.
9641         [POSIX || XPG3] (CLD_EXITED): Likewise.
9642         [POSIX || XPG3] (CLD_KILLED): Likewise.
9643         [POSIX || XPG3] (CLD_DUMPED): Likewise.
9644         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
9645         [POSIX || XPG3] (CLD_STOPPED): Likewise.
9646         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
9647         [POSIX || XPG3] (POLL_IN): Likewise.
9648         [POSIX || XPG3] (POLL_OUT): Likewise.
9649         [POSIX || XPG3] (POLL_MSG): Likewise.
9650         [POSIX || XPG3] (POLL_ERR): Likewise.
9651         [POSIX || XPG3] (POLL_PRI): Likewise.
9652         [POSIX || XPG3] (POLL_HUP): Likewise.
9653         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
9654         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
9655         (SIG*): Do not allow.
9656         [XPG3] (si_*): Likewise.
9657         [XPG3] (SI_*): Likewise.
9658         [XPG3 || XPG4] (sigev_*): Likewise.
9659         [XPG3 || XPG4] (SIGEV_*): Likewise.
9660         [XPG3 || XPG4] (sival_*): Likewise.
9661         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
9662         [POSIX || XPG3] (BUS_*): Likewise.
9663         [POSIX || XPG3] (CLD_*): Likewise.
9664         [POSIX || XPG3] (FPE_*): Likewise.
9665         [POSIX || XPG3] (ILL_*): Likewise.
9666         [POSIX || XPG3] (POLL_*): Likewise.
9667         [POSIX || XPG3] (SEGV_*): Likewise.
9668         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
9669         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
9670         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
9671         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
9672         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
9673         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
9674         Specify type and value.
9675         (TVERSLEN): Likewise.
9676         (REGTYPE): Likewise.
9677         (AREGTYPE): Likewise.
9678         (LNKTYPE): Likewise.
9679         (SYMTYPE): Likewise.
9680         (CHRTYPE): Likewise.
9681         (BLKTYPE): Likewise.
9682         (DIRTYPE): Likewise.
9683         (FIFOTYPE): Likewise.
9684         (CONTTYPE): Likewise.
9685         (TSUID): Likewise.
9686         (TSGID): Likewise.
9687         (TSVTX): Likewise.
9688         (TUREAD): Likewise.
9689         (TUWRITE): Likewise.
9690         (TUEXEC): Likewise.
9691         (TGREAD): Likewise.
9692         (TGWRITE): Likewise.
9693         (TGEXEC): Likewise.
9694         (TOREAD): Likewise.
9695         (TOWRITE): Likewise.
9696         (TOEXEC): Likewise.
9697         [POSIX] (TSVTX): Expect constant.
9698
9699 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
9700
9701         * Makefile (tests): Change dependencies to ....
9702         (tests-special): ... additions to this variable.
9703         (tests): Depend on $(tests-special).
9704         * Makerules (check-abi-list): New variable.
9705         (check-abi): Depend on $(check-abi-list).
9706         [$(subdir) = elf] (tests-special): Add
9707         $(objpfx)check-abi-libc.out.
9708         [$(build-shared) = yes && subdir] (tests-special): Add
9709         $(check-abi-list).
9710         [$(build-shared) = yes && subdir] (tests): Do not depend on
9711         check-abi.
9712         * Rules (tests): Depend on $(tests-special).
9713         (xtests): Depend on $(xtests-special).
9714         * catgets/Makefile (tests): Change dependencies to ....
9715         (tests-special): ... additions to this variable.
9716         * conform/Makefile (tests): Change dependencies to ....
9717         (tests-special): ... additions to this variable.
9718         * elf/Makefile (tests): Change dependencies to ....
9719         (tests-special): ... additions to this variable.
9720         * grp/Makefile (tests): Change dependencies to ....
9721         (tests-special): ... additions to this variable.
9722         * iconv/Makefile (xtests): Change dependencies to ....
9723         (xtests-special): ... additions to this variable.
9724         * iconvdata/Makefile (tests): Change dependencies to ....
9725         (tests-special): ... additions to this variable.
9726         * intl/Makefile (tests): Change dependencies to ....
9727         (tests-special): ... additions to this variable.  Also add
9728         $(objpfx)tst-gettext.out.
9729         * io/Makefile (tests): Change dependencies to ....
9730         (tests-special): ... additions to this variable.
9731         * libio/Makefile (tests): Change dependencies to ....
9732         (tests-special): ... additions to this variable.
9733         * malloc/Makefile (tests): Change dependencies to ....
9734         (tests-special): ... additions to this variable.
9735         * misc/Makefile (tests): Change dependencies to ....
9736         (tests-special): ... additions to this variable.
9737         * nptl/Makefile (tests): Change dependencies to ....
9738         (tests-special): ... additions to this variable.
9739         * nptl_db/Makefile (tests): Change dependencies to ....
9740         (tests-special): ... additions to this variable.
9741         * posix/Makefile (tests): Change dependencies to ....
9742         (tests-special): ... additions to this variable.
9743         (xtests): Change dependencies to ....
9744         (xtests-special): ... additions to this variable.
9745         * resolv/Makefile (tests): Change dependencies to ....
9746         (tests-special): ... additions to this variable.
9747         (xtests): Change dependencies to ....
9748         (xtests-special): ... additions to this variable.
9749         * stdio-common/Makefile (tests): Change dependencies to ....
9750         (tests-special): ... additions to this variable.
9751         (do-tst-unbputc): Remove target.
9752         (do-tst-printf): Likewise.
9753         * stdlib/Makefile (tests): Change dependencies to ....
9754         (tests-special): ... additions to this variable.
9755         * string/Makefile (tests): Change dependencies to ....
9756         (tests-special): ... additions to this variable.
9757         * sysdeps/x86/Makefile (tests): Change dependencies to ....
9758         (tests-special): ... additions to this variable.
9759
9760         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9761         whole file.
9762         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9763         whole file.
9764         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9765         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9766
9767         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9768         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9769         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9770         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9771         * conform/data/libgen.h-data [XPG3]: Likewise.
9772         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9773         * conform/data/ndbm.h-data [XPG3]: Likewise.
9774         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9775         * conform/data/netdb.h-data [XPG3]: Likewise.
9776         * conform/data/netinet/in.h-data [XPG3]: Likewise.
9777         * conform/data/poll.h-data [XPG3]: Likewise.
9778         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9779         * conform/data/strings.h-data [XPG3]: Likewise.
9780         * conform/data/stropts.h-data [XPG3]: Likewise.
9781         * conform/data/sys/mman.h-data [XPG3]: Likewise.
9782         * conform/data/sys/resource.h-data [XPG3]: Likewise.
9783         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9784         Likewise.
9785         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9786         * conform/data/sys/time.h-data [XPG3]: Likewise.
9787         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9788         * conform/data/sys/uio.h-data [XPG3]: Likewise.
9789         * conform/data/sys/un.h-data [XPG3]: Likewise.
9790         * conform/data/syslog.h-data [XPG3]: Likewise.
9791         * conform/data/ucontext.h-data [XPG3]: Likewise.
9792         * conform/data/utmpx.h-data [XPG3]: Likewise.
9793         * conform/data/varargs.h-data [UNIX98]: Enable file.
9794
9795         * manual/Makefile (INSTALL_INFO): Remove variable setting.
9796
9797         * math/libm-test.inc (struct test_f_f_data): Move expected results
9798         into structure for each rounding mode.
9799         (struct test_ff_f_data): Likewise.
9800         (struct test_ff_f_data_nexttoward): Likewise.
9801         (struct test_fi_f_data): Likewise.
9802         (struct test_fl_f_data): Likewise.
9803         (struct test_if_f_data): Likewise.
9804         (struct test_fff_f_data): Likewise.
9805         (struct test_c_f_data): Likewise.
9806         (struct test_f_f1_data): Likewise.
9807         (struct test_fF_f1_data): Likewise.
9808         (struct test_ffI_f1_data): Likewise.
9809         (struct test_c_c_data): Likewise.
9810         (struct test_cc_c_data): Likewise.
9811         (struct test_f_i_data): Likewise.
9812         (struct test_ff_i_data): Likewise.
9813         (struct test_f_l_data): Likewise.
9814         (struct test_f_L_data): Likewise.
9815         (struct test_fFF_11_data): Likewise.
9816         (RM_): New macro.
9817         (RM_FE_DOWNWARD): Likewise.
9818         (RM_FE_TONEAREST): Likewise.
9819         (RM_FE_TOWARDZERO): Likewise.
9820         (RM_FE_UPWARD): Likewise.
9821         (RUN_TEST_LOOP_f_f): Update references to expected results.
9822         (RUN_TEST_LOOP_2_f): Likewise.
9823         (RUN_TEST_LOOP_fff_f): Likewise.
9824         (RUN_TEST_LOOP_c_f): Likewise.
9825         (RUN_TEST_LOOP_f_f1): Likewise.
9826         (RUN_TEST_LOOP_fF_f1): Likewise.
9827         (RUN_TEST_LOOP_fI_f1): Likewise.
9828         (RUN_TEST_LOOP_ffI_f1): Likewise.
9829         (RUN_TEST_LOOP_c_c): Likewise.
9830         (RUN_TEST_LOOP_cc_c): Likewise.
9831         (RUN_TEST_LOOP_f_i): Likewise.
9832         (RUN_TEST_LOOP_f_i_tg): Likewise.
9833         (RUN_TEST_LOOP_ff_i_tg): Likewise.
9834         (RUN_TEST_LOOP_f_b): Likewise.
9835         (RUN_TEST_LOOP_f_b_tg): Likewise.
9836         (RUN_TEST_LOOP_f_l): Likewise.
9837         (RUN_TEST_LOOP_f_L): Likewise.
9838         (RUN_TEST_LOOP_fFF_11): Likewise.
9839         * math/gen-libm-test.pl (parse_args): Output four copies of
9840         expected results for each test.
9841
9842         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9843         (__ASSUME_UTIMES): Remove.
9844         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9845         (__ASSUME_UTIMES): Likewise.
9846
9847         * math/gen-auto-libm-tests.c: Update comment on output format.
9848         (output_for_one_input_case): Generate before-rounding and
9849         after-rounding information as conditions on output flags not
9850         floating-point format.
9851         * math/auto-libm-test-out: Regenerated.
9852         * math/gen-libm-test.pl (cond_value): New function.
9853         (or_cond_value): Use cond_value.
9854         (generate_testfile): Handle conditional exceptions.
9855
9856 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
9857
9858         * math/libm-test.inc (max_valid_error): New variable.
9859         (init_max_error): Take new argument specifying whether function
9860         results are exactly determined.  Set max_valid_error and bound
9861         other variables for errors based on this argument.
9862         (set_max_error): Do not record results above max_valid_error.
9863         (check_float_internal): Only accept errors of up to 0.5ulps if
9864         also at most max_valid_error.
9865         (START): Take new argument EXACT and pass it to init_max_error.
9866         (acos_test): Update call to START.
9867         (acos_test_tonearest): Likewise.
9868         (acos_test_towardzero): Likewise.
9869         (acos_test_downward): Likewise.
9870         (acos_test_upward): Likewise.
9871         (acosh_test): Likewise.
9872         (asin_test): Likewise.
9873         (asin_test_tonearest): Likewise.
9874         (asin_test_towardzero): Likewise.
9875         (asin_test_downward): Likewise.
9876         (asin_test_upward): Likewise.
9877         (asinh_test): Likewise.
9878         (atan_test): Likewise.
9879         (atanh_test): Likewise.
9880         (atan2_test): Likewise.
9881         (cabs_test): Likewise.
9882         (cacos_test): Likewise.
9883         (cacosh_test): Likewise.
9884         (carg_test): Likewise.
9885         (casin_test): Likewise.
9886         (casinh_test): Likewise.
9887         (catan_test): Likewise.
9888         (catanh_test): Likewise.
9889         (cbrt_test): Likewise.
9890         (ccos_test): Likewise.
9891         (ccosh_test): Likewise.
9892         (ceil_test): Likewise.
9893         (cexp_test): Likewise.
9894         (cimag_test): Likewise.
9895         (clog_test): Likewise.
9896         (clog10_test): Likewise.
9897         (conj_test): Likewise.
9898         (copysign_test): Likewise.
9899         (cos_test): Likewise.
9900         (cos_test_tonearest): Likewise.
9901         (cos_test_towardzero): Likewise.
9902         (cos_test_downward): Likewise.
9903         (cos_test_upward): Likewise.
9904         (cosh_test): Likewise.
9905         (cosh_test_tonearest): Likewise.
9906         (cosh_test_towardzero): Likewise.
9907         (cosh_test_downward): Likewise.
9908         (cosh_test_upward): Likewise.
9909         (cpow_test): Likewise.
9910         (cproj_test): Likewise.
9911         (creal_test): Likewise.
9912         (csin_test): Likewise.
9913         (csinh_test): Likewise.
9914         (csqrt_test): Likewise.
9915         (ctan_test): Likewise.
9916         (ctan_test_tonearest): Likewise.
9917         (ctan_test_towardzero): Likewise.
9918         (ctan_test_downward): Likewise.
9919         (ctan_test_upward): Likewise.
9920         (ctanh_test): Likewise.
9921         (ctanh_test_tonearest): Likewise.
9922         (ctanh_test_towardzero): Likewise.
9923         (ctanh_test_downward): Likewise.
9924         (ctanh_test_upward): Likewise.
9925         (erf_test): Likewise.
9926         (erfc_test): Likewise.
9927         (exp_test): Likewise.
9928         (exp_test_tonearest): Likewise.
9929         (exp_test_towardzero): Likewise.
9930         (exp_test_downward): Likewise.
9931         (exp_test_upward): Likewise.
9932         (exp10_test): Likewise.
9933         (exp10_test_tonearest): Likewise.
9934         (exp10_test_towardzero): Likewise.
9935         (exp10_test_downward): Likewise.
9936         (exp10_test_upward): Likewise.
9937         (pow10_test): Likewise.
9938         (exp2_test): Likewise.
9939         (expm1_test): Likewise.
9940         (expm1_test_tonearest): Likewise.
9941         (expm1_test_towardzero): Likewise.
9942         (expm1_test_downward): Likewise.
9943         (expm1_test_upward): Likewise.
9944         (fabs_test): Likewise.
9945         (fdim_test): Likewise.
9946         (floor_test): Likewise.
9947         (fma_test): Likewise.
9948         (fma_test_towardzero): Likewise.
9949         (fma_test_downward): Likewise.
9950         (fma_test_upward): Likewise.
9951         (fmax_test): Likewise.
9952         (fmin_test): Likewise.
9953         (fmod_test): Likewise.
9954         (fpclassify_test): Likewise.
9955         (frexp_test): Likewise.
9956         (hypot_test): Likewise.
9957         (ilogb_test): Likewise.
9958         (isfinite_test): Likewise.
9959         (finite_test): Likewise.
9960         (isgreater_test): Likewise.
9961         (isgreaterequal_test): Likewise.
9962         (isinf_test): Likewise.
9963         (isless_test): Likewise.
9964         (islessequal_test): Likewise.
9965         (islessgreater_test): Likewise.
9966         (isnan_test): Likewise.
9967         (isnormal_test): Likewise.
9968         (issignaling_test): Likewise.
9969         (isunordered_test): Likewise.
9970         (j0_test): Likewise.
9971         (j1_test): Likewise.
9972         (jn_test): Likewise.
9973         (ldexp_test): Likewise.
9974         (lgamma_test): Likewise.
9975         (gamma_test): Likewise.
9976         (lrint_test): Likewise.
9977         (lrint_test_tonearest): Likewise.
9978         (lrint_test_towardzero): Likewise.
9979         (lrint_test_downward): Likewise.
9980         (lrint_test_upward): Likewise.
9981         (llrint_test): Likewise.
9982         (llrint_test_tonearest): Likewise.
9983         (llrint_test_towardzero): Likewise.
9984         (llrint_test_downward): Likewise.
9985         (llrint_test_upward): Likewise.
9986         (log_test): Likewise.
9987         (log10_test): Likewise.
9988         (log1p_test): Likewise.
9989         (log2_test): Likewise.
9990         (logb_test): Likewise.
9991         (logb_test_downward): Likewise.
9992         (lround_test): Likewise.
9993         (llround_test): Likewise.
9994         (modf_test): Likewise.
9995         (nearbyint_test): Likewise.
9996         (nextafter_test): Likewise.
9997         (nexttoward_test): Likewise.
9998         (pow_test): Likewise.
9999         (pow_test_tonearest): Likewise.
10000         (pow_test_towardzero): Likewise.
10001         (pow_test_downward): Likewise.
10002         (pow_test_upward): Likewise.
10003         (remainder_test): Likewise.
10004         (drem_test): Likewise.
10005         (remainder_test_tonearest): Likewise.
10006         (drem_test_tonearest): Likewise.
10007         (remainder_test_towardzero): Likewise.
10008         (drem_test_towardzero): Likewise.
10009         (remainder_test_downward): Likewise.
10010         (drem_test_downward): Likewise.
10011         (remainder_test_upward): Likewise.
10012         (drem_test_upward): Likewise.
10013         (remquo_test): Likewise.
10014         (rint_test): Likewise.
10015         (rint_test_tonearest): Likewise.
10016         (rint_test_towardzero): Likewise.
10017         (rint_test_downward): Likewise.
10018         (rint_test_upward): Likewise.
10019         (round_test): Likewise.
10020         (scalb_test): Likewise.
10021         (scalbn_test): Likewise.
10022         (scalbln_test): Likewise.
10023         (signbit_test): Likewise.
10024         (sin_test): Likewise.
10025         (sin_test_tonearest): Likewise.
10026         (sin_test_towardzero): Likewise.
10027         (sin_test_downward): Likewise.
10028         (sin_test_upward): Likewise.
10029         (sincos_test): Likewise.
10030         (sinh_test): Likewise.
10031         (sinh_test_tonearest): Likewise.
10032         (sinh_test_towardzero): Likewise.
10033         (sinh_test_downward): Likewise.
10034         (sinh_test_upward): Likewise.
10035         (sqrt_test): Likewise.
10036         (sqrt_test_tonearest): Likewise.
10037         (sqrt_test_towardzero): Likewise.
10038         (sqrt_test_downward): Likewise.
10039         (sqrt_test_upward): Likewise.
10040         (tan_test): Likewise.
10041         (tan_test_tonearest): Likewise.
10042         (tan_test_towardzero): Likewise.
10043         (tan_test_downward): Likewise.
10044         (tan_test_upward): Likewise.
10045         (tanh_test): Likewise.
10046         (tgamma_test): Likewise.
10047         (trunc_test): Likewise.
10048         (y0_test): Likewise.
10049         (y1_test): Likewise.
10050         (yn_test): Likewise.
10051         (significand_test): Likewise.
10052
10053         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
10054         individual tests in comment.
10055         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
10056         (prev_max_error): New variable.
10057         (prev_real_max_error): Likewise.
10058         (prev_imag_max_error): Likewise.
10059         (compare_ulp_data): Don't refer to test names in comment.
10060         (find_test_ulps): Remove function.
10061         (find_function_ulps): Likewise.
10062         (find_complex_function_ulps): Likewise.
10063         (init_max_error): Take function name as argument.  Look up ulps
10064         for that function.
10065         (print_ulps): Remove function.
10066         (print_max_error): Use prev_max_error instead of calling
10067         find_function_ulps.
10068         (print_complex_max_error): Use prev_real_max_error and
10069         prev_imag_max_error instead of calling find_complex_function_ulps.
10070         (check_float_internal): Take max_ulp parameter instead of calling
10071         find_test_ulps.  Don't call print_ulps.
10072         (check_float): Update call to check_float_internal.
10073         (check_complex): Update calls to check_float_internal.
10074         (START): Pass argument to init_max_error.
10075         * math/gen-libm-test.pl (%results): Don't include "kind"
10076         information.
10077         (parse_ulps): Don't handle ulps of individual tests.
10078         (print_ulps_file): Likewise.
10079         (output_ulps): Likewise.
10080         * math/README.libm-test: Update.
10081         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
10082         individual tests.
10083         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
10084         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
10085         * sysdeps/arm/libm-test-ulps: Likewise.
10086         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
10087         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
10088         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
10089         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
10090         * sysdeps/microblaze/libm-test-ulps: Likewise.
10091         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10092         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10093         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10094         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
10095         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10096         * sysdeps/sh/libm-test-ulps: Likewise.
10097         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10098         * sysdeps/tile/libm-test-ulps: Likewise.
10099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10100
10101 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
10102
10103         * math/libm-test.inc (print_complex_max_error): Check separately
10104         whether real and imaginary errors are within allowed range and
10105         pass 0 to print_complex_function_ulps instead of value within
10106         allowed range.
10107
10108 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10109
10110         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
10111         formatting.
10112         (get_handles_fopen): Likewise.
10113         (do_write_test): Likewise.
10114
10115         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
10116
10117         * libio/fileops.c (do_ftell): Use cached offset when
10118         available.
10119         * libio/iofwide.c (do_ftell_wide): Likewise.
10120         * libio/iofdopen.c (_IO_new_fdopen): Don't use
10121         _IO_file_attach.
10122         * libio/wfileops.c (_IO_fwide): Don't cache offset.
10123
10124         [BZ #16532]
10125         * libio/libioP.h (get_file_offset): New function.
10126         * libio/fileops.c (get_file_offset): Likewise.
10127         (do_ftell): Likewise.
10128         (_IO_new_file_seekoff): Split out ftell logic.
10129         * libio/wfileops.c (do_ftell_wide): Likewise.
10130         (_IO_wfile_seekoff): Split out ftell logic.
10131         * libio/tst-ftell-active-handler.c: New test case.
10132         * libio/Makefile (tests): Add it.
10133
10134 2014-03-03  Roland McGrath  <roland@hack.frob.com>
10135
10136         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
10137         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
10138
10139 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
10140
10141         [BZ #16639]
10142         * nscd/connections.c (nscd_init): Call do_exit.
10143         (start_threads): Call do_exit and notify_parent.
10144         (begin_drop_privileges): Call do_exit.
10145         (finish_drop_privileges): Likewise.
10146         * nscd/selinux.c (preserve_capabilities): Likewise.
10147         (install_real_capabilities): Likewise.
10148         (nscd_selinux_enabled): Likewise.
10149         (avc_create_thread): Likewise.
10150         (avc_alloc_lock): Likewise.
10151         (nscd_avc_init): Likewise.
10152         * nscd/nscd.c (parent_fd): New static variable.
10153         (main): Create a pipe between parent and child processes.
10154         Skip closing parent_fd.
10155         (monitor_child): New function.
10156         (do_exit): Likewise.
10157         (notify_parent): Likewise.
10158         * nscd/nscd.h (notify_parent): Likewise.
10159         (do_exit): Likewise.
10160
10161 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
10162
10163         * malloc/malloc.c (__libc_calloc): Revert last change.
10164
10165 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10166
10167         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10168
10169 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10170
10171         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
10172         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
10173         implementation.
10174         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10175         (__libc_ifunc_impl_list): Likewise.
10176         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
10177         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
10178         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
10179         * string/strrchr.c: Define STRRCHR.
10180
10181 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
10182
10183         * benchtest/bench-strtok.c (simple_strtok): Delete.
10184         (strtok_string): Use as benchmark.
10185         * string/strtok (STRTOK): New macro.
10186
10187 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
10188
10189         * manual/threads.texi: Add header and standard comments to all
10190         functions.
10191
10192         * elf/dl-lookup.c (check_match): New function.
10193         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
10194         (do_lookup_x): Remove nested function check_match. Use non-nested
10195         function check_match.
10196
10197 2014-02-28  Roland McGrath  <roland@hack.frob.com>
10198
10199         * csu/Makefile (generated, before-compile): Use += rather than =.
10200         * catgets/Makefile (generated, generated-dirs): Likewise.
10201         * debug/Makefile (generated): Likewise.
10202         * dlfcn/Makefile (generated): Likewise.
10203         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
10204         * iconvdata/Makefile (before-compile, generated): Likewise.
10205         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
10206         * libio/Makefile (generated): Likewise.
10207         * malloc/Makefile (generated): Likewise.
10208         * manual/Makefile (generated, generated-dirs): Likewise.
10209         * misc/Makefile (generated): Likewise.
10210         * posix/Makefile (generated): Likewise.
10211         * resolv/Makefile (generated): Likewise.
10212         * sunrpc/Makefile (generated, generated-dirs): Likewise.
10213         * timezone/Makefile (generated, generated-dirs): Likewise.
10214
10215         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
10216
10217 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10218
10219         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10220         power8 implementation.
10221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
10222         file: POWER8 llround ifunc implementation.
10223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
10224         (__lllround): Add POWER8 implementation.
10225         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
10226         POWER8 llround implementation.
10227
10228         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
10229         power8 implementation.
10230         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
10231         file: POWER8 llrint ifunc implementation.
10232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
10233         Add POWER8 implementation.
10234         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
10235         POWER8 llrint implementation.
10236
10237         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
10238         power8 implementation.
10239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
10240         file: POWER8 finite ifunc implementation.
10241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
10242         Add POWER8 implementation.
10243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
10244         Likewise.
10245         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
10246         POWER8 finite implementation.
10247         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
10248
10249         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
10250         power8 implementation.
10251         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
10252         file: POWER8 isinf ifunc implementation.
10253         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
10254         POWER8 implementation.
10255         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
10256         Likewise.
10257         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
10258         isinf implementation.
10259         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
10260
10261         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
10262         (INIT_ARCH): Add hwcap2 initialization.
10263         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10264         power8 implementation.
10265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
10266         file: POWER8 isnan ifunc implementation.
10267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
10268         POWER8 implementation.
10269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
10270         Likewise.
10271         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
10272         isnan implementation.
10273         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
10274
10275 2014-02-27  Joey Ye  <joey.ye@arm.com>
10276
10277         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10278         (_FP_NANFRAC_Q): Set to zero.
10279
10280 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10281
10282         [BZ #16623]
10283         * math/auto-libm-test-in: New test inputs.
10284         * math/auto-libm-test-out: Regenerate.
10285         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
10286         and DA.
10287         (__cos): Likewise.
10288         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10289
10290 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
10291
10292         * scripts/evaluate-test.sh: Take new argument indicating whether
10293         failure is expected.
10294         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
10295         indicating whether failure is expected.
10296         * conform/Makefile (test-xfail-run-conformtest): New variable.
10297         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
10298         level.
10299         * posix/Makefile (test-xfail-annexc): New variable.
10300         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
10301
10302 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
10303
10304         * argp/Makefile: Include Makeconfig immediately after defining
10305         subdir.
10306         * assert/Makefile: Likewise.
10307         * benchtests/Makefile: Likewise.
10308         * catgets/Makefile: Likewise.
10309         * conform/Makefile: Likewise.
10310         * crypt/Makefile: Likewise.
10311         * csu/Makefile: Likewise.
10312         (all): Remove target.
10313         * ctype/Makefile: Include Makeconfig immediately after defining
10314         subdir.
10315         * debug/Makefile: Likewise.
10316         * dirent/Makefile: Likewise.
10317         * dlfcn/Makefile: Likewise.
10318         * gmon/Makefile: Likewise.
10319         * gnulib/Makefile: Likewise.
10320         * grp/Makefile: Likewise.
10321         * gshadow/Makefile: Likewise.
10322         * hesiod/Makefile: Likewise.
10323         * hurd/Makefile: Likewise.
10324         (all): Remove target.
10325         * iconvdata/Makefile: Include Makeconfig immediately after
10326         defining subdir.
10327         * inet/Makefile: Likewise.
10328         * intl/Makefile: Likewise.
10329         * io/Makefile: Likewise.
10330         * libio/Makefile: Likewise.
10331         (all): Remove target.
10332         * locale/Makefile: Include Makeconfig immediately after defining
10333         subdir.
10334         * login/Makefile: Likewise.
10335         * mach/Makefile: Likewise.
10336         (all): Remove target.
10337         * malloc/Makefile: Include Makeconfig immediately after defining
10338         subdir.
10339         (all): Remove target.
10340         * manual/Makefile: Include Makeconfig immediately after defining
10341         subdir.
10342         * math/Makefile: Likewise.
10343         * misc/Makefile: Likewise.
10344         * nis/Makefile: Likewise.
10345         * nss/Makefile: Likewise.
10346         * po/Makefile: Likewise.
10347         (all): Remove target.
10348         * posix/Makefile: Include Makeconfig immediately after defining
10349         subdir.
10350         * pwd/Makefile: Likewise.
10351         * resolv/Makefile: Likewise.
10352         * resource/Makefile: Likewise.
10353         * rt/Makefile: Likewise.
10354         * setjmp/Makefile: Likewise.
10355         * shadow/Makefile: Likewise.
10356         * signal/Makefile: Likewise.
10357         * socket/Makefile: Likewise.
10358         * soft-fp/Makefile: Likewise.
10359         * stdio-common/Makefile: Likewise.
10360         * stdlib/Makefile: Likewise.
10361         * streams/Makefile: Likewise.
10362         * string/Makefile: Likewise.
10363         * sunrpc/Makefile: Likewise.
10364         (all): Remove target.
10365         * sysvipc/Makefile: Include Makeconfig immediately after defining
10366         subdir.
10367         * termios/Makefile: Likewise.
10368         * time/Makefile: Likewise.
10369         * timezone/Makefile: Likewise.
10370         (all): Remove target.
10371         * wcsmbs/Makefile: Include Makeconfig immediately after defining
10372         subdir.
10373         * wctype/Makefile: Likewise.
10374
10375 2014-02-26  Steve Ellcey  <sellcey@mips.com>
10376
10377         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
10378         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
10379         (libc_feholdexcept_setround_mips): Ditto.
10380         (libc_feholdsetround): New.
10381         (libc_feholdsetroundf): New.
10382         (libc_feholdsetroundl): New.
10383         (libc_feupdateenv_test_mips): New.
10384         (libc_feupdateenv_test): New.
10385         (libc_feupdateenv_testf): New.
10386         (libc_feupdateenv_testl): New.
10387         (libc_feresetround): New.
10388         (libc_feresetroundf): New.
10389         (libc_feresetroundl): New.
10390         (libc_fetestexcept_mips): New.
10391         (libc_fetestexcept): New.
10392         (libc_fetestexceptf): New.
10393         (libc_fetestexceptl): New.
10394         (HAVE_RM_CTX): New.
10395         (libc_feholdexcept_setround_mips_ctx): New.
10396         (libc_feholdexcept_setround_ctx): New.
10397         (libc_feholdexcept_setroundf_ctx): New.
10398         (libc_feholdexcept_setroundl_ctx): New.
10399         (libc_fesetenv_mips_ctx): New.
10400         (libc_fesetenv_ctx): New.
10401         (libc_fesetenv_ctxf): New.
10402         (libc_fesetenv_ctxl): New.
10403         (libc_feupdateenv_mips_ctx): New.
10404         (libc_feupdateenv_ctx): New.
10405         (libc_feupdateenvf_ctx): New.
10406         (libc_feupdateenvl_ctx): New.
10407         (libc_feholdsetround_mips_ctx): New.
10408         (libc_feholdsetround_ctx): New.
10409         (libc_feholdsetroundf_ctx): New.
10410         (libc_feholdsetroundl_ctx): New.
10411         (libc_feresetround_mips_ctx): New.
10412         (libc_feresetround_ctx): New.
10413         (libc_feresetroundf_ctx): New.
10414         (libc_feresetroundl_ctx): New.
10415
10416 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
10417
10418         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
10419
10420         * manual/ipc.texi: New file.
10421         * manual/Makefile (chapters): Add ipc.
10422         * manual/job.texi: Add "Inter-Process Communication" to next.
10423         * manual/process.texi: Add "Inter-Process Communication" to prev.
10424
10425 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10426
10427         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10428
10429 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
10430
10431         * malloc/malloc.c (__libc_calloc): Simplify implementation.
10432
10433         * manual/arith.texi: Fix spaces after sentences.
10434         * manual/charset.texi: Likewise.
10435         * manual/errno.texi: Likewise.
10436         * manual/install.texi: Likewise.
10437         * manual/llio.texi: Likewise.
10438         * manual/locale.texi: Likewise.
10439         * manual/maint.texi: Likewise.
10440         * manual/math.texi: Likewise.
10441         * manual/memory.texi: Likewise.
10442         * manual/message.texi: Likewise.
10443         * manual/probes.texi: Likewise.
10444         * manual/resource.texi: Likewise.
10445         * manual/signal.texi: Likewise.
10446         * manual/socket.texi: Likewise.
10447         * manual/stdio.texi: Likewise.
10448         * manual/string.texi: Likewise.
10449         * manual/time.texi: Likewise.
10450         * manual/users.texi: Likewise.
10451
10452 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
10453
10454         [BZ #16632]
10455         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
10456         _DEFAULT_SOURCE is defined.
10457
10458 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
10459             Carlos O'Donell  <carlos@redhat.com>
10460
10461         [BZ #16613]
10462         * elf/dl-tls.c (_dl_count_modids): New function.
10463         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
10464         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
10465         audit library and increment generation counter.
10466         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
10467         * elf/tst-audit9.c: New file.
10468         * elf/tst-auditmod9a.c: New file.
10469         * elf/tst-auditmod9b.c: New file.
10470         * elf/Makefile: Add rules to build and run tst-audit9.
10471
10472 2014-02-25  Florian Weimer  <fweimer@redhat.com>
10473
10474         [BZ #15347]
10475         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
10476
10477 2014-02-25  Will Newton  <will.newton@linaro.org>
10478
10479         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
10480         (__longjmp): Restore sp and lr before restoring callee
10481         saved registers.  Add longjmp and longjmp_target
10482         SystemTap probe point.
10483         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
10484         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
10485         Define to zero to match jmpbuf layout.
10486         * sysdeps/arm/setjmp.S: Include stap-probe.h.
10487         (__sigsetjmp): Save sp and lr before saving callee
10488         saved registers.  Add setjmp SystemTap probe point.
10489
10490 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10491
10492         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10493
10494 2014-02-24  Andreas Schwab  <schwab@suse.de>
10495
10496         [BZ #15804]
10497         * elf/pldd.c (wait_for_ptrace_stop): New function.
10498         (main): Call it after attaching.
10499
10500 2014-02-22  Roland McGrath  <roland@hack.frob.com>
10501
10502         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
10503         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
10504         Versions files is now verboten.
10505         * hurd/Versions (libc: GLIBC_2.0):
10506         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
10507         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
10508         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
10509         * mach/Versions: Likewise.
10510
10511         * csu/Versions: Remove unused %include.
10512         * resolv/Versions: Likewise.
10513
10514 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
10515
10516         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
10517         ($(objpfx)check-local-headers.out): Likewise.
10518         ($(objpfx)begin-end-check.out): Likewise.
10519         * Makerules (check-abi-%.out): Likewise.
10520         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
10521         ($(objpfx)test2.cat): Likewise.
10522         ($(objpfx)de/libc.cat): Likewise.
10523         ($(objpfx)test-gencat.out): Likewise.
10524         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
10525         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
10526         ($(objpfx)noload-mem): Likewise.
10527         ($(objpfx)tst-pathopt.out): Likewise.
10528         ($(objpfx)tst-rtld-load-self.out): Likewise.
10529         ($(objpfx)tst-array1-cmp.out): Likewise.
10530         ($(objpfx)tst-array1-static-cmp.out): Likewise.
10531         ($(objpfx)tst-array2-cmp.out): Likewise.
10532         ($(objpfx)tst-array3-cmp.out): Likewise.
10533         ($(objpfx)tst-array4-cmp.out): Likewise.
10534         ($(objpfx)tst-array5-cmp.out): Likewise.
10535         ($(objpfx)tst-array5-static-cmp.out): Likewise.
10536         ($(objpfx)check-textrel.out): Likewise.
10537         ($(objpfx)check-execstack.out): Likewise.
10538         ($(objpfx)check-localplt.out): Likewise.
10539         ($(objpfx)order2-cmp.out): Likewise.
10540         ($(objpfx)tst-leaks1-mem): Likewise.
10541         ($(objpfx)tst-leaks1-static-mem): Likewise.
10542         ($(objpfx)tst-initorder-cmp.out): Likewise.
10543         ($(objpfx)tst-initorder2-cmp.out): Likewise.
10544         ($(objpfx)tst-unused-dep.out): Likewise.
10545         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
10546         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
10547         * iconv/Makefile (test-iconvconfig): Likewise.
10548         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
10549         ($(objpfx)iconv-test.out): Likewise.
10550         ($(objpfx)tst-tables.out): Likewise.
10551         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
10552         ($(objpfx)tst-gettext.out): Likewise.
10553         ($(objpfx)tst-translit.out): Likewise.
10554         ($(objpfx)tst-gettext2.out): Likewise.
10555         ($(objpfx)tst-gettext4.out): Likewise.
10556         ($(objpfx)tst-gettext6.out): Likewise.
10557         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
10558         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
10559         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
10560         ($(objpfx)tst-fopenloc-mem.out): Likewise.
10561         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
10562         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
10563         * posix/Makefile ($(objpfx)globtest.out): Likewise.
10564         ($(objpfx)wordexp-tst.out): Likewise.
10565         ($(objpfx)annexc.out): Likewise.
10566         ($(objpfx)tst-fnmatch-mem): Likewise.
10567         ($(objpfx)bug-regex2-mem): Likewise.
10568         ($(objpfx)bug-regex14-mem): Likewise.
10569         ($(objpfx)bug-regex21-mem): Likewise.
10570         ($(objpfx)bug-regex31-mem): Likewise.
10571         ($(objpfx)tst-vfork3-mem): Likewise.
10572         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10573         ($(objpfx)tst-pcre-mem): Likewise.
10574         ($(objpfx)tst-boost-mem): Likewise.
10575         ($(objpfx)tst-getconf.out): Likewise.
10576         ($(objpfx)bug-ga2-mem): Likewise.
10577         ($(objpfx)bug-glob2-mem): Likewise.
10578         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
10579         ($(objpfx)mtrace-tst-leaks2): Likewise.
10580         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
10581         ($(objpfx)tst-printf.out): Likewise.
10582         ($(objpfx)tst-setvbuf1.out): Likewise.
10583         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
10584         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
10585         ($(objpfx)tst-fmtmsg.out): Likewise.
10586         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
10587         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
10588
10589         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
10590         * bits/sigaction.h [__USE_MISC]: Likewise.
10591         * bits/waitstatus.h: Update #endif comments.
10592         * ctype/ctype.h: Likewise.
10593         * dirent/dirent.h: Likewise.
10594         [__USE_MISC]: Remove redundant conditionals.
10595         * grp/grp.h: Update #endif comments.
10596         [__USE_GNU]: Remove redundant conditionals.
10597         [__USE_MISC]: Likewise.
10598         * inet/netinet/in.h [__USE_GNU]: Likewise.
10599         * io/sys/stat.h [__USE_MISC]: Likewise.
10600         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
10601         * libio/bits/stdio.h: Update #endif comments.
10602         [__USE_MISC]: Remove redundant conditionals.
10603         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
10604         * libio/stdio.h: Update #endif comments.
10605         [__USE_MISC]: Remove redundant conditionals.
10606         * math/bits/math-finite.h [__USE_MISC]: Likewise.
10607         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
10608         * math/math.h: Update #else and #endif comments.
10609         [__USE_MISC]: Remove redundant conditionals.
10610         * misc/sys/uio.h: Update #endif comments.
10611         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
10612         * posix/glob.h [__USE_MISC]: Likewise.
10613         * posix/sys/types.h: Update #endif comments.
10614         [__USE_MISC]: Remove redundant conditionals.
10615         * posix/sys/wait.h: Update #endif comments.
10616         [__USE_MISC]: Remove redundant conditionals.
10617         * posix/unistd.h: Update #endif comments.
10618         [__USE_MISC]: Remove redundant conditionals.
10619         * pwd/pwd.h [__USE_GNU]: Likewise.
10620         [__USE_MISC]: Likewise.
10621         * resolv/netdb.h [__USE_GNU]: Likewise.
10622         * signal/signal.h: Update #endif comments.
10623         [__USE_MISC]: Remove redundant conditionals.
10624         * stdlib/stdlib.h: Update #else and #endif comments.
10625         [__USE_MISC]: Remove redundant conditionals.
10626         [__USE_GNU]: Likewise.
10627         * string/bits/string2.h [__USE_MISC]: Likewise.
10628         * string/string.h: Update #endif comments.
10629         [__USE_MISC]: Remove redundant conditionals.
10630         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
10631         Likewise.
10632         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
10633         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
10634         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
10635         Likewise.
10636         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
10637         Likewise.
10638         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
10639         comments.
10640         [__USE_MISC]: Remove redundant conditionals.
10641         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
10642         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
10643         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
10644         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
10645         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
10646         Likewise.
10647         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
10648         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
10649         Likewise.
10650         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
10651         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
10652         Likewise.
10653         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
10654         Likewise.
10655         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
10656         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
10657         Likewise.
10658         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
10659         Likewise.
10660         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
10661         * sysdeps/x86/bits/string.h: Update #endif comments.
10662         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
10663         conditionals.
10664         * time/sys/time.h: Update #endif comments.
10665         * time/time.h: Likewise.
10666         [__USE_MISC]: Remove redundant conditionals.
10667
10668 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
10669
10670         [BZ #16600]
10671         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
10672
10673 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
10674
10675         * Versions.def (librt): Add GLIBC_2.17.
10676
10677 2014-02-21  Adam Conrad  <adconrad@0c3.net>
10678
10679         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
10680         synonym for _SYS_AUXV_H to allow direct inclusion.
10681         * sysdeps/sparc/bits/hwcap.h: Likewise.
10682         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
10683         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
10684         * sysdeps/sparc/sysdep.h: Likewise.
10685
10686 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10687
10688         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
10689
10690 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10691
10692         * benchtests/bench-strrchr.c: Print length instead of position.
10693
10694 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
10695
10696         [BZ #16611]
10697         * sysdeps/unix/sysv/linux/kernel-features.h
10698         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
10699         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
10700         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
10701         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
10702         Likewise.
10703         [__i386__ || __powerpc__ || __sh__ || __sparc__]
10704         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10705         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
10706         (__ASSUME_SENDMMSG): Define instead of using previous
10707         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
10708         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10709         (__ASSUME_SENDMMSG_SYSCALL): Define.
10710         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10711         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
10712         Likewise.
10713         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10714         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10715         Likewise.
10716         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10717         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10718         Likewise.
10719         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
10720         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10721         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10722         [__ASSUME_SENDMMSG]: Change conditionals to
10723         [__ASSUME_SENDMMSG_SOCKETCALL].
10724         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10725         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
10726         Define.
10727         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10728         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
10729         Likewise.
10730         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
10731         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10732         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10733         [!__ASSUME_SENDMMSG]: Change conditional to
10734         [!__ASSUME_SENDMMSG_SOCKETCALL].
10735         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10736         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10737         Define.
10738
10739         [BZ #16610]
10740         * sysdeps/unix/sysv/linux/kernel-features.h
10741         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10742         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10743         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10744         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10745         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10746         [__i386__ || __sparc__]
10747         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10748         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10749         (__ASSUME_RECVMMSG): Define instead of using previous
10750         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10751         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10752         (__ASSUME_RECVMMSG_SYSCALL): Define.
10753         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10754         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10755         Likewise.
10756         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10757         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10758         Likewise.
10759         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10760         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10761         Likewise.
10762         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10763         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10764         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10765         [__ASSUME_RECVMMSG]: Change condition to
10766         [__ASSUME_RECVMMSG_SOCKETCALL].
10767         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10768         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10769         Define.
10770         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10771         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10772         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10773         Likewise.
10774         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10775         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10776         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10777         [!__ASSUME_RECVMMSG]: Change condition to
10778         [!__ASSUME_RECVMMSG_SOCKETCALL].
10779         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10780         (__ASSUME_RECVMMSG_SYSCALL): Define.
10781
10782         [BZ #16609]
10783         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10784         __powerpc__ || __s390__ || __sh__ || __sparc__]
10785         (__ASSUME_SOCKETCALL): Define.
10786         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10787         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10788         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10789         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10790         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10791         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10792         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10793         (__ASSUME_ACCEPT4): Define instead of using previous
10794         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10795         __powerpc__ || __sparc__ || __s390__)] condition.
10796         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10797         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10798         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10799         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10800         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10801         [!__ASSUME_ACCEPT4]: Change condition to
10802         [!__ASSUME_ACCEPT4_SOCKETCALL].
10803         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10804         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
10805         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10806         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10807         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10808         __ASSUME_ACCEPT4_SYSCALL.
10809         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10810         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10811         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10812         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
10813         __ASSUME_ACCEPT4_SYSCALL.
10814         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
10815         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10816         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10817         [__ASSUME_ACCEPT4]: Change condition to
10818         [__ASSUME_ACCEPT4_SOCKETCALL].
10819         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10820         (__ASSUME_SOCKETCALL): Define.
10821         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10822         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10823         (__ASSUME_SOCKETCALL): Define.
10824         (__ASSUME_ACCEPT4): Remove.
10825         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10826         Define.
10827         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10828         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10829         Likewise.
10830         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10831         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10832
10833         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10834         macro.
10835         (HWCAP_ARM_LPAE): Likewise.
10836         (HWCAP_ARM_EVTSTRM): Likewise.
10837         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10838         Add vpfd32, lpae and evtstrm.
10839         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10840         Increase to 22.
10841
10842 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
10843
10844         * math/auto-libm-test-in: Add tests of clog10.
10845         * math/auto-libm-test-out: Regenerated.
10846         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10847         * sysdeps/i386/fpu/libm-test-ulps: Update.
10848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10849
10850 2014-02-18  Andreas Schwab  <schwab@suse.de>
10851
10852         [BZ #16574]
10853         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10854         Store non-zero if the second buffer was newly allocated.
10855         (send_dg): Likewise.
10856         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10857         to send_vc and send_dg.
10858         (res_nsend): Pass NULL for ansp2_malloced.
10859         * resolv/res_query.c (__libc_res_nquery): Add parameter
10860         answerp2_malloced and pass it down to __libc_res_nsend.
10861         (res_nquery): Pass additional NULL to __libc_res_nquery.
10862         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10863         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
10864         second answer buffer if answerp2_malloced was set.
10865         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10866         (__libc_res_nquerydomain): Add parameter
10867         answerp2_malloced and pass it down to __libc_res_nquery.
10868         (res_nquerydomain): Pass additional NULL to
10869         __libc_res_nquerydomain.
10870         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10871         additional NULL to __libc_res_nsend and __libc_res_nquery.
10872         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10873         additional NULL to __libc_res_nsearch.
10874         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
10875         parameter of __libc_res_nsearch to check for separately allocated
10876         second buffer.
10877         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10878         __libc_res_nquery.
10879         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10880         additional NULL to __libc_res_nquery.
10881         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10882         __libc_res_nsearch.
10883         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10884         * include/resolv.h: Update prototypes of __libc_res_nquery,
10885         __libc_res_nsearch, __libc_res_nsend.
10886
10887 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
10888
10889         * math/auto-libm-test-in: Add tests of fma.
10890         * math/auto-libm-test-out: Regenerated.
10891         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10892         (fma_towardzero_test_data): Likewise.
10893         (fma_downward_test_data): Likewise.
10894         (fma_upward_test_data): Likewise.
10895         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10896         mpc_mode.
10897         (rounding_modes): Add values for new field.
10898         (func_calc_method): Add value mpfr_fff_f.
10899         (func_calc_desc): Add mpfr_fff_f union field.
10900         (test_function): Add field exact_args.
10901         (FUNC): Add macro argument EXACT_ARGS.
10902         (FUNC_mpfr_f_f): Update call to FUNC.
10903         (FUNC_mpfr_f_f): Likewise.
10904         (FUNC_mpfr_ff_f): Likewise.
10905         (FUNC_mpfr_if_f): Likewise.
10906         (FUNC_mpc_c_f): Likewise.
10907         (FUNC_mpc_c_c): Likewise.
10908         (test_functions): Add fma.  Update calls to FUNC.
10909         (handle_input_arg): Add argument exact_args.
10910         (add_test): Update call to handle_input_arg.
10911         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
10912         (output_for_one_input_case): Update call to calc_generic_results.
10913         Recalculate exact zero results in each rounding mode.
10914
10915         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10916         non-negative before setting low bit.
10917         * math/auto-libm-test-in: Mark one asin test possibly having
10918         spurious underflow.
10919         * math/auto-libm-test-out: Regenerated.
10920         * sysdeps/i386/fpu/libm-test-ulps: Update.
10921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10922
10923 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
10924
10925         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10926         * sysdeps/unix/sysv/linux/microblaze: Move directory from
10927         ports/sysdeps/unix/sysv/linux/microblaze.
10928         * README: Add missing listing for microblaze*-*-linux-gnu.
10929
10930 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
10931
10932         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10933         duplicate code
10934
10935 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
10936
10937         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10938         * sysdeps/unix/sysv/linux/ia64: Move directory from
10939         ports/sysdeps/unix/sysv/linux/ia64.
10940         * README: Update listing for ia64-*-linux-gnu.
10941
10942 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
10943             Joseph Myers  <joseph@codesourcery.com>
10944
10945         * Makeconfig (test-name): New variable.
10946         (evaluate-test): Likewise.
10947         * Makerules (do-test-clean): Remove .test-result files.
10948         (common-mostlyclean): Likewise.
10949         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10950         * scripts/evaluate-test.sh: New file.
10951
10952 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
10953
10954         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10955         separate $(objpfx)tst-fopenloc-cmp.out and
10956         $(objpfx)tst-fopenloc-mem.out targets.
10957         (tests): Update dependencies.
10958         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10959         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10960         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10961         (tst-rxspencer-no-utf8-ARGS): New variable.
10962         (tst-rxspencer-no-utf8-ENV): Likewise.
10963         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10964         instead of $(objpfx)tst-rxspencer-mem.
10965         ($(objpfx)tst-rxspencer-mem): Change target to
10966         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
10967         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10968         * posix/tst-rxspencer-no-utf8.c: New file.
10969
10970         * elf/Makefile ($(objpfx)order.out): Remove rule.
10971         [$(run-built-tests) = yes] (tests): Depend on
10972         $(objpfx)order-cmp.out.
10973         ($(objpfx)order-cmp.out): New rule.
10974         [$(run-built-tests) = yes] (tests): Depend on
10975         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10976         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10977         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10978         $(objpfx)tst-array5-static-cmp.out.
10979         ($(objpfx)tst-array1.out): Remove rule.
10980         ($(objpfx)tst-array1-cmp.out): New rule.
10981         ($(objpfx)tst-array1-static.out): Remove rule.
10982         ($(objpfx)tst-array1-static-cmp.out): New rule.
10983         ($(objpfx)tst-array2.out): Remove rule.
10984         ($(objpfx)tst-array2-cmp.out): New rule.
10985         ($(objpfx)tst-array3.out): Remove rule.
10986         ($(objpfx)tst-array3-cmp.out): New rule.
10987         ($(objpfx)tst-array4.out): Remove rule.
10988         ($(objpfx)tst-array4-cmp.out): New rule.
10989         ($(objpfx)tst-array5.out): Remove rule.
10990         ($(objpfx)tst-array5-cmp.out): New rule.
10991         ($(objpfx)tst-array5-static.out): Remove rule.
10992         ($(objpfx)tst-array5-static-cmp.out): New rule.
10993         [$(run-built-tests) = yes] (tests): Depend on
10994         $(objpfx)order2-cmp.out.
10995         ($(objpfx)order2.out): Remove rule.
10996         ($(objpfx)order2-cmp.out): New rule.
10997         ($(objpfx)tst-initorder.out): Remove rule.
10998         [$(run-built-tests) = yes] (tests): Depend on
10999         $(objpfx)tst-initorder-cmp.out.
11000         ($(objpfx)tst-initorder-cmp.out): New rule.
11001         ($(objpfx)tst-initorder2.out): Remove rule.
11002         [$(run-built-tests) = yes] (tests): Depend on
11003         $(objpfx)tst-initorder2-cmp.out.
11004         ($(objpfx)tst-initorder2-cmp.out): New rule.
11005         [$(run-built-tests) = yes] (tests): Depend on
11006         $(objpfx)tst-unused-dep-cmp.out.
11007         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
11008         ($(objpfx)tst-unused-dep-cmp.out): New rule.
11009         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
11010         on $(objpfx)tst-setvbuf1-cmp.out.
11011         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
11012         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
11013         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
11014         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
11015         ($(objpfx)tst-svc.out): Remove rule.
11016         ($(objpfx)tst-svc-cmp.out): New rule.
11017
11018 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
11019
11020         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
11021         * ctype/ctype.h [__USE_MISC]: Likewise.
11022         * dirent/dirent.h [__USE_MISC]: Likewise.
11023         * grp/grp.h [__USE_MISC]: Likewise.
11024         * io/fcntl.h [__USE_MISC]: Likewise.
11025         * io/sys/stat.h [__USE_MISC]: Likewise.
11026         * libio/stdio.h [__USE_MISC]: Likewise.
11027         * posix/unistd.h [__USE_MISC]: Likewise.
11028         * pwd/pwd.h [__USE_MISC]: Likewise.
11029         * stdlib.h [__USE_MISC]: Likewise.
11030         * string/bits/string2.h [__USE_MISC]: Likewise.
11031         * string/string.h [__USE_MISC]: Likewise.
11032         * time/time.h [__USE_MISC]: Likewise.
11033
11034 2014-02-13  Andreas Schwab  <schwab@suse.de>
11035
11036         [BZ #16574]
11037         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
11038         second answer buffer if it was separately allocated.
11039
11040 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
11041
11042         * sysdeps/mips/math-tests.h: Include <features.h>.
11043         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11044         (ROUNDING_TESTS_long_double): Do not define.
11045         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11046         (EXCEPTION_TESTS_long_double): Likewise.
11047         * sysdeps/mips/mips64/libm-test-ulps: Update.
11048
11049         * include/features.h (__USE_BSD): Remove macro definitions.
11050         (__USE_SVID): Likewise.
11051         (_BSD_SOURCE): Likewise.
11052         (_SVID_SOURCE): Likewise.
11053         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
11054         from definition of _DEFAULT_SOURCE.
11055         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
11056         [_DEFAULT_SOURCE].
11057         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
11058         * bits/mman.h [__USE_BSD]: Likewise.
11059         * bits/termios.h [__USE_BSD]: Likewise.
11060         * bits/waitstatus.h [__USE_BSD]: Likewise.
11061         * ctype/ctype.h [__USE_SVID]: Likewise.
11062         * dirent/dirent.h [__USE_BSD]: Likewise.
11063         * grp/grp.h [__USE_SVID]: Likewise.
11064         [__USE_BSD]: Likewise.
11065         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
11066         * io/fcntl.h [__USE_BSD]: Likewise.
11067         * io/ftw.h [__USE_BSD]: Likewise.
11068         * io/sys/stat.h [__USE_BSD]: Likewise.
11069         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
11070         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
11071         * libio/stdio.h [__USE_SVID]: Likewise.
11072         [__USE_BSD]: Likewise.
11073         * math/math.h [__USE_SVID]: Likewise.
11074         [__USE_BSD]: Likewise.
11075         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
11076         * misc/bits/syslog.h [__USE_BSD]: Likewise.
11077         * misc/search.h [__USE_SVID]: Likewise.
11078         * misc/sys/mman.h [__USE_BSD]: Likewise.
11079         * misc/sys/syslog.h [__USE_BSD]: Likewise.
11080         * misc/sys/uio.h [__USE_BSD]: Likewise.
11081         * posix/bits/unistd.h [__USE_BSD]: Likewise.
11082         * posix/glob.h [__USE_BSD]: Likewise.
11083         * posix/regex.h [__USE_BSD]: Likewise.
11084         * posix/sys/types.h [__USE_BSD]: Likewise.
11085         [__USE_SVID]: Likewise.
11086         * posix/sys/utsname.h [__USE_SVID]: Likewise.
11087         * posix/sys/wait.h [__USE_BSD]: Likewise.
11088         [__USE_SVID]: Likewise.
11089         * posix/unistd.h [__USE_BSD]: Likewise.
11090         [__USE_SVID]: Likewise.
11091         * pwd/pwd.h [__USE_SVID]: Likewise.
11092         * resolv/netdb.h [__USE_BSD]: Likewise.
11093         * setjmp/setjmp.h [__USE_BSD]: Likewise.
11094         * signal/signal.h [__USE_BSD]: Likewise.
11095         [__USE_SVID]: Likewise.
11096         * socket/sys/socket.h [__USE_BSD]: Likewise.
11097         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
11098         * stdlib/stdlib.h [__USE_BSD]: Likewise.
11099         [__USE_SVID]: Likewise.
11100         * string/bits/string2.h [__USE_BSD]: Likewise.
11101         [__USE_SVID]: Likewise.
11102         * string/bits/string3.h [__USE_BSD]: Likewise.
11103         * string/endian.h [__USE_BSD]: Likewise.
11104         * string/string.h [__USE_SVID]: Likewise.
11105         [__USE_BSD]: Likewise.
11106         * string/strings.h [__USE_BSD]: Likewise.
11107         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
11108         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
11109         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
11110         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
11111         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
11112         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
11113         Likewise.
11114         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
11115         Likewise.
11116         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
11117         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
11118         Likewise.
11119         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
11120         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
11121         Likewise.
11122         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
11123         Likewise.
11124         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
11125         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
11126         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
11127         Likewise.
11128         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
11129         Likewise.
11130         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
11131         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
11132         * termios/termios.h [__USE_BSD]: Likewise.
11133         * time/sys/time.h [__USE_BSD]: Likewise.
11134         * time/time.h [__USE_BSD]: Likewise.
11135         [__USE_SVID]: Likewise.
11136
11137         * Makefile (subdir_targets): Remove subdir_lint.out.
11138
11139         * stdio-common/Makefile (do-tst-unbputc): Remove target.
11140         (do-tst-printf): Likewise.
11141         (tests): Depend directly on $(objpfx)tst-unbputc.out and
11142         $(objpfx)tst-printf.out.
11143
11144         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
11145
11146         * Makerules (check-abi-%): Change target to
11147         $(objpfx)check-abi-%.out.
11148         (check-abi target): Update dependencies.
11149         (check-abi-pattern variable): Redirect output of diff to $@.
11150         (check-abi variable): Likewise.
11151         * elf/Makefile (check-abi): Update dependencies.
11152
11153         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
11154         unused.
11155         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
11156         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
11157         subnormal range.
11158         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
11159         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
11160         value has largest subnormal exponent.
11161         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
11162         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
11163         * sysdeps/aarch64/soft-fp/sfp-machine.h
11164         (_FP_TININESS_AFTER_ROUNDING): New macro.
11165         * sysdeps/alpha/soft-fp/sfp-machine.h
11166         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11167         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11168         Likewise.
11169         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
11170         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11171         * sysdeps/mips/soft-fp/sfp-machine.h
11172         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11173         * sysdeps/powerpc/soft-fp/sfp-machine.h
11174         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11175         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11176         Likewise.
11177         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11178         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11179         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11180         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11181         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11182         Likewise.
11183
11184 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
11185
11186         [BZ #16545]
11187         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
11188         model 1.
11189
11190 2014-02-12  Richard Henderson  <rth@redhat.com>
11191
11192         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
11193         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
11194         * sysdeps/unix/sysv/linux/alpha: Move directory from
11195         ports/sysdeps/unix/sysv/linux/alpha.
11196         * README: Update listing for alpha-*-linux-gnu.
11197
11198 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
11199
11200         * include/features.h: Update comment documenting feature test
11201         macros.
11202         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
11203         _DEFAULT_SOURCE.
11204         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
11205         (_SVID_SOURCE): Likewise.
11206         (_DEFAULT_SOURCE): Update description of default features.
11207         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
11208         with _GNU_SOURCE.
11209         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
11210         (S_ISVTX): Likewise.
11211         * manual/math.texi (Mathematical Constants): Likewise.
11212         * manual/signal.texi (Interrupted Primitives): Likewise.
11213         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
11214         * math/test-matherr.c (_SVID_SOURCE): Do not define.
11215         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
11216         Don't refer to _SVID_SOURCE in warning text.
11217
11218         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11219
11220         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
11221         already defined.
11222         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
11223         * sysdeps/mips/dl-lookup.c: Remove.
11224         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
11225
11226 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
11227
11228         [BZ #16447]
11229         * math/auto-libm-test-in: Add testcase for expl.
11230         * math/auto-libm-test-out: Regenerate.
11231         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
11232         calculation of unsafe.
11233         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
11234
11235 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
11236
11237         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
11238         * sysdeps/unix/sysv/linux/aarch64: Move directory from
11239         ports/sysdeps/unix/sysv/linux/aarch64.
11240         * README: Update listing for aarch64*-*-linux-gnu.
11241
11242 2014-02-11  Will Newton  <will.newton@linaro.org>
11243
11244         * manual/probes.texi (Mathematical Function Probes): Use
11245         "triggered" instead of "hit".
11246
11247         * manual/probes.texi (Internal Probes): Add documentation
11248         of setjmp, longjmp and longjmp_target probes.
11249
11250         * include/stap-probe.h: Add comment about probe argument
11251         format.
11252
11253         * malloc/mtrace.c (attribute_hidden): Remove unused macro
11254         definition.  (tr_where, tr_freehook, tr_mallochook,
11255         tr_reallochook, tr_memalignhook): Use ANSI protoype.
11256
11257 2014-02-11  David S. Miller  <davem@davemloft.net>
11258
11259         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
11260         processing int_tests.
11261
11262 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
11263
11264         * sysdeps/mips: Move directory from ports/sysdeps/mips.
11265         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
11266         * sysdeps/unix/sysv/linux/mips: Move directory from
11267         ports/sysdeps/unix/sysv/linux/mips.
11268         * README: Update listing for mips-*-linux-gnu and
11269         mips64-*-linux-gnu.
11270
11271 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
11272
11273         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
11274         * sysdeps/unix/sysv/linux/m68k: Move directory from
11275         ports/sysdeps/unix/sysv/linux/m68k.
11276         * README: Update listing for m68k-*-linux-gnu.
11277
11278 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
11279
11280         * sysdeps/tile: Move directory from ports/sysdeps/tile.
11281         * sysdeps/unix/sysv/linux/generic: Move directory from
11282         ports/sysdeps/unix/sysv/linux/generic.
11283         * sysdeps/unix/sysv/linux/tile: Move directory from
11284         ports/sysdeps/unix/sysv/linux/tile.
11285         * README: Update listing for tile*-*-linux-gnu.
11286
11287 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
11288
11289         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
11290         __builtin_expect.
11291         * benchtests/bench-memmem.c (simple_memmem): Likewise.
11292         * catgets/open_catalog.c (__open_catalog): Likewise.
11293         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
11294         * debug/confstr_chk.c: Likewise.
11295         * debug/fread_chk.c (__fread_chk): Likewise.
11296         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
11297         * debug/getgroups_chk.c: Likewise.
11298         * debug/mbsnrtowcs_chk.c: Likewise.
11299         * debug/mbsrtowcs_chk.c: Likewise.
11300         * debug/mbstowcs_chk.c: Likewise.
11301         * debug/memcpy_chk.c: Likewise.
11302         * debug/memmove_chk.c: Likewise.
11303         * debug/mempcpy_chk.c: Likewise.
11304         * debug/memset_chk.c: Likewise.
11305         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11306         * debug/strcat_chk.c (__strcat_chk): Likewise.
11307         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
11308         * debug/strncat_chk.c (__strncat_chk): Likewise.
11309         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
11310         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
11311         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
11312         * debug/wcpncpy_chk.c: Likewise.
11313         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11314         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
11315         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
11316         * debug/wcsncpy_chk.c: Likewise.
11317         * debug/wcsnrtombs_chk.c: Likewise.
11318         * debug/wcsrtombs_chk.c: Likewise.
11319         * debug/wcstombs_chk.c: Likewise.
11320         * debug/wmemcpy_chk.c: Likewise.
11321         * debug/wmemmove_chk.c: Likewise.
11322         * debug/wmempcpy_chk.c: Likewise.
11323         * debug/wmemset_chk.c: Likewise.
11324         * dirent/scandirat.c (SCANDIRAT): Likewise.
11325         * dlfcn/dladdr1.c (dladdr1): Likewise.
11326         * dlfcn/dladdr.c (dladdr): Likewise.
11327         * dlfcn/dlclose.c (dlclose_doit): Likewise.
11328         * dlfcn/dlerror.c (__dlerror): Likewise.
11329         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
11330         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
11331         * dlfcn/dlopen.c (dlopen_doit): Likewise.
11332         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
11333         * dlfcn/dlsym.c (dlsym_doit): Likewise.
11334         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
11335         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
11336         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
11337         Likewise.
11338         * elf/dl-conflict.c: Likewise.
11339         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
11340         * elf/dl-dst.h: Likewise.
11341         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
11342         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
11343         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
11344         * elf/dl-init.c (call_init, _dl_init): Likewise.
11345         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
11346         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
11347         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
11348         Likewise.
11349         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
11350         Likewise.
11351         * elf/dl-minimal.c (__libc_memalign): Likewise.
11352         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
11353         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11354         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
11355         * elf/dl-sym.c (do_sym): Likewise.
11356         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
11357         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
11358         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
11359         * elf/dl-writev.h (_dl_writev): Likewise.
11360         * elf/ldconfig.c (search_dir): Likewise.
11361         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
11362         (dl_main): Likewise.
11363         * elf/setup-vdso.h (setup_vdso): Likewise.
11364         * grp/compat-initgroups.c (compat_call): Likewise.
11365         * grp/fgetgrent.c (fgetgrent): Likewise.
11366         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
11367         * grp/putgrent.c (putgrent): Likewise.
11368         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11369         Likewise.
11370         * hurd/hurdinit.c: Likewise.
11371         * iconvdata/8bit-gap.c (struct): Likewise.
11372         * iconvdata/ansi_x3.110.c : Likewise.
11373         * iconvdata/big5.c : Likewise.
11374         * iconvdata/big5hkscs.c : Likewise.
11375         * iconvdata/cp1255.c: Likewise.
11376         * iconvdata/cp1258.c : Likewise.
11377         * iconvdata/cp932.c : Likewise.
11378         * iconvdata/euc-cn.c: Likewise.
11379         * iconvdata/euc-jisx0213.c : Likewise.
11380         * iconvdata/euc-jp.c: Likewise.
11381         * iconvdata/euc-jp-ms.c : Likewise.
11382         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
11383         * iconvdata/gb18030.c : Likewise.
11384         * iconvdata/gbbig5.c (const): Likewise.
11385         * iconvdata/gbgbk.c: Likewise.
11386         * iconvdata/gbk.c : Likewise.
11387         * iconvdata/ibm1364.c : Likewise.
11388         * iconvdata/ibm930.c : Likewise.
11389         * iconvdata/ibm932.c: Likewise.
11390         * iconvdata/ibm933.c : Likewise.
11391         * iconvdata/ibm935.c : Likewise.
11392         * iconvdata/ibm937.c : Likewise.
11393         * iconvdata/ibm939.c : Likewise.
11394         * iconvdata/ibm943.c: Likewise.
11395         * iconvdata/iso_11548-1.c: Likewise.
11396         * iconvdata/iso-2022-cn.c : Likewise.
11397         * iconvdata/iso-2022-cn-ext.c : Likewise.
11398         * iconvdata/iso-2022-jp-3.c: Likewise.
11399         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
11400         * iconvdata/iso-2022-kr.c : Likewise.
11401         * iconvdata/iso646.c (gconv_end): Likewise.
11402         * iconvdata/iso_6937-2.c : Likewise.
11403         * iconvdata/iso_6937.c : Likewise.
11404         * iconvdata/iso8859-1.c: Likewise.
11405         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
11406         * iconvdata/shift_jisx0213.c : Likewise.
11407         * iconvdata/sjis.c : Likewise.
11408         * iconvdata/t.61.c : Likewise.
11409         * iconvdata/tcvn5712-1.c : Likewise.
11410         * iconvdata/tscii.c: Likewise.
11411         * iconvdata/uhc.c : Likewise.
11412         * iconvdata/unicode.c (gconv_end): Likewise.
11413         * iconvdata/utf-16.c (gconv_end): Likewise.
11414         * iconvdata/utf-32.c (gconv_end): Likewise.
11415         * iconvdata/utf-7.c (base64): Likewise.
11416         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
11417         * iconv/gconv_close.c (__gconv_close): Likewise.
11418         * iconv/gconv_open.c (__gconv_open): Likewise.
11419         * iconv/gconv_simple.c (internal_ucs4_loop_single)
11420         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
11421         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
11422         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
11423         (ucs4le_internal_loop_single): Likewise.
11424         * iconv/iconv.c (iconv): Likewise.
11425         * iconv/iconv_close.c: Likewise.
11426         * iconv/loop.c (SINGLE): Likewise.
11427         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
11428         * include/atomic.h: Likewise.
11429         * inet/inet6_option.c (option_alloc): Likewise.
11430         * intl/bindtextdom.c (set_binding_values): Likewise.
11431         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
11432         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
11433         * intl/localealias.c (read_alias_file): Likewise.
11434         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11435         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
11436         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
11437         * libio/fmemopen.c (fmemopen): Likewise.
11438         * libio/iofgets.c (_IO_fgets): Likewise.
11439         * libio/iofgets_u.c (fgets_unlocked): Likewise.
11440         * libio/iofgetws.c (fgetws): Likewise.
11441         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11442         * libio/iogetdelim.c (_IO_getdelim): Likewise.
11443         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
11444         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
11445         * locale/findlocale.c (_nl_find_locale): Likewise.
11446         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
11447         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
11448         Likewise.
11449         * locale/setlocale.c (setlocale): Likewise.
11450         * login/programs/pt_chown.c (main): Likewise.
11451         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
11452         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
11453         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
11454         (mmap, mmap64, mremap, munmap): Likewise.
11455         * math/e_exp2l.c: Likewise.
11456         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
11457         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
11458         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
11459         * math/s_catan.c (__catan): Likewise.
11460         * math/s_catanf.c (__catanf): Likewise.
11461         * math/s_catanh.c (__catanh): Likewise.
11462         * math/s_catanhf.c (__catanhf): Likewise.
11463         * math/s_catanhl.c (__catanhl): Likewise.
11464         * math/s_catanl.c (__catanl): Likewise.
11465         * math/s_ccosh.c (__ccosh): Likewise.
11466         * math/s_ccoshf.c (__ccoshf): Likewise.
11467         * math/s_ccoshl.c (__ccoshl): Likewise.
11468         * math/s_cexp.c (__cexp): Likewise.
11469         * math/s_cexpf.c (__cexpf): Likewise.
11470         * math/s_cexpl.c (__cexpl): Likewise.
11471         * math/s_clog10.c (__clog10): Likewise.
11472         * math/s_clog10f.c (__clog10f): Likewise.
11473         * math/s_clog10l.c (__clog10l): Likewise.
11474         * math/s_clog.c (__clog): Likewise.
11475         * math/s_clogf.c (__clogf): Likewise.
11476         * math/s_clogl.c (__clogl): Likewise.
11477         * math/s_csin.c (__csin): Likewise.
11478         * math/s_csinf.c (__csinf): Likewise.
11479         * math/s_csinh.c (__csinh): Likewise.
11480         * math/s_csinhf.c (__csinhf): Likewise.
11481         * math/s_csinhl.c (__csinhl): Likewise.
11482         * math/s_csinl.c (__csinl): Likewise.
11483         * math/s_csqrt.c (__csqrt): Likewise.
11484         * math/s_csqrtf.c (__csqrtf): Likewise.
11485         * math/s_csqrtl.c (__csqrtl): Likewise.
11486         * math/s_ctan.c (__ctan): Likewise.
11487         * math/s_ctanf.c (__ctanf): Likewise.
11488         * math/s_ctanh.c (__ctanh): Likewise.
11489         * math/s_ctanhf.c (__ctanhf): Likewise.
11490         * math/s_ctanhl.c (__ctanhl): Likewise.
11491         * math/s_ctanl.c (__ctanl): Likewise.
11492         * math/w_pow.c: Likewise.
11493         * math/w_powf.c: Likewise.
11494         * math/w_powl.c: Likewise.
11495         * math/w_scalb.c (sysv_scalb): Likewise.
11496         * math/w_scalbf.c (sysv_scalbf): Likewise.
11497         * math/w_scalbl.c (sysv_scalbl): Likewise.
11498         * misc/error.c (error_tail): Likewise.
11499         * misc/pselect.c (__pselect): Likewise.
11500         * nis/nis_callback.c (__nis_create_callback): Likewise.
11501         * nis/nis_call.c (__nisfind_server): Likewise.
11502         * nis/nis_creategroup.c (nis_creategroup): Likewise.
11503         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
11504         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
11505         * nis/nis_getservlist.c (nis_getservlist): Likewise.
11506         * nis/nis_lookup.c (nis_lookup): Likewise.
11507         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
11508         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
11509         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
11510         * nis/nis_xdr.c (xdr_endpoint): Likewise.
11511         * nis/nss_compat/compat-grp.c (getgrent_next_file)
11512         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
11513         * nis/nss_compat/compat-initgroups.c (add_group)
11514         (internal_getgrent_r): Likewise.
11515         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
11516         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
11517         * nis/nss_compat/compat-spwd.c (getspent_next_file)
11518         (internal_getspnam_r): Likewise.
11519         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
11520         (_nss_nis_getaliasbyname_r): Likewise.
11521         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
11522         (_nss_nis_getntohost_r): Likewise.
11523         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
11524         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
11525         (_nss_nis_getgrgid_r): Likewise.
11526         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
11527         (internal_nis_gethostent_r, internal_gethostbyname2_r)
11528         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
11529         (_nss_nis_gethostbyname4_r): Likewise.
11530         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
11531         (initgroups_netid): Likewise.
11532         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
11533         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
11534         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
11535         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
11536         (_nss_nis_getprotobynumber_r): Likewise.
11537         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
11538         (_nss_nis_getsecretkey): Likewise.
11539         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
11540         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
11541         (_nss_nis_getpwuid_r): Likewise.
11542         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
11543         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
11544         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
11545         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
11546         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
11547         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
11548         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
11549         Likewise.
11550         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
11551         (_nss_nisplus_getntohost_r): Likewise.
11552         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
11553         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
11554         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
11555         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
11556         Likewise.
11557         * nis/nss_nisplus/nisplus-initgroups.c
11558         (_nss_nisplus_initgroups_dyn): Likewise.
11559         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
11560         (_nss_nisplus_getnetbyaddr_r): Likewise.
11561         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
11562         (_nss_nisplus_getprotobynumber_r): Likewise.
11563         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
11564         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
11565         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
11566         Likewise.
11567         * nis/nss_nisplus/nisplus-service.c
11568         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
11569         (_nss_nisplus_getservbyport_r): Likewise.
11570         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
11571         (_nss_nisplus_getspnam_r): Likewise.
11572         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
11573         Likewise.
11574         * nscd/aicache.c (addhstaiX): Likewise.
11575         * nscd/cache.c (cache_search, prune_cache): Likewise.
11576         * nscd/connections.c (register_traced_file, send_ro_fd)
11577         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
11578         (main_loop_epoll): Likewise.
11579         * nscd/grpcache.c (addgrbyX): Likewise.
11580         * nscd/hstcache.c (addhstbyX): Likewise.
11581         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11582         * nscd/mem.c (gc, mempool_alloc): Likewise.
11583         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
11584         (addinnetgrX): Likewise.
11585         * nscd/nscd-client.h (__nscd_acquire_maplock)
11586         (__nscd_drop_map_ref): Likewise.
11587         * nscd/nscd_getai.c (__nscd_getai): Likewise.
11588         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11589         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
11590         Likewise.
11591         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
11592         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11593         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
11594         (__nscd_get_map_ref): Likewise.
11595         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
11596         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
11597         Likewise.
11598         * nscd/pwdcache.c (addpwbyX): Likewise.
11599         * nscd/selinux.c (preserve_capabilities): Likewise.
11600         * nscd/servicescache.c (addservbyX): Likewise.
11601         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
11602         * posix/fnmatch.c (fnmatch): Likewise.
11603         * posix/getopt.c (_getopt_internal_r): Likewise.
11604         * posix/glob.c (glob, glob_in_dir): Likewise.
11605         * posix/wordexp.c (exec_comm_child): Likewise.
11606         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
11607         (getanswer_r, gaih_getanswer_slice): Likewise.
11608         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
11609         * resolv/res_init.c: Likewise.
11610         * resolv/res_mkquery.c (res_nmkquery): Likewise.
11611         * resolv/res_query.c (__libc_res_nquery): Likewise.
11612         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
11613         Likewise.
11614         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
11615         * stdio-common/perror.c (perror): Likewise.
11616         * stdio-common/printf_fp.c (___printf_fp): Likewise.
11617         * stdio-common/tmpnam.c (tmpnam): Likewise.
11618         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11619         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
11620         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11621         Likewise.
11622         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11623         * stdlib/putenv.c (putenv): Likewise.
11624         * stdlib/setenv.c (__add_to_environ): Likewise.
11625         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11626         * stdlib/strtol_l.c (INTERNAL): Likewise.
11627         * string/memmem.c (memmem): Likewise.
11628         * string/strerror.c (strerror): Likewise.
11629         * string/strnlen.c (__strnlen): Likewise.
11630         * string/test-memmem.c (simple_memmem): Likewise.
11631         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
11632         * sunrpc/pm_getport.c (__get_socket): Likewise.
11633         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
11634         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
11635         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
11636         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
11637         Likewise.
11638         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11639         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11640         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
11641         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
11642         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
11643         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
11644         Likewise.
11645         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
11646         Likewise.
11647         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
11648         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
11649         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11650         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11651         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11652         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
11653         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11654         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
11655         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
11656         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11657         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11658         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
11659         Likewise.
11660         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
11661         Likewise.
11662         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
11663         Likewise.
11664         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
11665         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11666         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
11667         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
11668         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11669         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
11670         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11671         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
11672         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
11673         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
11674         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
11675         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11676         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11677         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
11678         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11679         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11680         Likewise.
11681         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
11682         Likewise.
11683         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
11684         Likewise.
11685         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
11686         Likewise.
11687         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11688         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11689         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
11690         Likewise.
11691         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
11692         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
11693         * sysdeps/posix/opendir.c (__opendirat): Likewise.
11694         * sysdeps/posix/sleep.c: Likewise.
11695         * sysdeps/posix/tempname.c: Likewise.
11696         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
11697         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11698         Likewise.
11699         * sysdeps/powerpc/powerpc32/dl-machine.h
11700         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
11701         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11702         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11703         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
11704         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
11705         Likewise.
11706         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
11707         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
11708         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11709         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
11710         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11711         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
11712         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
11713         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
11714         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11715         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
11716         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
11717         (elf_machine_lazy_rel): Likewise.
11718         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11719         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
11720         (elf_machine_lazy_rel): Likewise.
11721         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
11722         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
11723         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
11724         * sysdeps/unix/grantpt.c (grantpt): Likewise.
11725         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
11726         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
11727         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11728         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11729         Likewise.
11730         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11731         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11732         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
11733         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
11734         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11735         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11736         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11737         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11738         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11739         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11740         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11741         Likewise.
11742         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11743         (__posix_fallocate64_l64): Likewise.
11744         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11745         (posix_fallocate): Likewise.
11746         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11747         Likewise.
11748         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11749         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11750         (getifaddrs_internal): Likewise.
11751         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11752         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11753         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11754         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11755         * sysdeps/unix/sysv/linux/posix_fallocate64.c
11756         (__posix_fallocate64_l64): Likewise.
11757         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11758         Likewise.
11759         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
11760         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11761         (__get_clockfreq): Likewise.
11762         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11763         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11764         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11765         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11766         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11767         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11768         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11769         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11770         Likewise.
11771         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11772         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11773         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11774         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11775         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11776         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11777         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11778         Likewise.
11779         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11780         (posix_fallocate): Likewise.
11781         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11782         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11783         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
11784         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11785         (elf_machine_rela, elf_machine_rela_relative)
11786         (elf_machine_lazy_rel): Likewise.
11787         * time/asctime.c (asctime_internal): Likewise.
11788         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11789         * time/tzset.c (__tzset_parse_tz): Likewise.
11790         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11791         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11792         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11793         * wcsmbs/wcsmbsload.h: Likewise.
11794
11795         [BZ #15894]
11796         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11797
11798         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11799         (arena_get2): Remove THREAD_STATS conditionals.
11800         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11801         (__malloc_stats, int): Likewise.
11802
11803 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
11804
11805         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11806         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
11807
11808         * manual/setjmp.texi: Fix typos/grammar errors.
11809
11810         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11811         Only return early when n is <= 0.  Delete unused return statement.
11812
11813         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
11814         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11815         * debug/tst-longjmp_chk3.c: New file.
11816
11817         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11818         (test_main): Replace code with set_fortify_handler call.
11819         * debug/test-strcpy_chk.c: Likewise.
11820         * debug/tst-chk1.c: Likewise.
11821         * debug/tst-longjmp_chk.c: Likewise.
11822         * test-skeleton.c: Include fcntl.h & paths.h
11823         (set_fortify_handler): Define.
11824
11825         * debug/tst-longjmp_chk.c: Add header comment and include
11826         ../test-skeleton.c.
11827         (do_test): Mark static.
11828         (TEST_FUNCTION): Define.
11829
11830         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11831         (IP_PMTUDISC_INTERFACE): Likewise.
11832         (IP_MULTICAST_IF): Likewise.
11833         (IP_MULTICAST_TTL): Likewise.
11834         (IP_MULTICAST_LOOP): Likewise.
11835         (IP_ADD_MEMBERSHIP): Likewise.
11836         (IP_DROP_MEMBERSHIP): Likewise.
11837         (IP_UNBLOCK_SOURCE): Likewise.
11838         (IP_BLOCK_SOURCE): Likewise.
11839         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11840         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11841         (IP_MSFILTER): Likewise.
11842         (MCAST_JOIN_GROUP): Likewise.
11843         (MCAST_BLOCK_SOURCE): Likewise.
11844         (MCAST_UNBLOCK_SOURCE): Likewise.
11845         (MCAST_LEAVE_GROUP): Likewise.
11846         (MCAST_JOIN_SOURCE_GROUP): Likewise.
11847         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11848         (MCAST_MSFILTER): Likewise.
11849         (IP_MULTICAST_ALL): Likewise.
11850         (IP_UNICAST_IF): Likewise.
11851
11852         * timezone/Makefile: Delete $(have-ksh) check.
11853         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11854         * timezone/tzselect.ksh: Add +x mode bits.
11855
11856         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11857         (ANON_INODE_FS_MAGIC): Likewise.
11858         (BDEVFS_MAGIC): Likewise.
11859         (BINFMTFS_MAGIC): Likewise.
11860         (BTRFS_TEST_MAGIC): Likewise.
11861         (CRAMFS_MAGIC_WEND): Likewise.
11862         (DEBUGFS_MAGIC): Likewise.
11863         (ECRYPTFS_SUPER_MAGIC): Likewise.
11864         (EXT3_SUPER_MAGIC): Likewise.
11865         (EXT4_SUPER_MAGIC): Likewise.
11866         (FUTEXFS_SUPER_MAGIC): Likewise.
11867         (HOSTFS_SUPER_MAGIC): Likewise.
11868         (HUGETLBFS_MAGIC): Likewise.
11869         (MINIX3_SUPER_MAGIC): Likewise.
11870         (MTD_INODE_FS_MAGIC): Likewise.
11871         (NILFS_SUPER_MAGIC): Likewise.
11872         (OPENPROM_SUPER_MAGIC): Likewise.
11873         (PIPEFS_MAGIC): Likewise.
11874         (PSTOREFS_MAGIC): Likewise.
11875         (QNX6_SUPER_MAGIC): Likewise.
11876         (RAMFS_MAGIC): Likewise.
11877         (REISERFS_SUPER_MAGIC_STRING): Likewise.
11878         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11879         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11880         (SECURITYFS_MAGIC): Likewise.
11881         (SELINUX_MAGIC): Likewise.
11882         (SMACK_MAGIC): Likewise.
11883         (SOCKFS_MAGIC): Likewise.
11884         (SQUASHFS_MAGIC): Likewise.
11885         (STACK_END_MAGIC): Likewise.
11886         (TMPFS_MAGIC): Likewise.
11887         (USBDEVICE_SUPER_MAGIC): Likewise.
11888         (V9FS_MAGIC): Likewise.
11889         (XENFS_SUPER_MAGIC): Likewise.
11890         (CRAMFS_MAGIC): Fix typo in comment.
11891         (EXT2_SUPER_MAGIC): Update comment.
11892         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11893
11894 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
11895
11896         * sysdeps/arm: Move directory from ports/sysdeps/arm.
11897         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11898         * sysdeps/unix/sysv/linux/arm: Move directory from
11899         ports/sysdeps/unix/sysv/linux/arm.
11900         * README: Update listing for arm-*-linux-gnueabi.
11901
11902         * README: Remove mention of am33.
11903
11904 2014-02-07  Roland McGrath  <roland@hack.frob.com>
11905
11906         * bits/sigset.h (__sigemptyset): Use a statement expression rather
11907         than the comma operator, to avoid "rhs of comma has no effect"
11908         compiler warnings.
11909         (__sigfillset, __sigandset, __sigorset): Likewise.
11910         * include/signal.h (__sigemptyset): Likewise.
11911         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11912
11913 2014-02-07  Allan McRae  <allan@archlinux.org>
11914
11915         * version.h (RELEASE): Set to "development".
11916         (VERSION): Set to "2.19.90"
11917         * NEWS: Add 2.20 section.
11918
11919 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
11920
11921         [BZ #16529]
11922         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11923
11924 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11925
11926         * manual/contrib.texi: Update entry for Carlos O'Donell,
11927         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11928
11929 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
11930
11931         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11932
11933         * sysdeps/unix/sysv/linux/kernel-features.h
11934         [__LINUX_KERNEL_VERSION >= 0x020621]
11935         (__ASSUME_PROC_PID_TASK_COMM): Define.
11936
11937 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11938
11939         [BZ #16398]
11940         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11941         conversion when destination buffer does not have enough space.
11942         * libio/tst-ftell-partial-wide.c: New test case.
11943         * libio/Makefile (tests): Add tst-ftell-partial-wide.
11944
11945         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11946         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
11947         Leonard and Allan McRae.
11948
11949 2014-02-04  David S. Miller  <davem@davemloft.net>
11950
11951         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11952         32-bit.
11953
11954 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11955
11956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11957         New file
11958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11959         New file
11960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11961         New file.
11962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11963         New file.
11964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11965         New file.
11966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11967         New file.
11968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11969         New file.
11970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11971         New file.
11972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11973         New file.
11974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11975         New file.
11976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11977         New file.
11978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11979         New file.
11980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11981         New file.
11982
11983 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11984
11985         * nptl/shlib-versions: Change powerpc*le start to 2.17.
11986         * shlib-versions: Likewise.
11987
11988 2014-02-04  Roland McGrath  <roland@hack.frob.com>
11989             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11990
11991         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11992         (abilist-pattern): New variable, set to %-le.abilist.
11993
11994         * Makerules (abilist-pattern): New variable.
11995         (vpath): Use $(abilist-pattern) in place of %.abilist.
11996         (check-abi-% pattern rule): Likewise.
11997         (check-abi, update-abi): Likewise.
11998
11999 2014-02-04  Eric Wong  <normalperson@yhbt.net>
12000
12001         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12002
12003 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
12004
12005         * manual/startup.texi: Add next, previous, and top entries for
12006         the `Program Arguments' and `Environment Variables' nodes.
12007
12008 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
12009
12010         * manual/macros.texi: Add comments before MTASC-safety macros.
12011
12012         * manual/users.texi: Document MTASC-safety properties.
12013
12014         * manual/threads.texi (pthread_key_create, pthread_key_delete)
12015         (pthread_getspecific, pthread_setspecific): Format with
12016         @deftypefun, and add @safety note.
12017         * manual/signal.texi: Move comments that analyze the above
12018         functions to their home place.
12019
12020 2014-02-03  Allan McRae  <allan@archlinux.org>
12021
12022         * po/sl.po: Update Slovenian translation from translation project.
12023
12024 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
12025
12026         * manual/time.texi (timegm): Add missing blank after @c.
12027         Reported by Joseph Myers <joseph@codesourcery.com>.
12028
12029 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
12030
12031         * manual/check-safety.sh: New.
12032         * manual/Makefile ($(objpfx)stamp-summary): Run it.
12033
12034         * manual/terminal.texi: Document MTASC-safety properties.
12035
12036         * manual/filesys.texi: Document MTASC-safety properties.
12037
12038         * manual/errno.texi: Document MTASC-safety properties.
12039
12040         * manual/intro.texi: Document safety identifiers and
12041         conditionals.
12042
12043         * manual/string.texi (wcstok): Fix prototype.
12044         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
12045
12046         * manual/time.texi: Document MTASC-safety properties.
12047
12048         * manual/string.texi: Document MTASC-safety properties.
12049
12050         * manual/threads.texi: Document MTASC-safety properties.
12051
12052         * manual/stdio.texi: Document MTASC-safety properties.
12053
12054         * manual/syslog.texi: Document MTASC-safety properties.
12055
12056         * manual/sysinfo.texi: Document MTASC-safety properties.
12057
12058         * manual/startup.texi: Document MTASC-safety properties.
12059
12060         * manual/socket.texi: Document MTASC-safety properties.
12061
12062         * manual/signal.texi: Document MTASC-safety properties.
12063
12064 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
12065
12066         * manual/setjmp.texi: Document MTASC-safety properties.
12067
12068         * manual/search.texi: Document MTASC-safety properties.
12069
12070         * manual/resource.texi: Document MTASC-safety properties.
12071
12072         * manual/process.texi: Document MTASC-safety properties.
12073
12074         * manual/platform.texi: Document MTASC-safety properties.
12075
12076         * manual/pipe.texi: Document MTASC-safety properties.
12077
12078         * manual/pattern.texi: Document MTASC-safety properties.
12079
12080         * manual/message.texi: Document MTASC-safety properties.
12081
12082         [BZ #12751]
12083         * manual/memory.texi: Document MTASC-safety properties.
12084
12085         * manual/math.texi: Document MTASC-safety properties.
12086
12087         * manual/locale.texi: Document MTASC-safety properties.
12088
12089         * manual/llio.texi: Document MTASC-safety properties.
12090
12091         * manual/libdl.texi: New.
12092
12093         * manual/lang.texi: Document MTASC-safety properties.
12094
12095         * manual/job.texi: Document MTASC-safety properties.
12096
12097         * manual/getopt.texi: Document MTASC-safety properties.
12098
12099         * manual/ctype.texi: Document MTASC-safety properties.
12100
12101 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
12102
12103         [BZ #16046]
12104         * csu/libc-tls.c (static_map): Remove variable.
12105         (__libc_setup_tls): Use main executable's link map for TLS data.
12106         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
12107         casing for LM_ID_BASE and GL(dl_nns).
12108         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
12109         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
12110         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
12111         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
12112         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
12113         member.
12114         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
12115         l_phnum members.
12116
12117 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
12118
12119         * manual/debug.texi: Document MTASC-safety properties.
12120
12121 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
12122
12123         [BZ #16510]
12124         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
12125         of __x86_64__ when disabling x87 inline functions.
12126
12127 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
12128
12129         * manual/charset.texi: Document MTASC-safety properties.
12130
12131         * manual/crypt.texi: Document MTASC-safety properties.
12132
12133         * manual/conf.texi: Document MTASC-safety properties.
12134
12135         * manual/arith.texi: Document MTASC-safety properties.
12136
12137         * manual/argp.texi: Document MTASC-safety properties.
12138
12139         * manual/macros.texi: Introduce macros to document multi
12140         thread, asynchronous signal and asynchronous cancellation
12141         safety properties.
12142         * manual/intro.texi: Introduce the properties themselves.
12143
12144 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12145
12146         * sysdeps/sh/sh4/Makefile: New file.
12147
12148 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
12149
12150         * math/gen-libm-test.pl ($srcdir): New variable.
12151         ($auto_input): Use it.
12152
12153 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12154
12155         [BZ #16506]
12156         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
12157         access beyond array bounds when parsing netgroups file.
12158
12159         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
12160         the old buffer before realloc.
12161
12162 2014-01-27  Allan McRae  <allan@archlinux.org>
12163
12164         * po/fr.po: Update French translation from translation project.
12165
12166 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12167
12168         * sysdeps/sh/libm-test-ulps: Regenerate.
12169
12170 2014-01-24  David S. Miller  <davem@davemloft.net>
12171
12172         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
12173
12174 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12175
12176         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
12177         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
12178
12179 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12180
12181         [BZ #16474]
12182         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
12183         string pointers after reallocation.
12184
12185 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12186
12187         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
12188         __SH4A__ instead of __SH_FPU_ANY__.
12189
12190 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12191
12192         * sysdeps/sh/fpu_control.h: New file.
12193         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
12194         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
12195         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
12196         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
12197         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
12198         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
12199         * sysdeps/sh/sys/ucontext.h: Remove.
12200         * sysdeps/sh/sys: Remove directory.
12201
12202 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12203
12204         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
12205         s390/sys/ucontext.h.
12206         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
12207         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
12208
12209 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
12210
12211         [BZ #15605]
12212         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
12213
12214 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12215
12216         [BZ#16431]
12217         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12218         Adjust the vDSO correctly for internal calls.
12219         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
12220
12221 2014-01-20  Allan McRae  <allan@archlinux.org>
12222
12223         * po/ca.po: Update Catalan translation from translation project.
12224
12225 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
12226
12227         * sysdeps/s390/sotruss-lib.c: New file.
12228
12229 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12230
12231         [BZ#16430]
12232         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
12233         (__GI___gettimeofday): Alias for a different internal symbol to avoid
12234         local calls issues by not having a PLT stub required for IFUNC calls.
12235         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
12236
12237 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
12238
12239         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
12240         * math/test-fpucw-static.c: Likewise.
12241
12242 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12243
12244         [BZ #16453]
12245         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
12246
12247 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12248
12249         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
12250         implementation for powerpc.
12251
12252 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
12253
12254         [BZ #14782]
12255         * sysdeps/posix/system.c (__libc_system): Do not enable
12256         asynchronous cancellation.
12257
12258 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12259
12260         [BZ #16427]
12261         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
12262         handling only for numbers special also in the IEEE case.
12263
12264 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12265
12266         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12267
12268 2014-01-11  Allan McRae  <allan@archlinux.org>
12269
12270         * po/bg.po: Update Bulgarian translation from translation project.
12271
12272         * po/de.po: Update German translation from translation project.
12273
12274 2014-01-10  Roland McGrath  <roland@hack.frob.com>
12275
12276         * sysdeps/generic/gcc-compat.h: New file.
12277
12278 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12279
12280         * benchtests/asin-inputs: Correct slow inputs.
12281         * benchtests/acos-inputs: Likewise.
12282
12283 2014-01-10  Allan McRae  <allan@archlinux.org>
12284
12285         * po:sv.po: Update Swedish translation from translation project.
12286
12287         * po/vi.po: Update Vietnamese translation from translation project.
12288
12289         * po/eo.po: Update Esperanto translation from translation project.
12290
12291         * po/cs.po: Update Czech translation from translation project.
12292
12293         * po/nl.po: Update Dutch translation from translation project.
12294
12295         * po/pl.po: Update Polish translation from translation project.
12296
12297         * po/ru.po: Update Russian translation from translation project.
12298
12299         * po/uk.po: Update Ukrainian translation from translation project.
12300
12301 2014-01-08  Brooks Moses  <bmoses@google.com>
12302
12303         * elf/dl-load.c: Fix comment typo.
12304
12305 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
12306
12307         * po/header.pot: Rename to...
12308         * po/pot.header: ... this.
12309         * po/Makefile: Use pot.header.
12310
12311 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
12312             Maxim Kuvyrkov  <maxim@kugelworks.com>
12313
12314         [BZ #16394]
12315         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
12316         SRC and DEST against LEN.
12317
12318 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12319
12320         [BZ #16414]
12321         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
12322         implementation.
12323         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
12324
12325 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12326
12327         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12328
12329 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
12330
12331         [BZ #16408]
12332         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
12333         for large positive arguments.
12334
12335 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
12336
12337         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12338
12339         * math/auto-libm-test-in: Mark various tests with
12340         xfail-rounding:ldbl-128ibm.
12341         * math/auto-libm-test-out: Regenerated.
12342
12343         [BZ #16407]
12344         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
12345         Increase overflow threshold.
12346
12347 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
12348
12349         [BZ #14286]
12350         * stdio-common/vfprintf.c: Check for integer overflow.
12351
12352 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12353
12354         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
12355         the first argument and return value of __tls_get_addr_internal.
12356
12357 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12358
12359         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
12360         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
12361
12362 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12363
12364         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
12365         * sysdeps/s390/rtld-global-offsets.sym: New file.
12366         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
12367         GLIBC_2.19 symbol.
12368         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
12369         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
12370         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12371         ... this.
12372         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
12373         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12374         ... this.
12375         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12376         Regenerate.
12377         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12378         Regenerate.
12379         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
12380         halfs of GPRs for high_gprs contexts.
12381         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
12382         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
12383         field.
12384         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
12385         uc_flags field.
12386         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
12387         64 bit versions:
12388         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
12389         for high GPRs (uc_high_gprs) and for future extensions
12390         (__reserved).
12391         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
12392         for future extensions (__reserved).
12393         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
12394         64 bit versions:
12395         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
12396         SC_HIGHGPRS offset definition.
12397         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
12398         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
12399
12400         * Versions.def: Add GLIBC_2.19 for libpthread.
12401         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
12402         siglongjmp for libpthread with GLIBC_2.19 symver.
12403         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
12404         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
12405         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
12406         * sysdeps/s390/__longjmp.c: New file.
12407         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
12408         * sysdeps/s390/longjmp.c: New file.
12409         * sysdeps/s390/setjmp.S: New file.
12410         * sysdeps/s390/sigjmp.S: New file.
12411         * sysdeps/s390/v1-longjmp.c: New file.
12412         * sysdeps/s390/v1-setjmp.h: New file.
12413         * sysdeps/s390/v1-sigjmp.c: New file.
12414         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
12415         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
12416         GLIBC_2.19 version.
12417         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
12418         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
12419         versioned symbols for ____longjmp_chk.
12420         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12421         Likewise.
12422         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12423         Regenerate.
12424         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12425         Regenerate.
12426         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12427         Regenerate.
12428         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12429         Regenerate.
12430         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
12431         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
12432         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
12433         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
12434         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
12435         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
12436         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
12437         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
12438         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
12439         * sysdeps/s390/rtld-__longjmp.c: New file.
12440         * sysdeps/s390/rtld-setjmp.S: New file.
12441
12442 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
12443
12444         [BZ #16400]
12445         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12446         Return -__logl (x) for small positive arguments without evaluating
12447         a polynomial.
12448
12449 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
12450
12451         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
12452         Rename to ...
12453         (__ptrace_peeksiginfo_args): ... this.
12454         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12455         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12456         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12457
12458 2014-01-06  Allan McRae  <allan@archlinux.org>
12459
12460         * inet/netinet/in.h: Fix typo in comment.
12461
12462 2014-01-05  Andreas Jaeger  <aj@suse.de>
12463
12464         * sysdeps/i386/fpu/libm-test-ulps: Update.
12465
12466 2014-01-05  Allan McRae  <allan@archlinux.org>
12467
12468         * po/libc.pot: Regenerated.
12469
12470         * malloc/memusagestat.c: Fix gettext call formatting.
12471
12472 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
12473
12474         * nscd/nscd.c: Improve usage() output.
12475
12476 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
12477
12478         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
12479         * sysdeps/unix/sysv/linux/configure: Regenerated.
12480         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
12481         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
12482
12483 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
12484
12485         [BZ #16390]
12486         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12487         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
12488
12489 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12490
12491         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
12492         extra tokens at end of #undef directive.
12493         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
12494         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
12495         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12496
12497 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
12498
12499         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12500
12501         * math/auto-libm-test-in: Mark various tests with
12502         xfail-rounding:ldbl-128ibm.
12503         * math/auto-libm-test-out: Regenerated.
12504
12505 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
12506
12507         [BZ #16386]
12508         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
12509         numbers with subnormal high part when calculating exponent.
12510
12511         [BZ #16385]
12512         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
12513         fabs.
12514
12515         [BZ #16384]
12516         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
12517         M_LN2l.
12518         (__ieee754_acoshl): Use __log1pl not __log1p.
12519
12520 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
12521
12522         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
12523         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
12524         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
12525         (grow_heap, heap_trim, _int_new_arena, get_free_list)
12526         (reused_arena, arena_get2): Convert to GNU style.
12527         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
12528         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
12529         (memalign_check, __malloc_set_state): Likewise.
12530         * malloc/mallocbug.c (main): Likewise.
12531         * malloc/malloc.c (__malloc_assert, malloc_init_state)
12532         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
12533         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
12534         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
12535         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
12536         (__posix_memalign, malloc_info): Likewise.
12537         * malloc/malloc.h: Likewise.
12538         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
12539         (mallochook, memalignhook, reallochook, mabort): Likewise.
12540         * malloc/mcheck.h: Likewise.
12541         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
12542         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
12543         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
12544         * malloc/morecore.c (__default_morecore): Likewise.
12545         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
12546         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
12547         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
12548         (print_and_abort): Likewise.
12549         * malloc/obstack.h: Likewise.
12550         * malloc/set-freeres.c (__libc_freeres): Likewise.
12551         * malloc/tst-mallocstate.c (main): Likewise.
12552         * malloc/tst-mtrace.c (main): Likewise.
12553         * malloc/tst-realloc.c (do_test): Likewise.
12554
12555 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12556
12557         [BZ #16366]
12558         * nscd/netgroupcache.c (do_notfound): New function.
12559         (addgetnetgrentX): Use it.
12560
12561         [BZ # 16365]
12562         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
12563         NSS_STATUS_NOTFOUND.
12564
12565 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
12566
12567         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12568         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12569
12570 2014-01-01  Allan McRae  <allan@archlinux.org>
12571
12572         * scripts/update-copyrights: Update configure input file suffix.
12573
12574         * NEWS: Update copyright year.
12575         * catgets/gencat.c: Likewise.
12576         * csu/version.c: Likewise.
12577         * debug/catchsegv.sh: Likewise.
12578         * debug/pcprofiledump.c: Likewise.
12579         * debug/xtrace.sh: Likewise.
12580         * elf/ldconfig.c: Likewise.
12581         * elf/ldd.bash.in: Likewise.
12582         * elf/pldd.c: Likewise.
12583         * elf/sotruss.ksh: Likewise.
12584         * elf/sprof.c: Likewise.
12585         * iconv/iconv_prog.c: Likewise.
12586         * iconv/iconvconfig.c: Likewise.
12587         * locale/programs/locale.c: Likewise.
12588         * locale/programs/localedef.c: Likewise.
12589         * login/programs/pt_chown.c: Likewise.
12590         * malloc/memusage.sh: Likewise.
12591         * malloc/memusagestat.c: Likewise.
12592         * malloc/mtrace.pl: Likewise.
12593         * manual/libc.texinfo: Likewise.
12594         * nscd/nscd.c: Likewise.
12595         * nss/getent.c: Likewise.
12596         * nss/makedb.c: Likewise.
12597         * posix/getconf.c: Likewise.
12598         * scripts/test-installation.pl: Likewise.
12599
12600         * All files with FSF copyright notices: Update copyright dates
12601         using scripts/update-copyrights.
12602         * intl/plural.c: Regenerated.
12603         * locale/programs/charmap-kw.h: Likewise.
12604         * locale/programs/locfile-kw.h: Likewise.
12605
12606 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
12607
12608         * sysdeps/unix/sysv/linux/configure: Regenerated.
12609         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
12610         the linux/fanotify.h header.
12611         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
12612         HAVE_LINUX_FANOTIFY_H is defined.
12613
12614 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
12615
12616         * benchtests/cos-inputs: New inputs.
12617         * benchtests/sin-inputs: Likewise.
12618
12619         * benchtests/atan-inputs: New inputs. Fix name of multiple
12620         precision fallback inputs.
12621
12622         * benchtests/atanh-inputs: New inputs.
12623         * benchtests/tanh-inputs: Likewise.
12624
12625         * benchtests/acosh-inputs: New inputs.
12626         * benchtests/asinh-inputs: Likewise.
12627
12628         * benchtests/cosh-inputs: New inputs.
12629         * benchtests/sinh-inputs: Likewise.
12630
12631         * benchtests/acos-inputs: Add more inputs.
12632         * benchtests/asin-inputs: Likewise.
12633
12634 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
12635
12636         [BZ #16375]
12637         * manual/arith.texi: Fix spelling.
12638         * manual/charset.texi: Likewise.
12639         * manual/errno.texi: Likewise.
12640         * manual/filesys.texi: Likewise.
12641         * manual/lang.texi: Likewise.
12642         * manual/llio.texi: Likewise.
12643         * manual/locale.texi: Likewise.
12644         * manual/message.texi: Likewise.
12645         * manual/resource.texi: Likewise.
12646         * manual/search.texi: Likewise.
12647         * manual/setjmp.texi: Likewise.
12648         * manual/stdio.texi: Likewise.
12649         * manual/string.texi: Likewise.
12650         * manual/sysinfo.texi: Likewise.
12651         * manual/time.texi: Likewise.
12652
12653 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
12654
12655         * po/sl.po: New file.
12656
12657 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
12658
12659         * .gitignore: Add core/.gdbinit/.gdb_history.
12660
12661 2013-12-27  Allan McRae  <allan@archlinux.org>
12662
12663         [BZ #16369]
12664         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
12665         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
12666
12667 2013-12-24  Brooks Moses  <bmoses@google.com>
12668
12669         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
12670         all compilers that claim C++98 compliance, not just GCC.
12671         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
12672         Likewise.
12673
12674 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
12675
12676         * NEWS: Restore accidentally deleted bug-fix entries.
12677
12678 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
12679             Ondřej Bílka  <neleai@seznam.cz>
12680
12681         [BZ #15073]
12682         * malloc/malloc.c (_int_free): Perform sanity check only if we
12683         have_lock.
12684
12685 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
12686
12687         [BZ #12986]
12688         * manual/stdio.texi (String Input Conversions): Clarify that character
12689         classes are not supported.
12690
12691 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12692
12693         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12694
12695 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
12696
12697         [BZ #16337]
12698         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12699         Calculate results for small negative arguments directly rather
12700         than using reflection formula with special underflow handling.
12701
12702         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
12703         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
12704         sysdeps/unix/bsd/bsd4.4/syscalls.list.
12705         (fchflags): Likewise.
12706         (revoke): Likewise.
12707         (setlogin): Likewise.
12708         (sigaltstack): Likewise.
12709         (wait4): Likewise.
12710         (sigblock): Remove.
12711         (sigsetmask): Likewise.
12712         (wait3): Likewise.
12713         (waitpid): Likewise.
12714         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
12715         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
12716         file.
12717         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
12718         * sysdeps/unix/bsd/Makefile: ... here.
12719         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
12720         * sysdeps/unix/bsd/Versions: ... here.
12721         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
12722         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
12723         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
12724         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
12725         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
12726         * sysdeps/unix/bsd/sigblock.c: ... here.
12727         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
12728         * sysdeps/unix/bsd/sigsetmask.c: ... here.
12729         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
12730         * sysdeps/unix/bsd/sigvec.c: ... here.
12731         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
12732         * sysdeps/unix/bsd/tcdrain.c: ... here.
12733         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
12734         * sysdeps/unix/bsd/tcgetattr.c: ... here.
12735         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12736         * sysdeps/unix/bsd/tcsetattr.c: ... here.
12737         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12738         * sysdeps/unix/bsd/wait.c: ... here.
12739         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12740         * sysdeps/unix/bsd/wait3.c: ... here.
12741         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12742         * sysdeps/unix/bsd/waitpid.c: ... here.
12743
12744 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
12745
12746         [BZ #16356]
12747         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12748         round-to-nearest for [!USE_AS_EXPM1L].
12749         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12750         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
12751         more tests of exp and exp10.  Expect some exp10 tests to miss
12752         exceptions or fail in directed rounding modes.
12753         * math/auto-libm-test-out: Regenerated.
12754         * math/libm-test.inc (exp10_tonearest_test_data): New array.
12755         (exp10_test_tonearest): New function.
12756         (exp10_towardzero_test_data): New array.
12757         (exp10_test_towardzero): New function.
12758         (exp10_downward_test_data): New array.
12759         (exp10_test_downward): New function.
12760         (exp10_upward_test_data): New array.
12761         (exp10_test_upward): New function.
12762         (main): Call the new functions.
12763         * sysdeps/i386/fpu/libm-test-ulps: Update.
12764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12765
12766 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
12767
12768         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12769         asinh, atan, atan2, atanh, cbrt, cos and cosh.
12770         * math/auto-libm-test-out: Regenerated.
12771         * math/libm-test.inc (acosh_test_data): Add more tests.
12772         (atanh_test_data): Likewise.
12773         (ceil_test_data): Likewise.
12774         (copysign_test_data): Likewise.
12775         * sysdeps/i386/fpu/libm-test-ulps: Update.
12776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12777
12778         * timezone/checktab.awk: Update from tzcode 2013i.
12779         * timezone/private.h: Likewise.
12780         * timezone/scheck.c: Likewise.
12781         * timezone/tzfile.h: Likewise.
12782         * timezone/tzselect.ksh: Likewise.
12783         * timezone/zdump.c: Likewise.
12784         * timezone/zic.c: Likewise.
12785
12786         * math/auto-libm-test-in: Add tests of cpow.
12787         * math/auto-libm-test-out: Regenerated.
12788         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
12789         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12790         mpc_cc_c.
12791         (func_calc_desc): Add mpc_cc_c union field.
12792         (test_functions): Add cpow.
12793         (special_fill_2pi): New function.
12794         (special_real_inputs): Add 2pi.
12795         (calc_generic_results): Handle mpc_cc_c.
12796         * sysdeps/i386/fpu/libm-test-ulps: Update.
12797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12798
12799         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12800         csqrt, ctan and ctanh.
12801         * math/auto-libm-test-out: Regenerated.
12802         * math/libm-test.inc (TEST_COND_x86_64): New macro.
12803         (TEST_COND_x86): Likewise.
12804         (ccos_test_data): Use AUTO_TESTS_c_c.
12805         (ccosh_test_data): Likewise.
12806         (cexp_test_data): Likewise.
12807         (clog_test_data): Likewise.
12808         (csqrt_test_data): Likewise.
12809         (ctan_test_data): Likewise.
12810         (ctan_tonearest_test_data): Likewise.
12811         (ctan_towardzero_test_data): Likewise.
12812         (ctan_downward_test_data): Likewise.
12813         (ctan_upward_test_data): Likewise.
12814         (ctanh_test_data): Likewise.
12815         (ctanh_tonearest_test_data): Likewise.
12816         (ctanh_towardzero_test_data): Likewise.
12817         (ctanh_downward_test_data): Likewise.
12818         (ctanh_upward_test_data): Likewise.
12819         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12820         mpc_c_c.
12821         (func_calc_desc): Add mpc_c_c union field.
12822         (FUNC_mpc_c_c): New macro.
12823         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12824         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12825         ctanh.
12826         (special_fill_min_subnorm_p120): New function.
12827         (special_real_inputs): Add min_subnorm_p120.
12828         (calc_generic_results): Handle mpc_c_c.
12829         * sysdeps/i386/fpu/libm-test-ulps: Update.
12830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12831
12832 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12833
12834         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12835         (do_sin_slow): New functions.
12836         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12837         (cslow2, csloww1, csloww2): Use the new functions.
12838
12839         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12840         Use M to change sign of result instead of X.  Assume X is
12841         positive.
12842         (csloww1): Likewise.
12843         (__sin): Adjust.
12844         (__cos): Adjust.
12845
12846         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12847         arguments A and DA.
12848         (__sin): Adjust.
12849         (__cos): Likewise.
12850
12851         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12852         (__cos): Likewise.
12853         (sloww1): Don't adjust sign of DX.
12854         (csloww1): Likewise.
12855         (sloww2): Use X directly and don't adjust sign of DX.
12856         (csloww2): Likewise.
12857
12858 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12859
12860         * math/auto-libm-test-in: Add tests of cabs and carg.
12861         * math/auto-libm-test-out: Regenerated.
12862         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12863         (carg_test_data): Likewise.
12864         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12865         mpc_c_f.
12866         (func_calc_desc): Add mpc_c_f union field.
12867         (test_functions): Add cabs and carg.
12868         (calc_generic_results): Handle mpc_c_f.
12869
12870         * sysdeps/powerpc/powerpc32/libgcc-compat.S
12871         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12872         as a macro and a compat symbol.
12873         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12874         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12875         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12876         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12877         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12878         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12879         not use .hidden.
12880         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12881         Likewise.
12882         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12883         Likewise.
12884         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12885         Likewise.
12886         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12887         Likewise.
12888         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12889         Likewise.
12890         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12891         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12892         from GLIBC_2.3.2.
12893
12894 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12895
12896         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12897
12898 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12899
12900         * manual/texinfo.tex: Update to version 2013-11-26.10 with
12901         trailing whitespace removed.
12902         * scripts/config.guess: Update to version 2013-11-29.
12903         * scripts/config.sub: Update to version 2013-10-01.
12904
12905         * math/auto-libm-test-in: Add tests of sincos.
12906         * math/auto-libm-test-out: Regenerated.
12907         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12908         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12909         mpfr_f_11.
12910         (func_calc_desc): Add mpfr_f_11 union field.
12911         (test_functions): Add sincos.
12912         (calc_generic_results): Handle mpfr_f_11.
12913         * sysdeps/i386/fpu/libm-test-ulps: Update.
12914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12915
12916 2013-12-19  Andreas Schwab  <schwab@suse.de>
12917
12918         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12919         CALL_MCOUNT.
12920         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12921         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12922         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12923
12924 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12925
12926         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12927         * sysdeps/i386/fpu/libm-test-ulps: Update.
12928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12929
12930         [BZ #16293]
12931         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12932         round-to-nearest mode when using frndint.
12933         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12934         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12935         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12936         Likewise.
12937         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
12938         sinh test to fail.
12939         * math/auto-libm-test-out: Regenerated.
12940         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12941         (TEST_COND_x86): Likewise.
12942         (expm1_tonearest_test_data): New array.
12943         (expm1_test_tonearest): New function.
12944         (expm1_towardzero_test_data): New array.
12945         (expm1_test_towardzero): New function.
12946         (expm1_downward_test_data): New array.
12947         (expm1_test_downward): New function.
12948         (expm1_upward_test_data): New array.
12949         (expm1_test_upward): New function.
12950         (main): Run the new test functions.
12951         * sysdeps/i386/fpu/libm-test-ulps: Update.
12952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12953
12954         * include/features.h: Update comment documenting feature test
12955         macros.  Mention _DEFAULT_SOURCE in comment.
12956         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12957         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12958         _BSD_SOURCE and _SVID_SOURCE.
12959         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12960         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12961         !_SVID_SOURCE]: Likewise.
12962         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12963         (__USE_POSIX_IMPLICITLY): Define.
12964         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12965         (_POSIX_SOURCE): Undefine and redefine.
12966         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12967         (_POSIX_C_SOURCE): Likewise.
12968         * manual/creature.texi (_DEFAULT_SOURCE): Document.
12969         (Feature Test Macros): Update documentation of default features.
12970
12971 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12972
12973         * benchtests/Makefile: Add bench-strtok.
12974         * benchtests/bench-strtok.c: New file: strtok benchtest.
12975
12976 2013-12-19  Allan McRae  <allan@archlinux.org>
12977
12978         * manual/install.texi: Suppress menu for plain text output.
12979         * INSTALL: Regenerated.
12980
12981 2013-12-18  Brooks Moses  <bmoses@google.com>
12982
12983         [BZ #15846]
12984         * misc/getauxval.c: Include errno.h.
12985         (__getauxval): Set errno to ENOENT if the requested type is not
12986         found.
12987         * misc/sys/auxv.h (getauxval): Document that it may set errno;
12988         don't declare with __attribute_const__.
12989         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12990         * manual/startup.texi: Document that getauxval sets errno.
12991
12992 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
12993
12994         * math/auto-libm-test-in: Add tests of jn and yn.
12995         * math/auto-libm-test-out: Regenerated.
12996         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12997         (yn_test_data): Likewise.
12998         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12999         mpfr_if_f.
13000         (func_calc_desc): Add mpfr_if_f union field.
13001         (FUNC_mpfr_if_f): New macro.
13002         (test_functions): Add jn and yn.
13003         (calc_generic_results): Assert type of second input for
13004         mpfr_ff_f.  Handle mpfr_if_f.
13005         (output_for_one_input_case): Disable all checking for arguments
13006         fitting floating-point types in case of an integer argument.
13007         * sysdeps/i386/fpu/libm-test-ulps: Update.
13008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13009
13010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13011         Don't expect fegetround reference in libm.so.
13012
13013 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13014
13015         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
13016         $(config-cflags-nofma).
13017
13018 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
13019
13020         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
13021         * math/auto-libm-test-out: Regenerated.
13022
13023         [BZ #16338]
13024         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
13025         to determine exponent and adjust argument to have exponent of -1.
13026         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
13027         log2.
13028         * math/auto-libm-test-out: Regenerated.
13029         * sysdeps/i386/fpu/libm-test-ulps: Update.
13030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13031
13032 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
13033
13034         * manual/probes.texi: Remove cases when per-thread arenas are
13035         disabled.
13036
13037 2013-12-18  Andreas Schwab  <schwab@suse.de>
13038
13039         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
13040         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
13041         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
13042         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
13043         * sysdeps/i386/i686/multiarch/Makefile: Update.
13044         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
13045
13046 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
13047
13048         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
13049         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
13050
13051 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
13052
13053         [BZ #15968]
13054         Support TZ transition times < 00:00:00.
13055         This is needed for version-3 tz-format files; it supports time
13056         stamps past 2037 for America/Godthab (the only entry in the tz
13057         database for which this change is relevant).
13058         * manual/time.texi (TZ Variable): Document transition times
13059         from -167:59:59 through -00:00:01.
13060         * time/tzset.c (tz_rule): Time of day is now signed.
13061         (__tzset_parse_tz): Parse negative time of day.
13062
13063         Document TZ transition times >= 25:00:00.
13064         * manual/time.texi (TZ Variable): Document transition times from
13065         25:00:00 through 167:59:59.  These are already supported, and this
13066         support will help with version-3 tz-format files.
13067
13068         * manual/time.texi (TZ Variable): Modernize North America example
13069         to reflect current (i.e., 2007-and-later) daylight saving rules.
13070
13071         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
13072
13073 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
13074
13075         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
13076         * sysdeps/unix/bsd/bits/stat.h: Likewise.
13077         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
13078         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13079         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
13080         * sysdeps/unix/bsd/bsdstat.h: Likewise.
13081         * sysdeps/unix/bsd/clock.c: Likewise.
13082         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
13083         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
13084         * sysdeps/unix/bsd/init-posix.c: Likewise.
13085         * sysdeps/unix/bsd/poll.c: Likewise.
13086         * sysdeps/unix/bsd/ptsname.c: Likewise.
13087         * sysdeps/unix/bsd/seekdir.c: Likewise.
13088         * sysdeps/unix/bsd/setegid.c: Likewise.
13089         * sysdeps/unix/bsd/seteuid.c: Likewise.
13090         * sysdeps/unix/bsd/setgid.c: Likewise.
13091         * sysdeps/unix/bsd/setrgid.c: Likewise.
13092         * sysdeps/unix/bsd/setruid.c: Likewise.
13093         * sysdeps/unix/bsd/setsid.c: Likewise.
13094         * sysdeps/unix/bsd/setuid.c: Likewise.
13095         * sysdeps/unix/bsd/sigaction.c: Likewise.
13096         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
13097         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
13098         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
13099         * sysdeps/unix/bsd/telldir.c: Likewise.
13100         * sysdeps/unix/bsd/times.c: Likewise.
13101         * sysdeps/unix/bsd/usleep.c: Likewise.
13102
13103         * misc/Makefile (install-lib): Remove libbsd-compat.a.
13104         ($(objpfx)libbsd-compat.a): Remove rule.
13105
13106         * include/features.h (__FAVOR_BSD): Do not define.
13107         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
13108         features conflicting with POSIX.
13109         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
13110         (_BSD_SOURCE): Remove description of not being a subset of other
13111         feature test macros.
13112         * manual/job.texi (getpgrp): Do not document BSD version.
13113         (getpgid): Do not document by reference to BSD getpgrp.
13114         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
13115         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
13116         * signal/signal.h [__FAVOR_BSD]: Likewise.
13117         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
13118         instead of making contents conditional on [__FAVOR_BSD].
13119         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
13120
13121 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13122
13123         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13124
13125 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
13126
13127         [BZ #16314]
13128         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
13129         values below 2**-450, not 2**-500.
13130         * math/auto-libm-test-in: Don't allow spurious underflow from
13131         hypot.
13132         * math/auto-libm-test-out: Regenerated.
13133
13134         [BZ #16316]
13135         [BZ #16330]
13136         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
13137         values of ha and hb and sort them after adjusting subnormal
13138         arguments.
13139         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13140         Likewise.
13141         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
13142         values of ea and eb and sort them after adjusting subnormal
13143         arguments.
13144         * math/auto-libm-test-in: Do not expect some hypot tests of
13145         subnormals to fail.  Add more hypot tests.
13146         * math/auto-libm-test-out: Regenerated.
13147
13148 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13149
13150         [BZ #13304]
13151         * sysdeps/sh/s_fma.c: New file.
13152         * sysdeps/sh/s_fmaf.c: New file.
13153         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
13154         version.
13155         * sysdeps/sh/Implies: Add sh/soft-fp.
13156
13157 2013-12-16  Roland McGrath  <roland@hack.frob.com>
13158
13159         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
13160         level of indirection to members `objname', `errstring', `malloced'.
13161         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
13162         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
13163         it as the __longjmp argument (just pass 1 instead).
13164         (_dl_catch_error): Initialize C with argument pointers and address of
13165         volatile local ERRCODE rather than copying values out of C at return.
13166
13167 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
13168
13169         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
13170         * math/auto-libm-test-out: Regenerated.
13171         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
13172         (hypot_test_data): Likewise.
13173         (pow_test_data): Likewise.
13174         (pow_tonearest_test_data): Likewise.
13175         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13176         mpfr_ff_f.
13177         (func_calc_desc): Add mpfr_ff_f union field.
13178         (FUNC_mpfr_ff_f): New macro.
13179         (test_functions): Add atan2, hypot and pow.
13180         (special_fill_min): New function.
13181         (special_fill_minus_min): Likewise.
13182         (special_fill_min_subnorm): Likewise.
13183         (special_fill_minus_min_subnorm): Likewise.
13184         (special_real_inputs): Add min, -min, min_subnorm and
13185         -min_subnorm.
13186         (calc_generic_results): Handle mpfr_ff_f.
13187         * sysdeps/i386/fpu/libm-test-ulps: Update.
13188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13189
13190 2013-12-16  Will Newton  <will.newton@linaro.org>
13191
13192         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
13193         (Aligned Memory Blocks): Add documentation for aligned_alloc
13194         and suggest it as an alternative to posix_memalign.
13195         (Hooks for Malloc): Document __memalign_hook is also called
13196         for aligned_alloc.  (Summary of Malloc): Add summary for
13197         aligned alloc.  Document __memalign_hook is also called
13198         for aligned_alloc.
13199
13200 2013-12-16  Will Newton  <will.newton@linaro.org>
13201
13202         * manual/memory.texi (Malloc Examples): Clarify default
13203         alignment documentation.  Suggest posix_memalign rather
13204         than memalign or valloc.
13205         (Aligned Memory Blocks): Remove suggestion to use memalign
13206         or valloc.  Remove obsolete comment about BSD.
13207         Document memalign errno values and mark the function obsolete.
13208         Document posix_memalign returned error codes.  Mark valloc
13209         as obsolete.  (Hooks for Malloc): __memalign_hook is also
13210         called for posix_memalign and valloc.
13211         (Summary of Malloc): Add posix_memalign to function summary.
13212         __memalign_hook is also called for posix_memalign and valloc.
13213
13214 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13215
13216         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
13217         TAYLOR_SIN.
13218         (__sin): Adjust.
13219         (__cos): Likewise.
13220         (sloww): Use mynumber union.  Expand ternary operator into
13221         if-else statements.
13222         (cslow): use mynumber union.
13223
13224 2013-12-16  Allan McRae  <allan@archlinux.org>
13225
13226         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
13227         * configure: Regenerated.
13228
13229         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
13230
13231         [BZ #14120]
13232         * configure.ac: Added --enable-maintainer-mode. Check for
13233         autoconf when enabled.
13234         * configure: Regenerated.
13235
13236         * nscd/nscd.service: New file.
13237         * nscd/nscd.tmpfiles: New file.
13238
13239 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
13240
13241         [BZ #12100]
13242         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
13243         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
13244         * sysdeps/x86_64/multiarch/strstr.c: ... here.
13245         (strstr): Add __strstr_sse2_unaligned ifunc.
13246         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
13247         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
13248         (strcasestr): Remove __strcasestr_sse42 ifunc.
13249         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
13250         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
13251         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13252
13253 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13254
13255         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
13256         * sysdeps/sh/bits/fenv.h: ... here.
13257         * sysdeps/sh/sh4/fpu/bits: Remove directory.
13258
13259 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13260
13261         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
13262
13263         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
13264         hypotf multiarch implementations.
13265         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
13266         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
13267         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
13268         multiarch hypot for PPC64.
13269         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
13270         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
13271         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
13272         multiarch hypotf for PPC64.
13273
13274         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
13275         modff multiarch implementations.
13276         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
13277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
13278         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
13279         multiarch modf for PPC64.
13280         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
13281         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
13282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
13283         multiarch modff for PPC64.
13284
13285         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
13286         and logl multiarch implementations.
13287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
13288         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
13289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
13290         multiarch logb for PPC64.
13291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
13292         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
13293         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
13294         multiarch logb for PPC64.
13295         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
13296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
13297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
13298         multiarch logb for PPC64.
13299
13300         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
13301         isinff multiarch implementation.
13302         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
13303         file.
13304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
13305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
13306         multiarch isinf for PPC64.
13307         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
13308         file.
13309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
13310         multiarch isinff for PPC64.
13311
13312         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
13313         finitef multiarch implementation.
13314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
13315         file.
13316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
13317         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
13318         multiarch finite for PPC64.
13319         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
13320         file.
13321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
13322         multiarch finitef for PPC64.
13323
13324         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
13325         lrint multiarch implementation.
13326         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
13327         file.
13328         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
13329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
13330         multiarch llrint for PPC64.
13331         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
13332         multiarch lrint for PPC64.
13333
13334         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
13335         copysignf multiarch implementation.
13336         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
13337         file.
13338         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
13339         file.
13340         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
13341         multiarch copysign for PPC64.
13342         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
13343         multiarch copysignf for PPC64.
13344
13345         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
13346         multiarch implementation.
13347         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
13348         file.
13349         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
13350         file.
13351         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
13352         file.
13353         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
13354         file.
13355         multiarch llround for PPC64.
13356         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
13357         multiarch trunc for PPC64.
13358         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
13359         multiarch truncf for PPC64.
13360
13361         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
13362         multiarch implementation.
13363         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
13364         file.
13365         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
13366         file.
13367         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
13368         file.
13369         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
13370         file.
13371         multiarch llround for PPC64.
13372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
13373         multiarch round for PPC64.
13374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
13375         multiarch roundf for PPC64.
13376
13377         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
13378         multiarch implementation.
13379         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
13380         file.
13381         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
13382         file.
13383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
13384         file.
13385         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
13386         file.
13387         multiarch llround for PPC64.
13388         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
13389         multiarch floor for PPC64.
13390         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
13391         multiarch floorf for PPC64.
13392
13393         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
13394         multiarch implementation.
13395         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
13396         file.
13397         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
13398         file.
13399         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
13400         file.
13401         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
13402         file.
13403         multiarch llround for PPC64.
13404         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
13405         multiarch ceil for PPC64.
13406         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
13407         multiarch ceilf for PPC64.
13408
13409         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13410         multiarch implementation.
13411         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
13412         file.
13413         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
13414         file.
13415         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
13416         file.
13417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
13418         multiarch llround for PPC64.
13419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
13420         multiarch lround for PPC64.
13421
13422         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13423         multiarch implementation.
13424         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
13425         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
13426         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
13427         file.
13428         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
13429         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
13430         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
13431         multiarch isnan for PPC64.
13432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
13433         multiarch isnanf for PPC64.
13434
13435         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
13436         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
13437         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
13438         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
13439         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
13440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
13441
13442         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
13443         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13444         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13445         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13446
13447         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
13448         multiarch implementations.
13449         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13450         (__libc_ifunc_impl_list): Likewise.
13451         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13452         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
13453         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
13454         multiarch stpcpy for PPC64.
13455
13456         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
13457         multiarch implementations.
13458         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13459         (__libc_ifunc_impl_list): Likewise.
13460         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
13461         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
13462         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
13463         multiarch strcpy for PPC64.
13464
13465         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
13466         redefine function name.
13467         (_wordcopy_fwd_dest_aligned): Likewise.
13468         (_wordcopy_bwd_aligned): Likewise.
13469         (_wordcopy_bwd_dest_aligned): Likewise.
13470         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
13471         multiarch implementations.
13472         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13473         (__libc_ifunc_impl_list): Likewise.
13474         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
13475         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
13476         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
13477         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
13478         multiarch wcscpy for PPC64.
13479
13480         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
13481         multiarch implementations.
13482         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13483         (__libc_ifunc_impl_list): Likewise.
13484         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
13485         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
13486         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
13487         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
13488         multiarch wcscpy for PPC64.
13489
13490         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
13491         multiarch implementations.
13492         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13493         (__libc_ifunc_impl_list): Likewise.
13494         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
13495         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
13496         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
13497         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
13498         multiarch wcsrchr for PPC64.
13499
13500         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
13501         multiarch implementations.
13502         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13503         (__libc_ifunc_impl_list): Likewise.
13504         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
13505         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
13506         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
13507         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
13508         multiarch wcschr for PPC64.
13509
13510         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
13511         multiarch implementations.
13512         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13513         (__libc_ifunc_impl_list): Likewise.
13514         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
13515         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
13516         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
13517         multiarch strchrnul for PPC64.
13518
13519         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
13520         implementations.
13521         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13522         (__libc_ifunc_impl_list): Likewise.
13523         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
13524         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
13525         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
13526         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
13527         strchr for PPC64.
13528
13529         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
13530         implementations.
13531         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13532         (__libc_ifunc_impl_list): Likewise.
13533         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
13534         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
13535         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
13536         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
13537         strncmp for PPC64.
13538
13539         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
13540         multiarch implementations.
13541         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13542         (__libc_ifunc_impl_list): Likewise.
13543         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
13544         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
13545         strncasecmp for PPC64.
13546         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
13547         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
13548         multiarch strncasecmp_l for PPC64.
13549
13550         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
13551         multiarch implementations.
13552         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13553         (__libc_ifunc_impl_list): Likewise.
13554         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
13555         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
13556         multiarch strcasecmp for PPC64.
13557         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
13558         file.
13559         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
13560         multiarch strcasecmp_l for PPC64.
13561
13562         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
13563         implementations.
13564         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13565         (__libc_ifunc_impl_list): Likewise.
13566         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
13567         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
13568         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
13569         strnlen for PPC64.
13570
13571         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
13572         implementations.
13573         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13574         (__libc_ifunc_impl_list): Likewise.
13575         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
13576         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
13577         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
13578         strlen for PPC64.
13579
13580         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
13581         implementations.
13582         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13583         (__libc_ifunc_impl_list): Likewise.
13584         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
13585         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
13586         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
13587         rawmemrchr for PPC64.
13588
13589         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
13590         implementation.
13591         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13592         (__libc_ifunc_impl_list): Likewise.
13593         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
13594         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
13595         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
13596         memrchr for PPC64.
13597
13598         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
13599         implementation.
13600         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13601         (__libc_ifunc_impl_list): Likewise.
13602         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
13603         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
13604         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
13605         memchr for PPC64.
13606
13607         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
13608         implementation.
13609         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13610         (__libc_ifunc_impl_list): Likewise.
13611         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
13612         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
13613         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
13614         mempcpy for PPC64.
13615
13616         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
13617         avoid cretion of __bzero symbol.
13618         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
13619         Likewise.
13620         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
13621         Likewise.
13622         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
13623         Likewise.
13624         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
13625         multiarch implementations.
13626         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13627         (__libc_ifunc_impl_list): Likewise.
13628         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
13629         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
13630         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
13631         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
13632         bzero for PPC32.
13633         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
13634         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
13635         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
13636         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
13637         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
13638         memset for PPC64.
13639         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
13640
13641         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
13642         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
13643         implementations.
13644         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13645         (__libc_ifunc_impl_list): Likewise.
13646         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
13647         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
13648         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
13649         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
13650         memcmp for PPC64.
13651
13652         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
13653         multiarch for POWER/PPC64.
13654         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13655         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
13656         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
13657         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
13658         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
13659         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
13660         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
13661         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
13662         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
13663         memcpy for PPC64.
13664
13665         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
13666         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
13667         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
13668         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
13669         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
13670         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
13671         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
13672         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
13673         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
13674         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
13675         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
13676         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
13677         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
13678         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
13679         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
13680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
13681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
13682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
13683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
13684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
13685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
13686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
13687
13688 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13689
13690         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
13691
13692 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13693
13694         * benchtests/Makefile (bench): Add exp2 and log2.
13695         (LDLIBS-bench-exp2): Add -lm.
13696         (LDLIBS-bench-log2): Likewise.
13697         * benchtests/exp2-inputs: New inputs file.
13698         * benchtests/log2-inputs: New inputs file.
13699         * benchtests/log-inputs: Add new inputs.
13700         * benchtests/tan-inputs: Likewise.
13701
13702 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13703
13704         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
13705         definition...
13706         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
13707         (csloww2): ... from here.
13708
13709         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
13710         instead of structures.
13711         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
13712         (POLYNOMIAL): Likewise.
13713         (TAYLOR_SLOW): Likewise.
13714         (__sin): Likewise.
13715         (__cos): Likewise.
13716         (slow1): Likewise.
13717         (slow2): Likewise.
13718         (sloww): Likewise.
13719         (sloww1); Likewise.
13720         (sloww2): Likewise.
13721         (bsloww1): Likewise.
13722         (bsloww2): Likewise.
13723         (cslow2): Likewise.
13724         (csloww): Likewise.
13725         (csloww1): Likewise.
13726         (csloww2): Likewise.
13727
13728 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
13729
13730         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
13731         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
13732         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
13733         * malloc/hooks.c (realloc_check): Likewise.
13734
13735         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13736         * malloc/arena.c: Remove PER_THREAD conditional.
13737         [!PER_THREAD]: Remove code.
13738         (ptmalloc_unlock_all2): Likewise.
13739         (ptmalloc_init): Likewise.
13740         (_int_new_arena): Likewise.
13741         (arena_get2): Likewise.
13742         * malloc/hooks.c (__malloc_get_state): Likewise.
13743         (__malloc_set_state): Likewise.
13744         * malloc/malloc.c: Likewise.
13745         (struct malloc_state): Likewise.
13746         (struct malloc_par): Likewise.
13747         (__libc_realloc): Likewise.
13748         (__libc_mallopt): Likewise.
13749
13750 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13751
13752         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13753
13754 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
13755
13756         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13757         macro to a function.  Check for zero perturb_byte.
13758         (_int_malloc, _int_free): Remove zero perturb_byte checks.
13759
13760         * malloc/malloc.c: (force_reg): Remove.
13761         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13762         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
13763         force_reg by atomic_forced_read.
13764         * malloc/arena.c (ptmalloc_init): Likewise.
13765         * malloc/hooks.c (top_check): Likewise.
13766
13767 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13768
13769         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13770
13771 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
13772
13773         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13774
13775 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
13776
13777         * math/auto-libm-test-in: Add tests of lgamma.
13778         * math/auto-libm-test-out: Regenerated.
13779         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13780         (M_LOG_2_SQRT_PIl): Likewise.
13781         (lgamma_test_data): Use AUTO_TESTS_f_f1.
13782         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13783         mpfr_f_f1.
13784         (func_calc_desc): Add mpfr_f_f1 union field.
13785         (ARGS1): New macro.
13786         (ARGS2): Likewise.
13787         (ARGS3): Likewise.
13788         (ARGS4): Likewise.
13789         (RET1): Likewise.
13790         (RET2): Likewise.
13791         (CALC): Likewise.
13792         (FUNC): Likewise.
13793         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13794         (test_functions): Add lgamma.
13795         (calc_generic_results): Handle mpfr_f_f1.
13796         * sysdeps/i386/fpu/libm-test-ulps: Update.
13797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13798
13799 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13800
13801         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13802         __mpn_add_n for PowerPC64/POWER7.
13803         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13804         __mpn_sub_n for PowerPC64/POWER7.
13805
13806         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13807         __mpn_addmul_1 for PowerPC64.
13808         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13809         __mpn_submul_1 for PowerPC64.
13810         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13811         for PowerPC64.
13812         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
13813         for PowerPC64.
13814
13815 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
13816
13817         [BZ #15089]
13818         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13819
13820 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13821
13822         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13823
13824         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13825         add multiarch folders.
13826         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13827         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13828         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13829         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13830         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13831         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13832         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13833         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13834         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13835         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13836         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13843
13844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13845         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13847         New file.
13848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13849         New file.
13850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13851         multiarch __ieee754_hypot for PowerPC32.
13852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13853         New file.
13854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13855         New file.
13856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13857         multiarch __ieee754_hypotf for PowerPC32.
13858
13859         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13860         long_double_symbol only if __logbl is defined.
13861         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13862         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13863         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13864         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13865         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13866         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13867         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13868         path for implementation.
13869         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13870         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13872         logb, and logbl multiarch implementations for PowerPC32.
13873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13874         file.
13875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13876         file.
13877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13878         multiarch logb for PowerPC32.
13879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13880         file.
13881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13882         file.
13883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13884         multiarch logbf for PowerPC32.
13885         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13887         file.
13888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13889         multiarch logbl implementation for PowerPC32.
13890
13891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13892         and modff multiarch implementations.
13893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13894         New file.
13895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13896         New file.
13897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13898         multiarch modf for PowerPC32.
13899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13900         New file.
13901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13902         New file.
13903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13904         multiarch modff for PowerPC32.
13905
13906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13907         and lrintf multiarch implementations.
13908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13909         New file.
13910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13911         New file.
13912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13913         multiarch lrint for PowerPC32.
13914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13915         file: multiarch lrintf for PowerPC32.
13916
13917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13918         and lroundf multiarch implementations.
13919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13920         New file.
13921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13922         New file.
13923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13924         New file.
13925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13926         multiarch lround for PowerPC32.
13927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13928         file: multiarch lroundf for PowerPC32.
13929
13930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13931         copysign and copysignf multiarch implementations.
13932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13933         New file.
13934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13935         New file.
13936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13937         file: multiarch copysign for PowerPC32.
13938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13939         file: multiarch copysignf for PowerPC32.
13940
13941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13942         and truncf multiarch implementations.
13943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13944         New file.
13945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13946         file.
13947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13948         multiarch trunc for PowerPC32.
13949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13950         New file.
13951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13952         New file.
13953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13954         multiarch truncf for PowerPC32.
13955
13956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13957         and roundf multiarch implementations.
13958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13959         New file.
13960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13961         file.
13962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13963         multiarch round for PowerPC32.
13964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13965         New file.
13966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13967         New file.
13968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13969         multiarch roundf for PowerPC32.
13970
13971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13972         and floorf multiarch implementations.
13973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13974         New file.
13975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13976         file.
13977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13978         multiarch floor for PowerPC32.
13979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13980         New file.
13981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13982         New file.
13983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13984         multiarch floorf for PowerPC32.
13985
13986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13987         and ceilf multiarch implementations.
13988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13989         New file.
13990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13991         file.
13992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13993         multiarch ceil for PowerPC32.
13994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13995         New file.
13996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13997         file.
13998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13999         multiarch ceilf for PowerPC32.
14000
14001         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
14002         is defined.
14003         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
14004         FINITEF is defined.
14005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
14006         and finitef multiarch implementations.
14007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
14008         New file.
14009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
14010         file.
14011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
14012         multiarch finite for PowerPC32.
14013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
14014         New file.
14015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
14016         file: multiarch finitef for PowerPC32.
14017
14018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
14019         and isinff multiarch implementations.
14020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
14021         file.
14022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
14023         file.
14024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
14025         multiarch isinf for PowerPC32.
14026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
14027         New file.
14028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
14029         multiarch isinff for PowerPC32.
14030
14031         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
14032         alias when __isnan is defined.
14033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
14034         and isnanf multiarch implementations.
14035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
14036         file.
14037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
14038         file.
14039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
14040         file.
14041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
14042         file.
14043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
14044         multiarch isnan for PowerPC32.
14045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
14046         New file.
14047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
14048         New file.
14049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
14050         multiarch isnanf for PowerPC32.
14051
14052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
14053         and sqrtf multiarch implementations.
14054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
14055         file.
14056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
14057         file.
14058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
14059         multiarch sqrt for PowerPC32.
14060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
14061         file.
14062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
14063         file.
14064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
14065         multiarch sqrtf for PowerPC32.
14066
14067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
14068         and llroundf multiarch implementations.
14069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
14070         New file.
14071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
14072         New file.
14073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
14074         New file.
14075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
14076         file: multiarch llround for PowerPC32.
14077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
14078         file: multiarch llroundf for PowerPC32.
14079
14080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
14081         multiarch PowerPC32 fpu implementations.
14082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
14083         New file.
14084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
14085         New file.
14086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
14087         multiarch llrint for PowerPC32.
14088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
14089         New file.
14090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
14091         New file.
14092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
14093         file.
14094
14095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
14096
14097         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
14098         file.
14099         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
14100         file.
14101         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
14102         file.
14103         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
14104         multiarch wordcopy for PPC32.
14105         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14106         wordcopy objects.
14107         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14108         (__libc_ifunc_impl_list): Likewise.
14109         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
14110         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
14111         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
14112         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
14113         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
14114         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
14115
14116         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
14117         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
14118         file.
14119         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
14120         file.
14121         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
14122         file.
14123         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
14124         multiarch wcscpy for PPC32.
14125         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14126         multiarch objects.
14127         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14128         (__libc_ifunc_impl_list): Likewise.
14129         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14130         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14131         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
14132         sysdeps/powerpc/power6/wcscpy.c.
14133
14134         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
14135         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
14136         file.
14137         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
14138         file.
14139         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
14140         file.
14141         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
14142         multiarch wcsrchr for PPC32.
14143         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14144         multiarch objects.
14145         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14146         (__libc_ifunc_impl_list): Likewise.
14147         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14148         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14149         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
14150         sysdeps/powerpc/power6/wcsrchr.c.
14151
14152         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
14153         file.
14154         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
14155         file.
14156         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
14157         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
14158         multiarch wcschr for PPc32.
14159         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14160         multiarch objects.
14161         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14162         (__libc_ifunc_impl_list): Likewise.
14163         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
14164         * sysdeps/powerpc/power6/wcschr.c: ... to here.
14165         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
14166         sysdeps/powerpc/power6/wcschr.c.
14167
14168         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
14169         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
14170         file.
14171         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
14172         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
14173         file: multiarch strchr for PPC32.
14174         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
14175         multiarch objects.
14176         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14177         (__libc_ifunc_impl_list): Likewise.
14178
14179         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
14180         name.
14181         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
14182         file.
14183         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
14184         file.
14185         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
14186         multiarch strchrnul for PPC32.
14187         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
14188         multiarch objects.
14189         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14190         (__libc_ifunc_impl_list): Likewise.
14191
14192         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
14193         file.
14194         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
14195         multiarch strncasecmp for PPC32.
14196         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
14197         file.
14198         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
14199         multiarch strncasecmp_l for PPC32.
14200         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
14201         strncasecmp multiarch objects.
14202         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14203         (__libc_ifunc_impl_list): Likewise.
14204
14205         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
14206         file.
14207         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
14208         multiarch strncasecmp for PPC32.
14209         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14210         New file.
14211         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
14212         multiarch strcasecmp_l for PPC32.
14213         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
14214         multiarch objects.
14215         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14216         (__libc_ifunc_impl_list): Likewise.
14217
14218         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
14219         file.
14220         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
14221         file.
14222         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
14223         multiarch strncmp for PPC32.
14224         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
14225         multiarch objects.
14226         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14227         (__libc_ifunc_impl_list): Likewise.
14228
14229         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
14230         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
14231         file.
14232         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
14233         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
14234         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
14235         multiarch objects.
14236         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14237         (__libc_ifunc_impl_list): Likewise.
14238
14239         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
14240         file.
14241         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
14242         file.
14243         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
14244         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
14245         multiarch objects.
14246         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14247         (__libc_ifunc_impl_list): Likewise.
14248
14249         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
14250         file.
14251         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
14252         file.
14253         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
14254         multiarch rawmemchr for PPC32.
14255         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
14256         multiarch objects.
14257         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14258         (__libc_ifunc_impl_list): Likewise.
14259
14260         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
14261         file.
14262         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
14263         file.
14264         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
14265         file: memrchr multiarch for PPC32.
14266         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
14267         multiarch objects.
14268         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14269         (__libc_ifunc_impl_list): Likewise.
14270
14271         * string/memchr.c (__memchr): Using macro to redefine symbol name.
14272         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
14273         file.
14274         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
14275         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
14276         multiarch memchr for PPC32.
14277         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
14278         multiarch objects.
14279         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14280         (__libc_ifunc_impl_list): Likewise.
14281
14282         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
14283         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
14284         file.
14285         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
14286         file.
14287         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
14288         file: multiarch mempcpy for PPC32.
14289         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
14290         multiarch objects.
14291         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14292         (__libc_ifunc_impl_list): Likewise.
14293
14294         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
14295         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
14296         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
14297         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
14298         multiarch bzero for PPC32.
14299         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
14300         file.
14301         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
14302         file.
14303         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
14304         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
14305         file: multiarch memset for PPC32.
14306         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
14307         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
14308         memset multiarch objects.
14309         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14310         (__libc_ifunc_impl_list): Likewise.
14311
14312         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
14313         file.
14314         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
14315         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
14316         memcmp for PPC32.
14317         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
14318         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
14319         multiarch objects.
14320         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14321         (__libc_ifunc_impl_list): Likewise.
14322
14323         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
14324         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
14325         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
14326         file.
14327         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
14328         file.
14329         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
14330         file.
14331         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
14332         multiarch memcpy for PPC32.
14333         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
14334         multiarch objects.
14335         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14336         (__libc_ifunc_impl_list): Likewise.
14337
14338         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
14339         support multiarch for POWER/PPC32.
14340         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
14341         Likewise.
14342         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
14343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
14344         Implies file to make multiarch folder appers before the fpu and
14345         default folder for power4 configuration.
14346
14347 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
14348
14349         * scripts/bench.pl: Append volatile keyword to type.
14350
14351 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14352
14353         * sysdeps/sh/sotruss-lib.c: New file.
14354         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
14355
14356 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14357
14358         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14359
14360 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
14361
14362         [BZ #6810]
14363         * math/w_tgamma.c: Include <errno.h>.
14364         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
14365         * math/w_tgammaf.c: Include <errno.h>.
14366         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
14367         * math/w_tgammal.c: Include <errno.h>.
14368         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
14369         * math/auto-libm-test-in: Do not allow missing errno on tgamma
14370         underflow.  Add more tgamma tests.
14371         * math/auto-libm-test-out: Regenerated.
14372         * sysdeps/i386/fpu/libm-test-ulps: Update.
14373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14374
14375         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
14376         sin, sinh, tan, tanh, tgamma, y0 and y1.
14377         * math/auto-libm-test-out: Regenerated.
14378         * math/libm-test.inc (TEST_COND_x86_64): New macro.
14379         (TEST_COND_x86): Likewise.
14380         (M_E2l): Remove macro.
14381         (M_E3l): Likewise.
14382         (M_2_SQRT_PIl): Likewise.
14383         (M_SQRT_PIl): Likewise.
14384         (M_1_DIV_El): Likewise.
14385         (log_test_data): Use AUTO_TESTS_f_f.
14386         (log10_test_data): Likewise.
14387         (log1p_test_data): Likewise.
14388         (log2_test_data): Likewise.
14389         (sin_test_data): Likewise.
14390         (sin_tonearest_test_data): Likewise.
14391         (sin_towardzero_test_data): Likewise.
14392         (sin_downward_test_data): Likewise.
14393         (sin_upward_test_data): Likewise.
14394         (sinh_test_data): Likewise.
14395         (sinh_tonearest_test_data): Likewise.
14396         (sinh_towardzero_test_data): Likewise.
14397         (sinh_downward_test_data): Likewise.
14398         (sinh_upward_test_data): Likewise.
14399         (tan_test_data): Likewise.
14400         (tan_tonearest_test_data): Likewise.
14401         (tan_towardzero_test_data): Likewise.
14402         (tan_downward_test_data): Likewise.
14403         (tan_upward_test_data): Likewise.
14404         (tanh_test_data): Likewise.
14405         (tgamma_test_data): Likewise.
14406         (y0_test_data): Likewise.
14407         (y1_test_data): Likewise.
14408         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
14409         (special_real_inputs): Add pi/4.
14410         * sysdeps/i386/fpu/libm-test-ulps: Update.
14411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14412
14413 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14414
14415         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
14416         "longjmp_target" static probes.
14417         (__longjmp): Rename to __longjmp_symbol.
14418         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14419         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
14420         on which longjmp to generate.
14421         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14422         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
14423         probe.
14424         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14425         (__sigjmp_save): Rename to __sigjmp_save_symbol.
14426         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14427         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
14428         and __sigjmp_save_symbol based on which sigsetjmp to generated.
14429         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
14430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
14431         __longjmp_symbol based on which __longjmp to generate.
14432         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
14433         probe.
14434         (setjmp): Rename to setjmp_symbol.
14435         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14436         (_setjmp): Rename to _setjmp_symbol.
14437         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14438         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
14439         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
14440         which setjmp to generate.
14441         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
14442         "longjmp_target" static probes.
14443
14444 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14445
14446         * benchtests/README: Add note about output arguments.
14447         * benchtests/bench-sincos.c: Remove file.
14448         * benchtests/sincos-inputs: New file.
14449         * scripts/bench.pl: Identify output arguments and define
14450         static variables for them.
14451
14452         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
14453
14454         [BZ #15941]
14455         * Makefile (INSTALL): Add install-plain.texi as the primary
14456         dependency.
14457         * manual/install-plain.texi: New file.
14458         * manual/install.texi: Include node directive only for
14459         non-plaintext output.
14460
14461 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
14462
14463         * stdlib/longlong.h: Update from GCC.
14464
14465         [BZ #6807]
14466         [BZ #15901]
14467         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
14468         * math/w_j0f.c (y0f): Likewise.
14469         * math/w_j0l.c (__y0l): Likewise.
14470         * math/w_j1.c (y1): Likewise.
14471         * math/w_j1f.c (y1f): Likewise.
14472         * math/w_j1l.c (__y1l): Likewise
14473         * math/w_jn.c (yn): Likewise.
14474         * math/w_jnf.c (ynf): Likewise.
14475         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
14476         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
14477         value for Bessel function domain errors outside _SVID_ mode.
14478         Adjust sign of return value for yn (negative integer, 0).
14479         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
14480         by zero in return for negative x and set sign appropriately for
14481         negative n.
14482         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
14483         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14484         * math/libm-test.inc (y0_test_data): Add more tests and adjust
14485         expectations in error cases.
14486         (y1_test_data): Likewise.
14487         (yn_test_data): Likewise.
14488         * sysdeps/i386/fpu/libm-test-ulps: Update.
14489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14490
14491 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14492
14493         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
14494         "64" to "64-v1".  Add "64-v2".
14495         (abi-64-options): Rename to ...
14496         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
14497         (abi-64-condition): Rename to ...
14498         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
14499         (abi-64-ld-soname): Rename to ...
14500         (abi-64-v1-ld-soname): ... this.
14501         (abi-64-v2-options): Define.
14502         (abi-64-v2-condition): Likewise.
14503         (abi-64-v2-ld-soname): Likewise.
14504         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
14505         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
14506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
14507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
14508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
14509
14510 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14511             Alan Modra  <amodra@gmail.com>
14512
14513         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
14514         New versions for use with the ELFv2 ABI.
14515         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
14516         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
14517         declaration.
14518         (struct La_ppc64v2_retval): Likewise.
14519         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
14520         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
14521         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
14522         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
14523         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
14524         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14525         Do not save or restore CR.
14526         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
14527         (_dl_profile_resolve): Do no save or restore CR.  Support extended
14528         return values for ELFv2 ABI.  Fix location of FPR return registers.
14529         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
14530         updated values for _CALL_ELF == 2.
14531         (La_regs, La_retval, int_retval): Likewise.
14532
14533 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14534
14535         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
14536         (FRAME_MIN_SIZE_PARM): Likewise.
14537         (FRAME_BACKCHAIN): Likewise.
14538         (FRAME_CR_SAVE): Likewise.
14539         (FRAME_LR_SAVE): Likewise.
14540         (FRAME_TOC_SAVE): Likewise.
14541         (FRAME_PARM_SAVE): Likewise.
14542         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
14543         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
14544         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14545         (call_mcount_parm_offset): New macro.
14546         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
14547         (PROF): Use symbolic stack frame offsets.
14548         (TAIL_CALL_SYSCALL_ERROR): Likewise.
14549         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
14550         Redefine in terms of FRAME_MIN_SIZE.
14551         (_dl_runtime_resolve): Use symbolic stack frame offsets.
14552         (_dl_profile_resolve): Likewise.  Update comment.
14553         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
14554         symbols stack frame offsets.
14555         (__sigsetjmp): Likewise.
14556         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
14557         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
14558         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
14559         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
14560
14561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
14562         (FRAME_BACKCHAIN): Remove.
14563         (FRAME_CR_SAVE): Likewise.
14564         (FRAME_LR_SAVE): Likewise.
14565         (FRAME_COMPILER_DW): Likewise.
14566         (FRAME_LINKER_DW): Likewise.
14567         (FRAME_TOC_SAVE): Likewise.
14568         (FRAME_PARM_SAVE): Likewise.
14569         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
14570         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
14571         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
14573         (CHECK_SP): Use symbolic stack frame offsets.
14574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
14575         zone" instead of caller's parameter save area for temp storage.
14576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14577         Likewise.  Also, use symbolic stack frame offsets.
14578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
14579         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
14580         our own stack frame instead of the caller's.
14581         (__socket): Use symbolic stack frame offsets.
14582
14583 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14584             Alan Modra  <amodra@gmail.com>
14585
14586         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
14587         Define.
14588         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
14589         (PPC64_LOCAL_ENTRY_OFFSET): Define.
14590         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
14591         New function.
14592         (elf_machine_fixup_plt): Call it.
14593         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
14594         reloc arguments.
14595         (elf_machine_rela): Update call to elf_machine_plt_conflict.
14596         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14597         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
14598         r2 before calling target.
14599
14600 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14601             Alan Modra  <amodra@gmail.com>
14602
14603         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
14604         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
14605         versions of macros to support ELFv2 ABI.
14606         (LOCALENTRY): New macro.
14607         (ENTRY, EALIGN): Use it.
14608         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
14609         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
14610         fall through into ENTRY entry point.
14611         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
14612         Only define if _CALL_ELF != 2.
14613
14614         (elf_machine_matches_host): Verify ABI version matches.
14615         (RTLD_START): Use LOCALENTRY.
14616         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
14617         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
14618         (PLT_ENTRY_WORDS): New macro.
14619         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
14620         (elf_machine_runtime_setup): Support ELFv2 ABI.
14621         (elf_machine_fixup_plt): Likewise.
14622         (elf_machine_plt_conflict): Likewise.
14623         (resolve_ifunc): Likewise.
14624         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14625         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14626         Likewise.
14627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
14628         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
14629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14630         (makecontext): Support ELFv2 ABI.
14631         * elf/elf.h (EF_PPC64_ABI): Define.
14632
14633 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14634
14635         * sysdeps/powerpc/powerpc64/sysdep.h
14636         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
14637         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
14638         (ENTRY) [ASSEMBLER]: ... but instead here ...
14639         (EALIGN) [ASSEMBLER]: ... and here.
14640         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
14641         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
14642         (ENTRY_2) [!ASSEMBLER]: Use it.
14643         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
14644         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
14645         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14646         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
14647         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
14648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
14649         Use PPC64_LOAD_FUNCPTR.
14650
14651         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
14652
14653 2013-12-04  Alan Modra  <amodra@gmail.com>
14654
14655         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
14656         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
14657         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
14658         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
14659
14660         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
14661         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
14662         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
14663         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
14664         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
14665         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
14666
14667 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14668
14669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14670         (__makecontext): Fix incorrect CFI when backtracing out of
14671         context created via makecontext.
14672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
14673         (__setcontext): Fix incorrect CFI during switch to new context.
14674         (__novec_setcontext): Likewise.
14675
14676 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
14677
14678         [BZ #4772]
14679         * time/strptime_l.c (__strptime_internal): Allow modifiers
14680         in strptime.
14681         * time/tst-strptime.c (day_tests): Add testcase.
14682
14683 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14684
14685         * scripts/bench.pl: Skip over blank lines.
14686
14687 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
14688
14689         [BZ #926]
14690         * manual/time.texi (Calendar Time): Clarify what timezone functions
14691         use.
14692
14693 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14694
14695         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14696
14697 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
14698
14699         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
14700         implementation.
14701         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14702         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14703         * debug/memset_chk.c (__memset_chk): Likewise.
14704         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
14705         * debug/strncpy_chk.c: Likewise.
14706
14707 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
14708
14709         [BZ #15268]
14710         [BZ #15425]
14711         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
14712         (__ieee754_exp): For possibly underflowing results, check size of
14713         result and force underflow exception if required.
14714         * math/auto-libm-test-in: Add more tests of exp.
14715         * math/auto-libm-test-out: Regenerated.
14716         * sysdeps/i386/fpu/libm-test-ulps: Update.
14717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14718
14719         [BZ #16283]
14720         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
14721         * math/w_exp2f.c (__exp2f): Likewise.
14722         * math/w_exp2l.c (__exp2l): Likewise.
14723         * math/auto-libm-test-in: Do not allow missing errno on exp2
14724         underflow.
14725         * math/auto-libm-test-out: Regenerated.
14726
14727 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
14728
14729         [BZ #16274]
14730         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
14731         handle filename validation.
14732         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
14733         (do_open): Delete.
14734
14735 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
14736
14737         [BZ #6786]
14738         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14739         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14740         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14741         <float.h>.
14742         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14743         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14744         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14745         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14746         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14747         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14748         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14749         * math/auto-libm-test-in: Don't allow missing errno from erfc.
14750         Add more erfc tests.
14751         * math/auto-libm-test-out: Regenerated.
14752         * sysdeps/i386/fpu/libm-test-ulps: Update.
14753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14754
14755         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14756         exp2, expm1, j0 and j1.
14757         * math/auto-libm-test-out: Regenerated.
14758         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14759         (erfc_test_data): Likewise.
14760         (exp_test_data): Likewise.
14761         (exp_tonearest_test_data): Likewise.
14762         (exp_towardzero_test_data): Likewise.
14763         (exp_downward_test_data): Likewise.
14764         (exp_upward_test_data): Likewise.
14765         (exp10_test_data): Likewise.
14766         (exp2_test_data): Likewise.
14767         (expm1_test_data): Likewise.
14768         (j0_test_data): Likewise.
14769         (j1_test_data): Likewise.
14770         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14771         (input_flag_type): Add flag_xfail_rounding.
14772         (input_flags): Add xfail-rounding.
14773         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14774         (output_for_one_input_case): Handle flag_xfail_rounding.
14775         * sysdeps/i386/fpu/libm-test-ulps: Update.
14776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14777
14778 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
14779
14780         [BZ #16289]
14781         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14782         division by 0.
14783
14784 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14785
14786         [BZ #16195]
14787         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14788         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14789         (STAP_PROBE0): New macro.
14790         (STAP_PROBE1): Likewise.
14791         (STAP_PROBE2): Likewise.
14792         (STAP_PROBE3): Likewise.
14793         (STAP_PROBE4): Likewise.
14794
14795 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
14796
14797         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14798
14799 2013-12-02  Steve Ellcey  <sellcey@mips.com>
14800
14801         * benchtests/Makefile (bench): Add sqrt.
14802         (LDLIBS-bench-sqrt): New.
14803         * benchtests/sqrt-input: New.
14804
14805 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
14806
14807         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14808         (GAIH_EAI): Likewise.
14809         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14810         (gaih_inet): Likewise.
14811         (getaddrinfo): Don't use GAIH_EAI.
14812
14813         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
14814         (struct gaih): Remove definition.
14815
14816 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14817
14818         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14819         Use HERRNOP directly.
14820
14821 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14822
14823         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14824
14825 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
14826
14827         * math/gen-auto-libm-tests.c (test_functions): Add more
14828         single-argument functions.
14829         (special_fill_pi_2): New function.
14830         (special_fill_minus_pi_2): Likewise.
14831         (special_fill_pi_6): Likewise.
14832         (special_fill_minus_pi_6): Likewise.
14833         (special_fill_pi_3): Likewise.
14834         (special_fill_2pi_3): Likewise.
14835         (special_fill_e): Likewise.
14836         (special_fill_1_e): Likewise.
14837         (special_fill_e_minus_1): Likewise.
14838         (special_real_inputs): Add more special inputs.
14839         (output_for_one_input_case): Do not require ERANGE on underflow to
14840         zero if round-to-nearest result does not underflow to zero, unless
14841         exact results required.
14842         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14843         atan, atanh, cbrt, cos and cosh.
14844         * math/auto-libm-test-out: Regenerated.
14845         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14846         (acos_tonearest_test_data): Likewise.
14847         (acos_towardzero_test_data): Likewise.
14848         (acos_downward_test_data): Likewise.
14849         (acos_upward_test_data): Likewise.
14850         (acosh_test_data): Likewise.
14851         (asin_test_data): Likewise.
14852         (asin_tonearest_test_data): Likewise.
14853         (asin_towardzero_test_data): Likewise.
14854         (asin_upward_test_data): Likewise.
14855         (asinh_test_data): Likewise.
14856         (atan_test_data): Likewise.
14857         (atanh_test_data): Likewise.
14858         (cbrt_test_data): Likewise.
14859         (cos_test_data): Likewise.
14860         (cos_tonearest_test_data): Likewise.
14861         (cos_towardzero_test_data): Likewise.
14862         (cos_downward_test_data): Likewise.
14863         (cos_upward_test_data): Likewise.
14864         (cosh_test_data): Likewise.
14865         (cosh_tonearest_test_data): Likewise.
14866         (cosh_towardzero_test_data): Likewise.
14867         (cosh_downward_test_data): Likewise.
14868         (cosh_upward_test_data): Likewise.
14869         * sysdeps/i386/fpu/libm-test-ulps: Update.
14870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14871
14872 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
14873
14874         [BZ #6787]
14875         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14876         * math/w_exp10f.c (__exp10f): Likewise.
14877         * math/w_exp10l.c (__exp10l): Likewise.
14878         * math/libm-test.inc (exp10_test_data): Add more tests and expect
14879         errno settings in existing tests.
14880
14881         [BZ #14032]
14882         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14883         precision control set to double precision.
14884         * sysdeps/i386/fpu/w_sqrt.c: New file.
14885         * math/auto-libm-test-in: Add more tests.
14886         * math/auto-libm-test-out: Update.
14887
14888         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14889         (sqrt_test_tonearest): New function.
14890         (sqrt_towardzero_test_data): New variable.
14891         (sqrt_test_towardzero): New function.
14892         (sqrt_downward_test_data): New variable.
14893         (sqrt_test_downward): New function.
14894         (sqrt_upward_test_data): New variable.
14895         (sqrt_test_upward): New function.
14896         (main): Call the new functions.
14897
14898         * math/gen-auto-libm-tests.c: New file.
14899         * math/auto-libm-test-in: Likewise.
14900         * math/auto-libm-test-out: New generated file.
14901         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14902         variables.
14903         (%beautify): Add generated representations of zero.
14904         (top level): Set $auto_input and call parse_auto_input.
14905         (beautify): Remove trailing "f" from hex float constants.
14906         (parse_args): Handle XFAIL_TEST.
14907         (convert_condition): New function.
14908         (or_value): Likewise.
14909         (or_cond_value): Likewise.
14910         (generate_testfile): Handle AUTO_TESTS_* lines.
14911         (parse_auto_input): New function.
14912         * math/libm-test.inc (XFAIL_TEST): New macro.
14913         (ERRNO_UNCHANGED): Update value.
14914         (ERRNO_EDOM): Likewise.
14915         (ERRNO_ERANGE): Likewise.
14916         (IGNORE_RESULT): Likewise.
14917         (TEST_COND_flt_32): New macro.
14918         (TEST_COND_dbl_64): Likewise.
14919         (TEST_COND_ldbl_96_intel): Likewise.
14920         (TEST_COND_ldbl_96_m68k): Likewise.
14921         (TEST_COND_ldbl_128): Likewise.
14922         (TEST_COND_ldbl_128ibm): Likewise.
14923         (TEST_COND_long32): Likewise.
14924         (TEST_COND_long64): Likewise.
14925         (TEST_COND_before_rounding): Likewise.
14926         (TEST_COND_after_rounding): Likewise.
14927         (enable_test): Handle XFAIL_TEST flag.
14928         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14929         with finite results.
14930         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14931         auto-libm-test-out.
14932
14933 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14934             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14935
14936         [BZ #16214]
14937         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14938         __tls_get_addr_internal instead of __tls_get_offset in order to
14939         avoid GOT pointer dependency.  Make rtld export
14940         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14941         __tls_get_addr since we are a __tls_get_offset platform.
14942         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14943         GOT pointer being set up before.
14944         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14945
14946 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
14947
14948         * manual/math.texi (Errors in Math Functions): Document accuracy
14949         goals.
14950
14951         [BZ #15004]
14952         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14953         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14954         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14955         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14956         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14957         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14958         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14959         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14960         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14961         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14962         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14963         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14964         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14965         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14966         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14967         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14968
14969         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14970         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14971         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14972         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14973         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14974         Likewise.
14975         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14976         Likewise.
14977         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14978         Likewise.
14979         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14980         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14981         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14982         atomic-feupdateenv and flt-rounds.
14983         * sysdeps/powerpc/nofpu/Versions (libc): Add
14984         __atomic_feholdexcept, __atomic_feclearexcept,
14985         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14986         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14987         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14988         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14989         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14990         here.
14991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14992         Update.
14993
14994         * manual/arith.texi (FP Exceptions): Document that exceptions may
14995         not be raised when matherr is used.
14996         (Math Error Reporting): Document overflow in directed rounding
14997         modes.  Document that errno may not be set when finite values are
14998         returned on overflow.  Document intent to set errno on underflow
14999         only for underflow to zero.
15000
15001         [BZ #16271]
15002         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
15003         round-to-nearest then adjust result for other rounding modes.
15004         * include/fenv.h (fegetround): Use libm_hidden_proto.
15005         * math/fegetround.c (fegetround): Use libm_hidden_def.
15006         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
15007         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
15008         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15009         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
15010         Likewise.
15011         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
15012         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15013         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
15014         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
15015
15016 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15017
15018         [BZ #16077]
15019         * nss/Versions (libnss_files): Add
15020         _nss_files_gethostbyname3_r.
15021         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
15022         New function.
15023         (HOST_DB_LOOKUP): Remove macro.
15024         (_nss_files_gethostbyname_r): Implement function without the
15025         HOST_DB_LOOKUP macro.
15026         (_nss_files_gethostbyname2_r): Likewise.
15027
15028 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
15029
15030         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
15031
15032 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
15033
15034         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
15035         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
15036         warning.
15037
15038 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15039
15040         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
15041         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
15042         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
15043         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
15044         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
15045         __fe_nomask_env_priv and attribute_hidden.
15046         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
15047         (libc_feupdateenv_test_ppc): Likewise.
15048         (libc_feresetround_ppc): Likewise.
15049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15050         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
15051         compat_symbol macro.
15052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15053         (__fe_nomask_env): Likewise.
15054         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
15055
15056 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15057
15058         * string/Makefile: Remove ifunc tests.
15059         * string/test-string.h: Define TEST_IFUNC.
15060         * string/test-bcopy-ifunc.c: Remove.
15061         * string/test-bzero-ifunc.c: Likewise.
15062         * string/test-memccpy-ifunc.c: Likewise.
15063         * string/test-memchr-ifunc.c: Likewise.
15064         * string/test-memcmp-ifunc.c: Likewise.
15065         * string/test-memcpy-ifunc.c: Likewise.
15066         * string/test-memmem-ifunc.c: Likewise.
15067         * string/test-memmove-ifunc.c: Likewise.
15068         * string/test-mempcpy-ifunc.c: Likewise.
15069         * string/test-memrchr-ifunc.c: Likewise.
15070         * string/test-memset-ifunc.c: Likewise.
15071         * string/test-rawmemchr-ifunc.c: Likewise.
15072         * string/test-stpcpy-ifunc.c: Likewise.
15073         * string/test-stpncpy-ifunc.c: Likewise.
15074         * string/test-strcasecmp-ifunc.c: Likewise.
15075         * string/test-strcasestr-ifunc.c: Likewise.
15076         * string/test-strcat-ifunc.c: Likewise.
15077         * string/test-strchr-ifunc.c: Likewise.
15078         * string/test-strchrnul-ifunc.c: Likewise.
15079         * string/test-strcmp-ifunc.c: Likewise.
15080         * string/test-strcpy-ifunc.c: Likewise.
15081         * string/test-strcspn-ifunc.c: Likewise.
15082         * string/test-strlen-ifunc.c: Likewise.
15083         * string/test-strncasecmp-ifunc.c: Likewise.
15084         * string/test-strncat-ifunc.c: Likewise.
15085         * string/test-strncmp-ifunc.c: Likewise.
15086         * string/test-strncpy-ifunc.c: Likewise.
15087         * string/test-strnlen-ifunc.c: Likewise.
15088         * string/test-strpbrk-ifunc.c: Likewise.
15089         * string/test-strrchr-ifunc.c: Likewise.
15090         * string/test-strspn-ifunc.c: Likewise.
15091         * string/test-strstr-ifunc.c: Likewise.
15092
15093 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15094
15095         * benchtests/Makefile: Remove ifunc tests.
15096         * benchtests/bench-string.h: Define TEST_IFUNC.
15097         * benchtests/bench-bcopy-ifunc.c: Remove.
15098         * benchtests/bench-bzero-ifunc.c: Likewise.
15099         * benchtests/bench-memccpy-ifunc.c: Likewise.
15100         * benchtests/bench-memchr-ifunc.c: Likewise.
15101         * benchtests/bench-memcmp-ifunc.c: Likewise.
15102         * benchtests/bench-memcpy-ifunc.c: Likewise.
15103         * benchtests/bench-memmem-ifunc.c: Likewise.
15104         * benchtests/bench-memmove-ifunc.c: Likewise.
15105         * benchtests/bench-mempcpy-ifunc.c: Likewise.
15106         * benchtests/bench-memrchr-ifunc.c: Likewise.
15107         * benchtests/bench-memset-ifunc.c: Likewise.
15108         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
15109         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
15110         * benchtests/bench-stpcpy-ifunc.c: Likewise.
15111         * benchtests/bench-stpncpy-ifunc.c: Likewise.
15112         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
15113         * benchtests/bench-strcasestr-ifunc.c: Likewise.
15114         * benchtests/bench-strcat-ifunc.c: Likewise.
15115         * benchtests/bench-strchr-ifunc.c: Likewise.
15116         * benchtests/bench-strchrnul-ifunc.c: Likewise.
15117         * benchtests/bench-strcmp-ifunc.c: Likewise.
15118         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
15119         * benchtests/bench-strcpy-ifunc.c: Likewise.
15120         * benchtests/bench-strcspn-ifunc.c: Likewise.
15121         * benchtests/bench-strlen-ifunc.c: Likewise.
15122         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
15123         * benchtests/bench-strncat-ifunc.c: Likewise.
15124         * benchtests/bench-strncmp-ifunc.c: Likewise.
15125         * benchtests/bench-strncpy-ifunc.c: Likewise.
15126         * benchtests/bench-strnlen-ifunc.c: Likewise.
15127         * benchtests/bench-strpbrk-ifunc.c: Likewise.
15128         * benchtests/bench-strrchr-ifunc.c: Likewise.
15129         * benchtests/bench-strsep-ifunc.c: Likewise.
15130         * benchtests/bench-strspn-ifunc.c: Likewise.
15131         * benchtests/bench-strstr-ifunc.c: Likewise.
15132
15133 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15134
15135         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
15136
15137 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15138
15139         * resolv/netdb.h: Use __glibc_reserved instead __unused.
15140         * rt/aio.h: Likewise.
15141         * sysdeps/gnu/bits/utmp.h: Likewise.
15142         * sysdeps/gnu/bits/utmpx.h: Likewise.
15143         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15144         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
15145         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
15146         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
15147         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
15148         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
15149         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
15150         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
15151         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
15152         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
15153         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
15154         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
15155         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
15156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
15157         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15158         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
15159         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
15160         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
15161         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
15162         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
15163         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
15164         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
15165         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
15166         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15167         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
15168         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15169         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
15170         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
15171         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
15172         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
15173         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
15174         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
15175         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
15176         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15177         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
15178         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
15179         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
15180         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
15181         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
15182         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
15183         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
15184         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15185
15186 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
15187
15188         [BZ #16245]
15189         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
15190         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
15191
15192 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
15193
15194         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
15195         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
15196         Likewise.
15197
15198 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15199
15200         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
15201         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
15202         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
15203         (__fesetround): Remove define.
15204         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
15205         rounding and exceptions handling.
15206         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
15207         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
15208         (__fe_nomask_env): Likewise.
15209         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
15210         __fegetround instead of fegetround.
15211         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15212         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
15213
15214 2013-11-21  Roland McGrath  <roland@hack.frob.com>
15215
15216         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
15217         it's there.
15218
15219         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
15220
15221 2013-11-21  Meador Inge  <meadori@codesourcery.com>
15222
15223         [BZ #11157]
15224         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
15225         (encrypt_r): Likewise.
15226         * malloc/obstack.h (obstack_free): Likewise.
15227         * posix/unistd.h (encrypt): Likewise.
15228
15229 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
15230
15231         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
15232         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
15233         DL_CALL_DT_FINI() that call the functions directly.
15234         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
15235         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
15236         * elf/dl-fini.c: Likewise.
15237
15238 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
15239
15240         * malloc/hooks.c (memalign_check): Add alignment rounding.
15241         * malloc/malloc.c (_mid_memalign): New function.
15242         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
15243         Implement by calling _mid_memalign.
15244         * manual/probes.texi (Memory Allocation Probes): Remove
15245         memory_valloc_retry and memory_pvalloc_retry.
15246
15247 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
15248
15249         * locale/programs/locarchive.c (open_archive): Add const
15250         qualifier to ARCHIVEFNAME and copy default fname to
15251         DEFAULT_FNAME.
15252
15253         [BZ #15601]
15254         * libio/tst-widetext.input: Rename Oriya to Odia.
15255         * locale/iso-639.def: Likewise.
15256
15257         * manual/probes.texi (Mathematical Function Probes): Add
15258         documentation for sin, cos, asin and acos probes.
15259         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
15260         (__sin32): Add slowasin probe.
15261         (__cos32): Add slowacos probe.
15262         (__mpsin): Add slowsin probe.
15263         (__mpcos): Add slowcos probe.
15264
15265 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
15266
15267         [BZ #15483]
15268         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
15269         thread-local __sim_exceptions_thread and global
15270         __sim_exceptions_global.
15271         (__sim_disabled_exceptions): Change to thread-local
15272         __sim_disabled_exceptions_thread and global
15273         __sim_disabled_exceptions_global.
15274         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15275         and global __sim_round_mode_global.
15276         (__simulate_exceptions): Use thread-local floating-point state and
15277         set global state from it as needed.
15278         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
15279         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
15280         __sim_round_mode_thread.
15281         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
15282         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
15283         and global __sim_exceptions_global.
15284         (__sim_disabled_exceptions): Change to thread-local
15285         __sim_disabled_exceptions_thread and global
15286         __sim_disabled_exceptions_global.
15287         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15288         and global __sim_round_mode_global.
15289         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
15290         (SIM_SET_GLOBAL): Likewise.
15291         * sysdeps/powerpc/soft-fp/sfp-machine.h
15292         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
15293         __sim_round_mode_thread.
15294         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
15295         __sim_disabled_exceptions_thread.
15296         (__sim_exceptions): Change to __sim_exceptions_thread.
15297         (__sim_disabled_exceptions): Change to
15298         __sim_disabled_exceptions_thread.
15299         (__sim_round_mode): Change to __sim_round_mode_thread.
15300         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
15301         thread-local floating-point state and set global state from it as
15302         needed.
15303         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
15304         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
15305         (__sim_disabled_exceptions): Remove extern declaration.
15306         (feenableexcept): Use thread-local floating-point state and set
15307         global state from it as needed.
15308         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
15309         extern declaration.
15310         (__sim_disabled_exceptions): Likewise.
15311         (__sim_round_mode): Likewise.
15312         (__fegetenv): Use thread-local floating-point state.
15313         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
15314         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15315         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
15316         floating-point state and set global state from it as needed.
15317         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
15318         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15319         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
15320         Likewise.
15321         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
15322         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
15323         Likewise.
15324         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
15325         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
15326         Use __sim_round_mode_thread.
15327         * math/test-fenv-tls.c: New file.
15328         * math/Makefile (tests): Add test-fenv-tls.
15329         ($(objpfx)test-fenv-tls): Depend on
15330         $(common-objpfx)nptl/libpthread.so.
15331
15332 2013-11-19  Andreas Schwab  <schwab@suse.de>
15333
15334         * locale/programs/locale.c (show_info): Decode wordarray elements.
15335         * locale/categories.def (LC_MONETARY): Add element for
15336         _NL_MONETARY_CRNCYSTR.
15337         * locale/C-monetary.c (conversion_rate): New variable.
15338         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
15339         element.
15340
15341 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
15342
15343         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
15344         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
15345
15346 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
15347
15348         * elf/Makefile (tst-auxv): New test.
15349         * elf/tst-auxv.c: New
15350         * elf/rtld.c (dl_main): Adjust AT_EXECFN
15351
15352 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
15353
15354         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
15355         (hidden_proto): Caller changed.
15356         (hidden_tls_proto): New macro.
15357         (libc_hidden_tls_proto): Likewise.
15358         (rtld_hidden_tls_proto): Likewise.
15359         (libm_hidden_tls_proto): Likewise.
15360         (libresolv_hidden_tls_proto): Likewise.
15361         (librt_hidden_tls_proto): Likewise.
15362         (libdl_hidden_tls_proto): Likewise.
15363         (libnss_files_hidden_tls_proto): Likewise.
15364         (libnsl_hidden_tls_proto): Likewise.
15365         (libnss_nisplus_hidden_tls_proto): Likewise.
15366         (libutil_hidden_tls_proto): Likewise.
15367
15368 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
15369
15370         [BZ #10253]
15371         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
15372         (decompose_rpath): Defer expansion to fillin_rpath.
15373         (_dl_init_paths): Pass linkmap to fillin_rpath.
15374
15375 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15376
15377         * benchtests/Makefile: Add strsep.
15378         * benchtests/bench-strsep.c: New file: strsep benchtest.
15379         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
15380
15381 2013-11-18  Andreas Schwab  <schwab@suse.de>
15382
15383         * locale/programs/locale.c (show_info) [case byte]: Check for
15384         '\377' instead of '\177'.
15385         * locale/C-monetary.c (not_available): Always use "\377".
15386         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
15387         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
15388         detect unavailable sign_posn locale elements.
15389         * locale/localeconv.c (__localeconv): For grouping and
15390         mon_grouping handle "\177" and "\377" like no grouping.
15391         (INT_ELEM): New macro.  Use it to set all numeric members.
15392         * locale/programs/ld-monetary.c (monetary_read)
15393         <tok_mon_grouping>: Normalize single -1 to the empty string.
15394         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
15395         Likewise.
15396
15397 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
15398
15399         [BZ #16055]
15400         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
15401         when we match (nil).
15402         * stdio-common/tst-sscanf.c (struct test): Add testcase.
15403
15404 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
15405
15406         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
15407         (NO_TEST_INLINE): Update value.
15408         (ERRNO_UNCHANGED): Likewise.
15409         (ERRNO_EDOM): Likewise.
15410         (ERRNO_ERANGE): Likewise.
15411         (IGNORE_RESULT): Likewise.
15412         (check_float_internal): Check signs of NaN results if
15413         TEST_NAN_SIGN used.
15414         (check_complex): Pass TEST_NAN_SIGN flag through to second
15415         check_float_internal call.
15416         (copysign_test_data): Add tests with quiet NaNs as second
15417         argument.  Use TEST_NAN_SIGN.
15418         (fabs_test_data): Add test of negative quiet NaN argument.  Use
15419         TEST_NAN_SIGN.
15420         (signbit_test_data): Add tests of quiet NaN argument.
15421         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
15422
15423         * math/gen-libm-test.pl (show_exceptions): Take extra argument
15424         $ignore_result.
15425         (parse_args): Handle function results specified as IGNORE.
15426         * math/libm-test.inc (IGNORE_RESULT): New macro.
15427         (check_float_internal): Do not check numerical result if flag
15428         IGNORE_RESULT set.
15429         (check_complex): Pass through IGNORE_RESULT to second
15430         check_float_internal call.
15431         (check_int): Do not check numerical result if flag IGNORE_RESULT
15432         set.
15433         (check_long): Likewise.
15434         (check_bool): Likewise.
15435         (check_longlong): Likewise.
15436         (lrint_test_data): Add tests of infinite and NaN arguments.
15437         (lrint_tonearest_test_data): Likewise.
15438         (lrint_towardzero_test_data): Likewise.
15439         (lrint_downward_test_data): Likewise.
15440         (lrint_upward_test_data): Likewise.
15441         (llrint_test_data): Likewise.
15442         (llrint_tonearest_test_data): Likewise.
15443         (llrint_towardzero_test_data): Likewise.
15444         (llrint_downward_test_data): Likewise.
15445         (llrint_upward_test_data): Likewise.
15446         (lround_test_data): Likewise.
15447         (llround_test_data): Likewise.
15448
15449         * math/libm-test.inc (NO_TEST_INLINE): New macro.
15450         (ERRNO_UNCHANGED): Update value.
15451         (ERRNO_EDOM): Likewise.
15452         (ERRNO_ERANGE): Likewise.
15453         (NO_TEST_INLINE_FLOAT): New macro.
15454         (NO_TEST_INLINE_DOUBLE): Likewise.
15455         (enable_test): New function.
15456         (RUN_TEST_f_f): Check enable_test before running test.
15457         (RUN_TEST_2_f): Likewise.
15458         (RUN_TEST_fff_f): Likewise.
15459         (RUN_TEST_c_f): Likewise.
15460         (RUN_TEST_f_f1): Likewise.
15461         (RUN_TEST_fF_f1): Likewise.
15462         (RUN_TEST_fI_f1): Likewise.
15463         (RUN_TEST_ffI_f1): Likewise.
15464         (RUN_TEST_c_c): Likewise.
15465         (RUN_TEST_cc_c): Likewise.
15466         (RUN_TEST_f_i): Likewise.
15467         (RUN_TEST_f_i_tg): Likewise.
15468         (RUN_TEST_ff_i_tg): Likewise.
15469         (RUN_TEST_f_b): Likewise.
15470         (RUN_TEST_f_b_tg): Likewise.
15471         (RUN_TEST_f_l): Likewise.
15472         (RUN_TEST_f_L): Likewise.
15473         (RUN_TEST_fFF_11): Likewise.
15474         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
15475         conditionals.
15476         (cosh_test_data): Likewise.
15477         (exp_test_data): Likewise.
15478         (expm1_test_data): Likewise.
15479         (hypot_test_data): Likewise.
15480         (pow_test_data): Likewise.
15481         (sinh_test_data): Likewise.
15482         (tanh_test_data): Likewise.
15483         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
15484         flags argument.
15485
15486         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
15487         tests with quiet NaN input and output.
15488         (acosh_test_data): Likewise.
15489         (asin_test_data): Likewise.
15490         (asinh_test_data): Likewise.
15491         (atan_test_data): Likewise.
15492         (atanh_test_data): Likewise.
15493         (atan2_test_data): Likewise.
15494         (cbrt_test_data): Likewise.
15495         (cos_test_data): Likewise.
15496         (cosh_test_data): Likewise.
15497         (erf_test_data): Likewise.
15498         (erfc_test_data): Likewise.
15499         (exp_test_data): Likewise.
15500         (exp10_test_data): Likewise.
15501         (exp2_test_data): Likewise.
15502         (expm1_test_data): Likewise.
15503         (hypot_test_data): Likewise.
15504         (j0_test_data): Likewise.
15505         (j1_test_data): Likewise.
15506         (jn_test_data): Likewise.
15507         (lgamma_test_data): Likewise.
15508         (log_test_data): Likewise.
15509         (log10_test_data): Likewise.
15510         (log1p_test_data): Likewise.
15511         (log2_test_data): Likewise.
15512         (pow_test_data): Likewise.
15513         (scalb_test_data): Likewise.
15514         (sin_test_data): Likewise.
15515         (sincos_test_data): Likewise.
15516         (sinh_test_data): Likewise.
15517         (tan_test_data): Likewise.
15518         (tanh_test_data): Likewise.
15519         (tgamma_test_data): Likewise.
15520         (y0_test_data): Likewise.
15521         (y1_test_data): Likewise.
15522         (yn_test_data): Likewise.
15523
15524         [BZ #16167]
15525         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
15526         argument being NaN and avoid computations with second argument in
15527         that case.
15528         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15529         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15530         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15531
15532 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
15533
15534         * locale/iso-639.def: Add Chitwani Tharu (the).
15535
15536 2013-11-14  Andreas Schwab  <schwab@suse.de>
15537
15538         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
15539         word instead of empty string.
15540
15541 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15542
15543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15544         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
15545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15546         (__fe_nomask_env): Likewise.
15547
15548 2013-11-13  Steve Ellcey  <sellcey@mips.com>
15549
15550         * benchtests/bench-timing.h: Include time.h.
15551
15552 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
15553
15554         [BZ #15997]
15555         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
15556         to 3.4.0 for x32.
15557         * sysdeps/unix/sysv/linux/configure: Regenerated.
15558
15559 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
15560
15561         [BZ #16151]
15562         * stdlib/strtod_l.c (round_and_return): Do not consider
15563         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
15564         exponent one less than half the least subnormal exponent.
15565         * stdlib/test-strtod-round-data: Add more tests.
15566         * stdlib/tst-strtod-round.c (tests): Regenerated.
15567
15568 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15569
15570         [BZ #14143]
15571         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
15572         (__fe_mask_env): Likewise.
15573         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
15574         libm_hidden_proto and add function prototype.
15575         (__fe_mask_env): Add function prototype.
15576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15577         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
15578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15579         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
15580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15581         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
15582
15583 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15584
15585         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
15586         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
15587
15588 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15589
15590         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
15591         of htab_find_slot().
15592
15593 2013-11-11  David S. Miller  <davem@davemloft.net>
15594
15595         [BZ #16150]
15596         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
15597         symbol in the non-vis3 case in static builds.
15598         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
15599         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
15600         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
15601         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
15602
15603 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
15604
15605         [BZ #387]
15606         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
15607         it is empty.
15608
15609 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15610
15611         * benchtests/Makefile: Add bench-strtod.
15612         * benchtests/bench-strtod.c: New file: strtod benchtest
15613
15614 2013-11-11  Andreas Schwab  <schwab@suse.de>
15615
15616         [BZ #16153]
15617         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
15618         terminating NUL in key length.
15619
15620 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15621
15622         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15623         Add artificial ODP entry for vDSO symbol for PPC64.
15624         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
15625         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15626
15627 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
15628
15629         [BZ #15374]
15630         * nss/getent.c (services_keys): Recognize services starting with digit.
15631
15632 2013-11-06  David S. Miller  <davem@davemloft.net>
15633
15634         [BZ #15985]
15635         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
15636         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
15637
15638 2013-11-06  Will Newton  <will.newton@linaro.org>
15639
15640         * manual/memory.texi (Malloc Examples): Remove register
15641         keyword from examples.
15642
15643 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
15644
15645         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
15646
15647 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
15648
15649         [BZ #6981]
15650         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
15651         depending on [__GCC_IEC_559 > 0].
15652         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
15653         depending on [__GCC_IEC_559_COMPLEX > 0].
15654
15655 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
15656
15657         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
15658         to iso-639.def.
15659
15660 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
15661
15662         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
15663
15664 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
15665
15666         [BZ #16112]
15667         * malloc/malloc (malloc_info): Do not handle first bin as
15668         special case.
15669
15670 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
15671
15672         * locale/iso-639.def: Add Central Nahuatl (nhn).
15673
15674 2013-11-01  Bruno Haible  <bruno@clisp.org>
15675
15676         [BZ #7003]
15677         * manual/math.texi (BSD Random): Specify range upper bound as
15678         in POSIX.
15679
15680 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
15681
15682         * locale/iso-639.def: Add Meadow Mari (mhr).
15683
15684 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
15685
15686         [BZ #14752], [BZ #15763]
15687         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
15688         Validate name.
15689         * rt/tst_shm.c: Add test for escaping directory.
15690
15691 2013-10-31  Andreas Schwab  <schwab@suse.de>
15692
15693         [BZ #15917]
15694         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
15695         followed by 'x' as part of digit sequence.
15696         * stdio-common/tst-sscanf.c (double_tests2): New tests.
15697
15698 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
15699
15700         [BZ #16037]
15701         * configure.ac: allow GNU Make 4.0 and greater.
15702         * configure: Regenerated.
15703
15704 2013-10-30  Will Newton  <will.newton@linaro.org>
15705
15706         [BZ #16038]
15707         * malloc/hooks.c (memalign_check): Limit alignment to the
15708         maximum representable power of two.
15709         * malloc/malloc.c (__libc_memalign): Likewise.
15710         * malloc/tst-memalign.c (do_test): Add test for very
15711         large alignment values.
15712         * malloc/tst-posix_memalign.c (do_test): Likewise.
15713
15714 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
15715
15716         [BZ #11087]
15717         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
15718         (munmap_chunk): Likewise.
15719         (mremap_chunk): Likewise.
15720
15721 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
15722
15723         [BZ #15799]
15724         * stdlib/div.c (div): Remove obsolete code.
15725         * stdlib/ldiv.c (ldiv): Likewise.
15726         * stdlib/lldiv.c (lldiv): Likewise.
15727
15728 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15729
15730         [BZ #16071]
15731         * nss/nss_files/files-XXX.c (get_contents_ret): New
15732         enumerator.
15733         (get_contents): New function.
15734         (internal_getent): Use it.  Expand size of LINEBUFLEN.
15735
15736 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
15737
15738         * configure.in: Moved to ...
15739         * configure.ac: ... here. Change reference to configure.in
15740         to configure.ac.
15741         * sysdeps/arm/preconfigure.ac: ... here.
15742         configure.in to configure.ac.
15743         * sysdeps/gnu/configure.in: Moved to ...
15744         * sysdeps/gnu/configure.ac: ... here.
15745         * sysdeps/i386/configure.in: Moved to ...
15746         * sysdeps/i386/configure.ac: ... here.
15747         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15748         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15749         * sysdeps/mach/configure.in: Moved to ...
15750         * sysdeps/mach/configure.ac: ... here.
15751         * sysdeps/mach/hurd/configure.in: Moved to ...
15752         * sysdeps/mach/hurd/configure.ac: ... here.
15753         * sysdeps/powerpc/configure.in: Moved to ...
15754         * sysdeps/powerpc/configure.ac: ... here.
15755         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15756         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15757         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15758         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15759         * sysdeps/s390/s390-32/configure.in: Moved to ...
15760         * sysdeps/s390/s390-32/configure.ac: ... here.
15761         * sysdeps/s390/s390-64/configure.in: Moved to ...
15762         * sysdeps/s390/s390-64/configure.ac: ... here.
15763         * sysdeps/sh/configure.in: Moved to ...
15764         * sysdeps/sh/configure.ac: ... here.
15765         * sysdeps/sparc/configure.in: Moved to ...
15766         * sysdeps/sparc/configure.ac: ... here.
15767         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15768         * sysdeps/unix/sysv/linux/configure.ac: ... here.
15769         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15770         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15771         * sysdeps/x86_64/configure.in: Moved to ...
15772         * sysdeps/x86_64/configure.ac: ... here.
15773         * sysdeps/x86_64/preconfigure.in: Moved to ...
15774         * sysdeps/x86_64/preconfigure.ac: ... here.
15775         * aclocal.m4: Change reference to configure.in to configure.ac.
15776         * config.h.in: Likewise.
15777         * manual/install.texi: Likewise.
15778         * manual/maint.texi: Likewise.
15779         * Makefile: Likewise.
15780         * malloc/Makefile: Likewise.
15781         * nscd/Makefile: Likewise.
15782         * Makeconfig: Change reference to configure.in and
15783         preconfigure.in to configure.ac and preconfigure.ac
15784         respectively.
15785         * INSTALL: Regenerated.
15786         * configure: Likewise.
15787         * sysdeps/gnu/configure: Likewise.
15788         * sysdeps/i386/configure: Likewise.
15789         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15790         * sysdeps/mach/configure: Likewise.
15791         * sysdeps/mach/hurd/configure: Likewise.
15792         * sysdeps/powerpc/configure: Likewise.
15793         * sysdeps/powerpc/powerpc32/configure: Likewise.
15794         * sysdeps/powerpc/powerpc64/configure: Likewise.
15795         * sysdeps/s390/s390-32/configure: Likewise.
15796         * sysdeps/s390/s390-64/configure: Likewise.
15797         * sysdeps/sh/configure: Likewise.
15798         * sysdeps/sparc/configure: Likewise.
15799         * sysdeps/unix/sysv/linux/configure: Likewise.
15800         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15801         * sysdeps/x86_64/configure: Likewise.
15802         * sysdeps/x86_64/preconfigure: Likewise.
15803
15804 2013-10-29  Andreas Schwab  <schwab@suse.de>
15805
15806         * stdio-common/Makefile (tst-swscanf-ENV): Define.
15807
15808 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15809
15810         * benchtests/pow-inputs: Add new inputs.
15811
15812         * benchtests/exp-inputs: Add new inputs.
15813
15814         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
15815         conditional check for return value.
15816         (__cos32): Likewise.
15817
15818 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15819
15820         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15821         to provide a boost for large inputs with word alignment.
15822         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15823         implementation based on optimized PPC64 strcpy.
15824         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15825         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15826         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15827         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15828
15829 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15830
15831         [BZ #2801]
15832         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15833
15834 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15835
15836         [BZ #14876]
15837         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15838         * time/tst-strptime.c (day_tests): Add testcase.
15839
15840 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15841
15842         [BZ #14029]
15843         * manual/pattern.texi: Acknowledge that fnmatch can fail.
15844
15845 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
15846
15847         [BZ #16074]
15848         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15849         MAP_FAILED on error.
15850
15851 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15852
15853         [BZ #16072]
15854         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15855         heap for large requests.
15856
15857 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
15858
15859         [BZ #9954]
15860         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15861         result if the result has no associated interface.
15862         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15863         interface for all 127.X.Y.Z addresses.
15864
15865 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
15866
15867         * locale/iso-639.def: Add Ligurian (lij)
15868
15869 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
15870
15871         [BZ #15825]
15872         * sunrpc/rpc_main.c: Document rpcgen -5.
15873
15874 2013-10-19  Michael Stahl  <mstahl@redhat.com>
15875
15876         * elf/rtld.c (do_preload): Print the reason why preloading failed.
15877
15878 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
15879
15880         [BZ #10278]
15881         * posix/glob.c: Match only directories when trailing slash is present.
15882         * posix/tst-gnuglob.c (my_opendir): Do not open files.
15883         (main): Add testcase.
15884
15885 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
15886
15887         [BZ #15670]
15888         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15889
15890 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
15891
15892         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15893         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15894         AUTH_DES and cindex for FIPS 140-2.
15895         (DES Encryption): Add cindex FIPS 46-3.
15896
15897         * locale/locarchive.h (struct locarhandle): Add fname.
15898         * locale/programs/localedef.c (main): Pass ARGV[remaining]
15899         if an optional argument was specified to --list-archive,
15900         otherwise NULL.
15901         * locale/programs/locarchive.c (show_archive_content): Take new
15902         argument fname and pass it via ah.fname to open_archive.
15903         * locale/programs/localedef.h: Update decl.
15904         (open_archive): If AH->fname is non-null, open that file
15905         rather than the default file name, and don't ignore ENOENT.
15906         (create_archive): Set AH.fname to NULL.
15907         (delete_locales_from_archive): Likewise.
15908         (add_locales_to_archive): Likewise.
15909         * locale/programs/locfile.c (write_all_categories): Likewise.
15910
15911 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
15912             Aldy Hernandez  <aldyh@redhat.com>
15913
15914         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15915         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15916         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15917         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15918         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15919         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15920         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15921         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15922         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15923         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15924         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15925         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15926         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15927         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15928         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15929         Likewise.
15930         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15931         Likewise.
15932         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15933         Likewise.
15934         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15935         Likewise.
15936         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15937         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15938         Likewise.
15939         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15940         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15941         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15942         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15943         Likewise.
15944         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15945         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15946         * sysdeps/powerpc/preconfigure: Likewise.
15947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15948         Likewise.
15949         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15950         Replace contents of file by #include of <fenv_libc.h>.
15951         * sysdeps/powerpc/soft-fp/sfp-machine.h
15952         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15953         and <sys/prctl.h>.
15954         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15955         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15956         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15957         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15958         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15959         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15960         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15961         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15962         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15963         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15964         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15965         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15967         Allow copysignl PLT reference to be missing.
15968
15969 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
15970             Joseph Myers  <joseph@codesourcery.com
15971
15972         [BZ #15948]
15973         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15974         single character.
15975         (add_to_tablewc): Assert sequence of wide characters is nonempty.
15976
15977 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15978
15979         * elf/tst-tls-dlinfo.c: Don't include tls.h.
15980         * elf/tst-tls1.c: Likewise.
15981         * elf/tst-tls10.h: Likewise.
15982         * elf/tst-tls14.c: Likewise.
15983         * elf/tst-tls2.c: Likewise.
15984         * elf/tst-tls3.c: Likewise.
15985         * elf/tst-tls4.c: Likewise.
15986         * elf/tst-tls5.c: Likewise.
15987         * elf/tst-tls6.c: Likewise.
15988         * elf/tst-tls7.c: Likewise.
15989         * elf/tst-tls8.c: Likewise.
15990         * elf/tst-tls9.c: Likewise.
15991         * elf/tst-tlsmod1.c: Likewise.
15992         * elf/tst-tlsmod13.c: Likewise.
15993         * elf/tst-tlsmod13a.c: Likewise.
15994         * elf/tst-tlsmod14a.c: Likewise.
15995         * elf/tst-tlsmod16a.c: Likewise.
15996         * elf/tst-tlsmod16b.c: Likewise.
15997         * elf/tst-tlsmod2.c: Likewise.
15998         * elf/tst-tlsmod3.c: Likewise.
15999         * elf/tst-tlsmod4.c: Likewise.
16000         * elf/tst-tlsmod5.c: Likewise.
16001         * elf/tst-tlsmod6.c: Likewise.
16002
16003 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
16004
16005         [BZ #12486]
16006         * malloc/malloc.c: remove checks for statistics.
16007
16008 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
16009
16010         [BZ #15277]
16011         * inet/inet_net.c (inet_network): Detect additional invalid strings.
16012         * inet/tst-network.c: Add testcase.
16013
16014 2013-10-17  Andreas Schwab  <schwab@suse.de>
16015
16016         [BZ #15218]
16017         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
16018         to determine canonical name.
16019
16020 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
16021
16022         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
16023         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
16024         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16025         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16026         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16027         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16028         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16029         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16030         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
16031         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16032         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16033         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16034         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16035         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16036         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16037         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16038         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16039         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16040         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16041         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16042         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16043         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16044         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16045         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
16046         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
16047         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16048         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16049         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
16050         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16051         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
16052         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16053         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16054         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16055         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16056         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16057         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16058         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16059         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16060         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16061         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16062         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16063         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16064         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16065         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16066         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16067         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16068         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16069         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16070         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16071         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16072         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16073         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16074         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16075         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16076         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16077         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16078         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16079         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16080
16081 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
16082
16083         [BZ #16041]
16084         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
16085         make result into a quiet NaN.
16086
16087 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
16088
16089         * soft-fp/adddf3.c: Fix horizontal whitespace.
16090         * soft-fp/addsf3.c: Likewise.
16091         * soft-fp/addtf3.c: Likewise.
16092         * soft-fp/divdf3.c: Likewise.
16093         * soft-fp/divsf3.c: Likewise.
16094         * soft-fp/divtf3.c: Likewise.
16095         * soft-fp/double.h: Likewise.
16096         * soft-fp/eqdf2.c: Likewise.
16097         * soft-fp/eqsf2.c: Likewise.
16098         * soft-fp/eqtf2.c: Likewise.
16099         * soft-fp/extenddftf2.c: Likewise.
16100         * soft-fp/extended.h: Likewise.
16101         * soft-fp/extendsfdf2.c: Likewise.
16102         * soft-fp/extendsftf2.c: Likewise.
16103         * soft-fp/extendxftf2.c: Likewise.
16104         * soft-fp/fixdfdi.c: Likewise.
16105         * soft-fp/fixdfsi.c: Likewise.
16106         * soft-fp/fixdfti.c: Likewise.
16107         * soft-fp/fixsfdi.c: Likewise.
16108         * soft-fp/fixsfsi.c: Likewise.
16109         * soft-fp/fixsfti.c: Likewise.
16110         * soft-fp/fixtfdi.c: Likewise.
16111         * soft-fp/fixtfsi.c: Likewise.
16112         * soft-fp/fixtfti.c: Likewise.
16113         * soft-fp/fixunsdfdi.c: Likewise.
16114         * soft-fp/fixunsdfsi.c: Likewise.
16115         * soft-fp/fixunsdfti.c: Likewise.
16116         * soft-fp/fixunssfdi.c: Likewise.
16117         * soft-fp/fixunssfsi.c: Likewise.
16118         * soft-fp/fixunssfti.c: Likewise.
16119         * soft-fp/fixunstfdi.c: Likewise.
16120         * soft-fp/fixunstfsi.c: Likewise.
16121         * soft-fp/fixunstfti.c: Likewise.
16122         * soft-fp/floatdidf.c: Likewise.
16123         * soft-fp/floatdisf.c: Likewise.
16124         * soft-fp/floatditf.c: Likewise.
16125         * soft-fp/floatsidf.c: Likewise.
16126         * soft-fp/floatsisf.c: Likewise.
16127         * soft-fp/floatsitf.c: Likewise.
16128         * soft-fp/floattidf.c: Likewise.
16129         * soft-fp/floattisf.c: Likewise.
16130         * soft-fp/floattitf.c: Likewise.
16131         * soft-fp/floatundidf.c: Likewise.
16132         * soft-fp/floatundisf.c: Likewise.
16133         * soft-fp/floatunditf.c: Likewise.
16134         * soft-fp/floatunsidf.c: Likewise.
16135         * soft-fp/floatunsisf.c: Likewise.
16136         * soft-fp/floatunsitf.c: Likewise.
16137         * soft-fp/floatuntidf.c: Likewise.
16138         * soft-fp/floatuntisf.c: Likewise.
16139         * soft-fp/floatuntitf.c: Likewise.
16140         * soft-fp/fmadf4.c: Likewise.
16141         * soft-fp/fmasf4.c: Likewise.
16142         * soft-fp/fmatf4.c: Likewise.
16143         * soft-fp/gedf2.c: Likewise.
16144         * soft-fp/gesf2.c: Likewise.
16145         * soft-fp/getf2.c: Likewise.
16146         * soft-fp/ledf2.c: Likewise.
16147         * soft-fp/lesf2.c: Likewise.
16148         * soft-fp/letf2.c: Likewise.
16149         * soft-fp/muldf3.c: Likewise.
16150         * soft-fp/mulsf3.c: Likewise.
16151         * soft-fp/multf3.c: Likewise.
16152         * soft-fp/negdf2.c: Likewise.
16153         * soft-fp/negsf2.c: Likewise.
16154         * soft-fp/negtf2.c: Likewise.
16155         * soft-fp/op-1.h: Likewise.
16156         * soft-fp/op-2.h: Likewise.
16157         * soft-fp/op-4.h: Likewise.
16158         * soft-fp/op-8.h: Likewise.
16159         * soft-fp/op-common.h: Likewise.
16160         * soft-fp/quad.h: Likewise.
16161         * soft-fp/single.h: Likewise.
16162         * soft-fp/soft-fp.h: Likewise.
16163         * soft-fp/sqrtdf2.c: Likewise.
16164         * soft-fp/sqrtsf2.c: Likewise.
16165         * soft-fp/sqrttf2.c: Likewise.
16166         * soft-fp/subdf3.c: Likewise.
16167         * soft-fp/subsf3.c: Likewise.
16168         * soft-fp/subtf3.c: Likewise.
16169         * soft-fp/truncdfsf2.c: Likewise.
16170         * soft-fp/trunctfdf2.c: Likewise.
16171         * soft-fp/trunctfsf2.c: Likewise.
16172         * soft-fp/trunctfxf2.c: Likewise.
16173         * soft-fp/unorddf2.c: Likewise.
16174         * soft-fp/unordsf2.c: Likewise.
16175         * soft-fp/unordtf2.c: Likewise.
16176
16177 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
16178
16179         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
16180         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
16181
16182 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
16183
16184         * elf/dl-libc.c: Clear initfini list after freeing.
16185
16186 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
16187
16188         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
16189         * soft-fp/addsf3.c: Likewise.
16190         * soft-fp/addtf3.c: Likewise.
16191         * soft-fp/divdf3.c: Likewise.
16192         * soft-fp/divsf3.c: Likewise.
16193         * soft-fp/divtf3.c: Likewise.
16194         * soft-fp/double.h: Likewise.
16195         * soft-fp/eqdf2.c: Likewise.
16196         * soft-fp/eqsf2.c: Likewise.
16197         * soft-fp/eqtf2.c: Likewise.
16198         * soft-fp/extenddftf2.c: Likewise.
16199         * soft-fp/extended.h: Likewise.
16200         * soft-fp/extendsfdf2.c: Likewise.
16201         * soft-fp/extendsftf2.c: Likewise.
16202         * soft-fp/extendxftf2.c: Likewise.
16203         * soft-fp/fixdfdi.c: Likewise.
16204         * soft-fp/fixdfsi.c: Likewise.
16205         * soft-fp/fixdfti.c: Likewise.
16206         * soft-fp/fixsfdi.c: Likewise.
16207         * soft-fp/fixsfsi.c: Likewise.
16208         * soft-fp/fixsfti.c: Likewise.
16209         * soft-fp/fixtfdi.c: Likewise.
16210         * soft-fp/fixtfsi.c: Likewise.
16211         * soft-fp/fixtfti.c: Likewise.
16212         * soft-fp/fixunsdfdi.c: Likewise.
16213         * soft-fp/fixunsdfsi.c: Likewise.
16214         * soft-fp/fixunsdfti.c: Likewise.
16215         * soft-fp/fixunssfdi.c: Likewise.
16216         * soft-fp/fixunssfsi.c: Likewise.
16217         * soft-fp/fixunssfti.c: Likewise.
16218         * soft-fp/fixunstfdi.c: Likewise.
16219         * soft-fp/fixunstfsi.c: Likewise.
16220         * soft-fp/fixunstfti.c: Likewise.
16221         * soft-fp/floatdidf.c: Likewise.
16222         * soft-fp/floatdisf.c: Likewise.
16223         * soft-fp/floatditf.c: Likewise.
16224         * soft-fp/floatsidf.c: Likewise.
16225         * soft-fp/floatsisf.c: Likewise.
16226         * soft-fp/floatsitf.c: Likewise.
16227         * soft-fp/floattidf.c: Likewise.
16228         * soft-fp/floattisf.c: Likewise.
16229         * soft-fp/floattitf.c: Likewise.
16230         * soft-fp/floatundidf.c: Likewise.
16231         * soft-fp/floatundisf.c: Likewise.
16232         * soft-fp/floatunsidf.c: Likewise.
16233         * soft-fp/floatunsisf.c: Likewise.
16234         * soft-fp/floatuntidf.c: Likewise.
16235         * soft-fp/floatuntisf.c: Likewise.
16236         * soft-fp/floatuntitf.c: Likewise.
16237         * soft-fp/fmadf4.c: Likewise.
16238         * soft-fp/fmasf4.c: Likewise.
16239         * soft-fp/fmatf4.c: Likewise.
16240         * soft-fp/gedf2.c: Likewise.
16241         * soft-fp/gesf2.c: Likewise.
16242         * soft-fp/getf2.c: Likewise.
16243         * soft-fp/ledf2.c: Likewise.
16244         * soft-fp/lesf2.c: Likewise.
16245         * soft-fp/letf2.c: Likewise.
16246         * soft-fp/muldf3.c: Likewise.
16247         * soft-fp/mulsf3.c: Likewise.
16248         * soft-fp/multf3.c: Likewise.
16249         * soft-fp/negdf2.c: Likewise.
16250         * soft-fp/negsf2.c: Likewise.
16251         * soft-fp/negtf2.c: Likewise.
16252         * soft-fp/op-1.h: Likewise.
16253         * soft-fp/op-2.h: Likewise.
16254         * soft-fp/op-4.h: Likewise.
16255         * soft-fp/op-8.h: Likewise.
16256         * soft-fp/op-common.h: Likewise.
16257         * soft-fp/quad.h: Likewise.
16258         * soft-fp/single.h: Likewise.
16259         * soft-fp/soft-fp.h: Likewise.
16260         * soft-fp/sqrtdf2.c: Likewise.
16261         * soft-fp/sqrtsf2.c: Likewise.
16262         * soft-fp/sqrttf2.c: Likewise.
16263         * soft-fp/subdf3.c: Likewise.
16264         * soft-fp/subsf3.c: Likewise.
16265         * soft-fp/subtf3.c: Likewise.
16266         * soft-fp/truncdfsf2.c: Likewise.
16267         * soft-fp/trunctfdf2.c: Likewise.
16268         * soft-fp/trunctfsf2.c: Likewise.
16269         * soft-fp/trunctfxf2.c: Likewise.
16270         * soft-fp/unorddf2.c: Likewise.
16271         * soft-fp/unordsf2.c: Likewise.
16272         * soft-fp/unordtf2.c: Likewise.
16273
16274 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
16275
16276         [BZ #15672]
16277         * misc/error.c (error_tail): Fix possible buffer overflow.
16278
16279 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
16280
16281         [BZ #13028]
16282         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
16283         address.
16284
16285 2013-10-14  P. J. McDermott  <pj@pehjota.net>
16286
16287         [BZ #832]
16288         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
16289         testing pipefail option.
16290
16291 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
16292
16293         * soft-fp/double.h: Indent preprocessor directives inside #if.
16294         * soft-fp/extended.h: Likewise.
16295         * soft-fp/op-2.h: Likewise.
16296         * soft-fp/op-4.h: Likewise.
16297         * soft-fp/op-common.h: Likewise.
16298         * soft-fp/quad.h: Likewise.
16299         * soft-fp/single.h: Likewise.
16300         * soft-fp/soft-fp.h: Likewise.
16301
16302 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
16303
16304         * iconv/iconv_prog.c: Fix typos.
16305         * stdio-common/psiginfo-data.h: Likewise.
16306
16307 2013-10-12   Reuben Thomas <rrt@sc3d.org>
16308
16309         [BZ #15764]
16310         * locale/setlocale.c: Fix typo.
16311
16312 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
16313
16314         [BZ #16036]
16315         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
16316         signaling NaN arguments.
16317         * soft-fp/unordsf2.c (__unordsf2): Likewise.
16318         * soft-fp/unordtf2.c (__unordtf2): Likewise.
16319
16320         [BZ #14910]
16321         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
16322         unordered operands.
16323         * soft-fp/gesf2.c (__gesf2): Likewise.
16324         * soft-fp/getf2.c (__getf2): Likewise.
16325         * soft-fp/ledf2.c (__ledf2): Likewise.
16326         * soft-fp/lesf2.c (__lesf2): Likewise.
16327         * soft-fp/letf2.c (__letf2): Likewise.
16328
16329         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
16330         * soft-fp/eqsf2.c (__eqsf2): Likewise.
16331         * soft-fp/eqtf2.c (__eqtf2): Likewise.
16332         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
16333         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
16334         * soft-fp/fixdfti.c (__fixdfti): Likewise.
16335         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
16336         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
16337         * soft-fp/fixsfti.c (__fixsfti): Likewise.
16338         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
16339         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
16340         * soft-fp/fixtfti.c (__fixtfti): Likewise.
16341         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
16342         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
16343         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
16344         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
16345         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
16346         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
16347         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
16348         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
16349         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
16350         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
16351         * soft-fp/floatdisf.c (__floatdisf): Likewise.
16352         * soft-fp/floatsisf.c (__floatsisf): Likewise.
16353         * soft-fp/floattidf.c (__floattidf): Likewise.
16354         * soft-fp/floattisf.c (__floattisf): Likewise.
16355         * soft-fp/floattitf.c (__floattitf): Likewise.
16356         * soft-fp/floatundidf.c (__floatundidf): Likewise.
16357         * soft-fp/floatundisf.c (__floatundisf): Likewise.
16358         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
16359         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
16360         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
16361         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
16362         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
16363         * soft-fp/gesf2.c (__gesf2): Likewise.
16364         * soft-fp/getf2.c (__getf2): Likewise.
16365         * soft-fp/ledf2.c (__ledf2): Likewise.
16366         * soft-fp/lesf2.c (__lesf2): Likewise.
16367         * soft-fp/letf2.c (__letf2): Likewise.
16368
16369         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
16370         Undefine and redefine.
16371         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
16372         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
16373         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
16374         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
16375         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16376         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
16377         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16378         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
16379         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16380         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
16381         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16382         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
16383         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16384         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
16385         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16386
16387         [BZ #16032]
16388         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
16389         without decrementing exponent if mantissa >= that for the
16390         denominator, not >.
16391         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
16392         denominator, not >.  Decrement exponent in < case instead of
16393         incrementing in >= case.
16394         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
16395         without decrementing exponent if mantissa >= that for the
16396         denominator, not >.
16397
16398         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
16399         computing saturated result for unsigned overflow.
16400
16401 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16402             Jeff Law  <law@redhat.com>
16403
16404         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
16405         (atan2Mp): Add systemtap probe marker.
16406         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
16407         (__ieee754_log): Add systemtap probe marker.
16408         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
16409         (atanMp): Add systemtap probe marker.
16410         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
16411         (tanMp): Add systemtap probe marker.
16412         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
16413         (__slowexp): Add systemtap probe marker.
16414         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
16415         (__slowpow): Add systemtap probe marker.
16416         * manual/probes.texi: Document probes.
16417
16418 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
16419
16420         [BZ #15362]
16421         * libio/fileops.c (_IO_new_file_write): Return count of bytes
16422         written.
16423         (_IO_new_file_xsputn): Don't return EOF if nothing has been
16424         written.
16425         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
16426         written to buffer but not flushed.
16427         * libio/iofwrite_u.c:  Likewise.
16428         * libio/iopadn.c:  Return bytes returned even if EOF was
16429         encountered.
16430         * libio/iowpadn.c:  Likewise.
16431         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
16432         if _IO_padn does not write the whole buffer.
16433         [!COMPILE_WPRINTF] (PAD): Likewise.
16434
16435 2013-10-10  David S. Miller  <davem@davemloft.net>
16436
16437         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
16438         directory block.
16439
16440 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
16441
16442         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
16443         instead of FSF address.
16444         * soft-fp/fixdfti.c: Likewise.
16445         * soft-fp/fixsfti.c: Likewise.
16446         * soft-fp/fixtfti.c: Likewise.
16447         * soft-fp/fixunsdfti.c: Likewise.
16448         * soft-fp/fixunssfti.c: Likewise.
16449         * soft-fp/fixunstfti.c: Likewise.
16450         * soft-fp/floattidf.c: Likewise.
16451         * soft-fp/floattisf.c: Likewise.
16452         * soft-fp/floattitf.c: Likewise.
16453         * soft-fp/floatuntidf.c: Likewise.
16454         * soft-fp/floatuntisf.c: Likewise.
16455         * soft-fp/floatuntitf.c: Likewise.
16456         * soft-fp/trunctfxf2.c: Likewise.
16457
16458         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
16459         * soft-fp/fixdfti.c: Likewise.
16460         * soft-fp/fixsfti.c: Likewise.
16461         * soft-fp/fixtfti.c: Likewise.
16462         * soft-fp/fixunsdfti.c: Likewise.
16463         * soft-fp/fixunssfti.c: Likewise.
16464         * soft-fp/fixunstfti.c: Likewise.
16465         * soft-fp/floattidf.c: Likewise.
16466         * soft-fp/floattisf.c: Likewise.
16467         * soft-fp/floattitf.c: Likewise.
16468         * soft-fp/floatuntidf.c: Likewise.
16469         * soft-fp/floatuntisf.c: Likewise.
16470         * soft-fp/floatuntitf.c: Likewise.
16471         * soft-fp/trunctfxf2.c: Likewise.
16472
16473 2013-10-10  David S. Miller  <davem@davemloft.net>
16474
16475         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16476
16477 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
16478
16479         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16480         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
16481         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
16482         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
16483         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
16484         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
16485         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
16486
16487         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
16488         for NaNs before doing comparisons on argument.
16489         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16490         Likewise.
16491
16492 2013-10-10  Will Newton  <will.newton@linaro.org>
16493
16494         * malloc/hooks.c (memalign_check): Ensure the value of bytes
16495         passed to _int_memalign does not overflow.
16496
16497 2013-10-10  Torvald Riegel  <triegel@redhat.com>
16498
16499         * scripts/bench.pl: Add include-sources directive.
16500         * benchtests/README: Update documentation.
16501
16502 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
16503
16504         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
16505         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
16506         instead of FP_INIT_ROUNDMODE.
16507         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
16508         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
16509
16510         [BZ #16034]
16511         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
16512         copy class of input value.
16513         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
16514         not handle exceptions.
16515         * soft-fp/negsf2.c (__negsf2): Likewise.
16516         * soft-fp/negtf2.c (__negtf2): Likewise.
16517         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
16518
16519 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
16520
16521         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
16522         semicolon.  From Linux kernel.
16523
16524 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
16525
16526         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
16527
16528 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
16529
16530         [BZ #156]
16531         * manual/socket.texi: Added statement about buffer
16532         for gethostbyname2_r.
16533
16534 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
16535
16536         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
16537         Use .p2align directive instead, throughout.
16538         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16539         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
16540         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
16541         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16542         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16543         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16544         * sysdeps/x86_64/strchr.S: Likewise.
16545         * sysdeps/x86_64/strrchr.S: Likewise.
16546
16547 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
16548
16549         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
16550
16551         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
16552
16553         * sysdeps/generic/math_private.h (__mpsin1): Remove
16554         declaration.
16555         (__mpcos1): Likewise.
16556         (__mpsin): New argument __range_reduce.
16557         (__mpcos): Likewise.
16558         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16559         (slow): Use __mpsin and __mpcos.
16560         (slow1): Likewise.
16561         (slow2): Likewise.
16562         (sloww): Likewise.
16563         (sloww1): Likewise.
16564         (sloww2): Likewise.
16565         (bsloww): Likewise.
16566         (bsloww1): Likewise.
16567         (bsloww2): Likewise.
16568         (cslow2): Likewise.
16569         (csloww): Likewise.
16570         (csloww1): Likewise.
16571         (csloww2): Likewise.
16572         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
16573         range_reduce.  Merge in __mpsin1.
16574         (__mpcos): Likewise.
16575         (__mpsin1): Remove.
16576         (__mpcos1): Likewise.
16577
16578 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
16579
16580         * locale/loadlocale.c (_nl_intern_locale_data): Use
16581         LOCFILE_ALIGNED_P.
16582         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
16583         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
16584         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
16585         obstack data is appropriately aligned.
16586         (obstack_int32_grow_fast): Likewise.
16587         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
16588         * locale/programs/locfile.c (add_locale_uint32): Likewise.
16589         (add_locale_uint32_array): Likewise.
16590
16591 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
16592
16593         * benchtests/Makefile: Remove ARGLIST and RET variables.
16594         ($(objpfx)bench-%.c): Pass only function name to the script.
16595         * benchtests/README: Update documentation.
16596         * benchtests/acos-inputs: Add new directives.
16597         * benchtests/acosh-inputs: Likewise.
16598         * benchtests/asin-inputs: Likewise.
16599         * benchtests/asinh-inputs: Likewise.
16600         * benchtests/atan-inputs: Likewise.
16601         * benchtests/atanh-inputs: Likewise.
16602         * benchtests/cos-inputs: Likewise.
16603         * benchtests/cosh-inputs: Likewise.
16604         * benchtests/exp-inputs: Likewise.
16605         * benchtests/log-inputs: Likewise.
16606         * benchtests/pow-inputs: Likewise.
16607         * benchtests/rint-inputs: Likewise.
16608         * benchtests/sin-inputs: Likewise.
16609         * benchtests/sinh-inputs: Likewise.
16610         * benchtests/tan-inputs: Likewise.
16611         * benchtests/tanh-inputs: Likewise.
16612         * scripts/bench.pl: Add support for new directives.
16613
16614 2013-10-07  Alan Modra  <amodra@gmail.com>
16615
16616         * README: Fix careless merge.
16617
16618 2013-10-05  Alan Modra  <amodra@gmail.com>
16619
16620         * NEWS: Mention powerpc64le support and bugs fixed.
16621         * README: Both big-endian and little-endian powerpc64 supported.
16622
16623 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16624
16625         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
16626         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
16627         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
16628         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
16629
16630 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
16631
16632         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
16633         match prototype.
16634
16635 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
16636
16637         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
16638         Move -mhard-float appending from
16639         ports/sysdeps/powerpc/powerpc32/Makefile.
16640         [$(with-fp) = yes] (ASFLAGS): Likewise.
16641         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
16642         * sysdeps/powerpc/nofpu: Move directory from
16643         ports/sysdeps/powerpc/nofpu.
16644         * sysdeps/powerpc/soft-fp: Move directory from
16645         ports/sysdeps/powerpc/soft-fp.
16646         * sysdeps/powerpc/powerpc32/405: Move directory from
16647         ports/sysdeps/powerpc/powerpc32/405.
16648         * sysdeps/powerpc/powerpc32/440: Move directory from
16649         ports/sysdeps/powerpc/powerpc32/440.
16650         * sysdeps/powerpc/powerpc32/464: Move directory from
16651         ports/sysdeps/powerpc/powerpc32/464.
16652         * sysdeps/powerpc/powerpc32/476: Move directory from
16653         ports/sysdeps/powerpc/powerpc32/476.
16654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
16655         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
16656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
16657         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
16658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
16659         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
16660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
16661         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
16662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
16663         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
16664         * README: Update for powerpc-*-linux-gnu software floating point
16665         support in libc.
16666
16667         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
16668         case to powerpc/powerpc32*.
16669         * sysdeps/unix/sysv/linux/configure: Regenerated.
16670
16671         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
16672         (_FPU_MASK_OM): Define as 0x04.
16673         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
16674         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
16675         0x00c10080.
16676         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
16677         0x0000003c.
16678         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
16679
16680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
16681         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16682         getcontext_e500.
16683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
16684         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16685         setcontext_e500.
16686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
16687         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
16688         and setcontext_e500.
16689
16690 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
16691
16692         * locale/iso-3166.def: Update iso-1366.def and related occurrences
16693
16694 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16695
16696         * manual/threads.texi (Default Thread Attributes): Fix typo.
16697
16698 2013-10-04  Will Newton  <will.newton@linaro.org>
16699
16700         * malloc/Makefile: Add tst-memalign.
16701         * malloc/tst-memalign.c: New file.
16702
16703         * malloc/tst-posix_memalign.c: Add comments.
16704         (do_test): Add comments and call free on all potentially
16705         allocated pointers. Add space after cast.
16706
16707         * malloc/tst-pvalloc.c: Add comments.
16708         (do_test): Add comments and call free on all potentially
16709         allocated pointers. Remove duplicate check for NULL pointer.
16710         Add space after cast.
16711
16712         * malloc/tst-valloc.c: Add comments.
16713         (do_test): Add comments and call free on all potentially
16714         allocated pointers. Remove duplicate check for NULL pointer.
16715         Add space after cast.
16716
16717 2013-10-04  Alan Modra  <amodra@gmail.com>
16718
16719         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16720         Use stdint types in rather than __attribute__((mode())).
16721         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16722
16723 2013-10-04  Alan Modra  <amodra@gmail.com>
16724
16725         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16726         Correct handling of unaligned relocs for little-endian.
16727         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16728
16729 2013-10-04  Alan Modra  <amodra@gmail.com>
16730
16731         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
16732         * configure: Regenerate.
16733         * nptl/shlib-versions: Powerpc*le starts at 2.18.
16734         * shlib-versions: Likewise.
16735
16736 2013-10-04  Alan Modra  <amodra@gmail.com>
16737
16738         * string/tester.c (test_memrchr): Increment reported test cycle.
16739
16740 2013-10-04  Alan Modra  <amodra@gmail.com>
16741
16742         * string/test-memcpy.c (do_one_test): When reporting errors, print
16743         string address and don't overrun end of string.
16744
16745 2013-10-04  Alan Modra  <amodra@gmail.com>
16746
16747         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16748         insrdi.  Make better use of reg selection to speed exit slightly.
16749         Schedule entry path a little better.  Remove useless "are we done"
16750         checks on entry to main loop.  Handle wrapping around zero address.
16751         Correct main loop count.  Handle single left-over word from main
16752         loop inline rather than by using loop_small.  Remove extra word
16753         case in loop_small caused by wrong loop count.  Add little-endian
16754         support.
16755         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16756         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
16757         cache hint.
16758         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16759         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16760         support.  Avoid rlwimi.
16761         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16762
16763 2013-10-04  Alan Modra  <amodra@gmail.com>
16764
16765         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
16766         insrdi.  Formatting.
16767         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16768         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16769         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16770         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16771         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16772         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16773
16774 2013-10-04  Alan Modra  <amodra@gmail.com>
16775
16776         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16777         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16778         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16779         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16780         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16781         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16782         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16783         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16784         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
16785         use of regs.  Use power7 mtocrf.  Tidy function tails.
16786
16787 2013-10-04  Alan Modra  <amodra@gmail.com>
16788
16789         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16790         Formatting.  Consistently use rXXX register defines or rN defines.
16791         Use early exit labels that avoid restoring unused non-volatile regs.
16792         Make cr field use more consistent with rWORDn compares.  Rename
16793         regs used as shift registers for unaligned loop, using rN defines
16794         for short lifetime/multiple use regs.
16795         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16796         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
16797         addi 1,1,64 to pop stack frame.  Simplify return value code.
16798         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16799
16800 2013-10-04  Alan Modra  <amodra@gmail.com>
16801
16802         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16803         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
16804         rather than rlwimi.
16805         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16806         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16807         little-endian support.  Correct typos.
16808         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
16809         rather than rlwimi.
16810         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
16811         in loop and entry code to keep "and." results.
16812         (strchr): Add little-endian support.  Comment.  Move cntlzd
16813         earlier in tail.
16814         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16815
16816 2013-10-04  Alan Modra  <amodra@gmail.com>
16817
16818         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16819         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16820         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16821         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16822
16823 2013-10-04  Alan Modra  <amodra@gmail.com>
16824
16825         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16826         (rTMP): Define as r11.
16827         (strcmp): Add little-endian support.  Optimise tail.
16828         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16829         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16830         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16831         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16832         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16833         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16834         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16835
16836 2013-10-04  Alan Modra  <amodra@gmail.com>
16837
16838         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16839         little-endian support.  Remove unnecessary "are we done" tests.
16840         Handle "s" wrapping around zero and extremely large "size".
16841         Correct main loop count.  Handle single left-over word from main
16842         loop inline rather than by using small_loop.  Correct comments.
16843         Delete "zero" tail, use "end_max" instead.
16844         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16845
16846 2013-10-04  Alan Modra  <amodra@gmail.com>
16847
16848         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16849         support.  Don't branch over align.
16850         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16851         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16852         support.  Rearrange tmp reg use to suit.  Comment.
16853         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16854
16855 2013-10-04  Alan Modra  <amodra@gmail.com>
16856
16857         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16858
16859 2013-10-04  Alan Modra  <amodra@gmail.com>
16860
16861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16862         conditional form of branch and link when obtaining pc.
16863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16864
16865 2013-10-04  Alan Modra  <amodra@gmail.com>
16866
16867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16868         HIWORD/LOWORD.
16869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16871
16872 2013-10-04  Alan Modra  <amodra@gmail.com>
16873
16874         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16875         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16876         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16877         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16878         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16879         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16880         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16881         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16882         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16883         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16884
16885 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16886             Alistair Popple <alistair@ozlabs.au.ibm.com>
16887             Alan Modra <amodra@gmail.com>
16888
16889         [BZ #15723]
16890         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16891         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16892         _dl_hwcap access for little-endian.
16893         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
16894         destroy vmx regs when saving unaligned.
16895         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16896         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
16897         destroy vmx regs when saving unaligned.
16898
16899 2013-10-04  Alan Modra  <amodra@gmail.com>
16900
16901         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16902         Don't use a union to pack hi/low value.
16903
16904 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16905
16906         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16907         for little-endian.
16908         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16909         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16910         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16911         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16912         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16913
16914 2013-10-04  Alan Modra  <amodra@gmail.com>
16915
16916         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16917         constants to usual value for .cst8 section, and remove redundant
16918         high address load.
16919         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16920         constant for 0x1p52.  Load little-endian words of double from
16921         correct stack offsets.
16922
16923 2013-10-04  Alan Modra  <amodra@gmail.com>
16924
16925         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16926         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16927         words of double from correct stack offsets.
16928         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16929         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16930         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16931         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16932         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16933         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16934         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16935         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16936         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16937         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16938         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16939         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16940         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16941         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16942         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16943         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16944         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16945
16946 2013-10-04  Alan Modra  <amodra@gmail.com>
16947
16948         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16949         64-bit int/double union.
16950         (_FPU_SETCW): Likewise.
16951         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16952         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16953
16954 2013-10-04  Alan Modra  <amodra@gmail.com>
16955
16956         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16957         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16958
16959 2013-10-04  Alan Modra  <amodra@gmail.com>
16960
16961         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16962         use vector int constants.
16963         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16964
16965 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16966
16967         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16968         array with long long.
16969         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16970         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16971         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16972         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16973         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16974         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16975         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16976         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16977         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16978         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16979         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16980         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16981         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16982
16983 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16984
16985         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16986         (__signbit): Likewise.  Correct for little-endian.
16987         (__signbitl): Call __signbit.
16988         (lrint): Correct for little-endian.
16989         (lrintf): Call lrint.
16990
16991 2013-10-04  Alan Modra  <amodra@gmail.com>
16992
16993         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16994         union 32-bit int array member with 64-bit int array.
16995         (t515, tm256): Double rather than long double.
16996         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16997
16998 2013-10-04  Alan Modra  <amodra@gmail.com>
16999
17000         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
17001         Delete.
17002         (IEEE854_LONG_DOUBLE_BIAS): Delete.
17003         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
17004         version of math_ldbl.h.
17005
17006 2013-10-04  Alan Modra  <amodra@gmail.com>
17007
17008         [BZ #15734], [BZ #15735]
17009         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
17010         all uses of ieee875 long double macros and unions.  Simplify test
17011         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
17012         ldbl_extract_mantissa value for ix,iy exponents.  Properly
17013         normalize after ldbl_extract_mantissa, and don't add hidden bit
17014         already handled.  Don't treat low word of ieee854 mantissa like
17015         low word of IBM long double and mask off bit when testing for
17016         zero.
17017         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
17018         all uses of ieee875 long double macros and unions.  Simplify tests
17019         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
17020         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
17021         two1022, instead use their values.  Recognise that tests for large
17022         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
17023         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
17024         Rewrite all uses of ieee875 long double macros and unions.  Simplify
17025         test for 0.0L and nan.  Correct negation.
17026         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
17027         ieee875 long double macros and unions.  Correct output for large
17028         magnitude x.  Correct absolute value calculation.
17029         (__erfcl): Likewise.
17030         * math/libm-test.inc: Add tests for errors discovered in IBM long
17031         double versions of fmodl, remainderl, erfl and erfcl.
17032
17033 2013-10-04  Alan Modra  <amodra@gmail.com>
17034
17035         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
17036         all uses of ieee854 long double macros and unions.  Simplify tests
17037         for long doubles that are fully specified by the high double.
17038         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
17039         Likewise.
17040         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
17041         Remove dead code too.
17042         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17043         (__ieee754_ynl): Likewise.
17044         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
17045         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
17046         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
17047         Remove dead code too.
17048         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
17049         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
17050         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
17051         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
17052         Simplify.
17053         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
17054         Simplify.
17055         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
17056         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
17057         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
17058         Comment on variable precision.
17059         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
17060         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17061         Likewise.
17062         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17063         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17064         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17065         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
17066         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
17067
17068 2013-10-04  Alan Modra  <amodra@gmail.com>
17069
17070         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
17071         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
17072         all uses of ieee854 long double macros and unions.
17073         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
17074         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17075         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
17076         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
17077         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
17078         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
17079         Likewise.
17080         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
17081         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17082         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
17083         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17084         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
17085         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
17086         Simplify sign and nan test too.
17087         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
17088         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
17089         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
17090         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
17091         Likewise.
17092         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
17093         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
17094         Likewise.
17095         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17096         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
17097         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
17098         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
17099         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
17100         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
17101
17102 2013-10-04  Alan Modra  <amodra@gmail.com>
17103
17104         * stdio-common/printf_size.c (__printf_size): Don't use
17105         union ieee854_long_double in fpnum union.
17106         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
17107         signbit macro to retrieve sign from long double.
17108         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
17109         retrieve sign from long double.
17110         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
17111         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
17112         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
17113         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17114         * math/test-misc.c (main): Don't use union ieee854_long_double.
17115
17116 2013-10-04  Alan Modra  <amodra@gmail.com>
17117
17118         [BZ #15680]
17119         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
17120         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
17121         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
17122         calculation.  Remove unnecessary test for denormal exponent.
17123         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
17124         Correct handling of denormals.  Avoid undefined shift behaviour.
17125         Correct normalisation of low mantissa when low double is denormal.
17126         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
17127         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
17128         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
17129         Correct normalisation of low mantissa.  Test for overflow of high
17130         mantissa and normalise.
17131         (ldbl_nearbyint): Use more readable constant for two52.
17132         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
17133         (__mpn_construct_long_double): Fix test for overflow of high
17134         mantissa and correct normalisation.  Avoid undefined shift.
17135
17136 2013-10-04  Alan Modra  <amodra@gmail.com>
17137
17138         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17139         (union ibm_extended_long_double): Define as an array of ieee754_double.
17140         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
17141         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
17142         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
17143         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17144         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17145         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
17146         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17147         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
17148         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17149         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
17150         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17151
17152 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
17153
17154         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
17155         page size instead of calling getpagesize.
17156
17157         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
17158         (LOCFILE_ALIGN_MASK): Likewise.
17159         (LOCFILE_ALIGN_UP): Likewise.
17160         (LOCFILE_ALIGNED_P): Likewise.
17161         * locale/programs/ld-collate.c (collate_output): Use the new
17162         macros instead of __alignof__ (int32_t).
17163         * locale/weight.h (findidx): Likewise.
17164
17165 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
17166
17167         [BZ #431]
17168         * manual/string.texi: Fix strncat and wcsncat.
17169
17170 2013-10-03  Brooks Moses  <bmoses@google.com>
17171
17172         [BZ #15915]
17173         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
17174         * Makerules: ...here, and adjust associated comments.
17175
17176 2013-10-02  Will Newton  <will.newton@linaro.org>
17177
17178         * malloc/Makefile: Add tst-pvalloc.
17179         * malloc/tst-pvalloc.c: New file.
17180
17181 2013-10-02  Will Newton  <will.newton@linaro.org>
17182
17183         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
17184         improve test coverage.
17185
17186 2013-10-02  Will Newton  <will.newton@linaro.org>
17187
17188         * malloc/Makefile: Add tst-posix_memalign.
17189         * malloc/tst-posix_memalign.c: New file.
17190
17191 2013-10-01  Eric Blake  <eblake@redhat.com>
17192
17193         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
17194         Use __THROWNL rather than __THROW on static functions.
17195
17196 2013-09-30  Petr Machata  <pmachata@redhat.com>
17197
17198         * elf/elf.h (R_AARCH64_ABS16): New macro.
17199         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
17200         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
17201         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
17202         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
17203         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
17204         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
17205         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
17206         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
17207         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
17208         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
17209         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
17210         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
17211         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
17212         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
17213         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
17214         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
17215         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
17216         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
17217         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
17218         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
17219         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
17220         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
17221         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
17222         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
17223         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
17224         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
17225         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
17226         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
17227         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
17228         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
17229         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
17230         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
17231         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
17232         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
17233         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
17234         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
17235         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
17236         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
17237         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
17238         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
17239         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
17240         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
17241         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
17242         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
17243         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
17244         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
17245         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
17246         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
17247         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
17248         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
17249         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
17250         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
17251         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
17252         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
17253         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
17254         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
17255         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
17256         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
17257         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
17258         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
17259         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
17260         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
17261         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
17262         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
17263         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
17264         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
17265         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
17266         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
17267         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
17268         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
17269         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
17270         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
17271         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
17272         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
17273         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
17274         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
17275         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
17276         (R_AARCH64_TLSDESC_LDR): Likewise.
17277         (R_AARCH64_TLSDESC_ADD): Likewise.
17278         (R_AARCH64_TLSDESC_CALL): Likewise.
17279
17280 2013-09-30  Andreas Schwab  <schwab@suse.de>
17281
17282         [BZ #15048]
17283         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
17284         the nss database lookup.
17285         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17286         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17287
17288 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
17289
17290         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
17291
17292 2013-09-28  P. J. McDermott  <pj@pehjota.net>
17293
17294         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
17295         ${Bash-specific parameter/pattern/string} parameter expansion.
17296         * sysdeps/unix/make-syscalls.sh: Likewise.
17297
17298 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17299
17300         * sysdeps/sh/stackguard-macros.h: New file.
17301
17302 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
17303
17304         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17305         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
17306         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
17307         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
17308         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17309         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
17310
17311 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17312
17313         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
17314         Fix thread ID register.
17315
17316 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
17317
17318         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
17319         [POSIX || UNIX98]: Require rather than permitting all symbols from
17320         <time.h>.
17321         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
17322         element of struct sched_param.
17323         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
17324         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
17325         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
17326         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
17327         constant.
17328
17329 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
17330
17331         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
17332         argument calculation.
17333
17334 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
17335
17336         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
17337         Expect macro.
17338         [POSIX] (pthread_attr_t): Do not require type.
17339         [POSIX] (pthread_cond_t): Likewise.
17340         [POSIX] (pthread_condattr_t): Likewise.
17341         [POSIX] (pthread_key_t): Likewise.
17342         [POSIX] (pthread_mutex_t): Likewise.
17343         [POSIX] (pthread_mutexattr_t): Likewise.
17344         [POSIX] (pthread_once_t): Likewise.
17345         [POSIX] (pthread_t): Likewise.
17346         [POSIX-based standards] (pthread_atfork): Expect function.
17347
17348 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
17349             Richard Sandiford  <richard@codesourcery.com>
17350
17351         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
17352         (swap_endianness_p): New extern variable.
17353         (set_big_endian): New inline function.
17354         (maybe_swap_uint32): Likewise.
17355         (maybe_swap_uint32_array): Likewise.
17356         (maybe_swap_uint32_obstack): Likewise.
17357         * locale/programs/locfile.c: Include <stdbool.h>.
17358         (swap_endianness_p): New variable.
17359         (add_locale_uint32): Call maybe_swap_uint32.
17360         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
17361         (write_locale_data): Call maybe_swap_uint32_array.
17362         * locale/programs/ld-collate.c (obstack_int32_grow): Call
17363         maybe_swap_uint32.
17364         (obstack_int32_grow_fast): Likewise.
17365         (output_weightwc): Call maybe_swap_uint32_obstack.
17366         (collate_output): Likewise.
17367         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
17368         (OPT_LITTLE_ENDIAN): Likewise.
17369         (options): Add --little-endian and --big-endian options.
17370         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
17371         * locale/programs/locarchive.c: Include "locfile.h".
17372         (GET): New macro.
17373         (SET): Likewise.
17374         (INC): Likewise.
17375         (create_archive): Use the new macros to access fields of
17376         structures directly mapped from or written to locale archives.
17377         (oldlocrecentcmp): Likewise.
17378         (enlarge_archive): Likewise.
17379         (insert_name): Likewise.
17380         (add_alias): Likewise.
17381         (add_locale): Likewise.
17382         (delete_locales_from_archive): Likewise.
17383         (show_archive_content): Likewise.
17384         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
17385         locale data.
17386
17387 2013-09-24  Roland McGrath  <roland@hack.frob.com>
17388
17389         * manual/freemanuals.texi: Updated from (newly) canonical copy at
17390         http://www.gnu.org/doc/freemanuals.texi.
17391         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
17392
17393 2013-09-24  Will Newton  <will.newton@linaro.org>
17394
17395         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
17396         macro.
17397
17398 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
17399
17400         * locale/hashval.h (compute_hashval): Interpret bytes of key as
17401         unsigned char.
17402
17403 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
17404
17405         * manual/threads.texi (POSIX Threads): Fix a typo.
17406
17407 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17408
17409         [BZ #14547]
17410         * string/tst-strcoll-overflow.c: New test case.
17411         * string/Makefile (xtests): Add tst-strcoll-overflow.
17412         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
17413         cache if string sizes may cause integer overflow.
17414
17415         [BZ #14547]
17416         * string/strcoll_l.c (coll_seq): New members rule, idx,
17417         save_idx and back_us.
17418         (get_next_seq_nocache): New function.
17419         (do_compare_nocache): New function.
17420         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
17421         when malloc fails.
17422
17423 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
17424
17425         [BZ #15754]
17426         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
17427         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
17428         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
17429
17430         [BZ #15754]
17431         * elf/Makefile (tests): Add tst-ptrguard1.
17432         (tests-static): Add tst-ptrguard1-static.
17433         (tst-ptrguard1-ARGS): Define.
17434         (tst-ptrguard1-static-ARGS): Define.
17435         * elf/tst-ptrguard1.c: New file.
17436         * elf/tst-ptrguard1-static.c: New file.
17437         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
17438         * sysdeps/i386/stackguard-macros.h: Likewise.
17439         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17440         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17441         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17442         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17443         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17444         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17445
17446 2013-09-23  Hector Marco  <hecmargi@upv.es>
17447             Ismael Ripoll  <iripoll@disca.upv.es>
17448             Carlos O'Donell  <carlos@redhat.com>
17449
17450         [BZ #15754]
17451         * sysdeps/generic/stackguard-macros.h: Define
17452         __pointer_chk_guard_local and POINTER_CHK_GUARD.
17453         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
17454         Define __pointer_chk_guard_local.
17455         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
17456         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
17457
17458 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
17459
17460         [BZ #15859]
17461         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
17462
17463 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
17464
17465         * include/string.h (__ffs): Declare as hidden.
17466         * string/ffs.c (__ffs): Define as hidden.
17467         * sysdeps/i386/ffs.c (__ffs): Likewise.
17468         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17469         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
17470         * sysdeps/s390/ffs.c (__ffs): Likewise.
17471         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
17472
17473 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
17474
17475         * NEWS: Mention malloc probes.
17476
17477         * malloc/arena.c (new_heap): New memory_heap_new probe.
17478         (grow_heap): New memory_heap_more probe.
17479         (shrink_heap): New memory_heap_less probe.
17480         (heap_trim): New memory_heap_free probe.
17481         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
17482         (systrim): New memory_sbrk_less probe.
17483         * manual/probes.texi: Document them.
17484
17485         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
17486         * manual/probes.texi: Document it.
17487
17488         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
17489         (__libc_realloc): Add memory_realloc_retry probe.
17490         (__libc_memalign): Add memory_memalign_retry probe.
17491         (__libc_valloc): Add memory_valloc_retry probe.
17492         (__libc_pvalloc): Add memory_pvalloc_retry probe.
17493         (__libc_calloc): Add memory_calloc_retry probe.
17494         * manual/probes.texi: Document them.
17495
17496         * malloc/arena.c (get_free_list): Add probe
17497         memory_arena_reuse_free_list.
17498         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
17499         and memory_arena_reuse.
17500         (arena_get2) [!PER_THREAD]: Likewise.
17501         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
17502         memory_arena_reuse_realloc.
17503         * manual/probes.texi: Document them.
17504
17505         * malloc/malloc.c (__libc_free): Add
17506         memory_mallopt_free_dyn_thresholds probe.
17507         (__libc_mallopt): Add multiple memory_mallopt probes.
17508         * manual/probes.texi: Document them.
17509
17510         * malloc/malloc.c: Include stap-probe.h.
17511         (__libc_mallopt): Add memory_mallopt probe.
17512         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
17513         * manual/probes.texi: New.
17514         * manual/Makefile (chapters): Add probes.
17515         * manual/threads.texi: Set next node.
17516
17517 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
17518
17519         [BZ #15963, #13985]
17520         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
17521         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
17522         Add `Chinese' to `nan' entry name.
17523
17524 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17525
17526         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
17527         (POLYNOMIAL): Likewise.
17528         (TAYLOR_SINCOS): Likewise.
17529         (TAYLOR_SLOW): Likewise.
17530         (__sin): Use TAYLOR_SINCOS.
17531         (__cos): Likewise.
17532         (slow): Use TAYLOR_SLOW.
17533         (sloww): Likewise.
17534         (bsloww): Likewise.
17535         (csloww): Likewise.
17536
17537 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17538
17539         * stdlib/strtod_l.c: Fix buffer overrun.
17540
17541 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17542
17543         * benchtests/Makefile (bench): Add sincos.
17544         * benchtests/bench-sincos.c: New file.
17545
17546         * math/libm-test.inc (cos_test_data): New test inputs.
17547         (sin_test_data): Likewise.
17548
17549         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
17550         macro.
17551         (__sin): Use it.
17552         (__cos): Likewise.
17553         (slow1): Likewise.
17554         (slow2): Likewise.
17555         (sloww1): Likewise.
17556         (sloww2): Likewise.
17557         (bsloww1): Likewise.
17558         (bsloww2): Likewise.
17559         (cslow2): Likewise.
17560         (csloww1): Likewise.
17561         (csloww2): Likewise.
17562
17563         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
17564         function.
17565         (__sin): Use it.
17566         (__cos): Likewise.
17567
17568         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
17569         gotos.
17570         (__cos): Likewise.
17571
17572 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
17573
17574         * config.h.in (HAVE_MIPS_NAN2008): New macro.
17575         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
17576         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
17577         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
17578         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
17579         * elf/cache.c (print_entry): Handle the new cache flags.
17580
17581 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
17582             Aldy Hernandez  <aldyh@redhat.com>
17583
17584         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
17585         Change condition to [_SOFT_FLOAT].
17586         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
17587         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
17588         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
17589         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
17590         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
17591         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
17592         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
17593         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
17594         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
17595         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
17596         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
17597         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
17598         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
17599         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
17600         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
17601         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
17602         declaration.
17603
17604 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
17605
17606         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
17607         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17608         (__longjmp): Use LOAD_GP to load saved GPRs.
17609         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
17610         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17611         (__sigsetjmp): Use SAVE_GP to save GPRs.
17612
17613         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
17614         Do not append -msoft-float.
17615         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
17616
17617 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17618
17619         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
17620
17621 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
17622
17623         [BZ #15966]
17624         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
17625         (_FPU_GETCW): Use initial "__" on variable and field names but not
17626         on macro parameter name.
17627         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
17628         parentheses around reference to macro parameter.
17629
17630 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
17631
17632         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
17633         prototype.
17634         (ctype_startup): Use uint32_t in cast and sizeof for
17635         ctype->charnames.
17636
17637 2013-09-11  Jia Liu  <proljc@gmail.com>
17638
17639         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
17640         __daddr_t_defined.
17641         [__FreeBSD__]: Likewise.
17642
17643 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
17644
17645         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17646         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
17647         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
17648         (strchr): Remove __strchr_sse42 ifunc selection.
17649         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
17650         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
17651
17652 2013-09-11  Will Newton  <will.newton@linaro.org>
17653
17654         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
17655         parameter to RES. Remove hardcoded 1000 value.
17656         * benchtests/bench-skeleton.c (main): Pass RES parameter
17657         to TIMING_INIT and multiply result by 1000.
17658
17659 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17660
17661         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17662
17663 2013-09-11  Andreas Schwab  <schwab@suse.de>
17664
17665         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17666         if not defined.
17667         (O_TMPFILE) [__USE_GNU]: Define.
17668         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
17669         Define.
17670
17671 2013-09-11  Will Newton  <will.newton@linaro.org>
17672
17673         [BZ #15857]
17674         * malloc/malloc.c (__libc_memalign): Check the value of bytes
17675         does not overflow.
17676
17677 2013-09-11  Will Newton  <will.newton@linaro.org>
17678
17679         [BZ #15856]
17680         * malloc/malloc.c (__libc_valloc): Check the value of bytes
17681         does not overflow.
17682
17683 2013-09-11  Will Newton  <will.newton@linaro.org>
17684
17685         [BZ #15855]
17686         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
17687         does not overflow.
17688
17689 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
17690
17691         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
17692         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17693         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17694         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17695         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17696
17697 2013-09-10  Allan McRae  <allan@archlinux.org>
17698
17699         [BZ #15748]
17700         * manual/arith.texi (Parsing of Floats): Clarify
17701         cross-reference.
17702
17703         [BZ #15849]
17704         * manual/install.texi (Running make install): Mention
17705         --enable-pt-chown.
17706         * INSTALL: Regenerated.
17707
17708 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
17709
17710         * csu/init-first.c (_init): Remove the !SHARED condition around
17711         FPU control word initialization.
17712         * elf/dl-support.c (_dl_fpu_control): New variable.
17713         (_dl_aux_init) <AT_FPUCW>: Initialize it.
17714         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
17715         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
17716         * math/test-fpucw-static.c: New file.
17717         * math/test-fpucw-ieee.c: New file.
17718         * math/test-fpucw-ieee-static.c: New file.
17719         * math/Makefile (tests): Add `test-fpucw-ieee' and
17720         `$(tests-static)'.
17721         (tests-static): New variable.
17722         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
17723         dependency to...
17724         [($(build-shared),yes)]
17725         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17726         ... this.
17727         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
17728         New dependency.
17729
17730 2013-09-09  Allan McRae  <allan@archlinux.org>
17731
17732         [BZ #15939]
17733         * manual/string.texi (Collation Functions): Fix typo in
17734         strcoll example.
17735         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17736
17737         [BZ #15893]
17738         * stdlib/isomac.c (get_null_defines): Fix memory leak.
17739
17740         [BZ #15892]
17741         * libio/memstream.c (open_memstream): Fix memory leak.
17742         * libio/wmemstream.c (open_wmemstream): Likewise.
17743
17744         [BZ #15895]
17745         * nscd/netgroupcache.c: Fix nesting of ifdefs.
17746
17747 2013-09-09  Will Newton  <will.newton@linaro.org>
17748
17749         * malloc/Makefile: Add tst-realloc to tests.
17750         * malloc/tst-realloc.c: New file.
17751
17752 2013-09-09  Allan McRae  <allan@archlinux.org>
17753
17754         [BZ #15844]
17755         * COPYING: Update from GNU website to fix FSF address.
17756         * COPYING.LIB: Likewise.
17757
17758 2013-09-06  David S. Miller  <davem@davemloft.net>
17759
17760         * po/zh_TW.po: Update Chinese (traditional) translation from
17761         translation project.
17762
17763 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
17764             Joseph Myers  <joseph@codesourcery.com>
17765
17766         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17767         "localeinfo.h".
17768         (obstack_chunk_alloc): New macro.
17769         (obstack_chunk_free): Likewise.
17770         (record_offset): New function.
17771         (init_locale_data): Likewise.
17772         (align_locale_data): Likewise.
17773         (add_locale_empty): Likewise.
17774         (add_locale_raw_data): Likewise.
17775         (add_locale_raw_obstack): Likewise.
17776         (add_locale_string): Likewise.
17777         (add_locale_wstring): Likewise.
17778         (add_locale_uint32): Likewise.
17779         (add_locale_uint32_array): Likewise.
17780         (add_locale_char): Likewise.
17781         (start_locale_structure): Likewise.
17782         (end_locale_structure): Likewise.
17783         (start_locale_prelude): Likewise.
17784         (end_locale_prelude): Likewise.
17785         (write_locale_data): Take locale_file structure rather than an
17786         iovec.
17787         * locale/programs/locfile.h: Include "obstack.h".
17788         (struct locale_file): Change to store locale file contents instead
17789         of header.
17790         (init_locale_data): New prototype.
17791         (align_locale_data): Likewise.
17792         (add_locale_empty): Likewise.
17793         (add_locale_raw_data): Likewise.
17794         (add_locale_raw_obstack): Likewise.
17795         (add_locale_string): Likewise.
17796         (add_locale_wstring): Likewise.
17797         (add_locale_uint32): Likewise.
17798         (add_locale_uint32_array): Likewise.
17799         (add_locale_char): Likewise.
17800         (start_locale_structure): Likewise.
17801         (end_locale_structure): Likewise.
17802         (start_locale_prelude): Likewise.
17803         (end_locale_prelude): Likewise.
17804         (write_locale_data): Update prototype.
17805         * locale/programs/3level.h (struct TABLE): Remove result field.
17806         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17807         Use new locale_file interface.
17808         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17809         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17810         * locale/programs/ld-address.c (address_output): Use new
17811         locale_file interface.
17812         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
17813         NO_ADD_LOCALE.
17814         (collate_finish): Don't call collseq_table_finalize.
17815         (collate_output): Use new locale_file interface.
17816         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17817         in file.
17818         (NO_FINALIZE): Change to NO_ADD_LOCALE.
17819         (TABLE): Move defines earlier in file.
17820         (ELEMENT): Likewise.
17821         (DEFAULT): Likewise.
17822         (wctrans_table_add): Move macro and inline function earlier in
17823         file.
17824         (struct wctype_table): Move type earlier in file.
17825         (add_locale_wctype_table): New static prototype.
17826         (struct locale_ctype_t): Use logical types instead of struct iovec
17827         pointers for members.
17828         (ctype_output): Use new locale_file interface.
17829         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
17830         new locale_file interface.
17831         (allocate_arrays): Update for use of new locale_file interface.
17832         * locale/programs/ld-identification.c (identification_output): Use
17833         new locale_file interface.
17834         * locale/programs/ld-measurement.c (measurement_output): Likewise.
17835         * locale/programs/ld-messages.c (messages_output): Likewise.
17836         * locale/programs/ld-monetary.c (monetary_output): Likewise.
17837         * locale/programs/ld-name.c (name_output): Likewise.
17838         * locale/programs/ld-numeric.c (numeric_output): Likewise.
17839         * locale/programs/ld-paper.c (paper_output): Likewise.
17840         * locale/programs/ld-telephone.c (telephone_output): Likewise.
17841         * locale/programs/ld-time.c (time_output): Likewise.
17842
17843 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17844
17845         * benchtests/Makefile: Add memrchr benchmark.
17846         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17847         benchmark as memrchr.
17848         * benchtests/bench-memrchr-ifunc.c: New file.
17849         * benchtests/bench-memrchr.c: New file.
17850
17851 2013-09-06   Will Newton  <will.newton@linaro.org>
17852
17853         * benchtests/Makefile (string-bench): Add memcpy.
17854
17855 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
17856             Cong Wang  <amwang@redhat.com>
17857
17858         [BZ #15850]
17859         * sysdeps/unix/sysv/linux/bits/in.h
17860         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17861         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17862         before __USE_KERNEL_IPV6_DEFS uses.
17863         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17864         IPPROTO_BEETPH.
17865         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17866         sockaddr_in6, or ipv6_mreq.
17867
17868 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17869
17870         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17871         memory access for final bytes in some large inputs.
17872         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17873
17874 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17875
17876         * string/test-memrchr.c: New file.
17877         * string/test-memrchr-ifunc.c: New file.
17878         * string/Makefile: Add new memrchr testcase.
17879
17880 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
17881
17882         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17883         fanotify_init returns EPERM.
17884
17885 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
17886
17887         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17888         errors.
17889         (top level): Treat second token from macro or constant entries for
17890         allowed headers as allowed.
17891         * include/complex.h: Condition internal declarations on
17892         [!_ISOMAC].
17893         * include/fenv.h: Condition include of <stdbool.h> and internal
17894         declarations on [!_ISOMAC].
17895
17896 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
17897
17898         [BZ #15923]
17899         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17900
17901 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
17902
17903         * configure.in (--enable-versioning): Remove configure option.
17904         (libc_cv_asm_symver_directive): Remove configure test.
17905         (libc_cv_ld_version_script_option): Likewise.
17906         (VERSIONING): Remove variable and AC_SUBST.
17907         (DO_VERSIONING): Remove AC_DEFINE.
17908         * configure: Regenerated.
17909         * config.h.in (DO_VERSIONING): Remove macro.
17910         * Makerules [$(versioning) = yes]: Change conditionals to
17911         [$(build-shared) = yes].
17912         * config.make.in (versioning): Remove variable.
17913         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17914         [$(build-shared) = yes].
17915         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17916         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17917         * elf/Makefile [$(versioning) = yes]: Change conditionals to
17918         [$(build-shared) = yes].
17919         * extra-lib.mk [$(versioning) = yes]: Likewise.
17920         * hurd/Makefile [$(versioning) = yes]: Likewise.
17921         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17922         [SHARED].
17923         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17924         [SHARED].
17925         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17926         [SHARED && !NO_HIDDEN].
17927         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17928         [SHARED].
17929         [SHARED && DO_VERSIONING]: Likewise..
17930         * libio/Makefile [$(versioning) = yes]: Change conditionals to
17931         [$(build-shared) = yes].
17932         * manual/install.texi (--disable-versioning): Remove
17933         documentation.
17934         * INSTALL: Regenerated.
17935         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17936         to [SHARED].
17937         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17938         [$(build-shared) = yes].
17939         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17940         * sysdeps/i386/i686/multiarch/strstr-c.c
17941         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17942         [SHARED && !NO_HIDDEN].
17943         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17944         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17945         * sysdeps/powerpc/powerpc32/dl-machine.c
17946         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17947         * sysdeps/powerpc/powerpc32/sysdep.h
17948         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17949         to [SHARED && PIC && !NO_HIDDEN].
17950         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17951         conditional to [SHARED].
17952
17953 2013-09-04   Will Newton  <will.newton@linaro.org>
17954
17955         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17956         * benchtests/bench-string.h: Include bench-timing.h instead
17957         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17958         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17959         call to HP_TIMING_DIFF_INIT.
17960         * benchtests/bench-memccpy.c: Use bench-timing.h macros
17961         instead of hp-timing.h macros.
17962         * benchtests/bench-memchr.c: Likewise.
17963         * benchtests/bench-memcmp.c: Likewise.
17964         * benchtests/bench-memcpy.c: Likewise.
17965         * benchtests/bench-memmem.c: Likewise.
17966         * benchtests/bench-memmove.c: Likewise.
17967         * benchtests/bench-memset.c: Likewise.
17968         * benchtests/bench-rawmemchr.c: Likewise.
17969         * benchtests/bench-strcasecmp.c: Likewise.
17970         * benchtests/bench-strcasestr.c: Likewise.
17971         * benchtests/bench-strcat.c: Likewise.
17972         * benchtests/bench-strchr.c: Likewise.
17973         * benchtests/bench-strcmp.c: Likewise.
17974         * benchtests/bench-strcpy.c: Likewise.
17975         * benchtests/bench-strcpy_chk.c: Likewise.
17976         * benchtests/bench-strlen.c: Likewise.
17977         * benchtests/bench-strncasecmp.c: Likewise.
17978         * benchtests/bench-strncat.c: Likewise.
17979         * benchtests/bench-strncmp.c: Likewise.
17980         * benchtests/bench-strncpy.c: Likewise.
17981         * benchtests/bench-strnlen.c: Likewise.
17982         * benchtests/bench-strpbrk.c: Likewise.
17983         * benchtests/bench-strrchr.c: Likewise.
17984         * benchtests/bench-strspn.c: Likewise.
17985         * benchtests/bench-strstr.c: Likewise.
17986
17987 2013-09-04  Will Newton  <will.newton@linaro.org>
17988
17989         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17990
17991 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
17992
17993         [BZ #15427]
17994         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17995         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17996         * math/libm-test.inc (lgamma_test_data): Add more tests.
17997         * sysdeps/i386/fpu/libm-test-ulps: Update.
17998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17999
18000 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
18001
18002         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
18003         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18004         Add ifunc.
18005         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18006         Add strcmp-sse2-unaligned
18007         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
18008
18009 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
18010
18011         * Versions.def (libc): Add GLIBC_2.19.
18012
18013 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
18014
18015         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
18016         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
18017
18018 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
18019
18020         [BZ #14155]
18021         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
18022         intermediate calculations in recurrence.
18023         (__ieee754_ynf): Likewise.
18024         * math/libm-test.inc (jn_test_data): Do not allow spurious
18025         underflow exception.  Add more tests.
18026         (yn_test_data): Add more tests.
18027         * sysdeps/i386/fpu/libm-test-ulps: Update.
18028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18029
18030 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
18031
18032         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
18033
18034 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
18035
18036         * csu/init-first.c: Fix then/than typos.
18037         * locale/programs/ld-collate.c: Likewise.
18038         * locale/programs/linereader.h: Likewise.
18039         * manual/charset.texi: Likewise.
18040         * manual/filesys.texi: Likewise.
18041         * manual/stdio.texi: Likewise.
18042         * manual/string.texi: Likewise.
18043         * stdlib/fmtmsg.c: Likewise.
18044         * sysdeps/i386/stpncpy.S: Likewise.
18045         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18046         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18047         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18048         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18049
18050 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
18051
18052         * elf/dl-open.c: Fix typos.
18053         * iconvdata/gbbig5.c: Likewise.
18054         * iconvdata/iso-2022-jp.c: Likewise.
18055         * iconv/gconv_int.h: Likewise.
18056         * iconv/loop.c: Likewise.
18057         * nis/rpcsvc/nis.h: Likewise.
18058         * resolv/ns_name.c: Likewise.
18059         * stdio-common/vfscanf.c: Likewise.
18060         * streams/stropts.h: Likewise.
18061         * sunrpc/rpc_thread.c: Likewise.
18062         * sysdeps/i386/strpbrk.S: Likewise.
18063         * sysdeps/ieee754/k_standard.c: Likewise.
18064         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18065         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18066         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
18067         * sysdeps/mach/hurd/profil.c: Likewise.
18068         * sysdeps/s390/dl-procinfo.h: Likewise.
18069         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
18070         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
18071         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
18072         * sysdeps/x86_64/dl-trampoline.S: Likewise.
18073         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18074
18075 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
18076
18077         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
18078         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
18079
18080 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
18081
18082         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
18083         aix specific files.
18084         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
18085         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
18086         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
18087         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
18088         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
18089         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
18090         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
18091         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
18092
18093 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
18094             Roland McGrath  <roland@hack.frob.com>
18095
18096         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
18097         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
18098
18099 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18100
18101         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
18102         __executable_start symbol instead of _start.
18103
18104 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
18105
18106         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
18107         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
18108         Move macros to...
18109         * sysdeps/gnu/ldsodefs.h: ... this new file.
18110
18111         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
18112         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
18113         instead of ELFOSABI_LINUX.
18114
18115         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
18116         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
18117         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
18118         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
18119         Likewise.
18120         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
18121         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
18122         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
18123         Likewise.
18124         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18125         (ibm_extended_long_double): Add ieee_nan member.
18126         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
18127         (do_test): New function.
18128
18129         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
18130         TEST_TRUNC.
18131         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
18132         functions, renamed from truncdfsf_test, trunctfsf_test,
18133         trunctfdf_test.
18134         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
18135         functions.
18136         (do_test): Run all these.
18137
18138 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
18139
18140         * argp/argp-help.c: Fix typos.
18141         * argp/argp-parse.c: Likewise.
18142         * debug/backtracesyms.c: Likewise.
18143         * elf/elf.h: Likewise.
18144         * malloc/malloc.c: Likewise.
18145         * nis/nis_print.c: Likewise.
18146         * resolv/res_comp.c: Likewise.
18147         * stdlib/stdlib.h: Likewise.
18148         * sunrpc/clnt_tcp.c: Likewise.
18149         * sunrpc/clnt_udp.c: Likewise.
18150         * sunrpc/clnt_unix.c: Likewise.
18151         * sysdeps/unix/bsd/ptsname.c: Likewise.
18152         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
18153         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
18154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
18155         Likewise.
18156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
18157         Likewise.
18158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
18159         Likewise.
18160         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18161
18162 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18163
18164         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
18165         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18166
18167 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
18168
18169         [BZ #15897]
18170         * dlfcn/Makefile (tests): Add bug-dl-leaf.
18171         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
18172         ($(objpfx)bug-dl-leaf): New rule.
18173         ($(objpfx)bug-dl-leaf.so): Likewise.
18174         ($(objpfx)bug-dl-leaf.out): Likewise.
18175         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
18176         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
18177         * dlfcn/bug-dl-leaf.c: New test.
18178         * dlfcn/bug-dl-leaf-lib.c: Likewise.
18179         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
18180         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
18181         (dlclose): Likewise.
18182         (dlmopen): Likewise.
18183
18184 2013-08-27  Roland McGrath  <roland@hack.frob.com>
18185
18186         * include/netdb.h [!_ISOMAC]:
18187         Don't include <tls.h>.
18188         (h_errno, __libc_h_errno): Move declaration and macros out of
18189         [_LIBC_REENTRANT].
18190
18191         * include/resolv.h [_RESOLV_H_]:
18192         Don't include <tls.h>.
18193         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
18194         * resolv/res_libc.c: Don't include <tls.h>.
18195         (_res): Use __attribute__ ((nocommon)) in place of
18196         __attribute__ ((section (".bss"))).
18197
18198         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
18199         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
18200
18201         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
18202
18203         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
18204         only under [SIOCGIFCONF && SIOCGIFNETMASK].
18205
18206         * resolv/res_mkquery.c: Include <sys/time.h>.
18207
18208         * inet/ifreq.c: Moved to ...
18209         * sysdeps/unix/ifreq.c: ... here.
18210         * inet/ifreq.c: New file, true stub version.
18211
18212         * socket/sa_len.c: New file.
18213         * socket/Makefile (aux): Add it.
18214         * sysdeps/unix/sysv/linux/Makefile
18215         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
18216         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
18217         and #include <socket/sa_len.c>.
18218         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
18219         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
18220
18221         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
18222         * bits/socket.h: ... here.
18223
18224         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
18225         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
18226         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
18227
18228 2013-08-27  Andreas Schwab  <schwab@suse.de>
18229
18230         [BZ #15736]
18231         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
18232         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
18233         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
18234         * string/test-strcasecmp.c (test_main): Run tests in several
18235         locales.
18236         * string/test-strncasecmp.c (test_main): Likewise.
18237
18238         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
18239         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
18240         to __strcasecmp_nonascii and __strncasecmp_nonascii.
18241         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
18242         (__strncasecmp_ssse3) [PIC]: Likewise.
18243
18244 2013-08-26  Roland McGrath  <roland@hack.frob.com>
18245
18246         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
18247
18248         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
18249         instead of explicitly declaring xdecrypt.
18250         * nis/nss_nis/nis-publickey.c: Likewise.
18251
18252 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18253
18254         [BZ #15890]
18255         * nscd/aicache.c: Include res_hconf.h.
18256         (addhstaiX): Initialize res_hconf.
18257
18258 2013-08-26  Andreas Schwab  <schwab@suse.de>
18259
18260         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
18261         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
18262
18263 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18264
18265         * nscd/aicache.c (addhstaiX): Fix indentation.
18266
18267 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
18268
18269         * configure.ac: Quote $build_pt_chown test.
18270         * configure: Regenerated.
18271
18272 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
18273
18274         [BZ #15532]
18275         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
18276         * math/s_cexpf.c (__cexpf): Likewise.
18277         * math/s_cexpl.c (__cexpl): Likewise.
18278         * math/libm-test.inc (cexp_test_data): Correct expected return
18279         value for NaN + i0.  Add another test.
18280
18281 2013-08-22  David S. Miller  <davem@davemloft.net>
18282
18283         * po/ca.po: Update Catalan translation from translation project.
18284         * po/uk.po: Add Ukrainian translations from translation project.
18285
18286 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
18287
18288         [BZ #15797]
18289         * math/s_fdim.c (__fdim): Check for infinite arguments if result
18290         is infinite, not alongside NaN test.
18291         * math/s_fdimf.c (__fdimf): Likewise.
18292         * math/s_fdiml.c (__fdiml): Likewise.
18293         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
18294         errno is unchanged.
18295
18296 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
18297
18298         * argp/argp-help.c: Fix typos.
18299         * crypt/speeds.c: Likewise.
18300         * csu/check_fds.c: Likewise.
18301         * elf/dl-load.c: Likewise.
18302         * elf/dl-open.c: Likewise.
18303         * elf/reldep3.c: Likewise.
18304         * elf/reldep.c: Likewise.
18305         * elf/sprof.c: Likewise.
18306         * iconv/iconv_charmap.c: Likewise.
18307         * iconv/skeleton.c: Likewise.
18308         * iconv/strtab.c: Likewise.
18309         * io/lockf64.c: Likewise.
18310         * libio/libioP.h: Likewise.
18311         * resolv/gai_notify.c: Likewise.
18312         * resolv/ns_name.c: Likewise.
18313         * resolv/ns_samedomain.c: Likewise.
18314         * resolv/res_send.c: Likewise.
18315         * stdlib/random.c: Likewise.
18316         * sunrpc/rpc/xdr.h: Likewise.
18317         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
18318         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18319         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18320         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18321         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18322         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18323         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18324         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18325         * sysdeps/mach/hurd/check_fds.c: Likewise.
18326         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18327         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18328         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18329         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18330         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18331         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18332         * sysdeps/pthread/aio_notify.c: Likewise.
18333         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
18334         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
18335         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
18336         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18337         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18338
18339 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18340
18341         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
18342         version if bit_Slow_SSE4_2 is set.
18343         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18344         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18345
18346 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18347
18348         [BZ #15867]
18349         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
18350         trampoline stack frame information.
18351         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
18352         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
18353         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
18354         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
18355         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
18356         * sysdeps/unix/sysv/linux/powerpc/init-first.c
18357         (_libc_vdso_platform_setup): Initialize the signal trampolines.
18358         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
18359         sa_flags value.
18360         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
18361         interrupting a syscall and set with option SA_SIGINFO.
18362
18363 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
18364
18365         [BZ #15531]
18366         * math/s_cproj.c (__cproj): Only return an infinity if one part of
18367         argument is infinite.
18368         * math/s_cprojf.c (__cprojf): Likewise.
18369         * math/s_cprojl.c (__cprojl): Likewise.
18370         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
18371         * math/libm-test.inc (cproj_test_data): Add more tests.
18372
18373         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
18374
18375         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
18376         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
18377         size.  Use __ffs to determine corresponding shift.
18378
18379 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
18380             Roland McGrath  <roland@hack.frob.com>
18381
18382         * Makefile (INSTALL): Remove trailing blank lines from output of
18383         makeinfo.
18384
18385 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18386
18387         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
18388         Align 32 bit compat elf_greg to 8 bytes.
18389
18390 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
18391
18392         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
18393
18394 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18395
18396         * string/strcoll_l.c (coll_seq): New structure.
18397         (get_next_seq_cached): New function.
18398         (get_next_seq): New function.
18399         (do_compare): New function.
18400         (STRCOLL): Use GNU style definition.  Simplify implementation
18401         by using get_next_seq, get_next_seq_cached and do_compare.
18402
18403 2013-08-16  Florian Weimer  <fweimer@redhat.com>
18404
18405         [BZ #14699]
18406         CVE-2013-4237
18407         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
18408         member.
18409         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
18410         member.
18411         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
18412         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
18413         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
18414         conditional.
18415         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
18416         GETDENTS_64BIT_ALIGNED.
18417         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18418         * manual/filesys.texi (Reading/Closing Directory): Document
18419         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
18420         strongly.
18421         * manual/conf.texi (Limits for Files): Add portability note to
18422         NAME_MAX, PATH_MAX.
18423         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
18424
18425 2013-08-13  Andreas Schwab  <schwab@suse.de>
18426
18427         [BZ #15749]
18428         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
18429         of fabs.
18430         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
18431         LDBL_MAX_EXP >= 16384]: Add tests for it.
18432
18433 2013-08-12  David S. Miller  <davem@davemloft.net>
18434
18435         * version.h (RELEASE): Set to "development".
18436         (VERSION): Set to "2.18.90".
18437         * NEWS: Add 2.19 section.
18438
18439 2013-08-03  David S. Miller  <davem@davemloft.net>
18440
18441         * po/ko.po: Update Korean translation from translation project.
18442
18443 2013-08-01  David S. Miller  <davem@davemloft.net>
18444
18445         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
18446         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
18447         Bilka.
18448
18449 2013-07-30  David S. Miller  <davem@davemloft.net>
18450
18451         * po/fr.po: Update French translation from translation project.
18452
18453 2013-07-28  David S. Miller  <davem@davemloft.net>
18454
18455         * po/cs.po: Update Czech translation from translation project.
18456
18457         * po/sv.po: Update Swedish translation from translation project.
18458
18459 2013-07-27  David S. Miller  <davem@davemloft.net>
18460
18461         * po/eo.po: Update Esperanto translation from translation project.
18462
18463         * po/vi.po: Update Vietnamese translation from translation project.
18464
18465         * po/de.po: Update German translation from translation project.
18466
18467 2013-07-26  David S. Miller  <davem@davemloft.net>
18468
18469         * po/bg.po: Update Bulgarian translation from translation project.
18470
18471         * po/nl.po: Update Dutch translation from translation project.
18472         * po/pl.po: Update Polish translation from translation project.
18473         * po/ru.po: Update Russian translation from translation project.
18474
18475 2013-07-24  David S. Miller  <davem@davemloft.net>
18476
18477         * po/libc.pot: Update.
18478
18479 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18480
18481         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
18482         variable page size.
18483         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
18484         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
18485         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
18486
18487 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18488
18489         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
18490
18491 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18492             Andreas Schwab  <schwab@suse.de>
18493             Roland McGrath  <roland@hack.frob.com>
18494             Joseph Myers  <joseph@codesourcery.com>
18495             Carlos O'Donell  <carlos@redhat.com>
18496
18497         [BZ #15755]
18498         * config.h.in: Define HAVE_PT_CHOWN.
18499         * config.make.in (build-pt-chown): New variable.
18500         * configure.in (--enable-pt_chown): New configure option.
18501         * configure: Regenerate.
18502         * login/Makefile: Include Makeconfig.  Build pt_chown only if
18503         build-pt-chown is enabled.
18504         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
18505         pt_chown to fix pty ownership.
18506         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
18507         CLOSE_ALL_FDS.
18508         * manual/install.texi (Configuring and compiling): Mention
18509         --enable-pt_chown. Add @findex for grantpt.
18510         * INSTALL: Regenerate.
18511
18512 2013-07-20  David S. Miller  <davem@davemloft.net>
18513
18514         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
18515         difference between 32-bit and 64-bit.
18516
18517 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
18518
18519         [BZ #15711]
18520         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
18521         Avoid system header dependency with -ffreestanding.
18522         ($(objpfx)bits/syscall%d): Likewise.
18523
18524 2013-07-13  David S. Miller  <davem@davemloft.net>
18525
18526         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
18527         underflows from atanl/atan2l due to bug 15319.
18528         (casinh_test_data): Likewise.
18529
18530 2013-07-07  David S. Miller  <davem@davemloft.net>
18531
18532         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18533
18534 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
18535
18536         * sysdeps/i386/fpu/libm-test-ulps: Update.
18537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18538
18539 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18540
18541         * configure.in (--enable-lock-elision): Fix message text.
18542         * INSTALL: Regenerate.
18543         * configure: Regenerate.
18544
18545 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18546
18547         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18548
18549 2013-07-03  Andreas Jaeger  <aj@suse.de>
18550
18551         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
18552         define.
18553         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
18554         (ptrace_peeksiginfo_args): Add.
18555         (__ptrace_peeksiginfo_flags): Add.
18556         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18557         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18558         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18559
18560 2013-07-03  Allan McRae  <allan@archlinux.org>
18561
18562         * sysdeps/i386/fpu/libm-test-ulps: Update.
18563
18564 2013-07-02  David S. Miller  <davem@davemloft.net>
18565
18566         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18567
18568 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
18569
18570         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18571
18572 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
18573
18574         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18576
18577 2013-07-02  Andi Kleen <ak@linux.intel.com>
18578
18579         * config.h.in (ENABLE_LOCK_ELISION): Add.
18580         * configure.in (--enable-lock-elision): Add option.
18581         * manual/install.texi: Document --enable lock elision.
18582         * configure: Regenerate
18583         * INSTALL: Regenerate.
18584
18585 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
18586
18587         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
18588         SSE4.2 strcasecmp for libc.a.
18589         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
18590
18591 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
18592
18593         [BZ #13304]
18594         * soft-fp/op-common.h (_FP_FMA): New macro.
18595         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
18596         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
18597         (_FP_MUL_MEAT_1_imm): ... here.
18598         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
18599         (_FP_MUL_MEAT_1_wide): ... here.
18600         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
18601         (_FP_MUL_MEAT_1_hard): ... here.
18602         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
18603         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
18604         (_FP_MUL_MEAT_2_wide): ... here.
18605         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
18606         (_FP_MUL_MEAT_2_wide_3mul): ... here.
18607         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
18608         (_FP_MUL_MEAT_2_gmp): ... here.
18609         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
18610         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
18611         (_FP_MUL_MEAT_4_wide): ... here.
18612         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
18613         (_FP_MUL_MEAT_4_gmp): ... here.
18614         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
18615         (_FP_WFRACBITS_DW_S): Likewise.
18616         (_FP_WFRACXBITS_DW_S): Likewise.
18617         (_FP_HIGHBIT_DW_S): Likewise.
18618         (FP_FMA_S): Likewise.
18619         (_FP_FRAC_HIGH_DW_S): Likewise.
18620         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
18621         (_FP_WFRACBITS_DW_D): Likewise.
18622         (_FP_WFRACXBITS_DW_D): Likewise.
18623         (_FP_HIGHBIT_DW_D): Likewise.
18624         (FP_FMA_D): Likewise.
18625         (_FP_FRAC_HIGH_DW_D): Likewise.
18626         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
18627         (_FP_WFRACBITS_DW_E): Likewise.
18628         (_FP_WFRACXBITS_DW_E): Likewise.
18629         (_FP_HIGHBIT_DW_E): Likewise.
18630         (FP_FMA_E): Likewise.
18631         (_FP_FRAC_HIGH_DW_E): Likewise.
18632         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
18633         (_FP_WFRACBITS_DW_Q): Likewise.
18634         (_FP_WFRACXBITS_DW_Q): Likewise.
18635         (_FP_HIGHBIT_DW_Q): Likewise.
18636         (FP_FMA_Q): Likewise.
18637         (_FP_FRAC_HIGH_DW_Q): Likewise.
18638         * soft-fp/fmasf4.c: New file.
18639         * soft-fp/fmadf4.c: Likewise.
18640         * soft-fp/fmatf4.c: Likewise.
18641
18642 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18643
18644         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18645         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
18646         Silvermont.
18647         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
18648         macro.
18649         (index_Slow_SSE4_2): Likewise.
18650         (index_Prefer_PMINUB_for_stringop): Likewise.
18651         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
18652         bit_Slow_SSE4_2 is set.
18653         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18654         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18655
18656 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18657
18658         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
18659         rtld_global._dl_hwcap2.
18660         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
18661         POWER8.
18662         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
18663         POWER8 feature descriptions defined in _dl_hwcap2.
18664         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
18665         string handling for POWER8 feature bits.
18666         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
18667         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
18668         _dl_powerpc_cap_flags.
18669         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
18670         * sysdeps/powerpc/rtld-global-offsets.sym
18671         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
18672         _dl_hwcap2 in the rtld_global_ro structure.
18673
18674 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18675
18676         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
18677         hardware capabilities in support of AT_HWCAP2.
18678         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
18679         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
18680         GLRO(dl_hwcap2).
18681         (_dl_show_auxv): Add support for calling _dl_procinfo to display
18682         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
18683         explicitly the unknown a_type display mechanism is used.
18684         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
18685         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
18686         struct member.
18687         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
18688         to macro prototype for AT_HWCAP2 support.
18689         * sysdeps/i386/dl-procinfo.h: Likewise.
18690         * sysdeps/s390/dl-procinfo.h: Likewise.
18691         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
18692         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
18693         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
18694         return -1 for unknown a_type display fallback.
18695         * sysdeps/sparc/dl-procinfo.h: Likewise.
18696         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
18697         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
18698
18699 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
18700
18701         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
18702         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
18703
18704 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
18705
18706         [BZ #12492]
18707         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
18708         mprotect making __stack_prot writable.
18709
18710 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
18711             Joseph Myers  <joseph@codesourcery.com>
18712
18713         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
18714         as being properly aligned.
18715
18716 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
18717
18718         * dlfcn/modstatic5.c: New file.
18719         * dlfcn/tststatic5.c: New file.
18720         * dlfcn/Makefile (tests): Add tststatic5.
18721         (tests-static): Likewise.
18722         (modules-names): Add modstatic5.
18723         (tststatic5-ENV): New variable.
18724         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
18725
18726         [BZ #15022]
18727         * elf/dl-support.c (_dl_main_map): New variable.
18728         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
18729         (_dl_nns, _dl_load_adds): Set to 1.
18730         (_dl_initial_searchlist): Refer to _dl_main_map.
18731         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
18732         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18733         call to _dl_get_origin.
18734         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18735         around call_map.
18736         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18737         * dlfcn/modstatic3.c: New file.
18738         * dlfcn/tststatic3.c: New file.
18739         * dlfcn/tststatic4.c: New file.
18740         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18741         (tests-static): Likewise.
18742         (modules-names): Add modstatic3.
18743         (tststatic3-ENV, tststatic4-ENV): New variables.
18744         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18745         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18746
18747 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
18748
18749         * configure.in (CC): Require GCC version 4.4 or later.
18750         * configure: Regenerated.
18751         * manual/install.texi (Tools for Compilation): Update GCC version
18752         requirement.
18753         * INSTALL: Regenerated.
18754
18755 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18756
18757         [BZ #15674]
18758         * string/test-memcmp.c (check2): New.
18759         (main): Call check2.
18760
18761         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18762
18763 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
18764
18765         [BZ #15022]
18766         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18767         over to...
18768         (dl_open_worker) [!SHARED]: ... here.
18769
18770 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18771
18772         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18773
18774 2013-06-25  Richard Henderson  <rth@redhat.com>
18775
18776         * locale/programs/locarchive.c: Include <libc-internal.h>
18777
18778 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
18779
18780         * manual/texinfo.tex: Update to version 2013-06-21.17, with
18781         trailing whitespace removed.
18782
18783 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18784
18785         [BZ #10283]
18786         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18787         * locale/programs/locarchive.c: Include libc-mmap.h.
18788         (prepare_address_space): Take two new outputs (the mmap base and len).
18789         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
18790         values.
18791         (create_archive): Declare new mmap base and len values for
18792         prepare_address_space, and store the result in ah.
18793         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18794         (enlarge_archive): If ah->mmap_base is not NULL, use that and
18795         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18796         Declare new mmap base and len values for
18797         prepare_address_space, and store the result in new_ah.
18798         (open_archive): Declare new mmap base and len values for
18799         prepare_address_space, and store the result in ah.
18800         (close_archive): If ah->mmap_base is not NULL, use that and
18801         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18802         * sysdeps/generic/libc-mmap.h: New file.
18803
18804 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18805
18806         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18807         (ALIGN_UP): Likewise.
18808         (PTR_ALIGN_DOWN): Likewise.
18809         (PTR_ALIGN_UP): Likewise.
18810
18811 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18812
18813         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
18814         entry mapped to PPC_PLATFORM_POWER8.
18815         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
18816         POWER8.
18817         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18818         (_dl_string_platform): Add case for exporting platform position for
18819         POWER8.
18820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18821         search path to sysdeps/powerpc/powerpc32/power8 directory.
18822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18823         search path to sysdeps/powerpc/powerpc64/power8 directory.
18824         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18825         power7 directories.
18826         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18827         power7 directories.
18828
18829 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18830
18831         * INSTALL: Regenerate.
18832
18833         * nscd/connections.c (nscd_init): Fix comment.
18834
18835 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
18836
18837         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18838
18839         [BZ #15667]
18840         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18841         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18842
18843 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
18844
18845         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18846         DL_DST_REQ_STATIC.
18847         (DL_DST_REQ_STATIC): Remove macro.
18848
18849 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
18850
18851         [BZ #7006]
18852         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18853         with a shift of 0 bits.
18854
18855 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
18856
18857         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18858         $(tststatic-ENV).
18859
18860 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18861
18862         [BZ #15655]
18863         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18864
18865 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18866
18867         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18868         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18869         accepts -fno-tree-loop-distribute-patterns.
18870         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18871         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18872         recursive call.
18873         * string/memset.c (memset): Likewise.
18874         * string/test-memmove.c (simple_memmove): Disable loop transformation
18875         to library calls.
18876         * string/test-memset.c (simple_memset): Likewise.
18877         * benchtests/bench-memmove.c (simple_memmove): Likewise.
18878         * benchtests/bench-memset.c (simple_memset): Likewise.
18879         * configure: Regenerated.
18880
18881 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
18882
18883         * math/test-misc.c (main): Ignore fesetround failure when failures
18884         of subsequent rounding tests would be ignored.
18885
18886         [BZ #15654]
18887         * math/fedisblxcpt.c (fedisableexcept): Return 0.
18888         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18889         * math/fegetenv.c (__fegetenv): Return 0.
18890         * math/fegetexcept.c (fegetexcept): Return 0.
18891         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18892         FE_TONEAREST.
18893         * math/feholdexcpt.c (feholdexcept): Return 0.
18894         * math/fesetenv.c (__fesetenv): Return 0.
18895         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18896         argument FE_TONEAREST.
18897         * math/feupdateenv.c (__feupdateenv): Return 0.
18898         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18899
18900 2013-06-18  Roland McGrath  <roland@hack.frob.com>
18901
18902         * elf/rtld-Rules (rtld-compile-command.S): New variable.
18903         (rtld-compile-command.s, rtld-compile-command.c): New variables.
18904         ($(objpfx)rtld-%.os rules): Use them.
18905
18906 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18907
18908         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18909         fields.
18910
18911 2013-06-17  Roland McGrath  <roland@hack.frob.com>
18912
18913         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18914         length of target pattern, then descending length of dependency pattern.
18915         * configure.in (AWK): Require gawk 3.1.2 or newer.
18916         * manual/install.texi (Tools for Compilation): Say that we do.
18917         * configure: Regenerated.
18918
18919         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18920         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18921         * scripts/sysd-rules.awk: ... this new script.
18922         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18923         than a glob-style pattern.
18924
18925 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
18926
18927         * math/test-misc.c (main): Do not treat incorrectly rounded
18928         conversions as failure unless ROUNDING_TESTS passes.
18929
18930 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
18931
18932         [BZ #15631]
18933         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18934         restore exception state around main square root computation, then
18935         check for inexactness explicitly.
18936
18937         * math/libm-test.inc (fma_test_data): Add another test.
18938
18939 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18940
18941         * manual/threads.texi (Non-POSIX Extensions): New document
18942         node.  Document pthread_getattr_default_np and
18943         pthread_setattr_default_np.
18944
18945         * Versions.def (libpthread): Add GLIBC_2.18.
18946         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18948         Likewise.
18949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18950         Likewise.
18951         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18952         Likewise.
18953         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18954         Likewise.
18955         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18956         Likewise.
18957         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18958         Likewise.
18959         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18960         Likewise.
18961         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18962         Likewise.
18963         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18964         Likewise.
18965
18966 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18967
18968         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18969         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18970
18971 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18972             H.J. Lu  <hjl.tools@gmail.com>
18973
18974         [BZ #15627]
18975         * sysdeps/x86_64/rtld-memset.c: Remove file.
18976         * sysdeps/x86_64/rtld-memset.S: New file.
18977
18978 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
18979
18980         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18981         (test_in_one_mode): Take arguments for whether the rounding mode
18982         is supported for each floating-point type.
18983         (do_test): Pass new arguments to test_in_one_mode using
18984         ROUNDING_TESTS.
18985
18986 2013-06-13  Roland McGrath  <roland@hack.frob.com>
18987
18988         * posix/tst-waitid.c (do_test): Distinguish different instances of
18989         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
18990         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18991         before entering the kernel for waitpid.
18992
18993 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18994
18995         * NEWS: Fix note on clock function precision.  Text by Roland
18996         McGrath.
18997
18998 2013-06-13  Roland McGrath  <roland@hack.frob.com>
18999
19000         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
19001         it into place only when and if the sanity check passes.
19002
19003 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
19004
19005         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
19006         output for whether conversion result is exact.  Take argument
19007         indicating whether type is IBM long double.
19008         (round_for_all): Change need_exact field to ibm_ld.
19009         * stdlib/tst-strtod-round.c (struct exactness): New type.
19010         (struct test): Change bool ld_ok field to struct exactness exact.
19011         (TEST): Update all definitions for change to field.
19012         (tests): Regenerate array contents.
19013         (test_in_one_mode): Take pointer to new field instead of old ld_ok
19014         field value.  Check for IBM long double here.
19015         (do_test): Update calls to test_in_one_mode.
19016
19017 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19018
19019         [BZ #12515]
19020         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
19021         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
19022
19023 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19024
19025         [BZ #15605]
19026         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
19027         generated by the compiler on loop optimizations.
19028         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
19029         general definitions.
19030
19031 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
19032
19033         * math/bug-nextafter.c: Include <math-tests.h>.
19034         (main): Only test for exceptions if EXCEPTION_TESTS is true for
19035         the relevant type.
19036         * math/bug-nexttoward.c: Include <math-tests.h>.
19037         (main): Only test for exceptions if EXCEPTION_TESTS is true for
19038         the relevant type.
19039         * math/test-misc.c: Include <math-tests.h>.
19040         (main): Only test for exceptions if EXCEPTION_TESTS is true for
19041         the relevant type.
19042
19043 2013-06-12  Andreas Jaeger  <aj@suse.de>
19044
19045         * po/ia.po: Update Interlingua translation from translation
19046         project.
19047
19048 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19049
19050         * include/fenv.h: Include stdbool.h.
19051         (struct rm_ctx): New structure.
19052         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
19053         Define macro.
19054         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
19055         (SET_RESTORE_ROUNDF): Likewise.
19056         (SET_RESTORE_ROUNDL): Likewise.
19057         (SET_RESTORE_ROUND_NOEX): Likewise.
19058         (SET_RESTORE_ROUND_NOEXF): Likewise.
19059         (SET_RESTORE_ROUND_NOEXL): Likewise.
19060         (SET_RESTORE_ROUND_53BIT): Likewise.
19061         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
19062         (libc_feresetround_noexf_ctx): Likewise.
19063         (libc_feresetround_noexl_ctx): Likewise.
19064         (libc_feholdsetround_53bit_ctx): Likewise.
19065         (libc_feresetround_53bit_ctx): Likewise.
19066         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
19067         (libc_feholdexcept_setround_sse_ctx): New function.
19068         (libc_fesetenv_sse_ctx): Likewise.
19069         (libc_feupdateenv_sse_ctx): Likewise.
19070         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
19071         (libc_feholdexcept_setround_387_ctx): Likewise.
19072         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
19073         (libc_feholdsetround_387_prec_ctx): Likewise.
19074         (libc_feholdsetround_387_ctx): Likewise.
19075         (libc_feholdsetround_387_53bit_ctx): Likewise.
19076         (libc_feholdsetround_sse_ctx): Likewise.
19077         (libc_feresetround_sse_ctx): Likewise.
19078         (libc_feresetround_387_ctx): Likewise.
19079         (libc_feupdateenv_387_ctx): Likewise.
19080         (libc_feholdexcept_setroundf_ctx): Define macro.
19081         (libc_fesetenvf_ctx): Likewise.
19082         (libc_feupdateenvf_ctx): Likewise.
19083         (libc_feholdsetroundf_ctx): Likewise.
19084         (libc_feresetroundf_ctx): Likewise.
19085         (libc_feholdexcept_setround_ctx): Likewise.
19086         (libc_fesetenv_ctx): Likewise.
19087         (libc_feupdateenv_ctx): Likewise.
19088         (libc_feholdsetround_ctx): Likewise.
19089         (libc_feresetround_ctx): Likewise.
19090         (libc_feholdexcept_setroundl_ctx): Likewise.
19091         (libc_feupdateenvl_ctx): Likewise.
19092         (libc_feholdsetroundl_ctx): Likewise.
19093         (libc_feresetroundl_ctx): Likewise.
19094         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
19095         (libc_feresetround_53bit_ctx): Likewise.
19096
19097 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19098
19099         * locale/iso-639.def: Convert to UTF-8.
19100
19101 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
19102
19103         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
19104         (EXCEPTION_TESTS_double): Likewise.
19105         (EXCEPTION_TESTS_long_double): Likewise.
19106         (EXCEPTION_TESTS): Likewise.
19107         * math/libm-test.inc (test_exceptions): Only test exceptions if
19108         EXCEPTION_TESTS (FLOAT).
19109
19110 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19111
19112         * benchtests/Makefile (string-bench): Add strcpy_chk and
19113         stpcpy_chk.
19114         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
19115         * benchtests/bench-stpcpy_chk.c: New file.
19116         * benchtests/bench-strcpy_chk-ifunc.c: New file.
19117         * benchtests/bench-strcpy_chk.c: New file.
19118         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
19119         code.
19120         (do_test): Likewise.
19121
19122 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19123
19124         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
19125         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
19126         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
19127         with tabs where appropriate.
19128         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
19129         dl-procinfo.h.
19130         [PPC_PLATFORM_PPC440]: Likewise.
19131         [PPC_PLATFORM_PPC464]: Likewise.
19132         [PPC_PLATFORM_PPC476]: Likewise.
19133         (_dl_string_platform): Add support for detecting ppc405, ppc440,
19134         ppc464, and ppc476 platform strings merging from ports/
19135         dl-procinfo.h.
19136
19137 2013-06-11  Andreas Schwab  <schwab@suse.de>
19138
19139         [BZ #14991]
19140         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
19141         (from_ucs4_idx): Regenerate.
19142         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
19143         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
19144         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
19145         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
19146         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
19147         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
19148         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
19149         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
19150         from FROM_LOOP and TO_LOOP specific macros.
19151         (BODY): Handle combining characters.
19152         * iconvdata/BIG5HKSCS.irreversible: Update.
19153         * iconvdata/BIG5HKSCS.precomposed: New file.
19154         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
19155         characters.
19156         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
19157
19158 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19159
19160         * include/sys/time.h: Fix indentation and add copyright header.
19161
19162         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
19163         (do_test): Likewise.
19164         * string/test-memchr.c (do_one_test): Likewise.
19165         (do_test): Likewise.
19166         * string/test-memcmp.c (do_one_test): Likewise.
19167         (do_test): Likewise.
19168         * string/test-memcpy.c (do_one_test): Likewise.
19169         (do_test): Likewise.
19170         * string/test-memmem.c (do_one_test): Likewise.
19171         (do_test): Likewise.
19172         (do_random_tests): Likewise.
19173         * string/test-memmove.c (do_one_test): Likewise.
19174         (do_test): Likewise.
19175         * string/test-memset.c (do_one_test): Likewise.
19176         (do_test): Likewise.
19177         * string/test-rawmemchr.c (do_one_test): Likewise.
19178         (do_test): Likewise.
19179         * string/test-strcasecmp.c (do_one_test): Likewise.
19180         (do_test): Likewise.
19181         * string/test-strcasestr.c (do_one_test): Likewise.
19182         (do_test): Likewise.
19183         * string/test-strcat.c (do_one_test): Likewise.
19184         (do_test): Likewise.
19185         * string/test-strchr.c (do_one_test): Likewise.
19186         (do_test): Likewise.
19187         * string/test-strcmp.c (do_one_test): Likewise.
19188         (do_test): Likewise.
19189         * string/test-strcpy.c (do_one_test): Likewise.
19190         (do_test): Likewise.
19191         * string/test-string.h: Likewise.
19192         (test_init): Likewise.
19193         * string/test-strlen.c (do_one_test): Likewise.
19194         (do_test): Likewise.
19195         * string/test-strncasecmp.c (do_one_test): Likewise.
19196         (do_test): Likewise.
19197         * string/test-strncat.c (do_one_test): Likewise.
19198         (do_test): Likewise.
19199         * string/test-strncmp.c (do_one_test): Likewise.
19200         (do_test_limit): Likewise.
19201         (do_test): Likewise.
19202         * string/test-strncpy.c (do_one_test): Likewise.
19203         (do_test): Likewise.
19204         * string/test-strnlen.c (do_one_test): Likewise.
19205         (do_test): Likewise.
19206         * string/test-strpbrk.c (do_one_test): Likewise.
19207         (do_test): Likewise.
19208         * string/test-strrchr.c (do_one_test): Likewise.
19209         (do_test): Likewise.
19210         * string/test-strspn.c (do_one_test): Likewise.
19211         (do_test): Likewise.
19212         * string/test-strstr.c (do_one_test): Likewise.
19213         (do_test): Likewise.
19214
19215         * benchtests/Makefile (string-bench): Add string benchmarks.
19216         * benchtests/bench-bcopy-ifunc.c: New file.
19217         * benchtests/bench-bcopy.c: New file.
19218         * benchtests/bench-bzero-ifunc.c: New file.
19219         * benchtests/bench-bzero.c: New file.
19220         * benchtests/bench-memccpy-ifunc.c: New file.
19221         * benchtests/bench-memccpy.c: New file.
19222         * benchtests/bench-memchr-ifunc.c: New file.
19223         * benchtests/bench-memchr.c: New file.
19224         * benchtests/bench-memcmp-ifunc.c: New file.
19225         * benchtests/bench-memcmp.c: New file.
19226         * benchtests/bench-memmem-ifunc.c: New file.
19227         * benchtests/bench-memmem.c: New file.
19228         * benchtests/bench-memmove-ifunc.c: New file.
19229         * benchtests/bench-memmove.c: New file.
19230         * benchtests/bench-mempcpy-ifunc.c: New file.
19231         * benchtests/bench-mempcpy.c: New file.
19232         * benchtests/bench-memset-ifunc.c: New file.
19233         * benchtests/bench-memset.c: New file.
19234         * benchtests/bench-rawmemchr-ifunc.c: New file.
19235         * benchtests/bench-rawmemchr.c: New file.
19236         * benchtests/bench-stpcpy-ifunc.c: New file.
19237         * benchtests/bench-stpcpy.c: New file.
19238         * benchtests/bench-stpncpy-ifunc.c: New file.
19239         * benchtests/bench-stpncpy.c: New file.
19240         * benchtests/bench-strcasecmp-ifunc.c: New file.
19241         * benchtests/bench-strcasecmp.c: New file.
19242         * benchtests/bench-strcasestr-ifunc.c: New file.
19243         * benchtests/bench-strcasestr.c: New file.
19244         * benchtests/bench-strcat-ifunc.c: New file.
19245         * benchtests/bench-strcat.c: New file.
19246         * benchtests/bench-strchr-ifunc.c: New file.
19247         * benchtests/bench-strchr.c: New file.
19248         * benchtests/bench-strchrnul-ifunc.c: New file.
19249         * benchtests/bench-strchrnul.c: New file.
19250         * benchtests/bench-strcmp-ifunc.c: New file.
19251         * benchtests/bench-strcmp.c: New file.
19252         * benchtests/bench-strcpy-ifunc.c: New file.
19253         * benchtests/bench-strcpy.c: New file.
19254         * benchtests/bench-strcspn-ifunc.c: New file.
19255         * benchtests/bench-strcspn.c: New file.
19256         * benchtests/bench-strlen-ifunc.c: New file.
19257         * benchtests/bench-strlen.c: New file.
19258         * benchtests/bench-strncasecmp-ifunc.c: New file.
19259         * benchtests/bench-strncasecmp.c: New file.
19260         * benchtests/bench-strncat-ifunc.c: New file.
19261         * benchtests/bench-strncat.c: New file.
19262         * benchtests/bench-strncmp-ifunc.c: New file.
19263         * benchtests/bench-strncmp.c: New file.
19264         * benchtests/bench-strncpy-ifunc.c: New file.
19265         * benchtests/bench-strncpy.c: New file.
19266         * benchtests/bench-strnlen-ifunc.c: New file.
19267         * benchtests/bench-strnlen.c: New file.
19268         * benchtests/bench-strpbrk-ifunc.c: New file.
19269         * benchtests/bench-strpbrk.c: New file.
19270         * benchtests/bench-strrchr-ifunc.c: New file.
19271         * benchtests/bench-strrchr.c: New file.
19272         * benchtests/bench-strspn-ifunc.c: New file.
19273         * benchtests/bench-strspn.c: New file.
19274         * benchtests/bench-strstr-ifunc.c: New file.
19275         * benchtests/bench-strstr.c: New file.
19276
19277         * benchtests/Makefile: Disable parallel execution of targets.
19278         (string-bench): Add memcpy.
19279         (benchset): New variable to store a list of benchmark sets.
19280         (bench-func): Renamed from bench.
19281         (bench-set): New target.
19282         (bench): Depend on bench-func and bench-set.
19283         * benchtests/README: Add section on benchmark sets.
19284         * benchtests/bench-memcpy-ifunc.c: New file.
19285         * benchtests/bench-memcpy.c: New file.
19286         * benchtests/bench-string.h: New file.
19287
19288 2013-06-11  Andreas Schwab  <schwab@suse.de>
19289
19290         [BZ #15577]
19291         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
19292         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
19293         values in the triple.
19294         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
19295         terminator in the group key.
19296
19297 2013-06-11  Andreas Jaeger  <aj@suse.de>
19298
19299         * po/zh_TW.po: Update Chinese (traditional) translation from
19300         translation project.
19301
19302 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19303
19304         * include/time.h (__clock_gettime): Add libc_hidden_proto.
19305         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
19306         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
19307         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19308         (clock_getcpuclockid): Likewise.
19309         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
19310         Add weak_alias and libc_hidden_def.
19311         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
19312         * rt/clock_gettime.c (clock_gettime): Rename to
19313         __clock_gettime.  Add weak_alias and libc_hidden_def.
19314         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
19315         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
19316         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
19317         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
19318         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
19319         Likewise.
19320         * rt/clock_settime.c (clock_settime): Rename to
19321         __clock_settime.  Add weak_alias and libc_hidden_def.
19322         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
19323
19324 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
19325
19326         * mach/err_boot.sub: Remove trailing whitespace.
19327         * mach/err_ipc.sub: Likewise.
19328         * mach/err_mach.sub: Likewise.
19329
19330         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
19331         (ROUNDING_TESTS_double): Likewise.
19332         (ROUNDING_TESTS_long_double): Likewise.
19333         (ROUNDING_TESTS): Likewise.
19334         * math/libm-test.inc: Include <math-tests.h>.
19335         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
19336         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19337         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19338         (IF_ROUND_INIT_FE_UPWARD): Likewise.
19339
19340 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19341
19342         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
19343         of assigning.
19344
19345 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
19346
19347         * sysdeps/gnu/errlist.awk: Do not generate space at end of
19348         otherwise empty TRANS lines.
19349         * sysdeps/gnu/errlist.c: Regenerated.
19350
19351         * catgets/gencat.c (error_print): Use (void) in function
19352         definition.
19353         * crypt/crypt_util.c (__init_des): Likewise.
19354         * crypt/speeds.c (Stop): Likewise.
19355         (main): Likewise.
19356         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
19357         * inet/ruserpass.c (token): Likewise.
19358         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
19359         * intl/localealias.c (extend_alias_table): Likewise.
19360         * intl/plural-exp.c (init_germanic_plural): Likewise.
19361         * libio/fcloseall.c (__fcloseall): Likewise.
19362         * libio/genops.c (_IO_flush_all): Likewise.
19363         (_IO_flush_all_linebuffered): Likewise.
19364         (_IO_cleanup): Likewise.
19365         (_IO_iter_begin): Likewise.
19366         (_IO_iter_end): Likewise.
19367         (_IO_list_lock): Likewise.
19368         (_IO_list_unlock): Likewise.
19369         (_IO_list_resetlock): Likewise.
19370         * libio/getchar.c (getchar): Likewise.
19371         * libio/getchar_u.c (getchar_unlocked): Likewise.
19372         * libio/getwchar.c (getwchar): Likewise.
19373         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
19374         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
19375         * login/getpt.c (__getpt): Likewise.
19376         * login/tst-utmp.c (main): Likewise.
19377         * malloc/hooks.c (__malloc_check_init): Likewise.
19378         * malloc/malloc.c (__malloc_stats): Likewise.
19379         * malloc/mtrace.c (tr_break): Likewise.
19380         (mtrace): Likewise.
19381         (muntrace): Likewise.
19382         * misc/fstab.c (endfsent): Likewise.
19383         * misc/getclktck.c (__getclktck): Likewise.
19384         * misc/getdtsz.c (__getdtablesize): Likewise.
19385         * misc/gethostid.c (gethostid): Likewise.
19386         * misc/getpagesize.c (__getpagesize): Likewise.
19387         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
19388         (__get_nprocs): Likewise.
19389         (__get_phys_pages): Likewise.
19390         (__get_avphys_pages): Likewise.
19391         * misc/getttyent.c (getttyent): Likewise.
19392         (setttyent): Likewise.
19393         (endttyent): Likewise.
19394         * misc/getusershell.c (getusershell): Likewise.
19395         (endusershell): Likewise.
19396         (setusershell): Likewise.
19397         (initshells): Likewise.
19398         * misc/hsearch.c (__hdestroy): Likewise.
19399         * misc/sync.c (sync): Likewise.
19400         * misc/syslog.c (closelog_internal): Likewise.
19401         (closelog): Likewise.
19402         * misc/ttyslot.c (ttyslot): Likewise.
19403         * misc/vhangup.c (vhangup): Likewise.
19404         * posix/fork.c (__fork): Likewise.
19405         * posix/getegid.c (__getegid): Likewise.
19406         * posix/geteuid.c (__geteuid): Likewise.
19407         * posix/getgid.c (__getgid): Likewise.
19408         * posix/getpid.c (__getpid): Likewise.
19409         * posix/getppid.c (__getppid): Likewise.
19410         * posix/getuid.c (__getuid): Likewise.
19411         * posix/pause.c (pause): Likewise.
19412         * posix/setpgrp.c (setpgrp): Likewise.
19413         * posix/setsid.c (__setsid): Likewise.
19414         * posix/test-vfork.c (noop): Likewise.
19415         * resolv/gethnamaddr.c (_endhtent): Likewise.
19416         (_gethtent): Likewise.
19417         (ht_endhostent): Likewise.
19418         (gethostent): Likewise.
19419         (dns_service): Likewise.
19420         * stdlib/drand48.c (drand48): Likewise.
19421         * stdlib/lrand48.c (lrand48): Likewise.
19422         * stdlib/mrand48.c (mrand48): Likewise.
19423         * stdlib/rand.c (rand): Likewise.
19424         * stdlib/random.c (__random): Likewise.
19425         * stdlib/setenv.c (clearenv): Likewise.
19426         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
19427         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
19428         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
19429         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
19430         (__get_nprocs): Likewise.
19431         (__get_phys_pages): Likewise.
19432         (__get_avphys_pages): Likewise.
19433         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
19434         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
19435         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
19436         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
19437         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
19438         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
19439         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
19440         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
19441         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
19442         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
19443         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
19444         * sysdeps/mach/hurd/sync.c (sync): Likewise.
19445         * sysdeps/posix/clock.c (clock): Likewise.
19446         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
19447         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
19448         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
19449         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
19450         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
19451         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
19452         (__get_nprocs_conf): Likewise.
19453         (__get_phys_pages): Likewise.
19454         (__get_avphys_pages): Likewise.
19455         * time/clock.c (clock): Likewise.
19456         * time/tzset.c (__tzname_max): Likewise.
19457
19458 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
19459
19460         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
19461         (__bswap_32): Do not use "register".
19462         * crypt/crypt.c (_ufc_doit_r): Likewise.
19463         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19464         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19465         * gmon/gmon.c (__monstartup): Likewise.
19466         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
19467         * hurd/hurdmalloc.c (more_memory): Likewise.
19468         (malloc): Likewise.
19469         (free): Likewise.
19470         (realloc): Likewise.
19471         (malloc_fork_prepare): Likewise.
19472         (malloc_fork_parent): Likewise.
19473         (malloc_fork_child): Likewise.
19474         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
19475         (_svcauth_des): Likewise.
19476         * inet/inet_lnaof.c (inet_lnaof): Likewise.
19477         * inet/inet_net.c (inet_network): Likewise.
19478         * inet/inet_netof.c (inet_netof): Likewise.
19479         * inet/rcmd.c (__validuser2_sa): Likewise.
19480         * io/fts.c (fts_open): Likewise.
19481         (fts_load): Likewise.
19482         (fts_close): Likewise.
19483         (fts_read): Likewise.
19484         (fts_children): Likewise.
19485         (fts_build): Likewise.
19486         (fts_stat): Likewise.
19487         (fts_sort): Likewise.
19488         (fts_alloc): Likewise.
19489         (fts_lfree): Likewise.
19490         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
19491         (_IO_file_xsgetn): Likewise.
19492         (_IO_file_xsgetn_mmap): Likewise.
19493         * libio/iofopncook.c (_IO_cookie_read): Likewise.
19494         (_IO_cookie_write): Likewise.
19495         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
19496         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
19497         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
19498         * malloc/obstack.c (_obstack_begin): Likewise.
19499         (_obstack_begin_1): Likewise.
19500         (_obstack_newchunk): Likewise.
19501         (_obstack_allocated_p): Likewise.
19502         (obstack_free): Likewise.
19503         (_obstack_memory_used): Likewise.
19504         * misc/getttyent.c (getttynam): Likewise.
19505         (getttyent): Likewise.
19506         (skip): Likewise.
19507         (value): Likewise.
19508         * misc/getusershell.c (initshells): Likewise.
19509         * misc/syslog.c (__vsyslog_chk): Likewise.
19510         * misc/ttyslot.c (ttyslot): Likewise.
19511         * nis/nis_hash.c (__nis_hash): Likewise.
19512         * posix/fnmatch_loop.c (FCT): Likewise.
19513         * posix/getconf.c (print_all): Likewise.
19514         (main): Likewise.
19515         * posix/getopt.c (exchange): Likewise.
19516         * posix/glob.c (globfree): Likewise.
19517         (prefix_array): Likewise.
19518         (__glob_pattern_type): Likewise.
19519         * resolv/arpa/nameser.h (NS_GET16): Likewise.
19520         (NS_GET32): Likewise.
19521         (NS_PUT16): Likewise.
19522         (NS_PUT32): Likewise.
19523         * resolv/gethnamaddr.c (getanswer): Likewise.
19524         (gethostbyname2): Likewise.
19525         (gethostbyaddr): Likewise.
19526         (_gethtent): Likewise.
19527         (_gethtbyname2): Likewise.
19528         (_gethtbyaddr): Likewise.
19529         * resolv/ns_print.c (dst_s_get_int16): Likewise.
19530         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19531         * resolv/res_init.c (__res_vinit): Likewise.
19532         (net_mask): Likewise.
19533         * resolv/res_mkquery.c (outchar): Likewise.
19534         (PRINT): Likewise.
19535         * stdio-common/printf_fp.c (outchar): Likewise.
19536         (PRINT): Likewise.
19537         * stdio-common/printf_fphex.c (outchar): Likewise.
19538         (PRINT): Likewise.
19539         * stdio-common/printf_size.c (outchar): Likewise.
19540         (PRINT): Likewise.
19541         * stdio-common/test_rdwr.c (main): Likewise.
19542         * stdio-common/tfformat.c (matches): Likewise.
19543         * stdio-common/vfprintf.c (outchar): Likewise.
19544         (printf_unknown): Likewise.
19545         (buffered_vfprintf): Likewise.
19546         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19547         * stdio-common/xbug.c (AppendToBuffer): Likewise.
19548         (ReadFile): Likewise.
19549         * stdlib/qsort.c (SWAP): Likewise.
19550         (_quicksort): Likewise.
19551         * stdlib/setenv.c (__add_to_environ): Likewise.
19552         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19553         * stdlib/strtol_l.c (__strtol_l): Likewise.
19554         * stdlib/tst-strtod.c (main): Likewise.
19555         * stdlib/tst-strtol.c (main): Likewise.
19556         * stdlib/tst-strtoll.c (main): Likewise.
19557         * string/bits/string2.h (__strcmp_cc): Likewise.
19558         (__strcmp_cg): Likewise.
19559         (__strcspn_c1): Likewise.
19560         (__strcspn_c2): Likewise.
19561         (__strcspn_c3): Likewise.
19562         (__strspn_c1): Likewise.
19563         (__strspn_c2): Likewise.
19564         (__strspn_c3): Likewise.
19565         (__strsep_1c): Likewise.
19566         (__strsep_2c): Likewise.
19567         (__strsep_3c): Likewise.
19568         * string/memccpy.c (__memccpy): Likewise.
19569         * string/stpcpy.c (__stpcpy): Likewise.
19570         * string/strcmp.c (strcmp): Likewise.
19571         * string/strrchr.c (strrchr): Likewise.
19572         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
19573         Likewise.
19574         * sysdeps/mach/hurd/getcwd.c
19575         (_hurd_canonicalize_directory_name_internal): Likewise.
19576         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
19577         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
19578         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
19579         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
19580         Likewise, in both definitions.
19581         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
19582         definitions.
19583         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
19584         64] (__bswap_64): Likewise.
19585         * time/test_time.c (main): Likewise.
19586         * time/tzfile.c (__tzfile_read): Likewise.
19587         (__tzfile_compute): Likewise.
19588         * time/tzset.c (__tzset_parse_tz): Likewise.
19589         (tzset_internal): Likewise.
19590         (compute_change): Likewise.
19591         * wcsmbs/wcscat.c (__wcscat): Likewise.
19592         * wcsmbs/wcschr.c (wcschr): Likewise.
19593         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
19594         * wcsmbs/wcscspn.c (wcscspn): Likewise.
19595         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
19596         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
19597         * wcsmbs/wcsspn.c (wcsspn): Likewise.
19598         * wcsmbs/wcsstr.c (wcsstr): Likewise.
19599         * wcsmbs/wmemchr.c (wmemchr): Likewise.
19600         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19601         * wcsmbs/wmemset.c (wmemset): Likewise.
19602
19603 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
19604
19605         * scripts/config.guess: Update to version 2013-05-16.
19606         * scripts/config.sub: Update to version 2013-04-24.
19607         * scripts/install-sh: Update to version 2011-11-20.07.
19608         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
19609         * scripts/move-if-change: Update to version 2012-01-06 07:23.
19610
19611 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
19612
19613         * debug/fgetws_u_chk.c: Fix leading whitespaces.
19614         * elf/sln.c: Likewise.
19615         * hurd/hurd/ioctl.h: Likewise.
19616         * hurd/hurdmalloc.c: Likewise.
19617         * hurd/xattr.c: Likewise.
19618         * include/shlib-compat.h: Likewise.
19619         * inet/ruserpass.c: Likewise.
19620         * libio/iofgets_u.c: Likewise.
19621         * libio/iofgetws_u.c: Likewise.
19622         * locale/programs/ld-identification.c: Likewise.
19623         * locale/programs/ld-time.c: Likewise.
19624         * mach/msg-destroy.c: Likewise.
19625         * nss/nss_files/files-netgrp.c: Likewise.
19626         * resolv/res_data.c: Likewise.
19627         * soft-fp/op-1.h: Likewise.
19628         * soft-fp/op-2.h: Likewise.
19629         * soft-fp/op-4.h: Likewise.
19630         * soft-fp/op-common.h: Likewise.
19631         * stdio-common/printf_fphex.c: Likewise.
19632         * stdlib/strtod_l.c: Likewise.
19633         * sunrpc/rpc/clnt.h: Likewise.
19634         * sysdeps/generic/framestate.c: Likewise.
19635         * sysdeps/i386/bsd-_setjmp.S: Likewise.
19636         * sysdeps/i386/bsd-setjmp.S: Likewise.
19637         * sysdeps/i386/__longjmp.S: Likewise.
19638         * sysdeps/i386/setjmp.S: Likewise.
19639         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19640         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19641         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19642         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19643         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19644         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19645         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19646         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19647         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19648         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19649         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19650         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19651         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19652         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19653         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19654         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19655         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19656         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
19657         * sysdeps/ieee754/support.c: Likewise.
19658         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19659         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
19660         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
19661         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
19662         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
19663         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
19664         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
19665         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
19666         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
19667         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
19668         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
19669         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
19670         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
19671         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
19672         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
19673         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
19674         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19676
19677 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
19678
19679         * posix/transbug.c: Remove executable mode.
19680
19681 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
19682
19683         * crypt/speeds.c: Remove trailing whitespace.
19684         * dlfcn/default.c: Likewise.
19685         * elf/ifuncdep2.c: Likewise.
19686         * elf/ifuncmain1.c: Likewise.
19687         * elf/ifuncmain1vis.c: Likewise.
19688         * elf/testobj.h: Likewise.
19689         * elf/tst-stackguard1.c: Likewise.
19690         * gmon/sys/gmon.h: Likewise.
19691         * hurd/hurdmsg.c: Likewise.
19692         * hurd/new-fd.c: Likewise.
19693         * hurd/ports-get.c: Likewise.
19694         * iconvdata/ibm1008_420.c: Likewise.
19695         * inet/tst-getni1.c: Likewise.
19696         * inet/tst-getni2.c: Likewise.
19697         * libio/ioungetc.c: Likewise.
19698         * libio/wfiledoalloc.c: Likewise.
19699         * manual/libm-err-tab.pl: Likewise.
19700         * math/w_dremf.c: Likewise.
19701         * misc/ftruncate.c: Likewise.
19702         * posix/bug-glob2.c: Likewise.
19703         * posix/tst-pcre.c: Likewise.
19704         * posix/wait4.c: Likewise.
19705         * resolv/README: Likewise.
19706         * resolv/res_debug.h: Likewise.
19707         * resolv/tst-inet_ntop.c: Likewise.
19708         * setjmp/bug269-setjmp.c: Likewise.
19709         * soft-fp/extended.h: Likewise.
19710         * soft-fp/op-1.h: Likewise.
19711         * soft-fp/op-2.h: Likewise.
19712         * soft-fp/op-4.h: Likewise.
19713         * soft-fp/op-8.h: Likewise.
19714         * soft-fp/testit.c: Likewise.
19715         * stdio-common/bug16.c: Likewise.
19716         * stdlib/random.c: Likewise.
19717         * sunrpc/rpcsvc/rquota.x: Likewise.
19718         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
19719         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19720         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19721         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19722         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19723         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19724         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19725         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19726         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19727         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19728         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19729         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19730         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19731         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19732         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19733         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19734         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19735         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19736         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19737         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19738         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19739         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19740         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19741         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19742         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19743         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19744         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19745         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19746         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19747         * sysdeps/ieee754/s_lib_version.c: Likewise.
19748         * sysdeps/mach/hurd/check_fds.c: Likewise.
19749         * sysdeps/mach/hurd/getsockname.c: Likewise.
19750         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19751         * sysdeps/mach/hurd/recvfrom.c: Likewise.
19752         * sysdeps/powerpc/bits/link.h: Likewise.
19753         * sysdeps/powerpc/dl-procinfo.c: Likewise.
19754         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19755         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19756         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19757         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19758         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19759         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19760         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19761         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19762         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19763         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19764         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19765         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19766         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19767         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19768         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19769         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19770         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19771         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19772         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19773         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19774         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19775         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19776         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19777         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19778         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19779         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19780         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19781         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19782         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19783         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19784         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19785         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19786         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19787         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19788         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19789         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19790         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19791         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19792         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19793         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19794         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19795         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19796         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19797         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19798         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19799         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19800         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19801         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19802         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19803         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19804         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19805         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19806         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19807         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19808         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19809         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19810         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19811         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19812         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19813         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
19814         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
19815         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
19816         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19817         * sysdeps/powerpc/sysdep.h: Likewise.
19818         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19819         * sysdeps/s390/s390-64/sub_n.S: Likewise.
19820         * sysdeps/sh/dl-trampoline.S: Likewise.
19821         * sysdeps/sh/memset.S: Likewise.
19822         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19823         * sysdeps/sh/strlen.S: Likewise.
19824         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19825         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19826         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19827         * sysdeps/sparc/sparc32/rem.S: Likewise.
19828         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19829         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19830         * sysdeps/sparc/sparc32/strchr.S: Likewise.
19831         * sysdeps/sparc/sparc32/udiv.S: Likewise.
19832         * sysdeps/sparc/sparc32/urem.S: Likewise.
19833         * sysdeps/sparc/sparc64/add_n.S: Likewise.
19834         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19835         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19836         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19837         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19838         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19839         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19840         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19841         * sysdeps/unix/bsd/times.c: Likewise.
19842         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19843         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19847         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19848         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19849         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19850         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19851         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19852         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19853         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19854         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19855         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19856         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19857         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19858         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19859         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19860         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19861         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19862         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19863         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19864         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19865         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19866         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19867         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19868         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19869         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19870         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19871         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19872         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19873         * sysdeps/x86_64/strcspn.S: Likewise.
19874
19875 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19876
19877         * locale/C-translit.h: Revert #include <stdint.h> because this is a
19878         generated file.  Regenerate properly from gen-translit.pl.
19879         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
19880         locale/C-translit.h.
19881
19882 2013-06-05  Andreas Schwab  <schwab@suse.de>
19883
19884         [BZ #15100]
19885         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19886         week as 6 instead of -1.
19887         * time/tst-strptime.c (day_tests): Add test case.
19888
19889 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19890
19891         * sysdeps/generic/math_private.h
19892         (libc_feholdexcept_setround_53bit): Replace with
19893         libc_feholdsetround_53bit.
19894         (libc_feupdateenv_53bit): Replace with
19895         libc_feresetround_53bit.
19896         (SET_RESTORE_ROUND_53BIT): Adjust.
19897
19898 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19899
19900         * string/test-strchrnul.c: Add copyright header.
19901
19902         * posix/tst-getaddrinfo4.c: Increase test timeout.
19903
19904 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
19905
19906         [BZ #15536]
19907         * math/libm-test.inc (MAX_EXP): Remove
19908         (MIN_EXP): Define.
19909         (ulp): Use MIN_EXP - MANT_DIG.
19910         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19911
19912 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
19913
19914         * po/be.po: Revert last change.
19915         * po/zh_CN.po: Likewise.
19916         * po/header.pot: Likewise.
19917
19918 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
19919
19920         * Makefile ($(common-objpfx)linkobj/libc.so): Define
19921         link-libc-deps to empty as target-specific variable.
19922         * Makerules (link-libc-args): New variable.
19923         (libc-for-link): Likewise.
19924         (link-libc-deps): Likewise.
19925         (lib%.so): Depend on $(link-libc-deps).  Link with
19926         $(link-libc-args).
19927         (build-module): Link with $(link-libc-args).
19928         (build-module-asneeded): Likewise.
19929         (build-module-helper-objlist): Filter out $(link-libc-deps) from
19930         list of objects.
19931         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19932         target-specific variable.
19933         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19934         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19935         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19936         libc.
19937         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19938         libc and ld.so.
19939         ($(objpfx)libpcprofile.so): Likewise.
19940         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19941         libc_nonshared.a.
19942         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19943         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19944         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19945         $(link-libc-deps).
19946         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19947         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19948         * login/Makefile ($(objpfx)libutil.so): Likewise.
19949         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19950         * math/Makefile ($(objpfx)libm.so): Likewise.
19951         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19952         $(objpfx)libnsl.so): Define libc-for-link as target-specific
19953         variable instead of depending directly on libc.
19954         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19955         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19956         $(link-libc-deps).
19957         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19958         libc.
19959         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19960         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19961         ($(objpfx)libanl.so): Likewise.
19962         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19963         ld.so.
19964         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19965         $(link-libc-deps).
19966         * sysdeps/i386/fpu/Makefile: Remove file.
19967         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19968         ($(objpfx)libm.so): Remove dependency on ld.so.
19969
19970 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
19971
19972         [BZ # 15553]
19973         * nis/yp_xdr.c (XDRMAXNAME): Define.
19974         (XDRMAXRECORD): Define.
19975         (xdr_domainname): Use XDRMAXNAME.
19976         (xdr_mapname): Likewise.
19977         (xdr_peername): Likewise.
19978         (xdr_keydat): Use XDRMAXRECORD.
19979         (xdr_valdat): Likewise.
19980
19981 2013-05-30  Jeff Law  <law@redhat.com>
19982
19983         [BZ #14256]
19984         * manual/errno.texi (ESTALE): Update to account for more than
19985         just NFS file systems.
19986         * sysdeps/gnu/errlist.c: Regenerated.
19987
19988 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19989
19990         [BZ #15465]
19991         * elf/Makefile (tests): Add tst-null-argv.
19992         (modules-names):  Add tst-null-argv-lib.
19993         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19994         (tst-null-argv-ENV): Set environment for tst-null-argv.
19995         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19996         (RTLD_PROGNAME): New macro.
19997         * elf/tst-null-argv.c: New test case.
19998         * elf/tst-null-argv-lib.c: Library for test case.
19999         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
20000         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
20001         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
20002         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
20003         * elf/dl-init.c (call_init): Likewise.
20004         (_dl_init): Likewise.
20005         * elf/dl-load.c (print_search_path): Likewise.
20006         (_dl_map_object): Likewise.
20007         * elf/dl-lookup.c (do_lookup_x): Likewise.
20008         (add_dependency): Likewise.
20009         (_dl_lookup_symbol_x): Likewise.
20010         (_dl_debug_bindings): Likewise.
20011         * elf/dl-open.c (_dl_show_scope): Likewise.
20012         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
20013         * elf/dl-version.c (match_symbol): Likewise.
20014         (_dl_check_map_versions): Likewise.
20015         * elf/rtld.c (dl_main): Likewise.
20016         (print_unresolved): Use RTLD_PROGNAME.
20017         (print_missing_version): Likewise.
20018         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
20019         (elf_machine_rela): Likewise.
20020         * sysdeps/powerpc/powerpc32/dl-machine.c
20021         (__process_machine_rela): Likewise.
20022         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20023         Likewise.
20024         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20025         Likewise.
20026         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
20027         Likewise.
20028         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20029         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
20030         Likewise.
20031         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
20032         Likewise.
20033         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20034
20035 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
20036
20037         * po/be.po: Add descriptive title.
20038         * po/zh_CN.po: Likewise.
20039         * po/header.pot: Likewise.
20040
20041 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
20042
20043         * locale/programs/locarchive.c (create_archive): Inlucde fname in
20044         error message.
20045         (enlarge_archive): Likewise.
20046
20047 2013-05-28  Ben North  <ben@redfrontdoor.org>
20048
20049         * manual/arith.texi (frexp): It is the magnitude of the return
20050         value which lies in [0.5, 1), not the return value itself.
20051
20052 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20053
20054         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20055
20056 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
20057
20058         * stdio-common/bug26.c (main): Correct fscanf template.
20059
20060         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
20061         declare _dl_skip_args.
20062
20063         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
20064         Don't declare.
20065
20066         * manual/platform.texi: Add missing @end deftypefun.
20067
20068 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
20069
20070         [BZ #15529]
20071         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
20072         bit of mantissa of 2^16382.
20073         * math/libm-test.inc (hypot_test_data): Add more tests.
20074
20075         * math/libm-test.inc: Add drem and pow10 to list of tested
20076         functions.
20077         (pow10_test): New function.
20078         (drem_test): Likewise.
20079         (drem_test_tonearest): Likewise.
20080         (drem_test_towardzero): Likewise.
20081         (drem_test_downward): Likewise.
20082         (drem_test_upward): Likewise.
20083         (main): Call the new functions.
20084
20085         * math/libm-test.inc (finite_test_data): Remove.
20086         (finite_test): Run tests from isfinite_test_data.
20087         (gamma_test_data): Remove.
20088         (gamma_test): Run tests from lgamma_test_data.
20089         * sysdeps/i386/fpu/libm-test-ulps: Update.
20090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20091
20092 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20093
20094         * manual/platform.texi: Add PowerPC PPR function set documentation.
20095         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
20096         implementation.
20097
20098 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
20099
20100         * math/libm-test.inc (MAX_EXP): Define.
20101         (ULPDIFF): Define.
20102         (ulp): New function.
20103         (check_float_internal): Use ULPDIFF.
20104         (cpow_test): Disable failing test.
20105         (check_ulp): Test ulp() implemetnation.
20106         (main): Call check_ulp before starting tests.
20107
20108 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
20109
20110         * math/gen-libm-test.pl (generate_testfile): Do not handle
20111         START_DATA and END_DATA.
20112         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
20113         END_DATA.
20114         (acos_tonearest_test_data): Likewise.
20115         (acos_towardzero_test_data): Likewise.
20116         (acos_downward_test_data): Likewise.
20117         (acos_upward_test_data): Likewise.
20118         (acosh_test_data): Likewise.
20119         (asin_test_data): Likewise.
20120         (asin_tonearest_test_data): Likewise.
20121         (asin_towardzero_test_data): Likewise.
20122         (asin_downward_test_data): Likewise.
20123         (asin_upward_test_data): Likewise.
20124         (asinh_test_data): Likewise.
20125         (atan_test_data): Likewise.
20126         (atanh_test_data): Likewise.
20127         (atan2_test_data): Likewise.
20128         (cabs_test_data): Likewise.
20129         (cacos_test_data): Likewise.
20130         (cacosh_test_data): Likewise.
20131         (carg_test_data): Likewise.
20132         (casin_test_data): Likewise.
20133         (casinh_test_data): Likewise.
20134         (catan_test_data): Likewise.
20135         (catanh_test_data): Likewise.
20136         (cbrt_test_data): Likewise.
20137         (ccos_test_data): Likewise.
20138         (ccosh_test_data): Likewise.
20139         (ceil_test_data): Likewise.
20140         (cexp_test_data): Likewise.
20141         (cimag_test_data): Likewise.
20142         (clog_test_data): Likewise.
20143         (clog10_test_data): Likewise.
20144         (conj_test_data): Likewise.
20145         (copysign_test_data): Likewise.
20146         (cos_test_data): Likewise.
20147         (cos_tonearest_test_data): Likewise.
20148         (cos_towardzero_test_data): Likewise.
20149         (cos_downward_test_data): Likewise.
20150         (cos_upward_test_data): Likewise.
20151         (cosh_test_data): Likewise.
20152         (cosh_tonearest_test_data): Likewise.
20153         (cosh_towardzero_test_data): Likewise.
20154         (cosh_downward_test_data): Likewise.
20155         (cosh_upward_test_data): Likewise.
20156         (cpow_test_data): Likewise.
20157         (cproj_test_data): Likewise.
20158         (creal_test_data): Likewise.
20159         (csin_test_data): Likewise.
20160         (csinh_test_data): Likewise.
20161         (csqrt_test_data): Likewise.
20162         (ctan_test_data): Likewise.
20163         (ctan_tonearest_test_data): Likewise.
20164         (ctan_towardzero_test_data): Likewise.
20165         (ctan_downward_test_data): Likewise.
20166         (ctan_upward_test_data): Likewise.
20167         (ctanh_test_data): Likewise.
20168         (ctanh_tonearest_test_data): Likewise.
20169         (ctanh_towardzero_test_data): Likewise.
20170         (ctanh_downward_test_data): Likewise.
20171         (ctanh_upward_test_data): Likewise.
20172         (erf_test_data): Likewise.
20173         (erfc_test_data): Likewise.
20174         (exp_test_data): Likewise.
20175         (exp_tonearest_test_data): Likewise.
20176         (exp_towardzero_test_data): Likewise.
20177         (exp_downward_test_data): Likewise.
20178         (exp_upward_test_data): Likewise.
20179         (exp10_test_data): Likewise.
20180         (exp2_test_data): Likewise.
20181         (expm1_test_data): Likewise.
20182         (fabs_test_data): Likewise.
20183         (fdim_test_data): Likewise.
20184         (finite_test_data): Likewise.
20185         (floor_test_data): Likewise.
20186         (fma_test_data): Likewise.
20187         (fma_towardzero_test_data): Likewise.
20188         (fma_downward_test_data): Likewise.
20189         (fma_upward_test_data): Likewise.
20190         (fmax_test_data): Likewise.
20191         (fmin_test_data): Likewise.
20192         (fmod_test_data): Likewise.
20193         (fpclassify_test_data): Likewise.
20194         (frexp_test_data): Likewise.
20195         (gamma_test_data): Likewise.
20196         (hypot_test_data): Likewise.
20197         (ilogb_test_data): Likewise.
20198         (isfinite_test_data): Likewise.
20199         (isgreater_test_data): Likewise.
20200         (isgreaterequal_test_data): Likewise.
20201         (isinf_test_data): Likewise.
20202         (isless_test_data): Likewise.
20203         (islessequal_test_data): Likewise.
20204         (islessgreater_test_data): Likewise.
20205         (isnan_test_data): Likewise.
20206         (isnormal_test_data): Likewise.
20207         (issignaling_test_data): Likewise.
20208         (isunordered_test_data): Likewise.
20209         (j0_test_data): Likewise.
20210         (j1_test_data): Likewise.
20211         (jn_test_data): Likewise.
20212         (ldexp_test_data): Likewise.
20213         (lgamma_test_data): Likewise.
20214         (lrint_test_data): Likewise.
20215         (lrint_tonearest_test_data): Likewise.
20216         (lrint_towardzero_test_data): Likewise.
20217         (lrint_downward_test_data): Likewise.
20218         (lrint_upward_test_data): Likewise.
20219         (llrint_test_data): Likewise.
20220         (llrint_tonearest_test_data): Likewise.
20221         (llrint_towardzero_test_data): Likewise.
20222         (llrint_downward_test_data): Likewise.
20223         (llrint_upward_test_data): Likewise.
20224         (log_test_data): Likewise.
20225         (log10_test_data): Likewise.
20226         (log1p_test_data): Likewise.
20227         (log2_test_data): Likewise.
20228         (logb_test_data): Likewise.
20229         (logb_downward_test_data): Likewise.
20230         (lround_test_data): Likewise.
20231         (llround_test_data): Likewise.
20232         (modf_test_data): Likewise.
20233         (nearbyint_test_data): Likewise.
20234         (nextafter_test_data): Likewise.
20235         (nexttoward_test_data): Likewise.
20236         (pow_test_data): Likewise.
20237         (pow_tonearest_test_data): Likewise.
20238         (pow_towardzero_test_data): Likewise.
20239         (pow_downward_test_data): Likewise.
20240         (pow_upward_test_data): Likewise.
20241         (remainder_test_data): Likewise.
20242         (remainder_tonearest_test_data): Likewise.
20243         (remainder_towardzero_test_data): Likewise.
20244         (remainder_downward_test_data): Likewise.
20245         (remainder_upward_test_data): Likewise.
20246         (remquo_test_data): Likewise.
20247         (rint_test_data): Likewise.
20248         (rint_tonearest_test_data): Likewise.
20249         (rint_towardzero_test_data): Likewise.
20250         (rint_downward_test_data): Likewise.
20251         (rint_upward_test_data): Likewise.
20252         (round_test_data): Likewise.
20253         (scalb_test_data): Likewise.
20254         (scalbn_test_data): Likewise.
20255         (scalbln_test_data): Likewise.
20256         (signbit_test_data): Likewise.
20257         (sin_test_data): Likewise.
20258         (sin_tonearest_test_data): Likewise.
20259         (sin_towardzero_test_data): Likewise.
20260         (sin_downward_test_data): Likewise.
20261         (sin_upward_test_data): Likewise.
20262         (sincos_test_data): Likewise.
20263         (sinh_test_data): Likewise.
20264         (sinh_tonearest_test_data): Likewise.
20265         (sinh_towardzero_test_data): Likewise.
20266         (sinh_downward_test_data): Likewise.
20267         (sinh_upward_test_data): Likewise.
20268         (sqrt_test_data): Likewise.
20269         (tan_test_data): Likewise.
20270         (tan_tonearest_test_data): Likewise.
20271         (tan_towardzero_test_data): Likewise.
20272         (tan_downward_test_data): Likewise.
20273         (tan_upward_test_data): Likewise.
20274         (tanh_test_data): Likewise.
20275         (tgamma_test_data): Likewise.
20276         (trunc_test_data): Likewise.
20277         (y0_test_data): Likewise.
20278         (y1_test_data): Likewise.
20279         (yn_test_data): Likewise.
20280         (significand_test_data): Likewise.
20281
20282         * math/gen-libm-test.pl (@functions): Remove variable.
20283         (generate_testfile): Don't handle START and END lines.
20284         * math/libm-test.inc (START): New macro.
20285         (END): Likewise.
20286         (END_COMPLEX): Likewise.
20287         (acos_test): Use END macro without arguments.
20288         (acos_test_tonearest): Likewise.
20289         (acos_test_towardzero): Likewise.
20290         (acos_test_downward): Likewise.
20291         (acos_test_upward): Likewise.
20292         (acosh_test): Likewise.
20293         (asin_test): Likewise.
20294         (asin_test_tonearest): Likewise.
20295         (asin_test_towardzero): Likewise.
20296         (asin_test_downward): Likewise.
20297         (asin_test_upward): Likewise.
20298         (asinh_test): Likewise.
20299         (atan_test): Likewise.
20300         (atanh_test): Likewise.
20301         (atan2_test): Likewise.
20302         (cabs_test): Likewise.
20303         (cacos_test): Use END_COMPLEX macro without arguments.
20304         (cacosh_test): Likewise.
20305         (carg_test): Use END macro without arguments.
20306         (casin_test): Use END_COMPLEX macro without arguments.
20307         (casinh_test): Likewise.
20308         (catan_test): Likewise.
20309         (catanh_test): Likewise.
20310         (cbrt_test): Use END macro without arguments.
20311         (ccos_test): Use END_COMPLEX macro without arguments.
20312         (ccosh_test): Likewise.
20313         (ceil_test): Use END macro without arguments.
20314         (cexp_test): Use END_COMPLEX macro without arguments.
20315         (cimag_test): Use END macro without arguments.
20316         (clog_test): Use END_COMPLEX macro without arguments.
20317         (clog10_test): Likewise.
20318         (conj_test): Likewise.
20319         (copysign_test): Use END macro without arguments.
20320         (cos_test): Likewise.
20321         (cos_test_tonearest): Likewise.
20322         (cos_test_towardzero): Likewise.
20323         (cos_test_downward): Likewise.
20324         (cos_test_upward): Likewise.
20325         (cosh_test): Likewise.
20326         (cosh_test_tonearest): Likewise.
20327         (cosh_test_towardzero): Likewise.
20328         (cosh_test_downward): Likewise.
20329         (cosh_test_upward): Likewise.
20330         (cpow_test): Use END_COMPLEX macro without arguments.
20331         (cproj_test): Likewise.
20332         (creal_test): Use END macro without arguments.
20333         (csin_test): Use END_COMPLEX macro without arguments.
20334         (csinh_test): Likewise.
20335         (csqrt_test): Likewise.
20336         (ctan_test): Likewise.
20337         (ctan_test_tonearest): Likewise.
20338         (ctan_test_towardzero): Likewise.
20339         (ctan_test_downward): Likewise.
20340         (ctan_test_upward): Likewise.
20341         (ctanh_test): Likewise.
20342         (ctanh_test_tonearest): Likewise.
20343         (ctanh_test_towardzero): Likewise.
20344         (ctanh_test_downward): Likewise.
20345         (ctanh_test_upward): Likewise.
20346         (erf_test): Use END macro without arguments.
20347         (erfc_test): Likewise.
20348         (exp_test): Likewise.
20349         (exp_test_tonearest): Likewise.
20350         (exp_test_towardzero): Likewise.
20351         (exp_test_downward): Likewise.
20352         (exp_test_upward): Likewise.
20353         (exp10_test): Likewise.
20354         (exp2_test): Likewise.
20355         (expm1_test): Likewise.
20356         (fabs_test): Likewise.
20357         (fdim_test): Likewise.
20358         (finite_test): Likewise.
20359         (floor_test): Likewise.
20360         (fma_test): Likewise.
20361         (fma_test_towardzero): Likewise.
20362         (fma_test_downward): Likewise.
20363         (fma_test_upward): Likewise.
20364         (fmax_test): Likewise.
20365         (fmin_test): Likewise.
20366         (fmod_test): Likewise.
20367         (fpclassify_test): Likewise.
20368         (frexp_test): Likewise.
20369         (gamma_test): Likewise.
20370         (hypot_test): Likewise.
20371         (ilogb_test): Likewise.
20372         (isfinite_test): Likewise.
20373         (isgreater_test): Likewise.
20374         (isgreaterequal_test): Likewise.
20375         (isinf_test): Likewise.
20376         (isless_test): Likewise.
20377         (islessequal_test): Likewise.
20378         (islessgreater_test): Likewise.
20379         (isnan_test): Likewise.
20380         (isnormal_test): Likewise.
20381         (issignaling_test): Likewise.
20382         (isunordered_test): Likewise.
20383         (j0_test): Likewise.
20384         (j1_test): Likewise.
20385         (jn_test): Likewise.
20386         (ldexp_test): Likewise.
20387         (lgamma_test): Likewise.
20388         (lrint_test): Likewise.
20389         (lrint_test_tonearest): Likewise.
20390         (lrint_test_towardzero): Likewise.
20391         (lrint_test_downward): Likewise.
20392         (lrint_test_upward): Likewise.
20393         (llrint_test): Likewise.
20394         (llrint_test_tonearest): Likewise.
20395         (llrint_test_towardzero): Likewise.
20396         (llrint_test_downward): Likewise.
20397         (llrint_test_upward): Likewise.
20398         (log_test): Likewise.
20399         (log10_test): Likewise.
20400         (log1p_test): Likewise.
20401         (log2_test): Likewise.
20402         (logb_test): Likewise.
20403         (logb_test_downward): Likewise.
20404         (lround_test): Likewise.
20405         (llround_test): Likewise.
20406         (modf_test): Likewise.
20407         (nearbyint_test): Likewise.
20408         (nextafter_test): Likewise.
20409         (nexttoward_test): Likewise.
20410         (pow_test): Likewise.
20411         (pow_test_tonearest): Likewise.
20412         (pow_test_towardzero): Likewise.
20413         (pow_test_downward): Likewise.
20414         (pow_test_upward): Likewise.
20415         (remainder_test): Likewise.
20416         (remainder_test_tonearest): Likewise.
20417         (remainder_test_towardzero): Likewise.
20418         (remainder_test_downward): Likewise.
20419         (remainder_test_upward): Likewise.
20420         (remquo_test): Likewise.
20421         (rint_test): Likewise.
20422         (rint_test_tonearest): Likewise.
20423         (rint_test_towardzero): Likewise.
20424         (rint_test_downward): Likewise.
20425         (rint_test_upward): Likewise.
20426         (round_test): Likewise.
20427         (scalb_test): Likewise.
20428         (scalbn_test): Likewise.
20429         (scalbln_test): Likewise.
20430         (signbit_test): Likewise.
20431         (sin_test): Likewise.
20432         (sin_test_tonearest): Likewise.
20433         (sin_test_towardzero): Likewise.
20434         (sin_test_downward): Likewise.
20435         (sin_test_upward): Likewise.
20436         (sincos_test): Likewise.
20437         (sinh_test): Likewise.
20438         (sinh_test_tonearest): Likewise.
20439         (sinh_test_towardzero): Likewise.
20440         (sinh_test_downward): Likewise.
20441         (sinh_test_upward): Likewise.
20442         (sqrt_test): Likewise.
20443         (tan_test): Likewise.
20444         (tan_test_tonearest): Likewise.
20445         (tan_test_towardzero): Likewise.
20446         (tan_test_downward): Likewise.
20447         (tan_test_upward): Likewise.
20448         (tanh_test): Likewise.
20449         (tgamma_test): Likewise.
20450         (trunc_test): Likewise.
20451         (y0_test): Likewise.
20452         (y1_test): Likewise.
20453         (yn_test): Likewise.
20454         (significand_test): Likewise.
20455
20456 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
20457
20458         [BZ #15381]
20459         * libio/genops.c (_IO_no_init): Initialize wide struct info.
20460
20461 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
20462
20463         [BZ #14894]
20464         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
20465         __ppc_mdoio and __ppc_mdoom.
20466         * manual/platform.texi: Document new functions __ppc_yield,
20467         __ppc_mdoio and __ppc_mdoom.
20468
20469 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
20470
20471         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
20472         (main): Mention "tls" pseudo-hwcap is legacy.
20473         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
20474
20475 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
20476
20477         * math/gen-libm-test.pl (parse_args): Output only string of
20478         arguments as text for test name, not full call or descriptions of
20479         tests for extra outputs.
20480         (generate_testfile): Do not pass function name to parse_args.
20481         Generate this_func variable from START.
20482         * math/libm-test.inc (struct test_f_f_data): Rename test_name
20483         field to arg_str.
20484         (struct test_ff_f_data): Likewise.
20485         (test_ff_f_data_nexttoward): Likewise.
20486         (struct test_fi_f_data): Likewise.
20487         (struct test_fl_f_data): Likewise.
20488         (struct test_if_f_data): Likewise.
20489         (struct test_fff_f_data): Likewise.
20490         (struct test_c_f_data): Likewise.
20491         (struct test_f_f1_data): Likewise.  Remove field extra_name.
20492         (struct test_fF_f1_data): Likewise.
20493         (struct test_ffI_f1_data): Likewise.
20494         (struct test_c_c_data): Rename test_name field to arg_str.
20495         (struct test_cc_c_data): Likewise.
20496         (struct test_f_i_data): Likewise.
20497         (struct test_ff_i_data): Likewise.
20498         (struct test_f_l_data): Likewise.
20499         (struct test_f_L_data): Likewise.
20500         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
20501         and extra2_name.
20502         (COMMON_TEST_SETUP): New macro.
20503         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
20504         (COMMON_TEST_CLEANUP): Likewise.
20505         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
20506         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
20507         macros.
20508         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
20509         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
20510         macros.
20511         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
20512         (RUN_TEST_fff_f): Take argument string.  Call new setup and
20513         cleanup macros.
20514         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
20515         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
20516         macros.
20517         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
20518         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
20519         macros.
20520         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20521         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
20522         cleanup macros.
20523         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20524         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
20525         cleanup macros.
20526         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20527         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
20528         cleanup macros.
20529         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20530         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
20531         macros.
20532         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
20533         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
20534         macros.
20535         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
20536         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
20537         macros.
20538         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
20539         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
20540         cleanup macros.
20541         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
20542         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
20543         cleanup macros.
20544         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
20545         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
20546         macros.
20547         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
20548         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
20549         cleanup macros.
20550         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
20551         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
20552         macros.
20553         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
20554         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
20555         macros.
20556         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
20557         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
20558         cleanup macros.
20559         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
20560
20561 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
20562
20563         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
20564         to _sifields.sigfault.
20565         (si_addr_lsb): Define new macro.
20566         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20567         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20568         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
20569
20570 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
20571
20572         [BZ #15441]
20573         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
20574         returns -1.
20575         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
20576         null return -1.
20577         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
20578         loading the domain.
20579
20580 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
20581
20582         * math/gen-libm-test.pl (parse_args): Do not include expected
20583         result in test name.
20584         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
20585         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20586         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20587         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20588         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20590
20591 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20592
20593         * benchtests/Makefile: Sort function entries.
20594
20595         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
20596         tanh, asinh, acosh, atanh.
20597         * benchtests/acos-inputs: New file.
20598         * benchtests/acosh-inputs: New file.
20599         * benchtests/asin-inputs: New file.
20600         * benchtests/asinh-inputs: New file.
20601         * benchtests/atanh-inputs: New file.
20602         * benchtests/cosh-inputs: New file.
20603         * benchtests/log-inputs: New file.
20604         * benchtests/sinh-inputs: New file.
20605         * benchtests/tanh-inputs: New file.
20606
20607 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
20608
20609         [BZ #15339]
20610         * posix/tst-getaddrinfo4.c: New test.
20611         * posix/Makefile (tests): Add it.
20612
20613 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20614
20615         [BZ #15339]
20616         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
20617         when no services were used.
20618         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
20619         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
20620
20621 2013-05-21  Andreas Schwab  <schwab@suse.de>
20622
20623         [BZ #15014]
20624         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
20625         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
20626         successful.
20627         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
20628         redundant variable declarations and reallocation of buffer when
20629         parsing as IPv6 address.  Always set NSS status when called from
20630         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
20631         buffer too small.  Correct computation of needed size.
20632         * nss/Makefile (tests): Add test-digits-dots.
20633         * nss/test-digits-dots.c: New test.
20634
20635 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20636
20637         * benchtests/Makefile: Remove instructions for adding
20638         benchmark tests.
20639         * benchtests/README: New file to explain how to execute and
20640         enhance the benchmark tests.
20641
20642 2013-05-21  Andreas Schwab  <schwab@suse.de>
20643
20644         [BZ #15493]
20645         * setjmp/Makefile (tests): Add tst-sigsetjmp.
20646         * setjmp/tst-sigsetjmp.c: New test.
20647
20648 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
20649
20650         * sysdeps/x86_64/memset.S (memset): New implementation.
20651         (__bzero): Likewise.
20652         (__memset_tail): New function.
20653
20654 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
20655
20656         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
20657         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
20658         __memcpy_sse2_unaligned ifunc selection.
20659         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20660         Add memcpy-sse2-unaligned.S.
20661         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20662         Add: __memcpy_sse2_unaligned.
20663
20664 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
20665
20666         [BZ #15490]
20667         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20668         math_force_eval before restoring floating-point envrionment.
20669         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
20670         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
20671         Likewise.
20672         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
20673         <math_private.h>.
20674         (__nearbyintl): Use math_force_eval before restoring
20675         floating-point environment.
20676         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
20677
20678         * math/gen-libm-test.pl (special_functions): Remove.
20679         (parse_args): Don't handle TEST_extra.  Handle functions with no
20680         return value.
20681         * math/libm-test.inc (struct test_sincos_data): Replace with
20682         struct test_fFF_11_data.
20683         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
20684         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
20685         (sincos_test_data): Change element type to struct
20686         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
20687         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
20688         RUN_TEST_LOOP_sincos.
20689         * math/README.libm-test: Don't mention special handling of
20690         individual functions.
20691         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
20692         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20693         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20694         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20695         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20697
20698         * math/gen-libm-test.pl (get_variable): Remove function.
20699         (parse_args): Don't show pointer parameters to call in test
20700         names.  Use "extra output N" in test names for extra outputs
20701         rather than naming variables.
20702
20703 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
20704
20705         [BZ #15488]
20706         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
20707         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
20708         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
20709         double tests.
20710         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
20711         disable.
20712         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
20713         check_long_double.
20714
20715         * math/gen-libm-test.pl (@tests): Remove variable.
20716         ($count): Likewise.
20717         (new_test): Remove function.
20718         (show_exceptions): New function.
20719         (special_functions): Use show_exceptions instead of new_test.
20720         (parse_args): Likewise.
20721         (generate_testfile): Pass only function name in generated call to
20722         print_max_error or print_complex_max_error.
20723         (get_ulps): Do not handle complex tests specially.
20724         (output_test): Rename to ...
20725         (get_all_ulps_for_test): ... this.  Return a string rather than
20726         printing to a file.  Require ulps to be present.
20727         (output_ulps): Generate arrays rather than #defines.
20728         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
20729         (struct ulp_data): New type.
20730         (BUILD_COMPLEX_ULP): Remove macro.
20731         (compare_ulp_data): New function.
20732         (find_ulps): Likewise.
20733         (find_test_ulps): Likewise.
20734         (find_function_ulps): Likewise.
20735         (find_complex_function_ulps): Likewise.
20736         (print_max_error): Determine allowed ulps using
20737         find_function_ulps.
20738         (print_complex_max_error): Determine allowed ulps using
20739         find_complex_function_ulps.
20740         (check_float_internal): Determine max ulps using find_test_ulps.
20741         (check_float): Do not take max_ulp parameter.  Update call to
20742         check_float_internal.
20743         (check_complex): Likewise.
20744         (check_int): Do not take max_ulp parameter.
20745         (check_long): Likewise.
20746         (check_bool): Likewise.
20747         (check_longlong): Likewise.
20748         (struct test_f_f_data): Remove max_ulp field.
20749         (struct test_ff_f_data): Likewise.
20750         (struct test_ff_f_data_nexttoward): Likewise.
20751         (struct test_fi_f_data): Likewise.
20752         (struct test_fl_f_data): Likewise.
20753         (struct test_if_f_data): Likewise.
20754         (struct test_fff_f_data): Likewise.
20755         (struct test_c_f_data): Likewise.
20756         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20757         (struct test_fF_f1_data): Likewise.
20758         (struct test_ffI_f1_data): Likewise.
20759         (struct test_c_c_data): Remove max_ulp field.
20760         (struct test_cc_c_data): Likewise.
20761         (struct test_f_i_data): Likewise.
20762         (struct test_ff_i_data): Likewise.
20763         (struct test_f_l_data): Likewise.
20764         (struct test_f_L_data): Likewise.
20765         (struct test_sincos_data): Likewise.
20766         (RUN_TEST_f_f): Do not handle ulps.
20767         (RUN_TEST_LOOP_f_f): Likewise.
20768         (RUN_TEST_2_f): Likewise.
20769         (RUN_TEST_LOOP_2_f): Likewise.
20770         (RUN_TEST_fff_f): Likewise.
20771         (RUN_TEST_LOOP_fff_f): Likewise.
20772         (RUN_TEST_c_f): Likewise.
20773         (RUN_TEST_LOOP_c_f): Likewise.
20774         (RUN_TEST_f_f1): Likewise.
20775         (RUN_TEST_LOOP_f_f1): Likewise.
20776         (RUN_TEST_fF_f1): Likewise.
20777         (RUN_TEST_LOOP_fF_f1): Likewise.
20778         (RUN_TEST_fI_f1): Likewise.
20779         (RUN_TEST_LOOP_fI_f1): Likewise.
20780         (RUN_TEST_ffI_f1): Likewise.
20781         (RUN_TEST_LOOP_ffI_f1): Likewise.
20782         (RUN_TEST_c_c): Likewise.
20783         (RUN_TEST_LOOP_c_c): Likewise.
20784         (RUN_TEST_cc_c): Likewise.
20785         (RUN_TEST_LOOP_cc_c): Likewise.
20786         (RUN_TEST_f_i): Likewise.
20787         (RUN_TEST_LOOP_f_i): Likewise.
20788         (RUN_TEST_f_i_tg): Likewise.
20789         (RUN_TEST_LOOP_f_i_tg): Likewise.
20790         (RUN_TEST_ff_i_tg): Likewise.
20791         (RUN_TEST_LOOP_ff_i_tg): Likewise.
20792         (RUN_TEST_f_b): Likewise.
20793         (RUN_TEST_LOOP_f_b): Likewise.
20794         (RUN_TEST_f_b_tg): Likewise.
20795         (RUN_TEST_LOOP_f_b_tg): Likewise.
20796         (RUN_TEST_f_l): Likewise.
20797         (RUN_TEST_LOOP_f_l): Likewise.
20798         (RUN_TEST_f_L): Likewise.
20799         (RUN_TEST_LOOP_f_L): Likewise.
20800         (RUN_TEST_sincos): Likewise.
20801         (RUN_TEST_LOOP_sincos): Likewise.
20802
20803 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
20804
20805         [BZ #15480]
20806         [BZ #15485]
20807         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20808         main case of finite arguments, set rounding mode to FE_TONEAREST
20809         and discard exceptions.
20810         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20811         exceptions.
20812         (remainder_tonearest_test_data): New variable.
20813         (remainder_test_tonearest): New function.
20814         (remainder_towardzero_test_data): New variable.
20815         (remainder_test_towardzero): New function.
20816         (remainder_downward_test_data): New variable.
20817         (remainder_test_downward): New function.
20818         (remainder_upward_test_data): New variable.
20819         (remainder_test_upward): New function.
20820         (main): Call the new test functions.
20821
20822         * math/libm-test.inc (struct test_f_f1_data): Remove field
20823         extra_init.
20824         (struct test_fF_f1_data): Likewise.
20825         (struct test_ffI_f1_data): Likewise.
20826         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
20827         based on value of EXTRA_EXPECTED.
20828         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20829         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
20830         EXTRA_VAR based on value of EXTRA_EXPECTED.
20831         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20832         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
20833         EXTRA_VAR based on value of EXTRA_EXPECTED.
20834         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20835         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
20836         EXTRA_VAR based on value of EXTRA_EXPECTED.
20837         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20838         * math/gen-libm-test.pl (parse_args): Don't output initializers
20839         for extra output values.
20840
20841         * math/libm-test.inc (check_int): Expect result to be exactly
20842         equal to expected value and do not handle ulps.
20843         (check_long): Likewise.
20844         (check_longlong): Likewise.
20845
20846         * math/libm-test.inc (ceil_test_data): Test for "inexact"
20847         exceptions.
20848         (cimag_test_data): Likewise.
20849         (conj_test_data): Likewise.
20850         (copysign_test_data): Likewise.
20851         (cproj_test_data): Likewise.
20852         (creal_test_data): Likewise.
20853         (fabs_test_data): Likewise.
20854         (fdim_test_data): Likewise.
20855         (finite_test_data): Likewise.
20856         (floor_test_data): Likewise.
20857         (fmax_test_data): Likewise.
20858         (fmin_test_data): Likewise.
20859         (fmod_test_data): Likewise.
20860         (fpclassify_test_data): Likewise.
20861         (frexp_test_data): Likewise.
20862         (ilogb_test_data): Likewise.
20863         (isfinite_test_data): Likewise.
20864         (isgreater_test_data): Likewise.
20865         (isgreaterequal_test_data): Likewise.
20866         (isinf_test_data): Likewise.
20867         (isless_test_data): Likewise.
20868         (islessequal_test_data): Likewise.
20869         (islessgreater_test_data): Likewise.
20870         (isnan_test_data): Likewise.
20871         (isnormal_test_data): Likewise.
20872         (issignaling_test_data): Likewise.
20873         (isunordered_test_data): Likewise.
20874         (ldexp_test_data): Likewise.
20875         (lrint_test_data): Likewise.
20876         (lrint_test_data) [TEST_FLOAT]: Disable one test.
20877         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20878         (lrint_tonearest_test_data): Test for "inexact" exceptions.
20879         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20880         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20881         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20882         test input.
20883         (lrint_towardzero_test_data): Test for "inexact" exceptions.
20884         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20885         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20886         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20887         that test input.
20888         (lrint_downward_test_data): Test for "inexact" exceptions.
20889         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20890         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20891         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20892         test input.
20893         (lrint_upward_test_data): Test for "inexact" exceptions.
20894         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20895         test input.
20896         (llrint_test_data): Test for "inexact" exceptions.
20897         (llrint_test_data) [TEST_FLOAT]: Disable one test.
20898         (llrint_tonearest_test_data): Test for "inexact" exceptions.
20899         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20900         (llrint_towardzero_test_data): Test for "inexact" exceptions.
20901         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20902         (llrint_downward_test_data): Test for "inexact" exceptions.
20903         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20904         (llrint_upward_test_data): Test for "inexact" exceptions.
20905         (logb_test_data): Likewise.
20906         (logb_downward_test_data): Likewise.
20907         (nextafter_test_data): Likewise.
20908         (nexttoward_test_data): Likewise.
20909         (remainder_test_data): Likewise.
20910         (remquo_test_data): Likewise.
20911         (scalbn_test_data): Likewise.
20912         (scalbln_test_data): Likewise.
20913         (signbit_test_data): Likewise.
20914         (sqrt_test_data): Likewise.
20915         (significand_test_data): Likewise.
20916
20917 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20918
20919         [BZ #15424]
20920         * benchtests/bench-modf.c (struct args): Mark arg0 as
20921         volatile.
20922         * scripts/bench.pl: Mark members of struct args as volatile.
20923
20924 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20925
20926         [BZ # 15497]
20927         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20928         negative infinity on POWER6 or lower.
20929         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20930
20931 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
20932
20933         [BZ #15442]
20934         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20935         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20936         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20937         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20938         (_FP_SETQNAN): New macro.
20939         (_FP_SETQNAN_SEMIRAW): Likewise.
20940         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20941         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20942         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20943         (FP_EXTEND): Use _FP_FRAC_SNANP.
20944         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20945         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20946         into account.
20947         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20948         New macro.
20949         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20950         Likewise.
20951
20952 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20953
20954         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20955         with DIVIDE_BY_ZERO_EXCEPTION.
20956         (gamma_test_data): Likewise.
20957         (lgamma_test_data): Likewise.
20958         (log_test_data): Likewise.
20959         (log10_test_data): Likewise.
20960         (log2_test_data): Likewise.
20961         (tgamma_test_data): Likewise.
20962
20963         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20964         (acos_test_tonearest): Likewise.
20965         (acos_test_towardzero): Likewise.
20966         (acos_test_downward): Likewise.
20967         (acos_test_upward): Likewise.
20968         (acosh_test): Likewise.
20969         (asin_test): Likewise.
20970         (asin_test_tonearest): Likewise.
20971         (asin_test_towardzero): Likewise.
20972         (asin_test_downward): Likewise.
20973         (asin_test_upward): Likewise.
20974         (asinh_test): Likewise.
20975         (atan_test): Likewise.
20976         (atanh_test): Likewise.
20977         (atan2_test): Likewise.
20978         (cabs_test): Likewise.
20979         (cacos_test): Likewise.
20980         (cacosh_test): Likewise.
20981         (casin_test): Likewise.
20982         (casinh_test): Likewise.
20983         (catan_test): Likewise.
20984         (catanh_test): Likewise.
20985         (cbrt_test): Likewise.
20986         (ccos_test): Likewise.
20987         (ccosh_test): Likewise.
20988         (cexp_test): Likewise.
20989         (clog_test): Likewise.
20990         (clog10_test): Likewise.
20991         (cos_test): Likewise.
20992         (cos_test_tonearest): Likewise.
20993         (cos_test_towardzero): Likewise.
20994         (cos_test_downward): Likewise.
20995         (cos_test_upward): Likewise.
20996         (cosh_test): Likewise.
20997         (cosh_test_tonearest): Likewise.
20998         (cosh_test_towardzero): Likewise.
20999         (cosh_test_downward): Likewise.
21000         (cosh_test_upward): Likewise.
21001         (cpow_test): Likewise.
21002         (csin_test): Likewise.
21003         (csinh_test): Likewise.
21004         (csqrt_test): Likewise.
21005         (ctan_test): Likewise.
21006         (ctan_test_tonearest): Likewise.
21007         (ctan_test_towardzero): Likewise.
21008         (ctan_test_downward): Likewise.
21009         (ctan_test_upward): Likewise.
21010         (ctanh_test): Likewise.
21011         (ctanh_test_tonearest): Likewise.
21012         (ctanh_test_towardzero): Likewise.
21013         (ctanh_test_downward): Likewise.
21014         (ctanh_test_upward): Likewise.
21015         (erf_test): Likewise.
21016         (erfc_test): Likewise.
21017         (exp_test): Likewise.
21018         (exp_test_tonearest): Likewise.
21019         (exp_test_towardzero): Likewise.
21020         (exp_test_downward): Likewise.
21021         (exp_test_upward): Likewise.
21022         (exp10_test): Likewise.
21023         (exp2_test): Likewise.
21024         (expm1_test): Likewise.
21025         (fmod_test): Likewise.
21026         (gamma_test): Likewise.
21027         (hypot_test): Likewise.
21028         (j0_test): Likewise.
21029         (j1_test): Likewise.
21030         (jn_test): Likewise.
21031         (lgamma_test): Likewise.
21032         (log_test): Likewise.
21033         (log10_test): Likewise.
21034         (log1p_test): Likewise.
21035         (log2_test): Likewise.
21036         (logb_test_downward): Likewise.
21037         (pow_test): Likewise.
21038         (pow_test_tonearest): Likewise.
21039         (pow_test_towardzero): Likewise.
21040         (pow_test_downward): Likewise.
21041         (pow_test_upward): Likewise.
21042         (remainder_test): Likewise.
21043         (remquo_test): Likewise.
21044         (sin_test): Likewise.
21045         (sin_test_tonearest): Likewise.
21046         (sin_test_towardzero): Likewise.
21047         (sin_test_downward): Likewise.
21048         (sin_test_upward): Likewise.
21049         (sincos_test): Likewise.
21050         (sinh_test): Likewise.
21051         (sinh_test_tonearest): Likewise.
21052         (sinh_test_towardzero): Likewise.
21053         (sinh_test_downward): Likewise.
21054         (sinh_test_upward): Likewise.
21055         (sqrt_test): Likewise.
21056         (tan_test): Likewise.
21057         (tan_test_tonearest): Likewise.
21058         (tan_test_towardzero): Likewise.
21059         (tan_test_downward): Likewise.
21060         (tan_test_upward): Likewise.
21061         (tanh_test): Likewise.
21062         (tgamma_test): Likewise.
21063         (y0_test): Likewise.
21064         (y1_test): Likewise.
21065         (yn_test): Likewise.
21066
21067         * math/gen-libm-test.pl (adjust_arg): Remove function.
21068         (special_function): Remove argument $in_func.  Only handle
21069         generating output for tables of tests, not inside functions.
21070         (parse_args): Likewise.
21071         (generate_testfile): Remove variable $in_func.  Update call to
21072         parse_args.
21073         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
21074         (MINUS_ZERO_INIT): Rename macro to minus_zero.
21075         (PLUS_INFTY_INIT): Rename macro to plus_infty.
21076         (MINUS_INFTY_INIT): Rename macro to minus_infty.
21077         (QNAN_VALUE_INIT): Rename macro to qnan_value.
21078         (MAX_VALUE_INIT): Rename macro to max_value.
21079         (MIN_VALUE_INIT): Rename macro to min_value.
21080         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
21081         (plus_zero): Remove variable.
21082         (minus_zero): Likewise.
21083         (plus_infty): Likewise.
21084         (minus_infty): Likewise.
21085         (qnan_value): Likewise.
21086         (max_value): Likewise.
21087         (min_value): Likewise.
21088         (min_subnorm_value): Likewise.
21089
21090 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21091
21092         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
21093         uint64_t or uint32_t usage.
21094         * crypt/sha256-block.c: Likewise.
21095         * crypt/sha256-crypt.c: Likewise.
21096         * crypt/sha256.c: Likewise.
21097         * crypt/sha512-block.c: Likewise.
21098         * crypt/sha512-crypt.c: Likewise.
21099         * crypt/sha512.c: Likewise.
21100         * debug/backtrace-tst.c: Likewise.
21101         * debug/pcprofiledump.c: Likewise.
21102         * elf/cache.c: Likewise.
21103         * elf/dl-cache.c: Likewise.
21104         * elf/dl-misc.c: Likewise.
21105         * elf/dl-profile.c: Likewise.
21106         * elf/dl-support.c: Likewise.
21107         * elf/ldconfig.c: Likewise.
21108         * elf/sprof.c: Likewise.
21109         * iconv/dummy-repertoire.c: Likewise.
21110         * iconv/iconv_charmap.c: Likewise.
21111         * iconv/skeleton.c: Likewise.
21112         * iconvdata/8bit-generic.c: Likewise.
21113         * iconvdata/cp737.h: Likewise.
21114         * iconvdata/cp775.h: Likewise.
21115         * iconvdata/ibm1008.h: Likewise.
21116         * iconvdata/ibm1025.h: Likewise.
21117         * iconvdata/ibm1046.h: Likewise.
21118         * iconvdata/ibm1097.h: Likewise.
21119         * iconvdata/ibm1112.h: Likewise.
21120         * iconvdata/ibm1122.h: Likewise.
21121         * iconvdata/ibm1123.h: Likewise.
21122         * iconvdata/ibm1124.h: Likewise.
21123         * iconvdata/ibm1129.h: Likewise.
21124         * iconvdata/ibm1130.h: Likewise.
21125         * iconvdata/ibm1132.h: Likewise.
21126         * iconvdata/ibm1133.h: Likewise.
21127         * iconvdata/ibm1137.h: Likewise.
21128         * iconvdata/ibm1140.h: Likewise.
21129         * iconvdata/ibm1141.h: Likewise.
21130         * iconvdata/ibm1142.h: Likewise.
21131         * iconvdata/ibm1143.h: Likewise.
21132         * iconvdata/ibm1144.h: Likewise.
21133         * iconvdata/ibm1145.h: Likewise.
21134         * iconvdata/ibm1146.h: Likewise.
21135         * iconvdata/ibm1147.h: Likewise.
21136         * iconvdata/ibm1148.h: Likewise.
21137         * iconvdata/ibm1149.h: Likewise.
21138         * iconvdata/ibm1153.h: Likewise.
21139         * iconvdata/ibm1154.h: Likewise.
21140         * iconvdata/ibm1155.h: Likewise.
21141         * iconvdata/ibm1156.h: Likewise.
21142         * iconvdata/ibm1157.h: Likewise.
21143         * iconvdata/ibm1158.h: Likewise.
21144         * iconvdata/ibm1160.h: Likewise.
21145         * iconvdata/ibm1161.h: Likewise.
21146         * iconvdata/ibm1162.h: Likewise.
21147         * iconvdata/ibm1163.h: Likewise.
21148         * iconvdata/ibm1164.h: Likewise.
21149         * iconvdata/ibm1166.h: Likewise.
21150         * iconvdata/ibm1167.h: Likewise.
21151         * iconvdata/ibm12712.h: Likewise.
21152         * iconvdata/ibm1390.h: Likewise.
21153         * iconvdata/ibm1399.h: Likewise.
21154         * iconvdata/ibm16804.h: Likewise.
21155         * iconvdata/ibm4517.h: Likewise.
21156         * iconvdata/ibm4899.h: Likewise.
21157         * iconvdata/ibm4909.h: Likewise.
21158         * iconvdata/ibm4971.h: Likewise.
21159         * iconvdata/ibm5347.h: Likewise.
21160         * iconvdata/ibm803.h: Likewise.
21161         * iconvdata/ibm856.h: Likewise.
21162         * iconvdata/ibm901.h: Likewise.
21163         * iconvdata/ibm902.h: Likewise.
21164         * iconvdata/ibm9030.h: Likewise.
21165         * iconvdata/ibm9066.h: Likewise.
21166         * iconvdata/ibm921.h: Likewise.
21167         * iconvdata/ibm922.h: Likewise.
21168         * iconvdata/ibm9448.h: Likewise.
21169         * iconvdata/isiri-3342.h: Likewise.
21170         * iconvdata/jis0201.h: Likewise.
21171         * include/link.h: Likewise.
21172         * include/netdb.h: Likewise.
21173         * inet/check_native.c: Likewise.
21174         * inet/check_pf.c: Likewise.
21175         * inet/getipv4sourcefilter.c: Likewise.
21176         * inet/getnameinfo.c: Likewise.
21177         * inet/getsourcefilter.c: Likewise.
21178         * inet/htonl.c: Likewise.
21179         * inet/setipv4sourcefilter.c: Likewise.
21180         * inet/setsourcefilter.c: Likewise.
21181         * inet/test-inet6_opt.c: Likewise.
21182         * inet/tst-network.c: Likewise.
21183         * locale/C-collate.c: Likewise.
21184         * locale/C-ctype.c: Likewise.
21185         * locale/C-time.c: Likewise.
21186         * locale/C-translit.h: Likewise.
21187         * locale/loadarchive.c: Likewise.
21188         * locale/programs/3level.h: Likewise.
21189         * locale/programs/charmap.c: Likewise.
21190         * locale/programs/charmap.h: Likewise.
21191         * locale/programs/ld-address.c: Likewise.
21192         * locale/programs/ld-collate.c: Likewise.
21193         * locale/programs/ld-ctype.c: Likewise.
21194         * locale/programs/ld-identification.c: Likewise.
21195         * locale/programs/ld-measurement.c: Likewise.
21196         * locale/programs/ld-messages.c: Likewise.
21197         * locale/programs/ld-monetary.c: Likewise.
21198         * locale/programs/ld-name.c: Likewise.
21199         * locale/programs/ld-numeric.c: Likewise.
21200         * locale/programs/ld-paper.c: Likewise.
21201         * locale/programs/ld-telephone.c: Likewise.
21202         * locale/programs/ld-time.c: Likewise.
21203         * locale/programs/linereader.c: Likewise.
21204         * locale/programs/locale.c: Likewise.
21205         * locale/programs/locarchive.c: Likewise.
21206         * locale/programs/locfile.h: Likewise.
21207         * locale/programs/repertoire.c: Likewise.
21208         * locale/programs/simple-hash.c: Likewise.
21209         * locale/programs/simple-hash.h: Likewise.
21210         * malloc/memusage.c: Likewise.
21211         * malloc/memusagestat.c: Likewise.
21212         * nis/nis_defaults.c: Likewise.
21213         * nis/nis_hash.c: Likewise.
21214         * nis/nis_print.c: Likewise.
21215         * nis/nis_xdr.c: Likewise.
21216         * nscd/connections.c: Likewise.
21217         * nscd/hstcache.c: Likewise.
21218         * nscd/nscd_gethst_r.c: Likewise.
21219         * nscd/nscd_getserv_r.c: Likewise.
21220         * nscd/nscd_helper.c: Likewise.
21221         * nscd/servicescache.c: Likewise.
21222         * nss/makedb.c: Likewise.
21223         * nss/nss_db/db-XXX.c: Likewise.
21224         * nss/nss_db/db-initgroups.c: Likewise.
21225         * nss/nss_db/db-netgrp.c: Likewise.
21226         * nss/nss_files/files-network.c: Likewise.
21227         * nss/nss_files/files-parse.c: Likewise.
21228         * posix/bug-regex5.c: Likewise.
21229         * posix/fnmatch_loop.c: Likewise.
21230         * posix/regcomp.c: Likewise.
21231         * posix/regexec.c: Likewise.
21232         * posix/tst-rfc3484-2.c: Likewise.
21233         * posix/tst-rfc3484-3.c: Likewise.
21234         * posix/tst-rfc3484.c: Likewise.
21235         * resolv/nss_dns/dns-canon.c: Likewise.
21236         * resolv/nss_dns/dns-network.c: Likewise.
21237         * resolv/res_init.c: Likewise.
21238         * resolv/res_mkquery.c: Likewise.
21239         * resolv/tst-aton.c: Likewise.
21240         * stdlib/cxa_atexit.c: Likewise.
21241         * stdlib/cxa_finalize.c: Likewise.
21242         * stdlib/gen-fpioconst.c: Likewise.
21243         * stdlib/strtol_l.c: Likewise.
21244         * string/tst-endian.c: Likewise.
21245         * sunrpc/auth_des.c: Likewise.
21246         * sunrpc/clnt_udp.c: Likewise.
21247         * sunrpc/rtime.c: Likewise.
21248         * sunrpc/svcauth_des.c: Likewise.
21249         * sunrpc/xdr.c: Likewise.
21250         * sunrpc/xdr_intXX_t.c: Likewise.
21251         * sunrpc/xdr_rec.c: Likewise.
21252         * sysdeps/generic/ldconfig.h: Likewise.
21253         * sysdeps/generic/ldsodefs.h: Likewise.
21254         * sysdeps/generic/memusage.h: Likewise.
21255         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21256         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
21257         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
21258         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21259         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21260         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21261         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21262         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21263         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21264         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21265         * sysdeps/posix/getaddrinfo.c: Likewise.
21266         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21267         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21268         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21269         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21270         * sysdeps/powerpc/test-gettimebase.c: Likewise.
21271         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21272         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
21273         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
21274         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
21275         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
21276         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21277         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21278         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
21279         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
21280         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
21281         * sysdeps/x86_64/dl-tls.h: Likewise.
21282         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
21283         * time/alt_digit.c: Likewise.
21284         * time/era.c: Likewise.
21285         * wcsmbs/tst-c16c32-1.c: Likewise.
21286
21287 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
21288
21289         * math/libm-test.inc (struct test_sincos_data): New type.
21290         (RUN_TEST_LOOP_sincos): New macro.
21291         (sincos_test_data): New variable.
21292         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
21293
21294 2013-05-16  Richard Henderson  <rth@redhat.com>
21295
21296         * math/atest-exp2.c (LIMB64): New macro.
21297         (CONSTSZ): New macro.
21298         (mp_exp1, mp_exp_m1, mp_log2): New variables.
21299         (hexdig): Move ...
21300         (print_mpn_fp): ... to function scope.
21301         (read_mpn_hex): Remove.
21302         (get_log2): Remove.
21303         (exp2_mpn): Use mp_log2.
21304         (main): Use mp_exp1.
21305
21306 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
21307
21308         * math/libm-test.inc: Remove comment about not testing "inexact"
21309         exceptions.
21310         (INEXACT_EXCEPTION): New macro.
21311         (NO_INEXACT_EXCEPTION): Likewise.
21312         (INVALID_EXCEPTION_OK): Update value.
21313         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21314         (OVERFLOW_EXCEPTION_OK): Likewise.
21315         (UNDERFLOW_EXCEPTION_OK): Likewise.
21316         (IGNORE_ZERO_INF_SIGN): Likewise.
21317         (ERRNO_UNCHANGED): Likewise.
21318         (ERRNO_EDOM): Likewise.
21319         (ERRNO_ERANGE): Likewise.
21320         (test_exceptions): Handle testing "inexact" exceptions.
21321         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
21322         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
21323         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
21324         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
21325         INEXACT_EXCEPTION.
21326         (rint_towardzero_test_data): Likewise.
21327         (rint_downward_test_data): Likewise.
21328         (rint_upward_test_data): Likewise.
21329
21330         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
21331         with OVERFLOW_EXCEPTION.
21332         (exp10_test_data): Likewise.
21333         (exp2_test_data): Likewise.
21334         (expm1_test_data): Likewise.
21335         (lgamma_test_data): Likewise.
21336         (pow_test_data): Likewise.
21337         (tgamma_test_data): Likewise.
21338         (yn_test_data): Remove duplicate test of overflow.
21339
21340         * math/libm-test.inc (struct test_cc_c_data): New type.
21341         (RUN_TEST_LOOP_cc_c): New macro.
21342         (cpow_test_data): New variable.
21343         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
21344
21345         * math/libm-test.inc (struct test_f_L_data): New type.
21346         (RUN_TEST_LOOP_f_L): New macro.
21347         (llrint_test_data): New variable.
21348         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
21349         (llrint_tonearest_test_data): New variable.
21350         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
21351         (llrint_towardzero_test_data): New variable.
21352         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
21353         (llrint_downward_test_data): New variable.
21354         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
21355         (llrint_upward_test_data): New variable.
21356         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
21357         (llround_test_data): New variable.
21358         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
21359
21360 2013-05-13  Peter Collingbourne  <pcc@google.com>
21361
21362         * math/atest-exp2.c (get_log2): Remove const attribute.
21363
21364 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
21365
21366         * math/libm-test.inc (struct test_f_l_data): New type.
21367         (RUN_TEST_LOOP_f_l): New macro.
21368         (lrint_test_data): New variable.
21369         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
21370         (lrint_tonearest_test_data): New variable.
21371         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
21372         (lrint_towardzero_test_data): New variable.
21373         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
21374         (lrint_downward_test_data): New variable.
21375         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
21376         (lrint_upward_test_data): New variable.
21377         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
21378         (lround_test_data): New variable.
21379         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
21380
21381 2013-05-15  Peter Collingbourne  <pcc@google.com>
21382
21383         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
21384         (EXTRACT_WORDS64) Use where appropriate.
21385         (INSERT_WORDS64) Likewise.
21386
21387         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
21388         constraints with x constraints.
21389         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
21390
21391         * malloc/obstack.c (_obstack_compat): Add initializer.
21392
21393 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
21394
21395         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
21396         si_trapno and add si_addr_lsb to _sifields.sigfault.
21397         (si_trapno): Remove macro.
21398         (si_addr_lsb): Define new macro.
21399         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21400
21401 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
21402
21403         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
21404         instead of TEST_f_l.
21405         (llrint_test_tonearest): Likewise.
21406         (llrint_test_towardzero): Likewise.
21407         (llrint_test_downward): Likewise.
21408         (llrint_test_upward): Likewise.
21409         (llround_test): Likewise.
21410
21411         * math/libm-test.inc (struct test_f_i_data): Add comment.
21412         (RUN_TEST_LOOP_f_b): New macro.
21413         (RUN_TEST_LOOP_f_b_tg): Likewise.
21414         (finite_test_data): New variable.
21415         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
21416         (isfinite_test_data): New variable.
21417         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21418         (isinf_test_data): New variable.
21419         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21420         (isnan_test_data): New variable.
21421         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21422         (isnormal_test_data): New variable.
21423         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21424         (issignaling_test_data): New variable.
21425         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21426         (signbit_test_data): New variable.
21427         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21428
21429         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
21430         with INVALID_EXCEPTION.
21431         (acosh_test_data): Likewise.
21432         (asin_test_data): Likewise.
21433         (atanh_test_data): Likewise.
21434         (fmod_test_data): Likewise.
21435         (log_test_data): Likewise.
21436         (log10_test_data): Likewise.
21437         (log2_test_data): Likewise.
21438         (pow_test_data): Likewise.
21439         (sqrt_test_data): Likewise.
21440         (y0_test_data): Likewise.
21441         (y1_test_data): Likewise.
21442         (yn_test_data): Likewise.
21443
21444         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
21445         function contents.
21446
21447         * math/libm-test.inc (struct test_ff_i_data): New type.
21448         (RUN_TEST_LOOP_ff_i_tg): New macro.
21449         (isgreater_test_data): New variable.
21450         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21451         (isgreaterequal_test_data): New variable.
21452         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21453         (isless_test_data): New variable.
21454         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21455         (islessequal_test_data): New variable.
21456         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21457         (islessgreater_test_data): New variable.
21458         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21459         (isunordered_test_data): New variable.
21460         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21461
21462 2013-05-14  David S. Miller  <davem@davemloft.net>
21463
21464         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21465
21466 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
21467
21468         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
21469
21470         * math/libm-test.inc (struct test_fF_f1_data): Change type of
21471         extra_test to int.
21472         (struct test_f_i_data): Change type of max_ulp to int.
21473
21474         * math/libm-test.inc (test_ffI_f1_data): New type.
21475         (RUN_TEST_LOOP_ffI_f1): New macro.
21476         (remquo_test_data): New variable.
21477         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
21478
21479         * setjmp/tst-setjmp-fp.c: New file.
21480         * setjmp/Makefile (tests): Add tst-setjmp-fp.
21481         (link-libm): New variable.
21482         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
21483
21484         * math/libm-test.inc (struct test_f_i_data): New type.
21485         (RUN_TEST_LOOP_f_i): New macro.
21486         (RUN_TEST_LOOP_f_i_tg): Likewise.
21487         (fpclassify_test_data): New variable.
21488         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
21489         (ilogb_test_data): New variable.
21490         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
21491
21492         * math/libm-test.inc (scalbln_test): Correct function name in END
21493         call.
21494
21495         * math/libm-test.inc (struct test_f_f1_data): Add comment.
21496         (RUN_TEST_LOOP_fI_f1): New macro.
21497         (frexp_test_data): New variable.
21498         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
21499
21500         * math/libm-test.inc (struct test_fF_f1_data): New type.
21501         (RUN_TEST_LOOP_fF_f1): New macro.
21502         (modf_test_data): New variable.
21503         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
21504
21505         * math/libm-test.inc (struct test_f_f1_data): New type.
21506         (RUN_TEST_LOOP_f_f1): New macro.
21507         (gamma_test_data): New variable.
21508         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21509         (lgamma_test_data): New variable.
21510         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21511
21512 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
21513
21514         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
21515         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
21516         (main): Comment "tls" pseudo-hwcap.
21517
21518 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
21519
21520         * math/libm-test.inc (struct test_fl_f_data): New type.
21521         (RUN_TEST_LOOP_fl_f): New variable.
21522         (scalbln_test_data): New variable.
21523         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
21524
21525         * math/libm-test.inc (struct test_fi_f_data): New type.
21526         (RUN_TEST_LOOP_fi_f): New macro.
21527         (ldexp_test_data): New variable.
21528         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
21529         (scalbn_test_data): New variable.
21530         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
21531
21532         * math/libm-test.inc (struct test_c_f_data): New type.
21533         (RUN_TEST_LOOP_c_f): New macro.
21534         (cabs_test_data): New variable.
21535         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
21536         (carg_test_data): New variable.
21537         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
21538         (cimag_test_data): New variable.
21539         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
21540         (creal_test_data): New variable.
21541         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
21542
21543         * math/libm-test.inc (struct test_if_f_data): New type.
21544         (RUN_TEST_LOOP_if_f): New macro.
21545         (jn_test_data): New variable.
21546         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
21547         (yn_test_data): New variable.
21548         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
21549
21550         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
21551
21552 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21553
21554         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
21555         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
21556
21557 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21558
21559         * benchtests/Makefile (CPPFLAGS-nonlib): Add
21560         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
21561         (bench-deps): Add bench-timing.h.
21562         * benchtests-bench-skeleton.c: Include bench-timing.h.
21563         (main): Use TIMING_* macros instead of clock_gettime.
21564         * benchtests/bench-timing.h: New file.
21565
21566         [BZ #14582]
21567         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
21568         Renamed from _LIB_VERSION.
21569         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
21570
21571 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
21572
21573         * math/libm-test.inc (struct test_fff_f_data): New type.
21574         (RUN_TEST_LOOP_fff_f): New macro.
21575         (fma_test_data): New variable.
21576         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
21577         (fma_towardzero_test_data): New variable.
21578         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
21579         (fma_downward_test_data): New variable.
21580         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
21581         (fma_upward_test_data): New variable.
21582         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
21583
21584         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
21585         (struct test_c_c_data): New type.
21586         (RUN_TEST_LOOP_c_c): New macro.
21587         (cacos_test_data): New variable.
21588         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
21589         (cacosh_test_data): New variable.
21590         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
21591         (casin_test_data): New variable.
21592         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
21593         (casinh_test_data): New variable.
21594         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
21595         (catan_test_data): New variable.
21596         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
21597         (catanh_test_data): New variable.
21598         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
21599         (ccos_test_data): New variable.
21600         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
21601         (ccosh_test_data): New variable.
21602         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
21603         (cexp_test_data): New variable.
21604         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
21605         (clog_test_data): New variable.
21606         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
21607         (clog10_test_data): New variable.
21608         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
21609         (conj_test_data): New variable.
21610         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
21611         (cproj_test_data): New variable.
21612         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
21613         (csin_test_data): New variable.
21614         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
21615         (csinh_test_data): New variable.
21616         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
21617         (csqrt_test_data): New variable.
21618         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
21619         (ctan_test_data): New variable.
21620         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
21621         (ctan_tonearest_test_data): New variable.
21622         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21623         (ctan_towardzero_test_data): New variable.
21624         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21625         (ctan_downward_test_data): New variable.
21626         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21627         (ctan_upward_test_data): New variable.
21628         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21629         (ctanh_test_data): New variable.
21630         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
21631         (ctanh_tonearest_test_data): New variable.
21632         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21633         (ctanh_towardzero_test_data): New variable.
21634         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21635         (ctanh_downward_test_data): New variable.
21636         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21637         (ctanh_upward_test_data): New variable.
21638         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21639         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
21640         of BUILD_COMPLEX.
21641
21642         * math/libm-test.inc (struct test_ff_f_data): New type.
21643         (struct test_ff_f_data_nexttoward): Likewise.
21644         (RUN_TEST_LOOP_2_f): New macro.
21645         (RUN_TEST_LOOP_ff_f): Likewise.
21646         (atan2_test_data): New variable.
21647         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
21648         (copysign_test_data): New variable.
21649         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
21650         (fdim_test_data): New variable.
21651         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
21652         (fmax_test_data): New variable.
21653         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
21654         (fmin_test_data): New variable.
21655         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
21656         (fmod_test_data): New variable.
21657         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
21658         (hypot_test_data): New variable.
21659         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
21660         (nextafter_test_data): New variable.
21661         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
21662         (nexttoward_test_data): New variable.
21663         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
21664         (pow_test_data): New variable.
21665         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
21666         (pow_tonearest_test_data): New variable.
21667         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
21668         (pow_towardzero_test_data): New variable.
21669         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
21670         (pow_downward_test_data): New variable.
21671         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
21672         (pow_upward_test_data): New variable.
21673         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
21674         (remainder_test_data): New variable.
21675         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
21676         (scalb_test_data): New variable.
21677         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
21678         * sysdeps/i386/fpu/libm-test-ulps: Update.
21679
21680 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
21681
21682         * math/libm-test.inc (fma_test): Use max_value instead of local
21683         variable fltmax.
21684         (nextafter_test): Likewise.
21685
21686         * math/libm-test.inc (acos_towardzero_test_data): New variable.
21687         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21688         (acos_downward_test_data): New variable.
21689         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21690         (acos_upward_test_data): New variable.
21691         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21692         (acosh_test_data): New variable.
21693         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
21694         (asin_test_data): New variable.
21695         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
21696         (asin_tonearest_test_data): New variable.
21697         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21698         (asin_towardzero_test_data): New variable.
21699         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21700         (asin_downward_test_data): New variable.
21701         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21702         (asin_upward_test_data): New variable.
21703         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21704         (asinh_test_data): New variable.
21705         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
21706         (atan_test_data): New variable.
21707         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
21708         (atanh_test_data): New variable.
21709         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
21710         (cbrt_test_data): New variable.
21711         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
21712         (ceil_test_data): New variable.
21713         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
21714         (cos_test_data): New variable.
21715         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
21716         (cos_tonearest_test_data): New variable.
21717         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21718         (cos_towardzero_test_data): New variable.
21719         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21720         (cos_downward_test_data): New variable.
21721         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21722         (cos_upward_test_data): New variable.
21723         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21724         (cosh_test_data): New variable.
21725         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
21726         (cosh_tonearest_test_data): New variable.
21727         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21728         (cosh_towardzero_test_data): New variable.
21729         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21730         (cosh_downward_test_data): New variable.
21731         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21732         (cosh_upward_test_data): New variable.
21733         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21734         (erf_test_data): New variable.
21735         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21736         (erfc_test_data): New variable.
21737         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21738         (exp_test_data): New variable.
21739         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21740         (exp_tonearest_test_data): New variable.
21741         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21742         (exp_towardzero_test_data): New variable.
21743         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21744         (exp_downward_test_data): New variable.
21745         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21746         (exp_upward_test_data): New variable.
21747         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21748         (exp10_test_data): New variable.
21749         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21750         (exp2_test_data): New variable.
21751         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21752         (expm1_test_data): New variable.
21753         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21754         (fabs_test_data): New variable.
21755         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21756         (floor_test_data): New variable.
21757         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21758         (j0_test_data): New variable.
21759         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21760         (j1_test_data): New variable.
21761         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21762         (log_test_data): New variable.
21763         (log_test): Run tests with RUN_TEST_LOOP_f_f.
21764         (log10_test_data): New variable.
21765         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21766         (log1p_test_data): New variable.
21767         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21768         (log2_test_data): New variable.
21769         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21770         (logb_test_data): New variable.
21771         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21772         (logb_downward_test_data): New variable.
21773         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21774         (nearbyint_test_data): New variable.
21775         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21776         (rint_test_data): New variable.
21777         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21778         (rint_tonearest_test_data): New variable.
21779         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21780         (rint_towardzero_test_data): New variable.
21781         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21782         (rint_downward_test_data): New variable.
21783         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21784         (rint_upward_test_data): New variable.
21785         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21786         (round_test_data): New variable.
21787         (round_test): Run tests with RUN_TEST_LOOP_f_f.
21788         (sin_test_data): New variable.
21789         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21790         (sin_tonearest_test_data): New variable.
21791         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21792         (sin_towardzero_test_data): New variable.
21793         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21794         (sin_downward_test_data): New variable.
21795         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21796         (sin_upward_test_data): New variable.
21797         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21798         (sinh_test_data): New variable.
21799         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21800         (sinh_tonearest_test_data): New variable.
21801         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21802         (sinh_towardzero_test_data): New variable.
21803         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21804         (sinh_downward_test_data): New variable.
21805         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21806         (sinh_upward_test_data): New variable.
21807         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21808         (sqrt_test_data): New variable.
21809         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21810         (tan_test_data): New variable.
21811         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21812         (tan_tonearest_test_data): New variable.
21813         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21814         (tan_towardzero_test_data): New variable.
21815         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21816         (tan_downward_test_data): New variable.
21817         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21818         (tan_upward_test_data): New variable.
21819         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21820         (tanh_test_data): New variable.
21821         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21822         (tgamma_test_data): New variable.
21823         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21824         (trunc_test_data): New variable.
21825         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21826         (y0_test_data): New variable.
21827         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21828         (y1_test_data): New variable.
21829         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21830         (significand_test_data): New variable.
21831         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21832
21833 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
21834
21835         [BZ #12387]
21836         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21837
21838 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21839
21840         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21841
21842 2013-05-10  Andreas Jaeger  <aj@suse.de>
21843
21844         [BZ #15448]
21845         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21846         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21847
21848 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
21849
21850         * math/gen-libm-test.pl (adjust_arg): New function.
21851         (special_functions): Handle generating output in both functions
21852         and arrays.
21853         (parse_args): Likewise.
21854         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
21855         $in_func argument to parse_args.
21856         * math/libm-test.inc (struct test_f_f_data): New type.
21857         (IF_ROUND_INIT_): New macro.
21858         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21859         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21860         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21861         (IF_ROUND_INIT_FE_UPWARD): Likewise.
21862         (ROUND_RESTORE_): Likewise.
21863         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21864         (ROUND_RESTORE_FE_TONEAREST): Likewise.
21865         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21866         (ROUND_RESTORE_FE_UPWARD): Likewise.
21867         (RUN_TEST_LOOP_f_f): New macro.
21868         (acos_test_data): New variable.
21869         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21870         (acos_tonearest_test_data): New variable.
21871         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21872
21873 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21874
21875         * benchtests/bench-skeleton.c (startup): Fix coding style.
21876
21877 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
21878
21879         [BZ #6809]
21880         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21881         negative infinity argument.
21882         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21883         negative infinity argument.
21884         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21885         negative infinity argument.
21886         * math/libm-test.inc (tgamma_test): Expect errno to be set for
21887         domain errors.
21888
21889 2013-05-10  Florian Weimer  <fweimer@redhat.com>
21890
21891         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21892         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21893         * iconv/iconv_prog.c (main): Likewise.
21894         * locale/programs/charmap-dir.c (charmap_readdir)
21895         (fopen_uncompressed): Likewise.
21896         * locale/programs/locfile.c (siblings_uncached)
21897         (write_locale_data): Use lstat64 instead of lstat.
21898         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21899         stat.
21900
21901 2013-05-10  Andreas Jaeger  <aj@suse.de>
21902
21903         [BZ #15395]
21904         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21905         localization.
21906         Include <locale.h>.
21907
21908 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
21909
21910         * elf/dl-close.c (_dl_close_worker): Add comments.
21911
21912 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
21913
21914         [BZ #15359]
21915         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21916         high part of pi/2.
21917         (__ieee754_rem_pio2l): Update comments.
21918
21919         [BZ #15429]
21920         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21921         high part of pi/2.
21922         (__ieee754_rem_pio2l): Update comments.
21923
21924         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21925         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21926
21927         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21928         M_PI_4l.
21929
21930         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21931         (M_PI_34_LOG10El): Likewise.
21932         (M_PI2_LOG10El): Likewise.
21933         (M_PI4_LOG10El): Likewise.
21934         (M_PI_LOG10El): Likewise.
21935
21936 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21937
21938         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21939
21940 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
21941
21942         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21943         (MINUS_ZERO_INIT): Likewise.
21944         (PLUS_INFTY_INIT): Likewise.
21945         (MINUS_INFTY_INIT): Likewise.
21946         (QNAN_VALUE_INIT): Likewise.
21947         (MAX_VALUE_INIT): Likewise.
21948         (MIN_VALUE_INIT): Likewise.
21949         (MIN_SUBNORM_VALUE_INIT): Likewise.
21950         (plus_zero): Initialize with PLUS_ZERO_INIT.
21951         (minus_zero): Initialize with MINUS_ZERO_INIT.
21952         (plus_infty): Initialize with PLUS_INFTY_INIT.
21953         (minus_infty): Initialize with MINUS_INFTY_INIT.
21954         (qnan_value): Initialize with QNAN_VALUE_INIT.
21955         (max_value): Initialize with MAX_VALUE_INIT.
21956         (min_value): Initialize with MIN_VALUE_INIT.
21957         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21958
21959         * math/libm-test.inc (RUN_TEST_if_f): New macro.
21960         (jn_test): Use TEST_if_f instead of TEST_ff_f.
21961         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21962         (yn_test): Use TEST_if_f instead of TEST_ff_f.
21963
21964         * math/libm-test.inc (RUN_TEST_f_f): New macro.
21965         (RUN_TEST_2_f): Likewise.
21966         (RUN_TEST_ff_f): Likewise.
21967         (RUN_TEST_fi_f): Likewise.
21968         (RUN_TEST_fl_f): Likewise.
21969         (RUN_TEST_fff_f): Likewise.
21970         (RUN_TEST_c_f): Likewise.
21971         (RUN_TEST_f_f1): Likewise.
21972         (RUN_TEST_fF_f1): Likewise.
21973         (RUN_TEST_fI_f1): Likewise.
21974         (RUN_TEST_ffI_f1): Likewise.
21975         (RUN_TEST_c_c): Likewise.
21976         (RUN_TEST_cc_c): Likewise.
21977         (RUN_TEST_f_i): Likewise.
21978         (RUN_TEST_f_i_tg): Likewise.
21979         (RUN_TEST_ff_i_tg): Likewise.
21980         (RUN_TEST_f_b): Likewise.
21981         (RUN_TEST_f_b_tg): Likewise.
21982         (RUN_TEST_f_l): Likewise.
21983         (RUN_TEST_f_L): Likewise.
21984         (RUN_TEST_sincos): Likewise.
21985         * math/gen-libm-test.pl (new_test): Take new argument to indicate
21986         whether to show exceptions.  Do not include ");\n" in return
21987         value.
21988         (special_functions): Output call to RUN_TEST_sincos instead of
21989         check_float calls.  Update calls to new_test.
21990         (parse_args): Output call to single RUN_TEST_* macro instead of
21991         check_* calls and other assignments.  Update calls to new_test.
21992
21993         [BZ #2546]
21994         [BZ #2560]
21995         [BZ #5159]
21996         [BZ #15426]
21997         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21998         input to result for tgamma overflow.
21999         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
22000         (gamma_coeff): New variable.
22001         (NCOEFF): New macro.
22002         (gamma_positive): New function.
22003         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
22004         underflow here.  Use gamma_positive instead of exp (lgamma) for
22005         other arguments.
22006         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
22007         (gamma_coeff): New variable.
22008         (NCOEFF): New macro.
22009         (gammaf_positive): New function.
22010         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
22011         underflow here.  Use gamma_positive instead of exp (lgamma) for
22012         other arguments.
22013         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
22014         (gamma_coeff): New variable.
22015         (NCOEFF): New macro.
22016         (gammal_positive): New function.
22017         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
22018         underflow here.  Use gamma_positive instead of exp (lgamma) for
22019         other arguments.
22020         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
22021         (gamma_coeff): New variable.
22022         (NCOEFF): New macro.
22023         (gammal_positive): New function.
22024         (__ieee754_gammal_r): Handle positive infinity, overflow and
22025         underflow here.  Handle NaN the same as positive infinity.  Remove
22026         check x < 0xffffffff for negative integers.  Use gamma_positive
22027         instead of exp (lgamma) for other arguments.
22028         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
22029         (gamma_coeff): New variable.
22030         (NCOEFF): New macro.
22031         (gammal_positive): New function.
22032         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
22033         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
22034         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
22035         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
22036         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
22037         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
22038         * sysdeps/generic/math_private.h (__gamma_productf): New
22039         prototype.
22040         (__gamma_product): Likewise.
22041         (__gamma_productl): Likewise.
22042         * math/Makefile (libm-calls): Add gamma_product.
22043         * math/libm-test.inc (tgamma_test): Add more tests.
22044         * sysdeps/i386/fpu/libm-test-ulps: Update.
22045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22046
22047 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
22048
22049         * benchtests/bench-skeleton.c (main): Preheat CPU.
22050
22051 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
22052
22053         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
22054
22055 2013-05-07  Roland McGrath  <roland@hack.frob.com>
22056
22057         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
22058         and _dl_skip_args_internal.
22059
22060 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
22061
22062         * manual/message.texi (Message Translation): Talk about users.
22063         Message to key mapping impacts design.
22064
22065 2013-05-06  Roland McGrath  <roland@hack.frob.com>
22066
22067         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
22068
22069         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
22070
22071         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
22072         * sysdeps/wordsize-64/glob64.c: ... here.
22073
22074         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
22075         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
22076         New macros.
22077
22078         * debug/getlogin_r_chk.c: Moved to ...
22079         * login/getlogin_r_chk.c: ... here.
22080         * debug/Makefile (routines): Move getlogin_r_chk to ...
22081         * login/Makefile (routines): ... here.
22082         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
22083         * login/Versions (libc: GLIBC_2.4): ... here.
22084
22085         * io/poll.c (__poll): Renamed from poll.
22086         Add libc_hidden_def.
22087         (poll): Define as weak alias.
22088
22089         * debug/ptsname_r_chk.c: Moved to ...
22090         * login/ptsname_r_chk.c: ... here.
22091         * debug/Makefile (routines): Move ptsname_r_chk to ...
22092         * login/Makefile (routines): ... here.
22093         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
22094         * login/Versions (libc: GLIBC_2.4): ... here.
22095
22096         * posix/getlogin.c: Moved to ...
22097         * login/getlogin.c: ... here.
22098         * posix/getlogin_r.c: Moved to ...
22099         * login/getlogin_r.c: ... here.
22100         * posix/getlogin_r.c: Moved to ...
22101         * login/getlogin_r.c: ... here.
22102         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
22103         * login/Makefile (routines): ... here.
22104         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
22105         * login/Versions (libc: GLIBC_2.0): ... here.
22106
22107         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
22108         (setrlimit): Define as weak alias.
22109
22110         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
22111         Call __ names for open, ftruncate, and close.
22112         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
22113         (truncate): Define as weak alias.
22114
22115 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
22116
22117         * math/gen-libm-test.pl (parse_args): Initialize x before each
22118         test of frexp, modf and remquo.
22119
22120         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
22121         test signgam value.
22122
22123 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22124
22125         [BZ #15418]
22126         [BZ #15419]
22127         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
22128         internal tests.
22129         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22130
22131 2013-05-06  Roland McGrath  <roland@hack.frob.com>
22132
22133         * elf/dl-writev.h: New file.
22134         * elf/dl-misc.c: Include it.
22135         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
22136         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
22137
22138 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
22139
22140         * math/libm-test.inc (noXFails): Remove variable.
22141         (noXPasses): Likewise.
22142         (BUILD_COMPLEX_INT): Remove macro.
22143         (print_screen): Remove xfail argument.
22144         (print_screen_max_error): Likewise.
22145         (update_stats): Likewise.
22146         (print_max_error): Likewise.  Update calls to other affected
22147         functions.
22148         (print_complex_max_error): Likewise.
22149         (test_single_exception): Update calls to print_screen.
22150         (test_single_errno): Likewise.
22151         (check_float_internal): Remove xfail argument.  Update calls to
22152         other affected functions.
22153         (check_float): Likewise.
22154         (check_complex): Likewise.
22155         (check_int): Likewise.
22156         (check_long): Likewise.
22157         (check_bool): Likewise.
22158         (check_longlong): Likewise.
22159         (main): Don't print noXFails and noXPasses.
22160         * math/gen-libm-test.pl (top level): Don't mention expected
22161         failure handling in comment.
22162         (new_test): Don't handle expected failures.
22163         (parse_args): Don't mention expected failure handling in comment.
22164         (generate_testfile): Don't handle expected failures.
22165         (parse_ulps): Likewise.
22166         (print_ulps_file): Likewise.
22167         (get_failure): Remove function.
22168         (output_test): Don't handle expected failures.
22169         * make/README.libm-test: Don't mention expected failure handling.
22170
22171         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
22172         (minus_zero): Likewise.
22173         (plus_infty): Likewise.
22174         (minus_infty): Likewise.
22175         (qnan_value): Likewise.
22176         (max_value): Likewise.
22177         (min_value): Likewise.
22178         (min_subnorm_value): Likewise.
22179         (initialize): Do not initialize those variables dynamically.
22180
22181 2013-05-03  Roland McGrath  <roland@hack.frob.com>
22182
22183         * io/open.c (__open_2): Moved to ...
22184         * io/open_2.c: ... this new file.
22185         * io/open64.c (__open64_2): Moved to ...
22186         * io/open64_2.c: ... this new file.
22187         * io/openat.c (__openat_2): Moved to ...
22188         * io/openat_2.c: ... this new file.
22189         * io/openat64.c (__openat64_2): Moved to ...
22190         * io/openat64_2.c: ... this new file.
22191         * io/Makefile (routines): Add them.
22192         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
22193         * sysdeps/unix/sysv/linux/open_2.c: File removed.
22194         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
22195         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
22196         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
22197         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
22198         (__openat64): Add hidden_ver.
22199         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
22200         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
22201
22202         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
22203         Separately conditionalize setting of GLRO(dl_sysinfo) so
22204         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
22205         as well, but the actual setting is only under [NEED_DL_SYSINFO].
22206
22207 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22208
22209         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
22210         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
22211         definition.
22212         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
22213         * sysdeps/unix/sysv/linux/powerpc/init-first.c
22214         (_libc_vdso_platform_setup): Add __vdso_time initialization.
22215         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
22216         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
22217
22218 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
22219
22220         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
22221         test signgam value.
22222
22223         * math/libm-test.inc (hypot_test): Do not use
22224         IGNORE_ZERO_INF_SIGN.
22225
22226 2013-05-03  Andreas Jaeger  <aj@suse.de>
22227
22228         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
22229         Linux 3.9.
22230         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
22231         (PF_MAX): Adjust for VSOCK change.
22232
22233 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22234
22235         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22236
22237 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
22238
22239         [BZ #15264]
22240         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
22241         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
22242         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
22243
22244 2013-05-02  David S. Miller  <davem@davemloft.net>
22245
22246         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22247
22248 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
22249
22250         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
22251
22252 2013-05-01  Roland McGrath  <roland@hack.frob.com>
22253
22254         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
22255
22256 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
22257
22258         [BZ #14952]
22259         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
22260         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22261         Use __attribute__ ((__gnu_inline__)).
22262         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22263         Don't use __attribute__ ((__gnu_inline__)).
22264
22265 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
22266
22267         [BZ #15423]
22268         * math/s_catan.c (__catan): Handle small real or imaginary part of
22269         input specially to avoid spurious underflow.
22270         * math/s_catanf.c (__catanf): Likewise.
22271         * math/s_catanh.c (__catanh): Likewise.
22272         * math/s_catanhf.c (__catanhf): Likewise.
22273         * math/s_catanhl.c (__catanhl): Likewise.
22274         * math/s_catanl.c (__catanl): Likewise.
22275         * math/libm-test.inc (catan_test): Add more tests.
22276         (catanh_test): Likewise.
22277         * sysdeps/i386/fpu/libm-test-ulps: Update.
22278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22279
22280 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22281
22282         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22283
22284 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
22285
22286         [BZ #15416]
22287         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
22288         accurately for denominator in atan2.
22289         * math/s_catanf.c (__catanf): Likewise.
22290         * math/s_catanh.c (__catanh): Likewise.
22291         * math/s_catanhf.c (__catanhf): Likewise.
22292         * math/s_catanhl.c (__catanhl): Likewise.
22293         * math/s_catanl.c (__catanl): Likewise.
22294         * math/libm-test.inc (catan_test): Add more tests.
22295         (catanh_test): Likewise.
22296         * sysdeps/i386/fpu/libm-test-ulps: Update.
22297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22298
22299 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
22300
22301         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
22302
22303         * benchtests/Makefile (bench): Remove slow benchmarks.
22304         * benchtests/atan-inputs: Add slow benchmark inputs.
22305         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
22306         (BENCH_FUNC): Accept variant offset.
22307         (VARIANT): Define.
22308         * benchtests/bench-skeleton.c (main): Run benchmark for each
22309         variant.
22310         * benchtests/cos-inputs: Add slow benchmark inputs.
22311         * benchtests/exp-inputs: Likewise.
22312         * benchtests/pow-inputs: Likewise.
22313         * benchtests/sin-inputs: Likewise.
22314         * benchtests/slowatan-inputs: Remove.
22315         * benchtests/slowatan.c: Remove.
22316         * benchtests/slowcos-inputs: Remove.
22317         * benchtests/slowcos.c: Remove.
22318         * benchtests/slowexp-inputs: Remove.
22319         * benchtests/slowexp.c: Remove.
22320         * benchtests/slowpow-inputs: Remove.
22321         * benchtests/slowpow.c: Remove.
22322         * benchtests/slowsin-inputs: Remove.
22323         * benchtests/slowsin.c: Remove.
22324         * benchtests/slowtan-inputs: Remove.
22325         * benchtests/slowtan.c: Remove.
22326         * benchtests/tan-inputs: Add slow benchmark inputs.
22327         * scripts/bench.pl: Parse comments and directives.
22328
22329         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
22330         in CPPFLAGS.
22331         ($(objpfx)bench-%.c): Remove *-ITER.
22332         * benchtests/bench-modf.c: Remove definition of ITER.
22333         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
22334         (main): Loop for DURATION seconds instead of fixed number of
22335         iterations.
22336         * scripts/bench.pl: Don't expect iterations in parameters.
22337
22338 2013-04-29  Roland McGrath  <roland@hack.frob.com>
22339
22340         * io/fchdir.c (__fchdir): Renamed from fchdir.
22341         (fchdir): Define as weak alias.
22342
22343 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
22344
22345         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
22346         (ERRNO_EDOM): Likewise.
22347         (ERRNO_ERANGE): Likewise.
22348         (noErrnoTests): New variable.
22349         (init_max_error): Set errno to 0.
22350         (test_single_errno): New function.
22351         (test_errno): Likewise.
22352         (check_float_internal): Call test_errno.  Set errno to 0.
22353         (check_complex): Refer to errno tests in comment.
22354         (check_int): Call test_errno.  Set errno to 0.
22355         (check_long): Likewise.
22356         (check_bool): Likewise.
22357         (check_longlong): Likewise.
22358         (cos_test): Use ERRNO_* flags for errno tests instead of
22359         check_int.
22360         (expm1_test): Likewise.
22361         (fmod_test): Likewise.
22362         (ilogb_test): Likewise.
22363         (lgamma_test): Likewise.
22364         (pow_test): Likewise.
22365         (remainder_test): Likewise.
22366         (sin_test): Likewise.
22367         (tan_test): Likewise.
22368         (yn_test): Likewise.
22369         (initialize): Set errno to 0.
22370         (main): Print number of errno tests.
22371         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
22372
22373 2013-04-29  Andreas Jaeger  <aj@suse.de>
22374
22375         [BZ #15084]
22376         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
22377         and RES_USEVC.
22378
22379         [BZ #15085]
22380         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
22381         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
22382         unimplemented.
22383
22384         [BZ #15380]
22385         * stdlib/random.c (__initstate): Return NULL if
22386         __initstate fails.
22387
22388         [BZ #15086]
22389         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
22390         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
22391         RES_SNGLKUPREOP.
22392
22393 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22394
22395         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22396
22397 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
22398
22399         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
22400         of individual tests.
22401         (casin_test): Likewise.
22402         (casinh_test): Likewise.
22403
22404 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
22405
22406         [BZ #15409]
22407         * math/s_catan.c (__catan): Handle arguments with large real or
22408         imaginary part separately without squaring.
22409         * math/s_catanf.c (__catanf): Likewise.
22410         * math/s_catanh.c (__catanh): Likewise.
22411         * math/s_catanhf.c (__catanhf): Likewise.
22412         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22413         and redefine.
22414         (__catanhl): Handle arguments with large real or imaginary part
22415         separately without squaring.
22416         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22417         and redefine.
22418         (__catanl): Handle arguments with large real or imaginary part
22419         separately without squaring.
22420         * math/libm-test.inc (catan_test): Add more tests.
22421         (catanh_test): Likewise.
22422         * sysdeps/i386/fpu/libm-test-ulps: Update.
22423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22424
22425 2013-04-27  Andreas Jaeger  <aj@suse.de>
22426
22427         [BZ #15007]
22428         * stdlib/stdlib.h: Update guards for qecvt.
22429         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
22430         <stdlib.h>.
22431
22432 2013-04-27  Allan McRae  <allan@archlinux.org>
22433
22434         * sysdeps/i386/fpu/libm-test-ulps: Update.
22435
22436 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
22437
22438         [BZ #15406]
22439         * math/s_catan.c: Include <float.h>.
22440         (__catan): Ensure underflow exception occurs for underflowed
22441         result.
22442         * math/s_catanf.c: Include <float.h>.
22443         (__catanf): Ensure underflow exception occurs for underflowed
22444         result.
22445         * math/s_catanh.c: Include <float.h>.
22446         (__catanh): Ensure underflow exception occurs for underflowed
22447         result.
22448         * math/s_catanhf.c: Include <float.h>.
22449         (__catanhf): Ensure underflow exception occurs for underflowed
22450         result.
22451         * math/s_catanhl.c: Include <float.h>.
22452         (__catanhl): Ensure underflow exception occurs for underflowed
22453         result.
22454         * math/s_catanl.c: Include <float.h>.
22455         (__catanl): Ensure underflow exception occurs for underflowed
22456         result.
22457         * math/libm-test.inc (catan_test): Add more tests.
22458         (catanh_test): Likewise.
22459
22460         [BZ #15405]
22461         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
22462         underflowed result.
22463         * math/s_ccoshf.c (__ccoshf): Likewise.
22464         * math/s_ccoshl.c (__ccoshl): Likewise.
22465         * math/s_csin.c (__csin): Likewise.
22466         * math/s_csinf.c (__csinf): Likewise.
22467         * math/s_csinh.c (__csinh): Likewise.
22468         * math/s_csinhf.c (__csinhf): Likewise.
22469         * math/s_csinhl.c (__csinhl): Likewise.
22470         * math/s_csinl.c (__csinl): Likewise.
22471         * math/libm-test.inc (ccos_test): Add more tests.
22472         (ccosh_test): Likewise.
22473         (csin_test): Likewise.
22474         (csinh_test): Likewise.
22475
22476 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22477
22478         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
22479         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
22480         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
22481         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
22482         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
22483         powerpc/power5+/fpu folders.
22484         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
22485
22486
22487 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
22488
22489         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22490
22491 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
22492
22493         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
22494         additions to variable.
22495         [$(config-machine) = x86_64] (modules-names): Likewise.
22496         ($(objpfx)tst-audit3): Remove dependency.
22497         ($(objpfx)tst-audit3.out): Likewise.
22498         ($(objpfx)tst-audit4): Likewise.
22499         ($(objpfx)tst-audit4.out): Likewise.
22500         ($(objpfx)tst-audit5): Likewise.
22501         ($(objpfx)tst-audit5.out): Likewise.
22502         ($(objpfx)tst-audit6): Likewise.
22503         ($(objpfx)tst-audit6.out): Likewise.
22504         ($(objpfx)tst-audit7): Likewise.
22505         ($(objpfx)tst-audit7.out): Likewise.
22506         (tst-audit3-ENV): Remove variable.
22507         (tst-audit4-ENV): Likewise.
22508         (tst-audit5-ENV): Likewise.
22509         (tst-audit6-ENV): Likewise.
22510         (tst-audit7-ENV): Likewise.
22511         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
22512         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
22513         addition to variable.
22514         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
22515         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
22516         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
22517         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
22518         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
22519         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
22520         tst-audit3, tst-audit4 and tst-audit5.
22521         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
22522         tst-audit6 and tst-audit7.
22523         [$(subdir) = elf] (modules-names): Add audit modules for those
22524         tests.
22525         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
22526         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
22527         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
22528         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
22529         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
22530         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
22531         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
22532         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
22533         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
22534         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
22535         [$(subdir) = elf] (tst-audit3-ENV): New variable.
22536         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
22537         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
22538         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
22539         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
22540         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
22541         Likewise.
22542         [$(subdir) = elf && $(config-cflags-avx) = yes]
22543         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
22544         [$(subdir) = elf && $(config-cflags-avx) = yes]
22545         (CFLAGS-tst-auditmod4a.c): Likewise.
22546         [$(subdir) = elf && $(config-cflags-avx) = yes]
22547         (CFLAGS-tst-auditmod4b.c): Likewise.
22548         [$(subdir) = elf && $(config-cflags-avx) = yes]
22549         (CFLAGS-tst-auditmod6b.c): Likewise.
22550         [$(subdir) = elf && $(config-cflags-avx) = yes]
22551         (CFLAGS-tst-auditmod6c.c): Likewise.
22552         [$(subdir) = elf && $(config-cflags-avx) = yes]
22553         (CFLAGS-tst-auditmod7b.c): Likewise.
22554         * elf/tst-audit3.c: Move to ...
22555         * sysdeps/x86_64/tst-audit3.c: ... here.
22556         * elf/tst-audit4.c: Move to ...
22557         * sysdeps/x86_64/tst-audit4.c: ... here.
22558         * elf/tst-audit5.c: Move to ...
22559         * sysdeps/x86_64/tst-audit5.c: ... here.
22560         * elf/tst-audit6.c: Move to ...
22561         * sysdeps/x86_64/tst-audit6.c: ... here.
22562         * elf/tst-audit7.c: Move to ...
22563         * sysdeps/x86_64/tst-audit7.c: ... here.
22564         * elf/tst-auditmod3a.c: Move to ...
22565         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
22566         * elf/tst-auditmod3b.c: Move to ...
22567         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
22568         * elf/tst-auditmod4a.c: Move to ...
22569         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
22570         * elf/tst-auditmod4b.c: Move to ...
22571         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
22572         * elf/tst-auditmod5a.c: Move to ...
22573         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
22574         * elf/tst-auditmod5b.c: Move to ...
22575         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
22576         * elf/tst-auditmod6a.c: Move to ...
22577         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
22578         * elf/tst-auditmod6b.c: Move to ...
22579         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
22580         * elf/tst-auditmod6c.c: Move to ...
22581         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
22582         * elf/tst-auditmod7a.c: Move to ...
22583         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
22584         * elf/tst-auditmod7b.c: Move to ...
22585         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
22586
22587 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
22588
22589         [BZ #15366]
22590         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
22591         define unconditionally.
22592         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
22593         define unconditionally.
22594         (INT8_C, INT16_C, etc.): Likewise.
22595
22596 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
22597
22598         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
22599         __ehdr_start with hidden visibility.
22600
22601         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
22602
22603 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
22604
22605         * math/libm-test.inc (cos_test): Use accurate hex constants.
22606         (sincost_test): Likewise.
22607
22608 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
22609
22610         * math/libm-test.inc (catan_test): Add more tests.
22611         (catanh_test): Likewise.
22612
22613         * math/s_catanf.c (__catanf): Use suffixed floating-point
22614         constants.
22615         * math/s_catanhf.c (__catanhf): Likewise.
22616         * math/s_catanhl.c (__catanhl): Likewise.
22617         * math/s_catanl.c (__catanl): Likewise.
22618
22619         [BZ #15394]
22620         * math/s_catan.c (__catan): Calculate imaginary part of result
22621         with log1p not log unless computing log of number close to 0.
22622         * math/s_catanf.c (__catanf): Likewise.
22623         * math/s_catanl.c (__catanl): Likewise.
22624         * math/s_catanh.c (__catanh): Calculate real part of result with
22625         log1p not log unless computing log of number close to 0.
22626         * math/s_catanhf.c (__catanhf): Likewise.
22627         * math/s_catanhl.c (__catanhl): Likewise.
22628         * math/libm-test.inc (catan_test): Add more tests.
22629         (catanh_test): Likewise.
22630         * sysdeps/i386/fpu/libm-test-ulps: Update.
22631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22632
22633 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22634
22635         * benchtests/Makefile: Mention files in which fast and slow
22636         paths of math functions are implemented.
22637
22638 2013-04-23  Roland McGrath  <roland@hack.frob.com>
22639
22640         * sysdeps/posix/timespec_get.c: New file.
22641
22642 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22643
22644         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
22645         POWER.
22646         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
22647         for POWER.
22648         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
22649         powerpc/power5/fpu folders.
22650         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
22651         * benchtests/Makefile: Add modf testcase.
22652         * benchtests/bench-modf.c: New file: Benchmark test for mo
22653
22654 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
22655
22656         [BZ #14888]
22657         * time/Makefile (tests): Add tst-strptime-whitespace.
22658         * time/strptime_l.c (get_number): Use ISSPACE.
22659         (__strptime_internal): Likewise.
22660         * time/tst-strptime-whitespace.c: New test case.
22661
22662 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
22663
22664         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
22665         member.
22666         (_nss_files_init): Set it here.
22667
22668 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
22669
22670         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
22671         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
22672         unsigned.
22673
22674 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
22675
22676         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
22677
22678 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
22679
22680         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
22681         size just once.
22682
22683 2013-04-21  David S. Miller  <davem@davemloft.net>
22684
22685         * po/ru.po: Update Russion translation from translation project.
22686
22687 2013-04-17  Adam Conrad  <adconrad@0c3.net>
22688
22689         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
22690         and setfsgid.
22691
22692 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
22693
22694         * configure.in: Remove i386 configure warning. Remove i386 case.
22695         * configure: Regenerate.
22696         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
22697         Add example to error message.
22698         * sysdeps/i386/configure: Regenerate.
22699
22700 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22701
22702         * benchtests/Makefile (bench): Add cos, tan, slowcos and
22703         slowtan.
22704         * benchtests/cos-inputs: New file.
22705         * benchtests/slowcos-inputs: New file.
22706         * benchtests/slowcos.c: New file.
22707         * benchtests/slowtan-inputs: New file.
22708         * benchtests/slowtan.c: New file.
22709         * benchtests/tan-inputs: New file.
22710
22711 2013-04-16  Roland McGrath  <roland@hack.frob.com>
22712
22713         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
22714         considered kosher.
22715
22716 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22717
22718         * benchtests/Makefile: Include cppflags-iterator.mk to add
22719         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
22720
22721         * Makefile.in (bench-clean): New target.
22722         * benchtests/Makefile (bench-clean): Likewise.
22723
22724 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
22725
22726         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
22727
22728 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
22729
22730         * stdio-common/tstdiomisc.c: Fix coding-style violation.
22731
22732 2013-04-15  Andreas Schwab  <schwab@suse.de>
22733
22734         * nscd/grpcache.c (cache_addgr): Properly check for short write.
22735         * nscd/initgrcache.c (addinitgroupsX): Likewise.
22736         * nscd/pwdcache.c (cache_addpw): Likewise.
22737         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
22738         more than recsize.
22739
22740 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22741
22742         * benchtests/Makefile (bench): Write all output to
22743         bench-out.tmp together.
22744
22745 2013-04-15  Andreas Schwab  <schwab@suse.de>
22746
22747         * nscd/nscd.c (main): Don't fork again after closing files.
22748
22749 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22750
22751         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22752
22753         * benchtests/Rules (bench-deps): Collect dependencies into a
22754         single variable.  Add Makefile to dependencies.
22755         ($(objpfx)bench-%.c): Depend on bench-deps.
22756
22757 2013-04-12  Roland McGrath  <roland@hack.frob.com>
22758             Xavier Roche  <roche+kml2@exalead.com>
22759
22760         [BZ #15361]
22761         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22762         just that it's a file descriptor.
22763         * manual/llio.texi (Synchronizing AIO Operations): Update description
22764         for EBADF error from aio_fsync.
22765
22766 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22767
22768         * Rules (bench): Move target definition...
22769         * benchtests/Makefile: ... here.
22770
22771 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
22772
22773         * math/libm-test.inc (cos_test): Fix PI/2 test.
22774         (sincos_test): Likewise.
22775         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22776         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22777
22778 2013-04-11  Andreas Schwab  <schwab@suse.de>
22779
22780         [BZ #13988]
22781         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22782         accept exponent character only when digits were seen.
22783         * stdio-common/Makefile (tests): Add bug26.
22784         * stdio-common/bug26.c: New file.
22785
22786         [BZ #14293]
22787         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22788         non-freeable.
22789
22790 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22791
22792         * Makeconfig (rtld-prefix): Define built linker prefix.
22793         * Rules (run-bench): Use it.
22794         * math/Makefile (run-regen-ulps): Likewise.
22795
22796         * Rules (bench): Remove eval.
22797
22798 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22799             Roland McGrath  <roland@hack.frob.com>
22800             Ondrej Bilka  <neleai@seznam.cz>
22801
22802         [BZ #15346]
22803         * time/getdate.c: Include ctype.h and alloca.h.
22804         (__getdate_r): Trim leading and trailing spaces of input.
22805         * time/tst-getdate.c (tests): Add tests with leading and
22806         trailing spaces.
22807
22808 2013-04-08  Roland McGrath  <roland@hack.frob.com>
22809
22810         [BZ #14280]
22811         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22812         when computing value.
22813
22814 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22815
22816         * math/README.libm-test (How can I generate "libm-test-ulps"?):
22817         Use testrun.sh to run libm tests.
22818
22819         [BZ #15309]
22820         * elf/dl-open.c (dl_open_worker): memset all of seen array.
22821
22822 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
22823
22824         [BZ #15264]
22825         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22826
22827 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22828
22829         * Makefile.in (regen-ulps): New target.
22830         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22831         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22832         [ifneq (no,$(PERL)] (regen-ulps): New target.
22833         [ifeq (no,$(PERL)] (regen-ulps): New target.
22834         * math/libm-test.inc (ulps_file_name): Define.
22835         (output_dir): New variable.
22836         (options): Add "output-dir" option.
22837         (parse_opt): Handle 'o' case.
22838         (main): If output_dir is non-NULL use it as a prefix
22839         otherwise use "".
22840         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22841
22842 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22843
22844         [BZ #10060, #10062]
22845         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22846         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22847         fail configure if __sync_val_compare_and_swap is not inlined.
22848         * sysdeps/i386/configure: Regenerate.
22849         * configure.in: Build for i686 when configured for i386.
22850         * configure: Regenerate.
22851         * README: Remove i386 reference.
22852
22853 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22854
22855         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22856         * sysdeps/s390/s390-64/sysdep.h: Likewise.
22857
22858 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
22859
22860         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22861         (lmsnanval): New variables.
22862         (F): Add conversion tests.
22863         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22864         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22865
22866         * stdio-common/tstdiomisc.c (F): Properly collect individual
22867         tests' results.
22868
22869         [BZ #14686, #15336]
22870         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22871         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22872         Instead, use input NaN values or generate a qNaN by arithmetic
22873         operation.  Also fix bugs to comply with the standard.
22874         * math/libm-test.inc (remainder_test): Add more tests.
22875
22876         [BZ #15335, #15342]
22877         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22878         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22879         input NaN values or generate a qNaN by arithmetic operation.
22880
22881         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22882         unreachable code.
22883
22884         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22885         definitions.
22886
22887 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
22888
22889         [BZ #14478]
22890         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22891         underflowed result.
22892         * math/s_cexpf.c (__cexpf): Likewise.
22893         * math/s_cexpl.c (__cexpl): Likewise.
22894         * math/libm-test.inc (cexp_test): Add more tests.
22895
22896 2013-04-03  Andreas Schwab  <schwab@suse.de>
22897
22898         [BZ #15330]
22899         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22900         order arrays from heap if bigger than alloca cutoff.
22901
22902 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
22903
22904         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22905         (SNAN_TESTS_double): Refer to GCC PR56831.
22906         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22907         GCC PR56828.
22908
22909 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22910
22911         * Rules (bench): Move bench.out after the run is complete.
22912
22913         * Rules (bench): Echo currently running benchmark.
22914
22915         * benchtests/Makefile (bench): Add atan and slowatan.
22916         * benchtests/atan-inputs: New file.
22917         * benchtests/slowatan-inputs: New file.
22918         * benchtests/slowatan.c: New file.
22919
22920         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22921         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22922         its value.
22923
22924         [BZ #15305]
22925         * sysdeps/unix/sysv/linux/kernel-features.h
22926         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22927         __ASSUME_XFS_RESTRICTED_CHOWN.
22928         * sysdeps/unix/sysv/linux/pathconf.c
22929         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22930         Save and restore errno.
22931
22932 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
22933
22934         [BZ #15327]
22935         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22936         arguments using __kernel_casinh.
22937         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22938         arguments using __kernel_casinhf.
22939         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22940         arguments using __kernel_casinhl.
22941         * math/libm-test.inc (cacosh_test): Add more tests.
22942         * sysdeps/i386/fpu/libm-test-ulps: Update.
22943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22944
22945 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22946
22947         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22948         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22949
22950         * bench/Makefile (bench): Add sin and slowsin.
22951         * benchtests/sin-inputs: New file.
22952         * benchtests/slowsin-inputs: New file.
22953         * benchtests/slowsin.c: New file.
22954
22955         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22956         (bench): Add slowexp and slowpow.
22957         (exp-ITER): Increase iterations.
22958         (pow-ITER): Likewise.
22959         * benchtests/exp-inputs: Change input.
22960         * benchtests/pow-inputs: Likewise.
22961         * benchtests/slowexp-inputs: New file.
22962         * benchtests/slowexp.c: New file.
22963         * benchtests/slowpow-inputs: New file.
22964         * benchtests/slowpow.c: New file.
22965
22966 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22967
22968         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22969         instructions.
22970         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22971         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22972         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22973         * benchtests/Makefile: Add rint benchtest.
22974         * benchtests/rint-inputs: Input for rint benchtest.
22975
22976 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
22977
22978         * Versions.def (libm): Add GLIBC_2.18.
22979         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22980         hidden libm prototypes.
22981         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22982         * math/Makefile (libm-calls): Add s_issignaling.
22983         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22984         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
22985         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22986         declaration.
22987         * math/math.h [__USE_GNU] (issignaling): New macro.
22988         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22989         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22990         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22991         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22992         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22993         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22994         * manual/arith.texi (issignaling): New section.
22995         * manual/libm-err-tab.pl (@all_functions): Update comment.
22996         * math/gen-libm-test.pl (parse_args): Apply special handling for
22997         issignaling.
22998         * math/libm-test.inc (print_float, issignaling_test): New
22999         functions.
23000         (check_float_internal): Add issignaling checks.
23001         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
23002         default definition.
23003         * sysdeps/powerpc/math-tests.h: New file.
23004         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
23005         tests.
23006         * math/test-snan.c (TEST_FUNC): Likewise.
23007
23008 2013-03-30  David S. Miller  <davem@davemloft.net>
23009
23010         * po/de.po: Update from translation team.
23011
23012 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
23013
23014         [BZ #10357]
23015         * math/k_casinh.c (__kernel_casinh): Handle arguments with
23016         imaginary part less than 1.0 and real part less than 0.5
23017         specially.
23018         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23019         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23020         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
23021         (cacos_test): Add more tests.
23022         (casin_test): Likewise.
23023         (casinh_test): Likewise.
23024         * sysdeps/i386/fpu/libm-test-ulps: Update.
23025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23026
23027 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23028
23029         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
23030         ONE with its value.
23031
23032         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
23033         (__pow_mp): Replace ONE and MONE with their values.
23034         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23035         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
23036         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23037         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
23038         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23039         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23040
23041         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
23042
23043         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
23044         (__pow_mp): Replace ZERO and MZERO with their values.
23045         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23046         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23047         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23048         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23049         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23050         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
23051         (__sqr): Likewise.
23052
23053         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
23054
23055         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
23056
23057 2013-03-28  Roland McGrath  <roland@hack.frob.com>
23058
23059         * include/stdlib.h [!SHARED] (__call_tls_dtors):
23060         Declare with __attribute__ ((weak)).
23061         * stdlib/exit.c (__libc_atexit) [!SHARED]:
23062         Call __call_tls_dtors only if it's not NULL.
23063
23064 2013-03-28  Roland McGrath  <roland@hack.frob.com>
23065
23066         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
23067         didn't do it already, then set _dl_phdr and _dl_phnum based on the
23068         magic __ehdr_start linker symbol if it's defined.
23069         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
23070         them up here if it was already done.
23071
23072         * elf/dl-support.c (_dl_phdr): Make pointer to const.
23073         (_dl_aux_init): Use const in cast when setting it.
23074         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
23075         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
23076         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
23077
23078         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
23079         Declare them here.
23080         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
23081         * csu/libc-tls.c: Nor here.
23082         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
23083
23084         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
23085         (__libc_message): Never call vsyslog.
23086
23087 2013-03-28  Alan Modra  <amodra@gmail.com>
23088
23089         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
23090         Define as empty.
23091         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
23092         Likewise.
23093
23094 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23095
23096         [BZ #15214]
23097         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
23098         underflow.
23099         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23100
23101 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23102
23103         [BZ #15304]
23104         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23105         Don't add gid passed as argument.
23106
23107         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
23108
23109 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
23110
23111         [BZ #15307]
23112         * math/k_casinh.c (__kernel_casinh): Handle arguments with
23113         imaginary part between 1.0 and 1.5 and real part less than 0.5
23114         specially.
23115         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23116         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23117         * math/libm-test.inc (cacos_test): Add more tests.
23118         (casin_test): Likewise.
23119         (casinh_test): Likewise.
23120         * sysdeps/i386/fpu/libm-test-ulps: Update.
23121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23122
23123 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23124
23125         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
23126         constants.
23127         (norm): Likewise.
23128         (denorm): Likewise.
23129         (__dbl_mp): Likewise.
23130         (add_magnitudes): Likewise.
23131         (sub_magnitudes): Likewise.
23132         (__add): Likewise.
23133         (__sub): Likewise.
23134         (__mul): Likewise.
23135         (__sqr): Likewise.
23136         (__inv): Likewise.
23137         (__dvd): Likewise.
23138
23139         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
23140         commented code.
23141         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
23142         (__dubcos): Likewise.
23143         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
23144         (__ieee754_acos): Likewise.
23145         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23146         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
23147         (__exp1): Likewise.
23148         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23149         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23150         (log1): Likewise.
23151         (my_log2): Likewise.
23152         (checkint): Likewise.
23153         * sysdeps/ieee754/dbl-64/e_remainder.c
23154         (__ieee754_remainder): Likewise.
23155         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23156         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
23157         (bsloww): Likewise.
23158         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23159
23160         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23161         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
23162         MANTISSA_STORE_T to store computations on mantissa.  Use
23163         macros for rounding and division.
23164         (denorm): Likewise.
23165         (__dbl_mp): Likewise.
23166         (add_magnitudes): Likewise.
23167         (sub_magnitudes): Likewise.
23168         (__mul): Likewise.
23169         (__sqr): Likewise.
23170         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
23171         powers of two in terms of TWOPOW macro.
23172         (mp_no): Make type of mantissa as MANTISSA_T.
23173         [!RADIXI]: Define RADIXI.
23174         [!TWO52]: Define TWO52.
23175         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23176
23177 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23178
23179         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
23180         llroundl symbol when building for PPC32.
23181
23182 2013-03-24  Mark H Weaver  <mhw@netris.org>
23183
23184         * manual/arith.texi (Normalization Functions): Fix prototypes for
23185         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
23186
23187 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23188
23189         [BZ #13889]
23190         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
23191         high value to check if expl overflow.
23192         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
23193         to check for underflow and overflow.
23194         * math/libm-test.inc: Add exp test.
23195
23196 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
23197
23198         [BZ #11120]
23199         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
23200         with NOT_IN_libc.
23201
23202 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23203
23204         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
23205         symbol.
23206
23207 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
23208
23209         * math/gen-libm-test.pl (parse_args, special_functions): Properly
23210         wrap blocks consisting of several statements.
23211
23212         * sysdeps/generic/math-tests.h: New file.
23213         * sysdeps/i386/fpu/math-tests.h: Likewise.
23214         * math/test-snan.c: Include it.
23215         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
23216
23217 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
23218
23219         [BZ #15285]
23220         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
23221         (__ieee754_j0l): Do not improve calculations using cos of twice
23222         input for inputs above LDBL_MAX / 2.0L.
23223         (__ieee754_y0l): Likewise.
23224         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
23225         (__ieee754_j1l): Do not improve calculations using cos of twice
23226         input for inputs above LDBL_MAX / 2.0L.
23227         (__ieee754_y1l): Likewise.
23228         * math/libm-test.inc (j0_test): Add another test.
23229         (j1_test): Likewise.
23230         (y0_test): Likewise.
23231         (y1_test): Likewise.
23232         * sysdeps/i386/fpu/libm-test-ulps: Update.
23233
23234 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23235
23236         * Rules ($(objpfx)bench-%.c): Include code from a C source
23237         file.
23238
23239 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
23240
23241         [BZ #15287]
23242         * math/k_casinh.c (__kernel_casinh): Handle arguments with
23243         imaginary part 1.0 and real part less than 0.5 specially.
23244         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23245         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23246         * math/libm-test.inc (cacos_test): Add more tests.
23247         (casin_test): Likewise.
23248         (casinh_test): Likewise.
23249         * sysdeps/i386/fpu/libm-test-ulps: Update.
23250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23251
23252 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23253
23254         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
23255         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
23256
23257 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
23258
23259         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
23260         * config.make.in (config-cflags-sse4): Remove variable.
23261         (config-cflags-avx): Likewise.
23262         (config-cflags-sse2avx): Likewise.
23263         (config-cflags-novzeroupper): Likewise.
23264         (config-asflags-i686): Likewise.
23265         (have-mfma4): Likewise.
23266         (have-as-vis3): Likewise.
23267         (MIG): Likewise.
23268         * configure.in (MIG): Do not AC_SUBST.
23269         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
23270         (libc_cv_cc_sse4): Do not AC_SUBST.
23271         (libc_cv_cc_avx): Likewise.
23272         (libc_cv_cc_sse2avx): Likewise.
23273         (libc_cv_cc_novzeroupper): Likewise.
23274         (libc_cv_cc_fma4): Likewise.
23275         (libc_cv_as_i686): Likewise.
23276         (libc_cv_sparc_as_vis3): Likewise.
23277         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
23278         LIBC_CONFIG_VAR.
23279         (config-asflags-i686): Likewise.
23280         (config-cflags-avx): Likewise.
23281         (config-cflags-sse2avx): Likewise.
23282         (have-mfma4): Likewise.
23283         (config-cflags-novzeroupper): Likewise.
23284         * sysdeps/mach/configure.in (MIG): Likewise.
23285         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
23286         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
23287         LIBC_CONFIG_VAR.
23288         (config-cflags-avx): Likewise.
23289         (config-cflags-sse2avx): Likewise.
23290         (have-mfma4): Likewise.
23291         (config-cflags-novzeroupper): Likewise.
23292         * configure: Regenerated.
23293         * sysdeps/i386/configure: Likewise.
23294         * sysdeps/mach/configure: Likewise.
23295         * sysdeps/sparc/configure: Likewise.
23296         * sysdeps/x86_64/configure: Likewise.
23297
23298 2013-03-20  Roland McGrath  <roland@hack.frob.com>
23299
23300         [BZ #14812]
23301         * locale/programs/localedef.c (options): Put N_ translation marker
23302         on argument names, not just descriptions.
23303
23304 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23305
23306         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
23307
23308 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
23309
23310         [BZ #14176]
23311         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
23312
23313 2013-03-19  Roland McGrath  <roland@hack.frob.com>
23314
23315         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
23316         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
23317         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
23318         [!BEFORE_ABORT] (before_abort): New function.
23319         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
23320         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
23321         (writev_for_fatal): New function.
23322         (WRITEV_FOR_FATAL): New macro; call that.
23323         (backtrace_and_maps): New function.
23324         (BEFORE_ABORT): New macro; call that.
23325         (struct str_list): Type removed.
23326         (__libc_message, __libc_fatal): Functions removed.
23327         Include <sysdeps/posix/libc_fatal.c> instead.
23328
23329 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
23330
23331         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
23332         constants.
23333         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
23334         double constants.
23335
23336 2013-03-19  Andreas Schwab  <schwab@suse.de>
23337
23338         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
23339         * sysdeps/gnu/configure: Regenerate.
23340
23341         * configure.in: Substitute libc_cv_rtlddir.
23342         * configure: Regenerate.
23343         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
23344         * Makeconfig (rtlddir, inst_rtlddir): New variables.
23345         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
23346         * elf/Makefile (install-others, CFLAGS-interp.c)
23347         (ldso_install, common-ldd-rewrite): Likewise.
23348         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
23349         $(inst_slibdir)/$(rtld-installed-name).
23350         * scripts/rellns-sh: Add -p option.
23351         * Makerules (make-shlib-link): Use rellns-sh to get relative name
23352         for source.
23353
23354 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23355
23356         * manual/nptl.texi: Renamed to ...
23357         * manual/threads.texi: ... this.
23358         * manual/Makefile (chapters): Update.
23359
23360 2013-03-18  Roland McGrath  <roland@hack.frob.com>
23361
23362         [BZ #14812]
23363         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
23364         on argument names, not just descriptions.
23365         * malloc/memusagestat.c (options): Likewise.
23366         * nss/getent.c (options): Likewise.
23367
23368 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
23369
23370         [BZ #14812]
23371         * iconv/iconv_prog.c (options): Put N_ translation marker
23372         on argument names, not just descriptions.
23373         * iconv/iconvconfig.c (options): Likewise.
23374
23375 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
23376
23377         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
23378         implementation which is faster on all x86_64 architectures.
23379         Tested on AMD, Intel Nehalem, SNB, IVB.
23380         * sysdeps/x86_64/strnlen.S: Likewise.
23381
23382         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23383         Remove all multiarch strlen and strnlen versions.
23384         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23385         Remove strlen and strnlen related parts.
23386
23387         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
23388         Inline strlen part.
23389         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
23390
23391         * sysdeps/x86_64/multiarch/strlen.S: Remove.
23392         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
23393         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
23394         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
23395         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23396         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
23397
23398 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
23399
23400         * manual/memory.texi (Malloc Tunable Parameters):
23401         Sort parameters alphabetically. Add comments for missing entries.
23402
23403 2013-03-17  David S. Miller  <davem@davemloft.net>
23404
23405         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23406
23407 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
23408
23409         [BZ #15283]
23410         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
23411         for arguments at most half maximum finite value.
23412         * math/libm-test.inc (j0_test): Add more tests.
23413         (j1_test): Likewise.
23414         (y0_test): Likewise.
23415         (y1_test): Likewise.
23416         * sysdeps/i386/fpu/libm-test-ulps: Update.
23417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23418
23419         [BZ #14155]
23420         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
23421         1 / x and functions P and Q for arguments above 0x1p256L.
23422         (__ieee754_y0l): Likewise.
23423         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
23424         (__ieee754_y1l): Likewise.
23425         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
23426         (j1_test): Likewise.
23427         (y0_test): Likewise.
23428         (y1_test): Likewise.
23429
23430 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
23431
23432         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
23433         variable.
23434
23435 2013-03-15  Roland McGrath  <roland@hack.frob.com>
23436
23437         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
23438         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
23439         zero since it's initialized to EXEC_PAGESIZE.
23440
23441         * sysdeps/unix/sysv/linux/ldsodefs.h
23442         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
23443         * sysdeps/generic/ldsodefs.h: ... here.
23444
23445 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
23446
23447         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
23448
23449         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
23450         math/test-snan.c.
23451         * math/test-snan.c: Renamed from
23452         sysdeps/powerpc/fpu/test-powerpc-snan.c.
23453         * math/Makefile (tests): Add test-snan.
23454         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
23455         test-powerpc-snan.
23456
23457         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
23458         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
23459         functions.
23460         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
23461         __builtin_nan family of functions.
23462         * math/libm-test.inc (initialize): Initialize qnan_value with
23463         __builtin_nan family of functions.
23464         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
23465         Remove variables.
23466         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
23467         Remove functions.
23468         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
23469         storage class.  Initialize qNaN_var and sNaN_var with
23470         __builtin_nan and __builtin_nans families of functions,
23471         respectively.
23472
23473         * math/libm-test.inc (acosh_test): Also test with qNaN input.
23474         (sqrt_test): Remove duplicate test with qNaN input.
23475         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
23476         (round_test, signbit_test, significand_test): Note missing +/-Inf
23477         as well as qNaN tests.
23478
23479         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
23480         qNaN_var.  Fix a few strings, too.
23481         * math/libm-test.inc (nan_value): Rename to qnan_value.
23482         * math/gen-libm-test.pl (%beautify): Adjust to that.
23483         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
23484         * math/test-misc.c (main): Likewise.
23485         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
23486         to __qnan_bytes, and __qnan_union, respectively.
23487         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
23488         Likewise.
23489         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
23490         and lqnanval, respectively.
23491         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
23492         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
23493         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
23494         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
23495
23496         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
23497         * math/test-misc.c (main) [__x86_64__]: Enable test for long
23498         doubles.
23499
23500         * math/test-misc.c (main): Fix copy'n'pastos.
23501         * misc/tst-efgcvt.c (special): Likewise.
23502
23503         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
23504         Remove declarations.
23505
23506 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23507
23508         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
23509         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
23510         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
23511         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
23512
23513 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23514
23515         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
23516         macro to return vdso values correctly in IFUNC implementations.
23517         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23518         Optimization by using IFUNC.
23519
23520 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23521             Richard Henderson  <rth@redhat.com>
23522             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23523
23524         * Makefile.in (bench): New target.
23525         * NEWS: Mention the benchmark framework.
23526         * Rules (bench): Likewise.
23527         (binaries-bench): Generate binaries for functions to
23528         benchmark.
23529         * benchtests/Makefile: New makefile for benchmark tests.
23530         * benchtests/bench-skeleton.c: New skeleton file for benchmark
23531         programs.
23532         * benchtests/exp-inputs: New input file for EXP function.
23533         * benchtests/pow-inputs: New input file for POW function.
23534         * scripts/bench.pl: New script to generate source files for
23535         benchmark programs.
23536
23537 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23538
23539         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23540         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
23541         computations on mantissa.  Use macros for rounding and
23542         division.
23543         (denorm): Likewise.
23544         (__dbl_mp): Likewise.
23545         (add_magnitudes): Likewise.
23546         (sub_magnitudes): Likewise.
23547         (__mul): Likewise.
23548         (__sqr): Likewise.
23549         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
23550         powers of two in terms of TWOPOW macro.
23551         (mp_no): Make type of mantissa as MANTISSA_T.
23552         [!RADIXI]: Define RADIXI.
23553         [!TWO52]: Define TWO52.
23554         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23555
23556         * manual/nptl.texi (cindex): Modify threads to pthreads.
23557
23558 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
23559
23560         * sysdeps/x86_64/preconfigure: Regenerated.
23561
23562 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
23563
23564         [BZ #14155]
23565         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
23566         0x1p28 and above.
23567         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
23568         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
23569         0x1p28 and above.
23570         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
23571         * math/libm-test.inc (j0_test): Do not allow one spurious
23572         underflow exception.
23573         (y1_test): Likewise.
23574
23575 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23576
23577         * manual/Makefile (chapters): Add nptl.
23578         * manual/debug.texi (Debugging Support): Add link to Threads
23579         chapter.
23580         * manual/nptl.texi: New file.
23581
23582         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
23583
23584 2013-03-14  Petr Baudis  <pasky@ucw.cz>
23585
23586         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
23587         for non-NULL pointer before the memory validity test. Pointed
23588         out by Holger Brunck <holger.brunck@keymile.com>.
23589
23590 2013-03-13  Andreas Schwab  <schwab@suse.de>
23591
23592         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
23593         instead of .os.
23594
23595 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
23596
23597         * timezone/zic.c: Update from tzcode 2013b.
23598
23599 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
23600
23601         * manual/install.texi (Configuring and compiling):
23602         Mention i686 and i586.
23603         * INSTALL: Regenerate.
23604
23605 2013-03-12  Roland McGrath  <roland@hack.frob.com>
23606
23607         * sysdeps/init_array/elf-init.c: New file.
23608         * csu/elf-init.c
23609         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
23610         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
23611
23612         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
23613         __gmon_start__ as global, but as static with a .preinit_array pointer.
23614         * sysdeps/init_array/gmon-start.c: New file.  Use that.
23615         * sysdeps/init_array/crti.S: New file, empty except for comments.
23616         * sysdeps/init_array/crtn.S: Likewise.
23617
23618 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
23619
23620         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
23621         definining bcopy.
23622         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23623         Remove Prefer_SSE_for_memop.
23624         * sysdeps/x86_64/multiarch/init-arch.h: Remove
23625         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
23626         HAS_PREFER_SSE_FOR_MEMOP.
23627         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23628         memset-x86-64.
23629         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23630         Remove bzero, memset ifunc support.
23631         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
23632         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
23633         * sysdeps/x86_64/multiarch/memset.S: Likewise.
23634         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23635
23636 2013-03-11  Andreas Schwab  <schwab@suse.de>
23637
23638         [BZ #15234]
23639         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
23640         by SHLIB_COMPAT.
23641         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
23642         (GLIBC_2.16): Remove pthread_atfork.
23643
23644 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
23645
23646         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
23647         (ptestcases.h): Likewise.
23648
23649 2013-03-08  Roland McGrath  <roland@hack.frob.com>
23650
23651         * Makeconfig ($(common-objpfx)config.status): Depend on
23652         sysdeps/*/preconfigure{,.in} too.
23653
23654 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
23655
23656         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
23657         (__free_hook): Use void * instead of __malloc_ptr_t.
23658         (__malloc_hook): Likewise.
23659         (__realloc_hook): Likewise.
23660         (__memalign_hook): Likewise.
23661         (__after_morecore_hook): Likewise.
23662         * malloc/arena.c (save_malloc_hook): Likewise.
23663         (save_free_hook): Likewise.
23664         * malloc/hooks.c (malloc_hook_ini): Likewise.
23665         (realloc_hook_ini): Likewise.
23666         (memalign_hook_ini): Likewise.
23667         * malloc/malloc.c (malloc_hook_ini): Likewise.
23668         (realloc_hook_ini): Likewise.
23669         (memalign_hook_ini): Likewise.
23670         (__free_hook): Likewise.
23671         (__malloc_hook): Likewise.
23672         (__realloc_hook): Likewise.
23673         (__memalign_hook): Likewise.
23674         (__libc_malloc): Likewise.
23675         (__libc_free): Likewise.
23676         (__libc_realloc): Likewise.
23677         (__libc_memalign): Likewise.
23678         (__libc_valloc): Likewise.
23679         (__libc_pvalloc): Likewise.
23680         (__libc_calloc): Likewise.
23681         (__posix_memalign): Likewise.
23682         * malloc/morecore.c (__sbrk): Likewise.
23683         (__default_morecore): Likewise.
23684
23685         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
23686
23687         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
23688         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
23689         __malloc_ptrdiff_t.
23690
23691         * malloc/malloc.h (__malloc_size_t): Remove macro.
23692         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
23693         __malloc_size_t.
23694         (old_memalign_hook): Likewise.
23695         (old_realloc_hook): Likewise.
23696         (struct hdr): Likewise.
23697         (flood): Likewise.
23698         (mallochook): Likewise.
23699         (memalignhook): Likewise.
23700         (reallochook): Likewise.
23701         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
23702         (tr_old_realloc_hook): Likewise.
23703         (tr_old_memalign_hook): Likewise.
23704         (tr_mallochook): Likewise.
23705         (tr_reallochook): Likewise.
23706         (tr_memalignhook): Likewise.
23707
23708 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23709
23710         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
23711         default_ldbl_pack and using as default implementation.
23712         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
23713         implementation.
23714         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
23715         redundant definition.
23716         (ldbl_insert_mantissa): Likewise.
23717         (ldbl_canonicalize): Likewise.
23718         (ldbl_nearbyint): Likewise.
23719         (ldbl_pack): Rename to ldbl_pack_ppc.
23720         (ldbl_unpack): Rename to ldbl_unpack_ppc.
23721         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
23722         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
23723
23724 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23725
23726         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
23727         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
23728         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
23729         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
23730         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
23731         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
23732         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
23733         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
23734
23735 2013-03-07  Andreas Jaeger  <aj@suse.de>
23736
23737         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23738         bits/mman-linux.h.
23739
23740 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
23741
23742         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23743         Include mpa.h and declare __MPEXP.
23744         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23745         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23746         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23747         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23748         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23749         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23750         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23751
23752         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23753         (__slowpow): Use long double EXPL and LOGL functions to
23754         compute POW.
23755         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23756         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23757         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23758         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23759         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23760         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23761
23762         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23763         intermediate variable to calculate exponent.
23764         (__sqr): Likewise.
23765         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23766         Likewise.
23767         (__sqr): Likewise.
23768
23769         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23770         [!NO__SQR]: Define __sqr.
23771         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23772         and NO__SQR.  Remove all code except __mul and __sqr.  Include
23773         sysdeps/ieee754/dbl-64/mpa.c.
23774         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23775
23776         [BZ #12723]
23777         * posix/Makefile (tests): Add tst-pathconf.
23778         * posix/tst-pathconf.c: New test case.
23779         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23780         _PC_PIPE_BUF.
23781         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23782
23783 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
23784
23785         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23786
23787 2013-03-06  Andreas Jaeger  <aj@suse.de>
23788
23789         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23790         definition via __MAP_ANONYMOUS.
23791
23792         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23793         it's not part of Linux headers.
23794
23795         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23796         (MAP_HUGE_MASK): Define.
23797
23798         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23799         Define.
23800         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23801         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23802         Define.
23803         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23804         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23805         Define.
23806         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23807         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23808         Define.
23809         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23810
23811         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23812         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
23813         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
23814         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23815         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
23816         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23817
23818         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23819         Handle f2fs.
23820
23821         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23822         Handle f2fs and efivarfs.
23823
23824         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23825         f2fs.
23826
23827         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23828         (EFIVARFS_MAGIC): Add.
23829         (F2FS_LINK_MAX): Add.
23830
23831 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23832
23833         * stdio-common/vfprintf.c: Replace __builtin_expect with
23834         __glibc_unlikely.
23835
23836 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
23837
23838         [BZ #13550]
23839         * sysdeps/generic/bp-sym.h: Remove file.
23840         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23841         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23842         <bp-sym.h> and <bp-asm.h>.
23843         (__longjmp): Don't use BP_SYM.
23844         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23845         and <bp-asm.h>.
23846         (memcpy): Don't use BP_SYM.
23847         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23848         <bp-sym.h> and <bp-asm.h>.
23849         (memcpy): Don't use BP_SYM.
23850         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23851         <bp-asm.h>.
23852         (memcpy): Don't use BP_SYM.
23853         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23854         <bp-asm.h>.
23855         (memset): Don't use BP_SYM.
23856         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23857         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23858         (__bzero): Don't use BP_SYM.
23859         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23860         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23861         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23862         <bp-sym.h> and <bp-asm.h>.
23863         (memcmp): Don't use BP_SYM.  Remove comment about bounded
23864         pointers.
23865         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23866         <bp-sym.h> and <bp-asm.h>.
23867         (memcpy): Don't use BP_SYM.
23868         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23869         <bp-sym.h> and <bp-asm.h>.
23870         (memset): Don't use BP_SYM.
23871         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23872         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23873         (__bzero): Don't use BP_SYM.
23874         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23875         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23876         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23877         <bp-sym.h> and <bp-asm.h>.
23878         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23879         pointers.
23880         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23881         <bp-sym.h> and <bp-asm.h>.
23882         (memcpy): Don't use BP_SYM.
23883         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23884         <bp-sym.h> and <bp-asm.h>.
23885         (memset): Don't use BP_SYM.
23886         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23887         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23888         (__bzero): Don't use BP_SYM.
23889         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23890         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23891         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23892         <bp-sym.h> and <bp-asm.h>.
23893         (__memchr): Don't use BP_SYM.
23894         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23895         <bp-sym.h> and <bp-asm.h>.
23896         (memcmp): Don't use BP_SYM.  Remove comment about bounded
23897         pointers.
23898         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23899         <bp-sym.h> and <bp-asm.h>.
23900         (memcpy): Don't use BP_SYM.
23901         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23902         <bp-sym.h> and <bp-asm.h>.
23903         (__mempcpy): Don't use BP_SYM.
23904         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23905         <bp-sym.h> and <bp-asm.h>.
23906         (__memrchr): Don't use BP_SYM.
23907         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23908         <bp-sym.h> and <bp-asm.h>.
23909         (memset): Don't use BP_SYM.
23910         (__bzero): Likewise.
23911         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23912         <bp-sym.h> and <bp-asm.h>.
23913         (__rawmemchr): Don't use BP_SYM.
23914         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23915         <bp-sym.h> and <bp-asm.h>.
23916         (__STRCMP): Don't use BP_SYM.
23917         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23918         <bp-sym.h> and <bp-asm.h>.
23919         (strchr): Don't use BP_SYM.
23920         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23921         <bp-sym.h> and <bp-asm.h>.
23922         (__strchrnul): Don't use BP_SYM.
23923         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23924         <bp-sym.h> and <bp-asm.h>.
23925         (strlen): Don't use BP_SYM.
23926         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23927         <bp-sym.h> and <bp-asm.h>.
23928         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23929         pointers.
23930         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23931         <bp-sym.h> and <bp-asm.h>.
23932         (__strnlen): Don't use BP_SYM.
23933         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23934         <bp-sym.h> and <bp-asm.h>.
23935         (__GI__setjmp): Don't use BP_SYM.
23936         (_setjmp): Likewise.
23937         (__sigsetjmp): Likewise.
23938         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23939         (L(start_addresses)): Don't use BP_SYM.
23940         (_start): Likewise.
23941         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23942         <bp-asm.h>.
23943         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23944         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23945         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23946         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23947         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23948         <bp-asm.h>.
23949         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23950         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
23951         about bounded pointers.
23952         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23953         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23954         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23955         <bp-asm.h>.
23956         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
23957         about bounded pointers.  Remove GKM FIXME comments.
23958         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23959         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23960         <bp-asm.h>.
23961         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23962         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
23963         Remove GKM FIXME comments.
23964         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23965         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23966         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23967         <bp-asm.h>.
23968         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
23969         about bounded pointers.  Remove GKM FIXME comment.
23970         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23971         and <bp-asm.h>.
23972         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23973         pointers.
23974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23975         <bp-sym.h> and <bp-asm.h>.
23976         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23978         <bp-sym.h> and <bp-asm.h>.
23979         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
23980         comment.
23981
23982 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23983
23984         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23985         call free(NULL).
23986
23987 2013-03-05  David S. Miller  <davem@davemloft.net>
23988
23989         * po/es.po: Update from translation team.
23990
23991 2013-03-05  Andreas Jaeger  <aj@suse.de>
23992
23993         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23994         <bits/mman-linux.h>.
23995         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23996         is fine.
23997         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23998         <bits/mman-linux.h> to end of file.
23999         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24000         is fine.
24001         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
24002         <bits/mman-linux.h> to end of file.
24003         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24004         is fine.
24005         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
24006         <bits/mman-linux.h> to end of file.
24007
24008         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
24009         (MCL_CURRENT, MCL_FUTURE): Define here.
24010
24011 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24012
24013         [BZ #15232]
24014         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
24015         attribute_hidden.
24016         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24017
24018 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24019
24020         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
24021         fourth parameter needed for rt_sigprocmask syscall.
24022         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
24023         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24024         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
24025         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24026         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24027         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
24028
24029 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
24030
24031         [BZ #13550]
24032         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
24033         comment about bounded pointers.
24034         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
24035         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
24036
24037 2013-03-04  Andreas Jaeger  <aj@suse.de>
24038
24039         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
24040         common definitions.
24041
24042         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
24043         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
24044         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
24045         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24046         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
24047         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24048
24049 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24050
24051         [BZ #15055]
24052         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
24053         __ieee754_sqrl instead of __sqrl.
24054
24055 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
24056
24057         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
24058         * sysdeps/powerpc/fpu_control.h: ... here.
24059         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
24060         * sysdeps/powerpc/bits/fenvinline.h: ... here.
24061         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
24062         * sysdeps/powerpc/bits/mathinline.h: ... here.
24063
24064 2013-03-01  Roland McGrath  <roland@hack.frob.com>
24065
24066         * elf/dl-hwcaps.c (_dl_important_hwcaps):
24067         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
24068         to just [NEED_DL_SYSINFO_DSO].
24069         * elf/dl-support.c: Likewise.
24070         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
24071         * elf/rtld.c (dl_main): Likewise.
24072         * elf/setup-vdso.h (setup_vdso): Likewise.
24073         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
24074         * sysdeps/unix/sysv/linux/dl-sysdep.c
24075         (_dl_discover_osversion): Likewise.
24076
24077 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
24078
24079         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
24080         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24081
24082 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
24083
24084         * NEWS: Mention libm performance improvements and non-x86 PI
24085         futex support.
24086
24087         * csu/libc-start.c (__pthread_initialize_minimal): Change
24088         function arguments.
24089         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24090
24091 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
24092
24093         [BZ #13550]
24094         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
24095         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
24096         <bp-sym.h> and <bp-asm.h>.
24097         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24098         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
24099         and <bp-asm.h>.
24100         (memcpy): Don't use BP_SYM.
24101         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
24102         <bp-asm.h>.
24103         (__mpn_add_n): Don't use BP_SYM.
24104         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
24105         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
24106         and <bp-asm.h>.
24107         (__mpn_addmul_1): Don't use BP_SYM.
24108         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24109         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
24110         <bp-sym.h>.
24111         (_setjmp): Don't use BP_SYM.
24112         (__novmx_setjmp): Likewise.
24113         (__GI__setjmp): Likewise.
24114         (__vmx_setjmp): Likewise.
24115         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
24116         <bp-sym.h>.
24117         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
24118         (__bzero): Don't use BP_SYM.
24119         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24120         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24121         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
24122         <bp-sym.h> and <bp-asm.h>.
24123         (memcpy): Don't use BP_SYM.
24124         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
24125         <bp-sym.h> and <bp-asm.h>.
24126         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24127         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
24128         <bp-sym.h> and <bp-asm.h>.
24129         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24130         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
24131         <bp-asm.h>.
24132         (__mpn_lshift): Don't use BP_SYM.
24133         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24134         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
24135         <bp-asm.h>.
24136         (memset): Don't use BP_SYM.
24137         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24138         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24139         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
24140         <bp-asm.h>.
24141         (__mpn_mul_1): Don't use BP_SYM.
24142         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24143         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
24144         <bp-sym.h> and <bp-asm.h>.
24145         (memcmp): Don't use BP_SYM.
24146         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
24147         <bp-sym.h> and <bp-asm.h>.
24148         (memcpy): Don't use BP_SYM.
24149         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
24150         <bp-sym.h> and <bp-asm.h>.
24151         (memset): Don't use BP_SYM.
24152         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
24153         <bp-sym.h> and <bp-asm.h>.
24154         (strncmp): Don't use BP_SYM.
24155         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
24156         <bp-sym.h> and <bp-asm.h>.
24157         (memcpy): Don't use BP_SYM.
24158         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
24159         <bp-sym.h> and <bp-asm.h>.
24160         (memset): Don't use BP_SYM.
24161         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
24162         <bp-sym.h> and <bp-asm.h>.
24163         (__memchr): Don't use BP_SYM.
24164         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
24165         <bp-sym.h> and <bp-asm.h>.
24166         (memcmp): Don't use BP_SYM.
24167         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
24168         <bp-sym.h> and <bp-asm.h>.
24169         (memcpy): Don't use BP_SYM.
24170         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
24171         <bp-sym.h> and <bp-asm.h>.
24172         (__mempcpy): Don't use BP_SYM.
24173         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
24174         <bp-sym.h> and <bp-asm.h>.
24175         (__memrchr): Don't use BP_SYM.
24176         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
24177         <bp-sym.h> and <bp-asm.h>.
24178         (memset): Don't use BP_SYM.
24179         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
24180         <bp-sym.h> and <bp-asm.h>.
24181         (__rawmemchr): Don't use BP_SYM.
24182         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
24183         <bp-sym.h> and <bp-asm.h>.
24184         (__STRCMP): Don't use BP_SYM.
24185         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
24186         <bp-sym.h> and <bp-asm.h>.
24187         (strchr): Don't use BP_SYM.
24188         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
24189         <bp-sym.h> and <bp-asm.h>.
24190         (__strchrnul): Don't use BP_SYM.
24191         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
24192         <bp-sym.h> and <bp-asm.h>.
24193         (strlen): Don't use BP_SYM.
24194         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
24195         <bp-sym.h> and <bp-asm.h>.
24196         (strncmp): Don't use BP_SYM.
24197         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
24198         <bp-sym.h> and <bp-asm.h>.
24199         (__strnlen): Don't use BP_SYM.
24200         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
24201         <bp-asm.h>.
24202         (__mpn_rshift): Don't use BP_SYM.
24203         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24204         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
24205         <bp-sym.h> and <bp-asm.h>.
24206         (__sigsetjmp): Don't use BP_SYM.
24207         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
24208         (L(start_addresses)): Don't use BP_SYM.
24209         (_start): Likewise.
24210         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
24211         <bp-asm.h>.
24212         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
24213         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24214         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24215         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
24216         <bp-asm.h>.
24217         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
24218         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24219         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24220         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
24221         <bp-asm.h>.
24222         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
24223         comments.
24224         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24225         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
24226         <bp-asm.h>.
24227         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
24228         FIXME comments.
24229         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24230         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24231         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
24232         <bp-asm.h>.
24233         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
24234         comment.
24235         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
24236         and <bp-asm.h>.
24237         (strncmp): Don't use BP_SYM,
24238         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
24239         <bp-asm.h>.
24240         (__mpn_sub_n): Don't use BP_SYM.
24241         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24242         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
24243         and <bp-asm.h>.
24244         (__mpn_submul_1): Don't use BP_SYM.
24245         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
24247         <bp-sym.h> and <bp-asm.h>.
24248         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
24250         <bp-sym.h> and <bp-asm.h>.
24251         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
24252         comment.
24253
24254 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24255
24256         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
24257         Use ZK to minimize writes to Z.
24258         (sub_magnitudes): Simplify code a bit.
24259         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
24260         Use ZK to minimize writes to Z.
24261         (sub_magnitudes): Simplify code a bit.
24262
24263 2013-02-27  Roland McGrath  <roland@hack.frob.com>
24264
24265         * csu/gmon-start.c: Add special exception to license text.
24266
24267 2013-02-27  Richard Henderson  <rth@redhat.com>
24268
24269         * scripts/config.guess: Update from config.git.
24270         * scripts/config.sub: Likewise.
24271
24272 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24273
24274         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
24275
24276         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
24277
24278         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
24279
24280         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
24281
24282         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
24283
24284 2013-02-26  Roland McGrath  <roland@hack.frob.com>
24285
24286         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
24287         [$(build-shared = yes].
24288
24289 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24290
24291         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
24292         (__mul): Reduce iterations for calculating mantissa.
24293
24294         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
24295         MPTWO.
24296         (__mpranred): Likewise.
24297
24298         [BZ #15160]
24299         * malloc/memusagestat.c (main): Draw graphs for heap and stack
24300         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
24301
24302 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
24303
24304         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
24305         Define __attribute__.
24306
24307 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24308
24309         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
24310         unused.
24311         * posix/regex_internal.h (__attribute): Remove.
24312         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
24313         (re_string_context_at): Likewise.
24314         (bitset_not): Use __attribute__ and mark function as possibly
24315         unused.
24316         (bitset_merge): Likewise.
24317         (bitset_mask): Likewise.
24318         (re_string_char_size_at): Likewise.
24319         (re_string_wchar_at): Likewise.
24320         (re_string_elem_size_at): Likewise.
24321
24322 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
24323
24324         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
24325         code.
24326         (cc32): Likewise.
24327
24328         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
24329         (__acr): Likewise.
24330         (__cpy): Likewise.
24331         (norm): Likewise.
24332         (denorm): Likewise.
24333         (__dbl_mp): Likewise.
24334         (add_magnitudes): Likewise.
24335         (sub_magnitudes): Likewise.
24336         (__mul): Likewise.
24337         (__inv): Likewise.
24338
24339         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
24340         style.
24341
24342         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
24343         style.
24344
24345         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
24346         code.
24347
24348         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
24349         up changes with default code.
24350         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
24351         Likewise.
24352
24353 2013-02-24  Allan McRae  <allan@archlinux.org>
24354
24355         * manual/socket.texi (The Internet Namespace): Order menu items
24356         to match that in the file.
24357
24358         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
24359         node listing of the info page menu.
24360
24361 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
24362
24363         [BZ #13550]
24364         * sysdeps/i386/bp-asm.h: Remove file.
24365         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24366         (PARMS): Do not use macros from bp-asm.h.
24367         (S1): Likewise.
24368         (S2): Likewise.
24369         (SIZE): Likewise.
24370         (__mpn_add_n): Do not use BP_SYM
24371         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
24372         "bp-asm.h".
24373         (PARMS): Do not use macros from bp-asm.h.
24374         (S1): Likewise.
24375         (SIZE): Likewise.
24376         (__mpn_addmul_1): Do not use BP_SYM
24377         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
24378         "bp-asm.h".
24379         (PARMS): Do not use macros from bp-asm.h.
24380         (SIGMSK): Likewise.
24381         (_setjmp): Likewise.  Do not use BP_SYM.
24382         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
24383         "bp-asm.h".
24384         (PARMS): Do not use macros from bp-asm.h.
24385         (SIGMSK): Likewise.
24386         (setjmp): Likewise.  Do not use BP_SYM.
24387         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
24388         "bp-asm.h".
24389         (PARMS): Do not use macros from bp-asm.h.
24390         (__frexp): Do not use BP_SYM.
24391         (frexp): Likewise.
24392         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
24393         "bp-asm.h".
24394         (PARMS): Do not use macros from bp-asm.h.
24395         (__frexpf): Do not use BP_SYM.
24396         (frexpf): Likewise.
24397         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
24398         "bp-asm.h".
24399         (PARMS): Do not use macros from bp-asm.h.
24400         (__frexpl): Do not use BP_SYM.
24401         (frexpl): Likewise.
24402         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
24403         "bp-asm.h".
24404         (PARMS): Do not use macros from bp-asm.h.
24405         (__remquo): Do not use BP_SYM.
24406         (remquo): Likewise.
24407         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
24408         "bp-asm.h".
24409         (PARMS): Do not use macros from bp-asm.h.
24410         (__remquof): Do not use BP_SYM.
24411         (remquof): Likewise.
24412         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
24413         "bp-asm.h".
24414         (PARMS): Do not use macros from bp-asm.h.
24415         (__remquol): Do not use BP_SYM.
24416         (remquol): Likewise.
24417         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
24418         "bp-asm.h".
24419         (PARMS): Do not use macros from bp-asm.h.
24420         (DEST): Likewise.
24421         (SRC): Likewise.
24422         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
24423         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
24424         "bp-asm.h".
24425         (PARMS): Do not use macros from bp-asm.h.
24426         (strlen): Do not use BP_SYM.
24427         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
24428         "bp-asm.h".
24429         (PARMS): Do not use macros from bp-asm.h.
24430         (S1): Likewise.
24431         (S2): Likewise.
24432         (SIZE): Likewise.
24433         (__mpn_add_n): Do not use BP_SYM.
24434         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
24435         "bp-asm.h".
24436         (PARMS): Do not use macros from bp-asm.h.
24437         (S1): Likewise.
24438         (SIZE): Likewise.
24439         (__mpn_addmul_1): Do not use BP_SYM.
24440         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
24441         weak_alias.
24442         (bzero): Likewise.
24443         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
24444         "bp-asm.h".
24445         (PARMS): Do not use macros from bp-asm.h.
24446         (S): Likewise.
24447         (SIZE): Likewise.
24448         (__mpn_lshift): Do not use BP_SYM.
24449         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
24450         "bp-asm.h".
24451         (PARMS): Do not use macros from bp-asm.h.
24452         (DEST): Likewise.
24453         (SRC): Likewise.
24454         (LEN): Likewise.
24455         (memcpy): Likewise.  Do not use BP_SYM.
24456         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
24457         libc_hidden_def and weak_alias.
24458         (mempcpy): Do not use BP_SYM in weak_alias.
24459         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
24460         "bp-asm.h".
24461         (PARMS): Do not use macros from bp-asm.h.
24462         (DEST): Likewise.
24463         (LEN): Likewise.
24464         [!BZERO_P] (CHR): Likewise.
24465         (memset): Likewise.  Do not use BP_SYM.
24466         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
24467         "bp-asm.h".
24468         (PARMS): Do not use macros from bp-asm.h.
24469         (S1): Likewise.
24470         (SIZE): Likewise.
24471         (__mpn_mul_1): Do not use BP_SYM.
24472         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
24473         "bp-asm.h".
24474         (PARMS): Do not use macros from bp-asm.h.
24475         (S): Likewise.
24476         (SIZE): Likewise.
24477         (__mpn_rshift): Do not use BP_SYM.
24478         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
24479         "bp-asm.h".
24480         (PARMS): Do not use macros from bp-asm.h.
24481         (STR): Likewise.
24482         (CHR): Likewise.
24483         (strchr): Likewise.  Do not use BP_SYM.
24484         (index): Do not use BP_SYM in weak_alias.
24485         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
24486         "bp-asm.h".
24487         (PARMS): Do not use macros from bp-asm.h.
24488         (DEST): Likewise.
24489         (SRC): Likewise.
24490         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
24491         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
24492         "bp-asm.h".
24493         (PARMS): Do not use macros from bp-asm.h.
24494         (strlen): Do not use BP_SYM.
24495         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
24496         "bp-asm.h".
24497         (PARMS): Do not use macros from bp-asm.h.
24498         (S1): Likewise.
24499         (S2): Likewise.
24500         (SIZE): Likewise.
24501         (__mpn_sub_n): Do not use BP_SYM.
24502         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
24503         "bp-asm.h".
24504         (PARMS): Do not use macros from bp-asm.h.
24505         (S1): Likewise.
24506         (SIZE): Likewise.
24507         (__mpn_submul_1): Do not use BP_SYM.
24508         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
24509         "bp-asm.h".
24510         (PARMS): Do not use macros from bp-asm.h.
24511         (S1): Likewise.
24512         (S2): Likewise.
24513         (SIZE): Likewise.
24514         (__mpn_add_n): Do not use BP_SYM.
24515         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
24516         weak_alias.
24517         (bzero): Likewise.
24518         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
24519         "bp-asm.h".
24520         (PARMS): Do not use macros from bp-asm.h.
24521         (BLK2): Likewise.
24522         (LEN): Likewise.
24523         (memcmp): Do not use BP_SYM.
24524         (bcmp): Do not use BP_SYM in weak_alias.
24525         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
24526         "bp-asm.h".
24527         (PARMS): Do not use macros from bp-asm.h.
24528         (DEST): Likewise.
24529         (SRC): Likewise.
24530         (LEN): Likewise.
24531         (memcpy): Likewise.  Do not use BP_SYM.
24532         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
24533         "bp-asm.h".
24534         (PARMS): Do not use macros from bp-asm.h.
24535         (DEST): Likewise.
24536         (SRC): Likewise.
24537         (LEN): Likewise.
24538         (memmove): Likewise.  Do not use BP_SYM.
24539         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
24540         "bp-asm.h".
24541         (PARMS): Do not use macros from bp-asm.h.
24542         (DEST): Likewise.
24543         (SRC): Likewise.
24544         (LEN): Likewise.
24545         (__mempcpy): Likewise.  Do not use BP_SYM.
24546         (mempcpy): Do not use BP_SYM in weak_alias.
24547         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
24548         "bp-asm.h".
24549         (PARMS): Do not use macros from bp-asm.h.
24550         (DEST): Likewise.
24551         (LEN): Likewise.
24552         [!BZERO_P] (CHR): Likewise.
24553         (memset): Likewise.  Do not use BP_SYM.
24554         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
24555         "bp-asm.h".
24556         (PARMS): Do not use macros from bp-asm.h.
24557         (STR2): Likewise.
24558         (strcmp): Do not use BP_SYM.
24559         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
24560         "bp-asm.h".
24561         (PARMS): Do not use macros from bp-asm.h.
24562         (STR): Likewise.
24563         (DELIM): Likewise.
24564         [USE_AS_STRTOK_R] (SAVE): Likewise.
24565         (FUNCTION): Likewise.  Do not use BP_SYM.
24566         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
24567         aliases.
24568         (strtok_r): Likewise.
24569         (__GI___strtok_r): Likewise.
24570         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24571         (PARMS): Do not use macros from bp-asm.h.
24572         (S): Likewise.
24573         (SIZE): Likewise.
24574         (__mpn_lshift): Do not use BP_SYM.
24575         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24576         (PARMS): Do not use macros from bp-asm.h.
24577         (STR): Likewise.
24578         (CHR): Likewise.
24579         (__memchr): Do not use BP_SYM.
24580         (memchr): Do not use BP_SYM in weak_alias.
24581         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24582         (PARMS): Do not use macros from bp-asm.h.
24583         (BLK2): Likewise.
24584         (LEN): Likewise.
24585         (memcmp): Do not use BP_SYM.
24586         (bcmp): Do not use BP_SYM in weak_alias.
24587         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
24588         (PARMS): Do not use macros from bp-asm.h.
24589         (S1): Likewise.
24590         (SIZE): Likewise.
24591         (__mpn_mul_1): Do not use BP_SYM.
24592         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
24593         "bp-asm.h".
24594         (PARMS): Do not use macros from bp-asm.h.
24595         (STR): Likewise.
24596         (CHR): Likewise.
24597         (__rawmemchr): Do not use BP_SYM.
24598         (rawmemchr): Do not use BP_SYM in weak_alias.
24599         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24600         (PARMS): Do not use macros from bp-asm.h.
24601         (S): Likewise.
24602         (SIZE): Likewise.
24603         (__mpn_rshift): Do not use BP_SYM.
24604         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24605         (PARMS): Do not use macros from bp-asm.h.
24606         (SIGMSK): Likewise.
24607         (__sigsetjmp): Likewise.  Do not use BP_SYM.
24608         * sysdeps/i386/start.S: Do not include "bp-sym.h".
24609         (_start): Do not use BP_SYM.
24610         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
24611         (PARMS): Do not use macros from bp-asm.h.
24612         (DEST): Likewise.
24613         (SRC): Likewise.
24614         (__stpcpy): Likewise.  Do not use BP_SYM.
24615         (stpcpy): Do not use BP_SYM in weak_alias.
24616         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
24617         "bp-asm.h".
24618         (PARMS): Do not use macros from bp-asm.h.
24619         (DEST): Likewise.
24620         (SRC): Likewise.
24621         (LEN): Likewise.
24622         (__stpncpy): Likewise.  Do not use BP_SYM.
24623         (stpncpy): Do not use BP_SYM in weak_alias.
24624         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24625         (PARMS): Do not use macros from bp-asm.h.
24626         (STR): Likewise.
24627         (CHR): Likewise.
24628         (strchr): Likewise.  Do not use BP_SYM.
24629         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
24630         "bp-asm.h".
24631         (PARMS): Do not use macros from bp-asm.h.
24632         (STR): Likewise.
24633         (CHR): Likewise.
24634         (__strchrnul): Likewise.  Do not use BP_SYM.
24635         (strchrnul): Do not use BP_SYM in weak_alias.
24636         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
24637         "bp-asm.h".
24638         (PARMS): Do not use macros from bp-asm.h.
24639         (STOP): Likewise.
24640         (strcspn): Do not use BP_SYM.
24641         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
24642         "bp-asm.h".
24643         (PARMS): Do not use macros from bp-asm.h.
24644         (STR): Likewise.
24645         (STOP): Likewise.
24646         (strpbrk): Likewise.  Do not use BP_SYM.
24647         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
24648         "bp-asm.h".
24649         (PARMS): Do not use macros from bp-asm.h.
24650         (STR): Likewise.
24651         (CHR): Likewise.
24652         (strrchr): Likewise.  Do not use BP_SYM.
24653         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
24654         (PARMS): Do not use macros from bp-asm.h.
24655         (SKIP): Likewise.
24656         (strspn): Do not use BP_SYM.
24657         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
24658         (PARMS): Do not use macros from bp-asm.h.
24659         (STR): Likewise.
24660         (DELIM): Likewise.
24661         (SAVE): Likewise.
24662         (FUNCTION): Likewise.  Do not use BP_SYM.
24663         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
24664         aliases.
24665         (strtok_r): Likewise.
24666         (__GI___strtok_r): Likewise.
24667         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24668         (PARMS): Do not use macros from bp-asm.h.
24669         (S1): Likewise.
24670         (S2): Likewise.
24671         (SIZE): Likewise.
24672         (__mpn_sub_n): Do not use BP_SYM.
24673         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
24674         "bp-asm.h".
24675         (PARMS): Do not use macros from bp-asm.h.
24676         (S1): Likewise.
24677         (SIZE): Likewise.
24678         (__mpn_submul_1): Do not use BP_SYM.
24679         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
24680         <bp-sym.h>.
24681         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
24682         and <bp-asm.h>.
24683         (PARMS): Do not use macros from bp-asm.h.
24684         (FLAGS): Likewise.
24685         (PTID): Likewise.
24686         (TLS): Likewise.
24687         (CTID): Likewise.
24688         (__clone): Do not use BP_SYM.
24689         (clone): Do not use BP_SYM in weak_alias.
24690         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
24691         and <bp-asm.h>.
24692         (PARMS): Do not use macros from bp-asm.h.
24693         (LEN): Likewise.
24694         (__mmap64): Do not use BP_SYM.
24695         (mmap64): Do not use BP_SYM in weak_alias.
24696         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24697         <bp-sym.h> and <bp-asm.h>.
24698         (PARMS): Do not use macros from bp-asm.h.
24699         (__posix_fadvise64_l64): Do not use BP_SYM.
24700         * sysdeps/unix/sysv/linux/i386/semtimedop.S
24701         (PARMS): Do not use macros from bp-asm.h.
24702         (NSOPS): Likewise.
24703         (semtimedop): Do not use BP_SYM.
24704         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
24705         and <bp-asm.h>.
24706
24707 2013-02-21  Allan McRae  <allan@archlinux.org>
24708
24709         * manual/message.texi (Charset conversion in gettext):
24710         Move @end statement to beginning of line.
24711
24712 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24713
24714         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
24715         static.
24716         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24717         Likewise.
24718
24719         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
24720         (denorm): Likewise.
24721         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
24722         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
24723
24724 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24725
24726         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
24727         tail-call to the resolved function if pltexit isn't needed.
24728
24729 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24730
24731         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
24732         or Y being zero as being unlikely.
24733         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24734         Likewise.
24735
24736 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
24737
24738         * manual/nss.texi (System Databases and Name Service Switch):
24739         Remove frobnicate @pxref.
24740
24741 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
24742
24743         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24744         __attribute__ ((unused)) to __attribute__ ((__unused__)).
24745
24746 2013-02-20  Petr Machata  <pmachata@redhat.com>
24747
24748         * elf/elf.h (R_ARM_TARGET1): New macro.
24749         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24750         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24751         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24752         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24753         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24754         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24755         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24756         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24757         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24758         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24759         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24760         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24761         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24762         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24763         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24764         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24765         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24766         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24767         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24768         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24769         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24770         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24771         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24772         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24773         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24774         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24775         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24776         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24777         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24778         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24779         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24780         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24781         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24782         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24783         (R_ARM_THM_GOT_BREL12): Likewise.
24784         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24785         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24786         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24787         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24788         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24789         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24790         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24791         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24792         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24793
24794 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
24795
24796         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24797         __attribute_used__ to __attribute__ ((unused)).
24798
24799 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24800
24801         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24802         powerpc mpa.c.
24803         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24804         comment formatting.
24805         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24806
24807 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
24808
24809         [BZ #13550]
24810         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24811         Remove macro.
24812         (ENTER): Remove both macro definitions.
24813         (LEAVE): Likewise.
24814         (CHECK_BOUNDS_LOW): Likewise.
24815         (CHECK_BOUNDS_HIGH): Likewise.
24816         (CHECK_BOUNDS_BOTH): Likewise.
24817         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24818         (RETURN_BOUNDED_POINTER): Likewise.
24819         (RETURN_NULL_BOUNDED_POINTER): Likewise.
24820         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24821         (POP_ERRNO_LOCATION_RETURN): Likewise.
24822         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24823         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24824         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24825         macros.
24826         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24827         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24828         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24829         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24830         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24831         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24832         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24833         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24834         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24835         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24836         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24837         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24838         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24839         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24840         removed macros.
24841         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24842         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24843         macros.
24844         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24845         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24846         * sysdeps/i386/i586/memset.S (memset): Likewise.
24847         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24848         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24849         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24850         macros.
24851         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24852         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24853         Change uses of L(2) to L(out).
24854         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24855         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24856         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24857         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24858         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24859         removed macros.
24860         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24861         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24862         macros.
24863         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24864         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24865         (RETURN): Do not use macro LEAVE.
24866         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24867         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24868         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24869         * sysdeps/i386/i686/memset.S (memset): Likewise.
24870         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24871         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24872         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24873         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24874         Likewise.
24875         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24876         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
24877         L(1_2) and L(1_3) into L(1).
24878         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24879         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24880         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24881         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24882         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24883         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24884         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24885         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24886         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24887         macros.
24888         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24889         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24890         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24891         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24892         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24893         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24894         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24895         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24896         * sysdeps/i386/strcspn.S (strcspn): Likewise.
24897         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24898         * sysdeps/i386/strrchr.S (strrchr): Likewise.
24899         * sysdeps/i386/strspn.S (strspn): Likewise.
24900         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24901         conditional code.
24902         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24903         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24904         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24905         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
24906         L(1_3) into L(1_1).
24907         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24908         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24909         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24910         macros.
24911         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24912
24913 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
24914
24915         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24916         macro.
24917
24918 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24919
24920         * math/atest-exp.c (exp_mpn): Remove ROUND.
24921         * math/atest-exp2.c (exp_mpn): Likewise.
24922         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24923
24924         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24925         * stdlib/tst-tls-atexit-lib.c: Likewise.
24926         * stdlib/tst-tls-atexit.c: Likewise.
24927
24928 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24929
24930         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24931         and __attribute_alloc_size__.
24932
24933 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24934
24935         * include/programs/xmalloc.h: Change __attribute_alloc_size to
24936         __attribute_alloc_size__.
24937         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24938         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24939
24940 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24941
24942         * include/programs/xmalloc.h: New file.
24943         * catgets/gencat.c: Include it.
24944         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24945         * elf/pldd.c: Likewise.
24946         * iconv/iconv_charmap.c: Likewise.
24947         * iconv/iconvconfig.c: Likewise.
24948         * iconv/strtab.c: Likewise.
24949         * locale/programs/locale.c: Likewise.
24950         * locale/programs/localedef.h: Likewise.
24951         * locale/programs/simple-hash.c: Likewise.
24952         * nscd/nscd.h: Likewise.
24953         * nss/makedb.c: Likewise.
24954         * sysdeps/generic/ldconfig.h: Likewise.
24955
24956 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24957
24958         * Versions.def: Add GLIBC_2.18.
24959         * include/link.h (struct link_map): New member l_tls_dtor_count.
24960         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24961         (__call_tls_dtors): Likewise.
24962         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24963         __cxa_thread_atexit_impl.
24964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24965         Likewise.
24966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24967         Likewise.
24968         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24969         Likewise.
24970         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24971         Likewise.
24972         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24973         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24974         Likewise.
24975         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24976         Likewise.
24977         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24978         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24979         Likewise.
24980         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24981         (tests): Add test case tst-tls-atexit.
24982         (modules-names): Add shared library for tst-tls-atexit.
24983         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
24984         (GLIBC_PRIVATE): Add __call_tls_dtors.
24985         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24986         for libstdc++.
24987         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24988         * stdlib/tst-tls-atexit.c: New test case.
24989         * stdlib/tst-tls-atexit-lib.c: New test case.
24990
24991         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
24992
24993         * elf/Versions (ld): Add _dl_find_dso_for_object.
24994         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24995         * elf/dl-open.c (_dl_find_dso_for_object): New function.
24996         (dl_open_worker): Use _dl_find_dso_for_object.
24997         * elf/dl-sym.c (do_sym): Likewise.
24998         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24999
25000 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25001
25002         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
25003         Syntactic changes only.
25004         (_dl_runtime_profile): Do a tail-call to the resolved function.
25005
25006 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
25007
25008         [BZ #13550]
25009         * sysdeps/x86_64/bp-asm.h: Remove file.
25010         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
25011         <bp-sym.h> and <bp-asm.h>.
25012         (__clone): Do not use BP_SYM.
25013         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
25014         <bp-sym.h> and <bp-asm.h>.
25015         * sysdeps/unix/x86_64/sysdep.S: Likewise.
25016         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
25017         "bp-asm.h".
25018         (_setjmp): Do not use BP_SYM.
25019         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
25020         "bp-asm.h".
25021         (setjmp): Do not use BP_SYM.
25022         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
25023         libc_hidden_def.
25024         (mempcpy): Do not use BP_SYM in weak_alias.
25025         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
25026         "bp-asm.h".
25027         (strchr): Do not use BP_SYM.
25028         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
25029         "bp-asm.h".
25030         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
25031         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
25032         (_start): Do not use BP_SYM.
25033         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
25034         "bp-asm.h".
25035         (strcat): Do not use BP_SYM.
25036         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
25037         "bp-asm.h".
25038         (STRCMP): Do not use BP_SYM.
25039         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
25040         "bp-asm.h".
25041         (STRCPY): Do not use BP_SYM.
25042         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
25043         "bp-asm.h".
25044         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
25045         "bp-asm.h".
25046         (FUNCTION): Do not use BP_SYM.
25047         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
25048         weak_alias.
25049         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
25050
25051 2013-02-17  Andreas Jaeger  <aj@suse.de>
25052
25053         * time/Versions: Sort entries.
25054         * string/Versions: Likewise.
25055         * resolv/Versions: Likewise.
25056         * posix/Versions: Likewise.
25057         * iconv/Versions: Likewise.
25058         * elf/Versions: Likewise.
25059         * wcsmbs/Versions: Likewise.
25060
25061 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25062
25063         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
25064         loop termination condition.
25065
25066         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
25067         variable to calculate EZ.
25068         (__sqr): Likewise.
25069
25070         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
25071         the lower precision input.
25072
25073 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
25074
25075         [BZ #13550]
25076         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
25077         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
25078         (run-via-rtld-prefix): Do not handle %-bp tests.
25079         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
25080         (all-object-suffixes): Remove .ob.
25081         (bppfx): Remove variable.
25082         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
25083         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
25084         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
25085         [$(build-bounded) = yes] (libtype.ob): Likewise.
25086         * Makerules (elide-routines.ob): Remove variable.
25087         (do-tests-clean): Do not handle *-bp.out.
25088         (common-mostlyclean): Do not handle *-bp and *-bp.out.
25089         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
25090         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
25091         (tests): Do not include $(tests-bp.out).
25092         (xtests): Do not include $(xtests-bp.out).
25093         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
25094         [$(build-bounded) = yes] ($(addprefix
25095         $(objpfx),$(binaries-bounded))): Remove rule.
25096         ($(objpfx)%-bp.out): Remove rule.
25097         * config.make.in (build-bounded): Remove variable.
25098         * crypt/Makefile [$(build-bounded) = yes]
25099         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
25100         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
25101         append to variable.
25102         [$(build-bounded) = yes] (install-lib): Likewise.
25103         [$(build-bounded) = yes] (generated): Likewise.
25104         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
25105         Remove rule.
25106         * intl/Makefile [$(build-bounded) = yes]
25107         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
25108         * math/Makefile [$(build-bounded) = yes]
25109         ($(tests:%=$(objpfx)%-bp): Likewise.
25110         * misc/Makefile [$(build-bounded) = yes]
25111         ($(objpfx)tst-tsearch-bp): Likewise.
25112         * nptl/Makeconfig (bounded-thread-library): Remove variable.
25113         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
25114         Remove dependency.
25115         * string/Makefile (o-objects.ob): Remove variable.
25116         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
25117         (CFLAGS-.ob): Remove variable.
25118         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
25119         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
25120         both definitions of variable.
25121         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
25122         (ASFLAGS-.ob): Remove variable.
25123
25124 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
25125
25126         [BZ #13550]
25127         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
25128         Remove __BOUNDED_POINTERS__ from condition.
25129         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
25130         * string/bits/string2.h [!__NO_STRING_INLINES &&
25131         !__BOUNDED_POINTERS__]: Likewise.
25132         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
25133         Likewise.
25134         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
25135         Remove conditional code.
25136         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
25137         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
25138         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
25139         condition.
25140
25141         [BZ #13550]
25142         * csu/libc-start.c: Do not include <bp-sym.h>.
25143         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
25144         * elf/dl-open.c: Do not include <bp-sym.h>.
25145         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
25146         * math/fegetenv.c: Do not include <bp-sym.h>.
25147         (fegetenv): Do not use BP_SYM in versioned symbols.
25148         * nptl/sysdeps/pthread/bits/libc-lockP.h
25149         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
25150         <bp-sym.h>.
25151         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25152         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
25153         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25154         (__pthread_mutex_destroy): Likewise.
25155         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25156         (__pthread_mutex_lock): Likewise.
25157         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25158         (__pthread_mutex_trylock): Likewise.
25159         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25160         (__pthread_mutex_unlock): Likewise.
25161         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25162         (__pthread_mutexattr_init): Likewise.
25163         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25164         (__pthread_mutexattr_destroy): Likewise.
25165         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25166         (__pthread_mutexattr_settype): Likewise.
25167         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25168         (__pthread_rwlock_init): Likewise.
25169         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25170         (__pthread_rwlock_destroy): Likewise.
25171         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25172         (__pthread_rwlock_rdlock): Likewise.
25173         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25174         (__pthread_rwlock_tryrdlock): Likewise.
25175         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25176         (__pthread_rwlock_wrlock): Likewise.
25177         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25178         (__pthread_rwlock_trywrlock): Likewise.
25179         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25180         (__pthread_rwlock_unlock): Likewise.
25181         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25182         (__pthread_key_create): Likewise.
25183         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25184         (__pthread_setspecific): Likewise.
25185         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25186         (__pthread_getspecific): Likewise.
25187         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
25188         Likewise.
25189         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25190         (_pthread_cleanup_push_defer): Likewise.
25191         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25192         (_pthread_cleanup_pop_restore): Likewise.
25193         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25194         (pthread_setcancelstate): Likewise.
25195         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
25196         <bp-sym.h>.
25197         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
25198         (memchr): Do not use BP_SYM in weak_alias.
25199         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
25200         (fegetenv): Do not use BP_SYM in versioned symbols.
25201         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
25202         (fesetenv): Do not use BP_SYM in versioned symbols.
25203         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25204         (feupdateenv): Do not use BP_SYM in versioned symbols.
25205         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25206         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25207         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
25208         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
25209         (open64): Do not use BP_SYM in weak_alias.
25210         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
25211         (fegetenv): Do not use BP_SYM in versioned symbols.
25212         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
25213         (fesetenv): Do not use BP_SYM in versioned symbols.
25214         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25215         (feupdateenv): Do not use BP_SYM in versioned symbols.
25216         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
25217         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
25218         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
25219         (feraiseexcept): Do not use BP_SYM in versioned symbols.
25220         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25221         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25222         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
25223         <bp-sym.h>.
25224         (__libc_start_main): Do not use BP_SYM.
25225
25226 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25227
25228         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
25229         redundant return line.
25230         (norm): Likewise.
25231         (denorm): Likewise.
25232         (dbl_mp): Likewise.
25233         (sub_magnitudes): Likewise.
25234         (__add): Likewise.
25235         (__sub): Likewise.
25236         (__mul): Likewise.
25237         (__inv): Likewise.
25238         (__dvd): Likewise.
25239         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
25240         (norm): Likewise.
25241         (denorm): Likewise.
25242         (dbl_mp): Likewise.
25243         (sub_magnitudes): Likewise.
25244         (__add): Likewise.
25245         (__sub): Likewise.
25246         (__mul): Likewise.
25247         (__inv): Likewise.
25248         (__dvd): Likewise.
25249
25250         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
25251         instead of __mul.
25252         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25253         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
25254         (cc32): Likewise.
25255
25256         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
25257         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
25258         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
25259         of __mul for squares.
25260         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
25261         function
25262         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
25263         Likewise.
25264         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
25265         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25266
25267 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
25268
25269         [BZ #13550]
25270         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
25271         code.
25272         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
25273         prototype or function definition.  Rename ubp_* variables and
25274         parameters.  Remove argv definitions conditional on
25275         [__BOUNDED_POINTERS__].
25276         * debug/backtrace.c (__backtrace): Do not use __unbounded.
25277         * elf/dl-runtime.c (_dl_fixup): Likewise.
25278         * include/set-hooks.h (RUN_HOOK): Likewise.
25279         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
25280         definition.
25281         * string/strcpy.c (strcpy): Do not use __unbounded.
25282         * sysdeps/generic/frame.h (struct layout): Likewise.
25283         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
25284         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
25285         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
25286         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
25287         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
25288         (__backtrace): Likewise.
25289         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
25290         use __ptrvalue.
25291         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
25292         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25293         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
25294         Likewise.
25295         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
25296         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
25297         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25298         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25299         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
25300         Do not use __unbounded.
25301         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
25302         Rename __unboundedrlimits parameter to rlimits in prototype.
25303         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
25304         Do not use __unbounded.
25305         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
25306         not use __ptrvalue.
25307         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25308         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
25309         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25310         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
25311         __ptrvalue or __unbounded.
25312         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
25313         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
25314         use __unbounded.
25315         (__new_msgctl): Do not use __ptrvalue.
25316         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
25317         __unbounded.
25318         (__libc_msgrcv): Do not use __ptrvalue.
25319         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
25320         startup_info): Do not use __unbounded.
25321         (__libc_start_main): Likewise.  Rename ubp_* variables and
25322         parameters.  Remove argv definitions conditional on
25323         [__BOUNDED_POINTERS__].
25324         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
25325         __ptrvalue.
25326         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
25327         use __unbounded.
25328         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
25329         or __ptrvalue.
25330         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
25331         use __unbounded.
25332         (__new_shmctl): Do not use __ptrvalue.
25333         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
25334         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
25335         Likewise.
25336         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
25337         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
25338         (__libc_sigaction): Likewise.
25339         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
25340         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
25341         Likewise.
25342         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25343
25344 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
25345
25346         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
25347
25348         * string/mempcpy.c: Implement by calling memcpy.
25349
25350 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25351
25352         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
25353
25354         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
25355         evaluation.
25356
25357         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
25358         values in the mantissa.
25359
25360         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
25361         minimize writes to Z.
25362         (sub_magnitudes): Simplify code a bit.
25363
25364 2013-02-12  Roland McGrath  <roland@hack.frob.com>
25365
25366         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
25367         from the message.  The linker prefixes all warnings with that already.
25368
25369 2013-02-12  Andreas Schwab  <schwab@suse.de>
25370
25371         [BZ #15078]
25372         * posix/regexec.c (extend_buffers): Add parameter min_len.
25373         (check_matching): Pass minimum needed length.
25374         (clean_state_log_if_needed): Likewise.
25375         (get_subexp): Likewise.
25376         * posix/Makefile (tests): Add bug-regex34.
25377         (bug-regex34-ENV): Define.
25378         * posix/bug-regex34.c: New file.
25379
25380         [BZ #11561]
25381         * posix/regcomp.c (parse_bracket_exp): When looking up collating
25382         elements compare against the byte sequence of it, not its name.
25383         * posix/Makefile (tests): Add bug-regex35.
25384         (bug-regex35-ENV): Define.
25385         * posix/bug-regex35.c: New file.
25386
25387 2013-02-11  Tom de Vries  <tom@codesourcery.com>
25388
25389         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
25390         comment.
25391         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
25392         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
25393         (CHECK_EOL): Add undef.
25394
25395 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
25396
25397         * bits/stdlib-bsearch.h: New file.
25398         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
25399         * stdlib/stdlib.h: Likewise.
25400
25401 2013-02-11  Roland McGrath  <roland@hack.frob.com>
25402
25403         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
25404         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
25405         declaration.
25406         * manual/search.texi (Array Search Function): Add missing const in
25407         lfind prototype.
25408         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
25409         declaration to use rlim_t.
25410         (Basic Scheduling Functions): Remove erroneous const from
25411         sched_getparam prototype.  Remove erroneous * from
25412         sched_get_priority_max and sched_get_priority_min prototypes.
25413         (Resource Usage): Fix summary @comment on vtimes to refer to
25414         sys/vtimes.h rather than vtimes.h.
25415         Add missing *s in vtimes prototype.
25416         (Limits on Resources): Fix ulimit prototype to return long int.
25417         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
25418         prototypes to use long int rather than double.
25419         (BSD Random): Fix initstate and setstate to use char *, not void *.
25420         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
25421         prototype to make second argument 'struct aiocb64 *const[]'.
25422         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
25423         (Status of AIO Operations): Remove erroneous const in aio_return and
25424         aio_return64 prototypes.
25425         (Synchronizing I/O): Fix sync prototype to return void.
25426         * manual/startup.texi (Suboptions): Remove an erroneous const in
25427         getsubopt prototype.
25428         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
25429         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
25430         use size_t rather than int.
25431         (Scanning All Users): Likewise for getpwent_r.
25432         (Setting Groups): Add missing const to setgroups prototype.
25433         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
25434         * manual/socket.texi (Host Names): Fix gethostbyaddr and
25435         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
25436         'const void *' rather than 'const char *'.
25437         (Host Address Functions): Likewise for inet_ntop.
25438         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
25439         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
25440         ssize_t for return value.
25441         (Sending Data): Likewise for send, sendto, sendmsg.
25442         (Socket Option Functions): Add a missing const in setsockopt prototype.
25443         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
25444         use wchar_t for the argument.
25445         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
25446         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
25447         take no arguments.
25448         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
25449         double/float/long double for second argument.
25450         Fix return types of significand, significandf, significandl.
25451         * manual/filesys.texi (Setting Permissions): Use mode_t for second
25452         argument in fchmod prototype.
25453         (File Owner): Use uid_t and gid_t in fchown prototype.
25454         (File Times): Add const to utimes, futimes, and lutimes prototypes.
25455         (Making Special Files): Use mode_t and dev_t in mknod prototype.
25456         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
25457         use 'const struct dirent **' as argument types to CMP function pointer
25458         argument.
25459         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
25460         (File Times): Fix summary magic @comment for struct utimbuf and utime
25461         to refer to utime.h, not time.h.
25462         * manual/string.texi (Argz Functions): Add missing const in
25463         argz_extract and argz_next prototypes.
25464         (Finding Tokens in a String): Likewise for basename.
25465         (String/Array Comparison): Fix typo in wcscasecmp prototype.
25466         (Copying and Concatenation): Fix typo in wmemmove prototype.
25467         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
25468         (Signal Stack): Remove erroneous const in sigstack prototype.
25469         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
25470         prototype.
25471         (Simple Calendar Time): Likewise for stime.
25472         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
25473         prototype.
25474         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
25475         say sys/sysctl.h instead.
25476         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
25477         and vsyslog prototypes.
25478
25479 2013-02-11  Tom de Vries  <tom@codesourcery.com>
25480
25481         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
25482         Remove.
25483
25484 2013-02-11  Roland McGrath  <roland@hack.frob.com>
25485
25486         * misc/sys/mman.h: Fix typo in mremap comment.
25487
25488 2013-02-08  Roland McGrath  <roland@hack.frob.com>
25489
25490         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
25491         the '\0' terminator.
25492
25493 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
25494
25495         [BZ #13550]
25496         * debug/segfault.c: Don't include <bp-checks.h>.
25497         * sysdeps/generic/bp-checks.h: Remove file.
25498         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
25499         (__GETDENTS): Don't use CHECK_N.
25500         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
25501         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25502         (__getgroups): Don't use CHECK_N.
25503         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
25504         (setgroups): Don't use CHECK_N.
25505         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
25506         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
25507         (__libc_msgrcv): Don't use CHECK_N.
25508         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
25509         (__libc_msgsnd): Don't use CHECK_N.
25510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
25511         <bp-checks.h>.
25512         (__libc_pread): Don't use CHECK_N.
25513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
25514         include <bp-checks.h>.
25515         (__libc_pread64): Don't use CHECK_N.
25516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
25517         include <bp-checks.h>.
25518         (__libc_pwrite): Don't use CHECK_N.
25519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
25520         include <bp-checks.h>.
25521         (__libc_pwrite64): Don't use CHECK_N.
25522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
25523         <bp-checks.h>.
25524         (__libc_pread): Don't use CHECK_N.
25525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
25526         include <bp-checks.h>.
25527         (__libc_pread64): Don't use CHECK_N.
25528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
25529         include <bp-checks.h>.
25530         (__libc_pwrite): Don't use CHECK_N.
25531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
25532         include <bp-checks.h>.
25533         (__libc_pwrite64): Don't use CHECK_N.
25534         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
25535         (do_pread): Don't use CHECK_N.
25536         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
25537         (do_pread64): Don't use CHECK_N.
25538         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
25539         (do_pwrite): Don't use CHECK_N.
25540         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
25541         (do_pwrite64): Don't use CHECK_N.
25542         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
25543         (__libc_readv): Don't use CHECK_N.
25544         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
25545         (semop): Don't use CHECK_N.
25546         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
25547         <bp-checks.h>.
25548         (semtimedop): Don't use CHECK_N.
25549         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
25550         (__libc_pread): Don't use CHECK_N.
25551         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
25552         <bp-checks.h>.
25553         (__libc_pread64): Don't use CHECK_N.
25554         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
25555         <bp-checks.h>.
25556         (__libc_pwrite): Don't use CHECK_N.
25557         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
25558         <bp-checks.h>.
25559         (__libc_pwrite64): Don't use CHECK_N.
25560         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
25561         <bp-checks.h>.
25562         (__libc_msgrcv): Don't use CHECK_N.
25563         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
25564         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
25565         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
25566         (__libc_writev): Don't use CHECK_N.
25567
25568 2013-02-08  Roland McGrath  <roland@hack.frob.com>
25569
25570         * string/strcpy.c: Removed unused variable.
25571
25572         * Makeconfig (+sysdep-includes): Define with := rather than =.
25573         Use an existing include/ subdir of each sysdeps dir before it.
25574
25575 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25576
25577         * nscd/connection.c (register_traced_file): Comment function.
25578         [HAVE_INOTIFY] (union __inev): Define.
25579         [HAVE_INOTIFY] (inotify_check_files): New function.
25580         [HAVE_INOTIFY] (clear_db_cache): Likewise.
25581         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
25582         clear_db_cache.
25583         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
25584
25585 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25586
25587         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
25588         loaded if not already and that a failure is permanent.
25589
25590 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25591
25592         [BZ #15006]
25593         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
25594         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
25595
25596 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
25597
25598         [BZ #13550]
25599         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
25600         (CHECK_1_NULL_OK): Likewise.
25601         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
25602         (__fxstat): Do not use CHECK_1.
25603         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
25604         <bp-checks.h>.
25605         (___fxstat64): Do not use CHECK_1.
25606         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25607         <bp-checks.h>.
25608         (__fxstatat): Do not use CHECK_1.
25609         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25610         <bp-checks.h>.
25611         (__fxstatat64): Do not use CHECK_1.
25612         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
25613         <bp-checks.h>.
25614         (__fxstat): Do not use CHECK_1.
25615         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25616         <bp-checks.h>.
25617         (__fxstatat): Do not use CHECK_1.
25618         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
25619         <bp-checks.h>.
25620         (__getresgid): Do not use CHECK_1.
25621         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
25622         <bp-checks.h>.
25623         (__getresuid): Do not use CHECK_1.
25624         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
25625         <bp-checks.h>.
25626         (__lxstat): Do not use CHECK_1.
25627         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
25628         <bp-checks.h>.
25629         (__old_msgctl): Do not use CHECK_1.
25630         (__new_msgctl): Likewise.
25631         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
25632         <bp-checks.h>.
25633         (__new_setrlimit): Do not use CHECK_1.
25634         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
25635         <bp-checks.h>.
25636         (__old_shmctl): Do not use CHECK_1.
25637         (__new_shmctl): Likewise.
25638         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
25639         <bp-checks.h>.
25640         (__xstat): Do not use CHECK_1.
25641         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
25642         (__lxstat): Do not use CHECK_1.
25643         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
25644         <bp-checks.h>.
25645         (___lxstat64): Do not use CHECK_1.
25646         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
25647         (__old_msgctl): Do not use CHECK_1.
25648         (__new_msgctl): Likewise.
25649         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
25650         <bp-checks.h>.
25651         (__gettimeofday): Do not use CHECK_1.
25652         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
25653         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
25654         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
25655         <bp-checks.h>.
25656         (__gettimeofday): Do not use CHECK_1.
25657         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
25658         (__old_shmctl): Do not use CHECK_1_NULL_OK.
25659         (__new_shmctl): Do not use CHECK_1.
25660         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
25661         <bp-checks.h>.
25662         (do_sigtimedwait): Do not use CHECK_1.
25663         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
25664         <bp-checks.h>.
25665         (do_sigwaitinfo): Do not use CHECK_1.
25666         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
25667         <bp-checks.h>.
25668         (msgctl): Do not use CHECK_1.
25669         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
25670         <bp-checks.h>.
25671         (shmctl): Do not use CHECK_1.
25672         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
25673         (ustat): Do not use CHECK_1.
25674         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
25675         <bp-checks.h>.
25676         (__fxstat): Do not use CHECK_1.
25677         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25678         <bp-checks.h>.
25679         (__fxstatat): Do not use CHECK_1.
25680         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
25681         <bp-checks.h>.
25682         (__lxstat): Do not use CHECK_1.
25683         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
25684         <bp-checks.h>.
25685         (__xstat): Do not use CHECK_1.
25686         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
25687         (__xstat): Do not use CHECK_1.
25688         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
25689         (___xstat64): Do not use CHECK_1.
25690
25691         [BZ #13550]
25692         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
25693         definitions.
25694         (CHECK_BOUNDS_HIGH): Likewise.
25695         * string/strcpy.c: Do not include <bp-checks.h>.
25696         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
25697
25698 2013-02-07  Roland McGrath  <roland@hack.frob.com>
25699
25700         * nscd/nscd-client.h (__nscd_drop_map_ref):
25701         Add __attribute__ ((unused)).
25702         * nis/nss-nisplus.h (niserr2nss): Likewise.
25703
25704         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
25705         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
25706
25707         * csu/libc-tls.c (init_static_tls, init_slotinfo):
25708         Remove inline keyword.
25709         * include/rounding-mode.h (round_away): Likewise.
25710         * libio/wfileops.c (adjust_wide_data): Likewise.
25711         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
25712         (__m128i_strloadu_tolower): Likewise.
25713         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
25714         (__m128i_strloadu_tolower): Likewise.
25715         * time/mktime.c (ydhms_diff): Likewise.
25716         * locale/elem-hash.h (elem_hash): Likewise.
25717         * locale/setlocale.c (setdata): Likewise.
25718         * posix/regex_internal.h (re_string_char_size_at): Likewise.
25719         (re_string_wchar_at): Likewise.
25720         (bitset_not, bitset_merge, bitset_mask): Likewise.
25721         [!(__GNUC__ > 3)] (inline): Remove macro.
25722         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
25723         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
25724         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25725         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25726         * string/memcmp.c (memcmp_bytes): Likewise.
25727         * locale/programs/locarchive.c (compute_hashval): Likewise.
25728         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
25729         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
25730         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
25731         * nss/getent.c (print_rpc, print_protocols): Likewise.
25732         (print_passwd, print_group, print_aliases): Likewise.
25733         * nis/nss-nisplus.h (niserr2nss): Likewise.
25734         * nscd/connections.c (restart_p): Likewise.
25735         Change return type to bool.
25736
25737 2013-02-05  Roland McGrath  <roland@hack.frob.com>
25738
25739         * Makeconfig (all-Depend-files): Add existing
25740         $(sorted-subdirs:=/Depend) files.
25741         (all-subdirs): Remove nss.
25742         * sysdeps/unix/inet/Subdirs: Add it here instead.
25743         * hesiod/Depend: New file.
25744
25745         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25746         instead of calling alloca.
25747
25748         * io/lseek.c (__lseek): Rename to __libc_lseek.
25749         Define __lseek as an alias.
25750
25751         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25752
25753 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
25754
25755         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25756         else clause and remove check for non-standard endianness.
25757
25758 2013-02-04  David S. Miller  <davem@davemloft.net>
25759
25760         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25761
25762 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
25763
25764         [BZ #13550]
25765         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25766         (__ubp_memchr): Remove prototype.
25767         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25768         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25769         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25770         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25771         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25772         Remove alias.
25773         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25774         (__ubp_memchr): Likewise.
25775         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25776         (__ubp_memchr): Likewise.
25777         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25778         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25779         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25780         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25781         CHECK_STRING.
25782         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25783         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25784         (__getcwd): Do not use CHECK_STRING.
25785         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25786         <bp-checks.h>.
25787         (__real_chown): Do not use CHECK_STRING.
25788         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25789         <bp-checks.h>.
25790         (fchownat): Do not use CHECK_STRING.
25791         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25792         CHECK_STRING.
25793         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25794         <bp-checks.h>.
25795         (__lchown): Do not use CHECK_STRING.
25796         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25797         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25798         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25799         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25801         include <bp-checks.h>.
25802         (truncate64): Do not use CHECK_STRING.
25803         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25804         <bp-checks.h>.
25805         (__real_chown): Do not use CHECK_STRING.
25806         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25807         <bp-checks.h>.
25808         (__lchown): Do not use CHECK_STRING.
25809         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25810         <bp-checks.h>.
25811         (__chown): Do not use CHECK_STRING.
25812         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
25813         <bp-checks.h>.
25814         (truncate64): Do not use CHECK_STRING.
25815         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
25816         Likewise.
25817         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25818         (__xmknod): Do not use CHECK_STRING.
25819         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25820         <bp-checks.h>.
25821         (__xmknodat): Do not use CHECK_STRING.
25822         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25823         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25824
25825 2013-02-04  Andreas Schwab  <schwab@suse.de>
25826
25827         [BZ #14142]
25828         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25829         * include/netdb.h: Likewise for h_errno.
25830         * elf/tst-stackguard1.c: Include <tls.h>.
25831
25832 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
25833
25834         * elf/link.h (struct link_map): Extend the l_addr comment.
25835         * include/link.h (struct link_map): Likewise.
25836
25837 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
25838
25839         [BZ #13550]
25840         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25841         (BOUNDED_1): Remove macro.
25842         * debug/backtrace.c: Don't include <bp-checks.h>.
25843         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25844         (__backtrace): Likewise.
25845         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25846         <bp-checks.h>.
25847         (__backtrace): Don't use BOUNDED_1.
25848         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25849         <bp-checks.h>.
25850         (__backtrace): Don't use BOUNDED_1.
25851         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25852         (__backtrace): Don't use BOUNDED_1.
25853         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25854         (shmat): Don't use BOUNDED_N.
25855
25856 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
25857
25858         [BZ #13550]
25859         * sysdeps/generic/bp-start.h: Remove file.
25860         * csu/libc-start.c: Don't include <bp-start.h>.
25861         (LIBC_START_MAIN): Set up __environ directly instead of using
25862         INIT_ARGV_and_ENVIRON.
25863         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25864         <bp-start.h>.
25865
25866         [BZ #13550]
25867         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25868         definitions.
25869         (CHECK_FCNTL): Likewise.
25870         (CHECK_N_PAGES): Likewise.
25871
25872         [BZ #13550]
25873         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25874         definitions.
25875         (CHECK_SIGSET_NULL_OK): Likewise.
25876         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25877         <bp-checks.h>.
25878         (sigpending): Don't use CHECK_SIGSET.
25879         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25880         <bp-checks.h>.
25881         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25882         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25883         <bp-checks.h>.
25884         (do_sigsuspend): Don't use CHECK_SIGSET.
25885         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25886         use CHECK_SIGSET.
25887         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25888         (do_sigwait): Don't use CHECK_SIGSET.
25889         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25890         use CHECK_SIGSET.
25891         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25892         include <bp-checks.h>.
25893         (sigpending): Don't use CHECK_SIGSET.
25894         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25895         include <bp-checks.h>.
25896         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25897         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25898         <bp-checks.h>.
25899         (sigpending): Don't use CHECK_SIGSET.
25900         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25901         <bp-checks.h>.
25902         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25903
25904         [BZ #13550]
25905         * sysdeps/generic/bp-semctl.h: Remove file.
25906         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25907         <bp-checks.h> and <bp-semctl.h>.
25908         (__old_semctl): Don't use CHECK_SEMCTL.
25909         (__new_semctl): Likewise.
25910         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25911         and <bp-semctl.h>.
25912         (__old_semctl): Don't use CHECK_SEMCTL.
25913         (__new_semctl): Likewise.
25914         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25915         <bp-checks.h> and <bp-semctl.h>.
25916         (__old_semctl): Don't use CHECK_SEMCTL.
25917         (__new_semctl): Likewise.
25918         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25919         <bp-checks.h> and <bp-semctl.h>.
25920         (semctl): Don't use CHECK_SEMCTL.
25921
25922         [BZ #13550]
25923         * Makerules (elide-bp-thunks): Remove variable.
25924         (elide-routines.oS): Don't use $(elide-bp-thunks).
25925         (elide-routines.os): Likewise.
25926         (elide-routines.o): Likewise.
25927         (elide-routines.op): Likewise.
25928         (elide-routines.og): Likewise.
25929         (objects): Don't use $(bp-thunks).
25930         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25931         include.
25932         (common-generated): Do not add s-proto-bp.d.
25933         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25934         (int): Likewise.
25935         (typ): Likewise.
25936         Do not generate makefile rules for bounded-pointer thunks.
25937         * sysdeps/generic/bp-thunks.h: Remove file.
25938         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25939         * sysdeps/unix/s-proto-bp.S: Likewise.
25940
25941         [BZ #15062]
25942         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25943         parts of result separately when argument is not close to line from
25944         -i to i and one part of argument is small.
25945         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25946         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25947         * math/libm-test.inc (cacos_test): Add more tests.
25948         (casin_test): Likewise.
25949         (casinh_test): Likewise.
25950         * sysdeps/i386/fpu/libm-test-ulps: Update.
25951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25952
25953 2013-01-31  David S. Miller  <davem@davemloft.net>
25954
25955         * po/de.po: Update from translation team.
25956
25957 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
25958
25959         * time/tzfile.c: Include stdint.h for SIZE_MAX.
25960
25961 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
25962
25963         * configure.in (_AC_PROG_CC_C89): New definition.
25964         * configure: Regenerate.
25965
25966         * configure.in (AC_PROG_CPP): New definition.
25967         * configure: Regenerate.
25968
25969 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
25970
25971         * debug/tst-backtrace.h: New file.
25972         * debug/tst-backtrace2.c: Include tst-backtrace.h.
25973         (ret): Remove variable.
25974         (x): Likewise.
25975         (FAIL): Remove macro.
25976         (NO_INLINE): Likewise.
25977         (fn1): Use match function instead of strstr.
25978         * debug/tst-backtrace3.c: Include tst-backtrace.h.
25979         (ret): Remove variable.
25980         (x): Likewise.
25981         (FAIL): Remove macro.
25982         (NO_INLINE): Likewise.
25983         (fn): Use match function instead of strstr.
25984         * debug/tst-backtrace4.c: Include tst-backtrace.h.
25985         (ret): Remove variable.
25986         (x): Likewise.
25987         (FAIL): Remove macro.
25988         (NO_INLINE): Likewise.
25989         (handle_signal): Use match function instead of strstr.
25990         * debug/tst-backtrace5.c: Include tst-backtrace.h.
25991         (ret): Remove variable.
25992         (x): Likewise.
25993         (FAIL): Remove macro.
25994         (NO_INLINE): Likewise.
25995         (handle_signal): Use match function instead of strstr.
25996
25997 2013-01-23  Roland McGrath  <roland@hack.frob.com>
25998
25999         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
26000
26001 2013-01-23  David S. Miller  <davem@davemloft.net>
26002
26003         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
26004         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
26005         argument of CAS if possible.
26006         * sysdeps/sparc/sparc64/bits/atomic.h
26007         (__arch_compare_and_exchange_val_32_acq): Likewise.
26008         (__arch_compare_and_exchange_val_64_acq): Likewise.
26009
26010 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
26011
26012         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
26013         * sysdeps/posix/ulimit.c: ... this.
26014         Include <limits.h>.
26015         * sysdeps/unix/bsd/ulimit.c: Remove file.
26016
26017 2013-01-23  Adam Conrad  <adconrad@0c3.net>
26018
26019         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
26020         (LDFLAGS-tst-array5): Likewise.
26021
26022 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
26023
26024         [BZ #15036]
26025         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
26026         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
26027         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
26028         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
26029
26030 2013-01-21  David S. Miller  <davem@davemloft.net>
26031
26032         * sysdeps/sparc/backtrace.c: New file.
26033         * sysdeps/sparc/sparc32/backtrace.h: New file.
26034         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
26035         * sysdeps/sparc/sparc64/backtrace.h: New file.
26036         * sysdeps/sparc/sparc64/backtrace.c: Delete.
26037         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
26038         -funwind-tables.
26039
26040 2013-01-21  Andreas Schwab  <schwab@suse.de>
26041
26042         [BZ #15020]
26043         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
26044         closed its stdout.
26045
26046 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
26047
26048         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
26049         "mpa2.h".
26050         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26051
26052 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
26053             Mark Mitchell  <mark@codesourcery.com>
26054             Tom de Vries  <tom@codesourcery.com>
26055             Paul Pluzhnikov  <ppluzhnikov@google.com>
26056
26057         * debug/tst-backtrace2.c: New file.
26058         * debug/tst-backtrace3.c: Likewise.
26059         * debug/tst-backtrace4.c: Likewise.
26060         * debug/tst-backtrace5.c: Likewise.
26061         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
26062         (CFLAGS-tst-backtrace3.c): Likewise.
26063         (CFLAGS-tst-backtrace4.c): Likewise.
26064         (CFLAGS-tst-backtrace5.c): Likewise.
26065         (LDFLAGS-tst-backtrace2): Likewise.
26066         (LDFLAGS-tst-backtrace3): Likewise.
26067         (LDFLAGS-tst-backtrace4): Likewise.
26068         (LDFLAGS-tst-backtrace5): Likewise.
26069         (tests): Add new tests tst-backtrace2, tst-backtrace3,
26070         tst-backtrace4 and tst-backtrace5.
26071
26072 2013-01-18  Anton Blanchard  <anton@samba.org>
26073             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26074
26075         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
26076         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
26077         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
26078         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
26079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26080         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
26081         "+r" and remove output regs list as redundant.  Add explicit inline
26082         asm to specify register of return val to work around compiler codegen
26083         bug.  Remove (int) cast on return value.  Add return type parameter to
26084         use in macro so that this macro does not truncate return value for
26085         64-bit values.
26086         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
26087         pass to INTERNAL_VSYSCALL_NCS.
26088         (INLINE_VSYSCALL): Add 'long int' as return type to
26089         INTERNAL_VSYSCALL_NCS macro invocation.
26090         (INTERNAL_VSYSCALL): Add 'long int' as return type to
26091         INTERNAL_VSYSCALL_NCS macro invocation.
26092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26093
26094 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26095
26096         [BZ #14496]
26097         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
26098         Fix application of SIMD FP exception mask.
26099
26100         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
26101         mp_no from a power of two.
26102         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
26103         __mpexp_twomm1.  Use __pow_mp.
26104
26105         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
26106         multiplication.
26107
26108 2013-01-17  David S. Miller  <davem@davemloft.net>
26109
26110         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26111
26112 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
26113
26114         [BZ #15023]
26115         * include/complex.h: Condition contents on [!_COMPLEX_H].
26116         (__kernel_casinhf): New prototype.
26117         (__kernel_casinh): Likewise.
26118         (__kernel_casinhl): Likewise.
26119         * math/Makefile (libm_calls): Add k_casinh.
26120         * math/k_casinh.c: New file.
26121         * math/k_casinhf.c: Likewise.
26122         * math/k_casinhl.c: Likewise.
26123         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
26124         finite nonzero arguments.
26125         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
26126         finite nonzero arguments.
26127         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
26128         finite nonzero arguments.
26129         * math/s_casinh.c: Do not include <float.h>.
26130         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
26131         * math/s_casinhf.c: Do not include <float.h>.
26132         (__casinhf): Move code for finite nonzero arguments to
26133         k_casinhf.c.
26134         * math/s_casinhl.c: Do not include <float.h>.
26135         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
26136         redefine.
26137         (__casinhl): Move code for finite nonzero arguments to
26138         k_casinhl.c.
26139         * math/libm-test.inc (cacos_test): Add more tests.
26140         * sysdeps/i386/fpu/libm-test-ulps: Update.
26141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26142
26143 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
26144
26145         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
26146         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
26147         [!HAVE_MREMAP]: Remove [defined linux] case.
26148         * malloc/arena.c: Do not include <malloc-sysdep.h>.
26149
26150 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26151
26152         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
26153
26154 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
26155
26156         * elf/elf.h (R_386_SIZE32): New relocation.
26157         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
26158         R_386_SIZE32.
26159         (elf_machine_rela): Likewise.
26160         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26161         R_X86_64_SIZE64 and R_X86_64_SIZE32.
26162
26163 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
26164
26165         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
26166         (FP_FAST_FMA): Do not define.
26167         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
26168         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
26169         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
26170         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
26171         !_SOFT_FLOAT]: Likewise.
26172         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
26173         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
26174         value.
26175         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
26176         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
26177         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
26178         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
26179         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
26180         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
26181         file.
26182
26183 2013-01-16  Andreas Schwab  <schwab@suse.de>
26184
26185         [BZ #14327]
26186         * include/stdlib.h (__mktemp): Add declaration.
26187         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
26188         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
26189
26190 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26191
26192         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
26193         definitions.
26194         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26195         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
26196         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
26197         definitions here.
26198         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
26199         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
26200         definitions.
26201         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
26202         and ONE.
26203         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
26204         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
26205         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
26206         definitions.
26207         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
26208         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
26209         definitions.
26210         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26211
26212         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
26213
26214 2013-01-15  David S. Miller  <davem@davemloft.net>
26215
26216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26217         trunc{,f} to libm-sysdep_routes.
26218         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
26220         file.
26221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
26222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
26223         file.
26224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
26225         file.
26226         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
26227         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
26228         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
26229         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
26230         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
26231         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
26232         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
26233         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
26234
26235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26236         nearbyint{,f} to libm-sysdep_routes.
26237         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
26239         New file.
26240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
26241         file.
26242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
26243         New file.
26244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
26245         file.
26246         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
26247         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
26248         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
26249         file.
26250         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
26251         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
26252         file.
26253         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
26254         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
26255         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
26256
26257         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26258         libc_feholdexcept and libc_fesetenv.
26259
26260 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
26261
26262         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
26263
26264 2013-01-14  David S. Miller  <davem@davemloft.net>
26265
26266         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
26267         (SPARC_ASM_VIS2_IFUNC): Likewise.
26268         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
26269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
26270         use of 'siam' instruction.
26271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
26272         Likewise.
26273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
26274         Likewise.
26275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
26276         Likewise.
26277         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
26278         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
26279         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
26280         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
26281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
26282         file.
26283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
26284         file.
26285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
26286         file.
26287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
26288         file.
26289         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
26290         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
26291         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
26292         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
26293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
26294         new VIS2 routines.
26295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
26296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26298         Likewise.
26299         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26300         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26301         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26302         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
26304         routines to libm-sysdep_routines.
26305         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26306
26307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26308         fdim/fdimf to libm-sysdep_routines.
26309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
26310         file.
26311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
26312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
26313         file.
26314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
26315         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
26316         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
26317         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
26318         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
26319         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
26320         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
26321
26322 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26323
26324         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
26325         to optimize copies.
26326
26327         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
26328         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26329         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26330
26331         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
26332         local variable MPTWO.
26333         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26334         Likewise.
26335
26336 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26337
26338         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
26339         GLOB_NOESCAPE.
26340
26341 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26342
26343         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
26344
26345 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26346
26347         * manual/pattern.texi (glob_t): Document gl_flags.
26348         (glob64_t): Likewise.
26349
26350 2013-01-11  David S. Miller  <davem@davemloft.net>
26351
26352         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
26353         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
26354         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
26355         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
26356         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
26357         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
26358         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
26359         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
26360         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
26361         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
26362         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
26363         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
26364         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
26365
26366         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26367         sparc V9 rather than using V8 code.
26368         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26369         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26370
26371         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26372         Move to...
26373         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
26374         Here.
26375
26376 2013-01-11  Roland McGrath  <roland@hack.frob.com>
26377
26378         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
26379         not in the main loop.
26380         * configure: Regenerated.
26381
26382 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
26383
26384         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
26385         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
26386         to just #else.
26387         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
26388         [!__GLIBC_HAVE_LONG_LONG] case.
26389         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
26390         condition to just #else.
26391         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
26392         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
26393         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
26394         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
26395         unconditional.
26396         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
26397         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26398         #elif condition to just #else.
26399         * sysdeps/unix/sysv/linux/sys/sysmacros.h
26400         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
26401         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26402         #elif condition to just #else.
26403
26404 2013-01-11  Steve Ellcey  <sellcey@mips.com>
26405
26406         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
26407         (EF_MIPS_ARCH_64): Fix value.
26408         (EF_MIPS_ARCH_32R2): New.
26409         (EF_MIPS_ARCH_64R2): New.
26410
26411 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
26412
26413         * Makeconfig (+link-pie-before-libc): New.
26414         (+link-pie-after-libc): Likewise.
26415         (+link-pie-tests): Likewise.
26416         (+link-pie): Rewritten.
26417         (link-before-libc): Remove $(config-LDFLAGS).
26418         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
26419         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
26420         (config-LDFLAGS): Renamed to ...
26421         (rtld-LDFLAGS): This.
26422         (rtld-tests-LDFLAGS): New macro.
26423         (link-libc-rpath-link): Likewise.
26424         (link-libc-tests-rpath-link): Likewise.
26425         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
26426         (link-libc): Prepand $(link-libc-rpath-link).
26427         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
26428         (test-program-prefix): New macro.
26429         (test-via-rtld-prefix): Likewise.
26430         (test-program-cmd): Likewise.
26431         (host-test-program-cmd): Likewise.
26432         * Makefile ($(common-objpfx)testrun.sh): Replace
26433         $(run-program-prefix) with $(test-program-prefix).
26434         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
26435         $(rtld-LDFLAGS).
26436         ($(common-objpfx)shlib.lds): Likewise.
26437         (build-module-helper): Likewise.
26438         ($(common-objpfx)format.lds): Likewise.
26439         * Rules (binaries-pie-tests): New.
26440         (binaries-pie-notests): Likewise.
26441         (binaries-pie): Rewritten.
26442         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
26443         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
26444         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
26445         (make-test-out): Replace $(host-built-program-cmd) with
26446         $(host-test-program-cmd).
26447         * config.make.in (build-hardcoded-path-in-tests): New variable.
26448         * configure.in (--enable-hardcoded-path-in-tests): New configure
26449         option.
26450         (hardcoded_path_in_tests): New AC_SUBST.
26451         * configure: Regenerated.
26452         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
26453         $(built-program-cmd) with $(test-program-cmd).
26454         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
26455         (test_program_cmd): This.
26456         * elf/Makefile ($(objpfx)order.out): Run test with
26457         $(test-program-prefix).
26458         ($(objpfx)order2.out): Likewise.
26459         ($(objpfx)tst-initorder.out): Likewise.
26460         ($(objpfx)tst-initorder2.out): Likewise.
26461         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
26462         $(test-program-cmd).
26463         ($(objpfx)tst-array1-static.out): Likewise.
26464         ($(objpfx)tst-array2.out): Likewise.
26465         ($(objpfx)tst-array3.out): Likewise.
26466         ($(objpfx)tst-array4.out): Likewise.
26467         ($(objpfx)tst-array5.out): Likewise.
26468         ($(objpfx)tst-array5-static.out): Likewise.
26469         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
26470         $(test-program-cmd).
26471         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
26472         $(run-program-prefix) with $(test-program-prefix).
26473         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
26474         (test_program_prefix): This.
26475         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
26476         $(run-program-prefix) with $(test-program-prefix).
26477         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
26478         (test_program_prefix): This.
26479         * iconvdata/tst-tables.sh: Likewise.
26480         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
26481         $(run-program-prefix) with $(test-program-prefix).
26482         ($(objpfx)tst-translit.out): Likewise.
26483         ($(objpfx)tst-gettext2.out): Likewise.
26484         ($(objpfx)tst-gettext4.out): Likewise.
26485         ($(objpfx)tst-gettext6.out): Likewise.
26486         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
26487         (test_program_prefix): This.
26488         * intl/tst-gettext2.sh: Likewise.
26489         * intl/tst-gettext4.sh  Likewise.
26490         * intl/tst-gettext6.sh: Likewise.
26491         * intl/tst-translit.sh: Likewise.
26492         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
26493         with $(test-program-cmd).
26494         * libio/Makefile ($(objpfx)test-freopen.out): Replace
26495         $(run-program-prefix) with $(test-program-prefix).
26496         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
26497         (test_program_prefix): This.
26498         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
26499         $(run-program-prefix) with $(test-program-prefix).
26500         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
26501         (test_program_prefix): This.
26502         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
26503         * posix/Makefile ($(objpfx)globtest.out): Replace
26504         $(run-via-rtld-prefix) and $(test-wrapper) with
26505         $(test-program-prefix) and $(test-via-rtld-prefix).
26506         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
26507         $(test-program-prefix).
26508         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
26509         $(host-test-program-cmd).
26510         (tst-spawn-ARGS): Likewise.
26511         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
26512         $(test-program-prefix).
26513         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
26514         (test_via_rtld_prefix): This.
26515         (test_wrapper): Renamed to ...
26516         (test_program_prefix): This.
26517         (run_program_prefix): Replaced by test_program_prefix.
26518         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
26519         (test_program_prefix): This.
26520         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
26521         with $(host-test-program-cmd).
26522         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
26523         $(run-program-prefix) with $(test-program-prefix).
26524         ($(objpfx)tst-printf.out): Likewise.
26525         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
26526         $(test-program-cmd).
26527         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
26528         (test_program_prefix): This.
26529         * stdio-common/tst-unbputc.sh: Likewise.
26530         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
26531         $(run-program-prefix) with $(test-program-prefix).
26532         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
26533         (test_program_prefix): This.
26534         * string/Makefile ($(objpfx)tst-svc.out):  Replace
26535         $(built-program-cmd) with $(test-program-cmd).
26536
26537 2013-01-11  Andreas Jaeger  <aj@suse.de>
26538
26539         [BZ #15003]
26540         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
26541         value. Sync with Linux 3.7.
26542
26543 2013-01-10  David S. Miller  <davem@davemloft.net>
26544
26545         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
26546         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26547         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26548
26549 2013-01-10  Roland McGrath  <roland@hack.frob.com>
26550
26551         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
26552         never set.
26553         * configure: Regenerated.
26554
26555 2013-01-10  David S. Miller  <davem@davemloft.net>
26556
26557         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26558         sparc V9 rather than using V8 code.
26559         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26560         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26561
26562 2013-01-10  Roland McGrath  <roland@hack.frob.com>
26563
26564         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
26565         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
26566         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
26567         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
26568         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
26569         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
26570         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
26571         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
26572         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
26573         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
26574         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
26575         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
26576         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
26577         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
26578         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
26579         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
26580         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
26581         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
26582         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
26583         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
26584         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
26585         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
26586         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
26587         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
26588         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
26589         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
26590         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
26591
26592 2013-01-10  David S. Miller  <davem@davemloft.net>
26593
26594         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26595
26596 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
26597
26598         * posix/Makefile (tests-static): New variable.
26599         (tests): Add $(tests-static).
26600         (tst-exec-static-ARGS): New variable.
26601         (tst-spawn-static-ARGS): Likewise.
26602         * posix/tst-exec-static.c: New file.
26603         * posix/tst-spawn-static.c: Likewise.
26604         * posix/tst-exec.c: Support run directly.
26605         * posix/tst-spawn.c: Likewise.
26606
26607 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
26608
26609         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
26610         long.
26611         * math/bits/mathcalls.h (llrint): Likewise.
26612         (llround): Likewise.
26613         * stdlib/stdlib.h (struct drand48_data): Likewise.
26614         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
26615         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
26616         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
26617         Likewise.
26618         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
26619         Likewise.
26620         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
26621         (elf_greg_t): Likewise.
26622         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
26623         (__jmp_buf): Likewise.
26624         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
26625         definitions.
26626         (llrint): Likewise, for all definitions.
26627         (llrintl): Likewise.
26628
26629         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
26630         Remove [__GNUC__] condition.
26631         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
26632         condition to just [__USE_ISOC99].
26633         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
26634
26635 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
26636
26637         [BZ #14200]
26638         * sysdeps/unix/sysv/linux/x86/bits/environments.h
26639         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
26640         defined.
26641         (_POSIX_V6_ILP32_OFF32): Likewise.
26642         (_XBS5_ILP32_OFF32): Likewise.
26643         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
26644         (__ILP32_OFFBIG_LDFLAGS): Likewise.
26645
26646 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26647
26648         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
26649
26650         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
26651         doubles __mpexp_twomm1.  Adjust usage.
26652         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
26653         Remove.
26654
26655 2013-01-10  Andreas Schwab  <schwab@suse.de>
26656
26657         [BZ #14964]
26658         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
26659         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
26660
26661 2013-01-09  David S. Miller  <davem@davemloft.net>
26662
26663         [BZ #15003]
26664         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
26665         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
26666         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
26667         (TCP_FASTOPEN): Define.
26668         (tcp_repair_opt): New structure.
26669         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
26670         enum values.
26671         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
26672         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
26673         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
26674         (tcp_cookie_transactions): New structure.
26675
26676 2013-01-09  Anton Blanchard  <anton@samba.org>
26677
26678         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
26679         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
26680         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
26681         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26682
26683 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
26684
26685         * include/features.h (__USE_ANSI): Remove.
26686
26687 2013-01-09  Roland McGrath  <roland@hack.frob.com>
26688
26689         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
26690
26691         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
26692
26693 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
26694
26695         * sysdeps/s390/fpu/libm-test-ulps: Update.
26696
26697         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26698
26699         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
26700         (__acr): Likewise.
26701         (__cpy): Likewise.
26702         (norm): Likewise.
26703         (denorm): Likewise.
26704         (__mp_dbl): Likewise.
26705         (__dbl_mp): Likewise.
26706         (add_magnitudes): Likewise.
26707         (sub_magnitudes): Likewise.
26708         (__add): Likewise.
26709         (__sub): Likewise.
26710         (__mul): Likewise.
26711         (__inv): Likewise.
26712         (__dvd): Likewise.
26713         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
26714         (__acr): Likewise.
26715         (__cpy): Likewise.
26716         (norm): Likewise.
26717         (denorm): Likewise.
26718         (__mp_dbl): Likewise.
26719         (__dbl_mp): Likewise.
26720         (add_magnitudes): Likewise.
26721         (sub_magnitudes): Likewise.
26722         (__add): Likewise.
26723         (__sub): Likewise.
26724         (__mul): Likewise.
26725         (__inv): Likewise.
26726         (__dvd): Likewise.
26727         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
26728         (__acr): Likewise.
26729         (__cpy): Likewise.
26730         (norm): Likewise.
26731         (denorm): Likewise.
26732         (__mp_dbl): Likewise.
26733         (__dbl_mp): Likewise.
26734         (add_magnitudes): Likewise.
26735         (sub_magnitudes): Likewise.
26736         (__add): Likewise.
26737         (__sub): Likewise.
26738         (__mul): Likewise.
26739         (__inv): Likewise.
26740         (__dvd): Likewise.
26741
26742 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
26743
26744         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26745         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26746         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26747         2 && __USE_EXTERN_INLINES]: Likewise.
26748
26749 2013-01-08  Andreas Jaeger  <aj@suse.de>
26750
26751         [BZ# 14985]
26752         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26753         Remove.
26754         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26755         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26756
26757 2013-01-07  Anton Blanchard  <anton@samba.org>
26758
26759         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26760         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26761         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26762         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26763         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26764         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26765         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26766         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26767         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26768         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26769         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26770         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26771         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26772         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26773         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26774         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26775         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26776         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26777         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26778         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26779         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26780         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26781         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26782         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26783         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26784         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26785         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26786         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26787         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26788         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26789         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26790         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26791         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26792         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26793         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26794         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26795         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26796         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26797         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26798         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26799         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26800         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26801         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26802
26803 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
26804
26805         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26806         (__MALLOC_PMT): Likewise.
26807         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26808         [__GNUC__], only on [_LIBC].
26809         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26810         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26811         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26812         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
26813         forward declaration.
26814         (realloc_hook_ini): Likewise.
26815         (memalign_hook_ini): Likewise.
26816         (__libc_memalign): Do not use __MALLOC_PMT in variable
26817         declaration.
26818         (__libc_valloc): Likewise.
26819         (__libc_pvalloc): Likewise.
26820         (__libc_calloc): Likewise.
26821         (__posix_memalign): Likewise.
26822
26823         [BZ #14996]
26824         * math/s_casinh.c: Include <float.h>.
26825         (__casinh): Do not do computation with squaring and square root
26826         for large arguments.
26827         * math/s_casinhf.c: Include <float.h>.
26828         (__casinhf): Do not do computation with squaring and square root
26829         for large arguments.
26830         * math/s_casinhl.c: Include <float.h>.
26831         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26832         (__casinhl): Do not do computation with squaring and square root
26833         for large arguments.
26834         * math/libm-test.inc (casin_test): Add more tests.
26835         (casinh_test): Likewise.
26836         * sysdeps/i386/fpu/libm-test-ulps: Update.
26837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26838
26839 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
26840
26841         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26842         (__x86_64_raw_data_cache_size): Likewise.
26843         (__x86_64_data_cache_size_half): Likewise.
26844         (__x86_64_raw_data_cache_size_half): Likewise.
26845         (__x86_64_shared_cache_size): Likewise.
26846         (__x86_64_raw_shared_cache_size): Likewise.
26847         (__x86_64_shared_cache_size_half): Likewise.
26848         (__x86_64_raw_shared_cache_size_half): Likewise.
26849         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26850         to ...
26851         (__x86_data_cache_size): This.
26852         (__x86_64_raw_data_cache_size): Renamed to ...
26853         (__x86_raw_data_cache_size): This.
26854         (__x86_64_data_cache_size_half): Renamed to ...
26855         (__x86_data_cache_size_half): This.
26856         (__x86_64_raw_data_cache_size_half): Renamed to ...
26857         (__x86_raw_data_cache_size_half): This.
26858         (__x86_64_shared_cache_size): Renamed to ...
26859         (__x86_shared_cache_size): This.
26860         (__x86_64_raw_shared_cache_size): Renamed to ...
26861         (__x86_raw_shared_cache_size): This.
26862         (__x86_64_shared_cache_size_half): Renamed to ...
26863         (__x86_shared_cache_size_half): This.
26864         (__x86_64_raw_shared_cache_size_half): Renamed to ...
26865         (__x86_raw_shared_cache_size_half): This.
26866         * sysdeps/x86_64/memcpy.S: Updated.
26867         * sysdeps/x86_64/memset.S: Likewise.
26868         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26869         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26870         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26871
26872 2013-01-04  David S. Miller  <davem@davemloft.net>
26873
26874         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26875
26876 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
26877
26878         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26879         1 to avoid redefinition warning.
26880         (__USE_GNU): Don't define.
26881         (init_signaling_nan): Protoize.
26882
26883         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26884
26885 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26886
26887         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26888         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26889         (__cpymn): Likewise.
26890         (norm): Remove commented code.
26891         (denorm): Likewise.
26892         (__mp_dbl): Likewise.
26893         (__inv): Likewise.
26894         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26895         (__cpymn): Likewise.
26896         (norm): Remove commented code.
26897         (denorm): Likewise.
26898         (__mp_dbl): Likewise.
26899         (__inv): Likewise.
26900
26901         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26902         mp_no value for 1.0 and 2.0.
26903         (norm): Use RADIXI instead of radixi.d.
26904         (denorm): Likewise.
26905         (__mul): Use 0.0 instead of zero.d.
26906         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26907         mp_no value for 1.0 and 2.0.
26908         (norm): Use RADIXI instead of radixi.d.
26909         (denorm): Likewise.
26910         (__mul): Use 0.0 instead of zero.d.
26911
26912 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
26913
26914         [BZ #14994]
26915         * math/s_casinh.c (__casinh): Reduce finite argument to first
26916         quadrant then set signs of results at the end.
26917         * math/s_casinhf.c (__casinhf): Likewise.
26918         * math/s_casinhl.c (__casinhl): Likewise.
26919         * math/libm-test.inc (casin_test): Add more tests.
26920         (casinh_test): Likewise.
26921         * sysdeps/i386/fpu/libm-test-ulps: Update.
26922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26923
26924 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26925
26926         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26927
26928         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26929
26930         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26931         declarations.
26932         (denorm): Likewise.
26933         (__mp_dbl): Likewise.
26934         (__inv): Likewise.
26935
26936         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26937         and adjust the header comment.
26938
26939         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26940         variable name from declaration.
26941
26942 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
26943
26944         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26945         Initialize COMMON_CPUID_INDEX_7 element.
26946         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26947         (CPUID_RTM): Likewise.
26948         (HAS_RTM): Likewise.
26949         (COMMON_CPUID_INDEX_7): New enum.
26950
26951 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
26952
26953         [BZ #14981]
26954         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26955         size is zero, record memory as freed.
26956
26957 2013-01-03  Andreas Jaeger  <aj@suse.de>
26958
26959         * po/ia.po: Add new Interlingua translation.
26960
26961 2012-01-03  Allan McRae  <allan@archlinux.org>
26962
26963         * locale/programs/localedef.c: Fix description of '--posix' flag.
26964
26965 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
26966
26967         * NEWS: Update dates in second copyright notice.
26968         * README: Update copyright dates in example.
26969         * manual/libc.texinfo: Update copyright dates.
26970         * scripts/test-installation.pl: Update copyright date in --version
26971         output.
26972
26973         * hurd/ctty-input.c: Fix copyright notice formatting.
26974         * hurd/ctty-output.c: Likewise.
26975         * hurd/dtable.c: Likewise.
26976         * hurd/hurd-raise.c: Likewise.
26977         * hurd/hurdprio.c: Likewise.
26978         * hurd/msgportdemux.c: Likewise.
26979         * misc/sys/file.h: Likewise.
26980         * misc/sys/ioctl.h: Likewise.
26981         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26982         * sysdeps/mach/hurd/chdir.c: Likewise.
26983         * sysdeps/mach/hurd/fchdir.c: Likewise.
26984         * sysdeps/mach/hurd/rename.c: Likewise.
26985         * sysdeps/mach/hurd/rmdir.c: Likewise.
26986         * sysdeps/mach/hurd/seekdir.c: Likewise.
26987         * sysdeps/mach/hurd/setsid.c: Likewise.
26988         * sysdeps/posix/wait3.c: Likewise.
26989
26990         * All files with FSF copyright notices: Update copyright dates
26991         using scripts/update-copyrights.
26992         * intl/plural.c: Regenerated.
26993         * locale/programs/charmap-kw.h: Likewise.
26994         * locale/programs/locfile-kw.h: Likewise.
26995
26996 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26997
26998         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26999         four values.
27000
27001         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
27002         calculation loop and add branch prediction.
27003
27004         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
27005         check access beyond bounds of m1np.
27006
27007         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27008         MPTWO.
27009         (__inv): Remove local variable MPTWO to use the global
27010         constant.
27011         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
27012         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27013         variable MPTWO.
27014         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
27015         MP3HALFS static const.
27016
27017 2013-01-01  David S. Miller  <davem@davemloft.net>
27018
27019         * po/ca.po: Update from translation team.
27020
27021 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
27022
27023         * scripts/update-copyrights: New file.
27024         * Makeconfig: Reformat copyright notice.
27025         * ctype/ctype.h: Likewise.
27026         * debug/swprintf_chk.c: Likewise.
27027         * elf/dl-cache.c: Likewise.
27028         * elf/dl-debug.c: Likewise.
27029         * elf/dl-object.c: Likewise.
27030         * grp/initgroups.c: Likewise.
27031         * hurd/Makefile: Likewise.
27032         * hurd/hurd/signal.h: Likewise.
27033         * hurd/hurdfault.c: Likewise.
27034         * hurd/hurdioctl.c: Likewise.
27035         * hurd/hurdlookup.c: Likewise.
27036         * hurd/intr-msg.c: Likewise.
27037         * iconv/gconv_open.c: Likewise.
27038         * libio/swprintf.c: Likewise.
27039         * locale/lc-ctype.c: Likewise.
27040         * locale/nl_langinfo.c: Likewise.
27041         * mach/Machrules: Likewise.
27042         * mach/Makefile: Likewise.
27043         * malloc/obstack.h: Likewise.
27044         * manual/Makefile: Likewise.
27045         * manual/tsort.awk: Likewise.
27046         * misc/bits/stab.def: Likewise.
27047         * nis/nis_print_group_entry.c: Likewise.
27048         * nis/nis_table.c: Likewise.
27049         * nis/nss_compat/compat-pwd.c: Likewise.
27050         * nis/nss_compat/compat-spwd.c: Likewise.
27051         * po/Makefile: Likewise.
27052         * posix/fnmatch.c: Likewise.
27053         * posix/regex.h: Likewise.
27054         * resolv/Makefile: Likewise.
27055         * resolv/nss_dns/dns-network.c: Likewise.
27056         * resolv/res_hconf.c: Likewise.
27057         * scripts/gen-sorted.awk: Likewise.
27058         * soft-fp/soft-fp.h: Likewise.
27059         * stdio-common/printf.h: Likewise.
27060         * stdlib/monetary.h: Likewise.
27061         * stdlib/random.c: Likewise.
27062         * stdlib/random_r.c: Likewise.
27063         * sysdeps/generic/Makefile: Likewise.
27064         * sysdeps/gnu/Makefile: Likewise.
27065         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27066         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27067         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27068         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27069         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27070         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27071         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27072         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27073         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27074         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27075         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27076         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27077         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27078         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27079         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
27080         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27081         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27082         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27083         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27084         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27085         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27086         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27087         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27088         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27089         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
27090         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27091         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
27092         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
27093         * sysdeps/mach/hurd/errnos.awk: Likewise.
27094         * sysdeps/mach/hurd/fork.c: Likewise.
27095         * sysdeps/mach/hurd/getcwd.c: Likewise.
27096         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
27097         * sysdeps/mach/hurd/mmap.c: Likewise.
27098         * sysdeps/mach/hurd/utimes.c: Likewise.
27099         * sysdeps/mach/hurd/xmknod.c: Likewise.
27100         * sysdeps/posix/profil.c: Likewise.
27101         * sysdeps/posix/readdir_r.c: Likewise.
27102         * sysdeps/powerpc/bits/mathdef.h: Likewise.
27103         * sysdeps/powerpc/bits/setjmp.h: Likewise.
27104         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
27105         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
27106         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27107         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27108         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27109         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27110         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27111         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27112         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27113         * sysdeps/pthread/lio_listio.c: Likewise.
27114         * sysdeps/sparc/dl-procinfo.h: Likewise.
27115         * sysdeps/unix/i386/sysdep.S: Likewise.
27116         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
27117         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
27118         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
27119         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
27120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27121         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
27122         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
27123         * sysdeps/unix/sysv/linux/speed.c: Likewise.
27124         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
27125         * sysdeps/wordsize-32/divdi3.c: Likewise.
27126         * time/sys/time.h: Likewise.
27127         * wcsmbs/Makefile: Likewise.
27128
27129 2013-01-01  David S. Miller  <davem@davemloft.net>
27130
27131         * po/fr.po: Update from translation team.
27132
27133         * catgets/gencat.c: Update copyright year.
27134         * csu/version.c: Likewise.
27135         * debug/catchsegv.sh: Likewise.
27136         * debug/pcprofiledump.c: Likewise.
27137         * debug/xtrace.sh: Likewise.
27138         * elf/ldconfig.c: Likewise.
27139         * elf/ldd.bash.in: Likewise.
27140         * elf/pldd.c: Likewise.
27141         * elf/sotruss.ksh: Likewise.
27142         * elf/sprof.c: Likewise.
27143         * iconv/iconv_prog.c: Likewise.
27144         * iconv/iconvconfig.c: Likewise.
27145         * locale/programs/locale.c: Likewise.
27146         * locale/programs/localedef.c: Likewise.
27147         * login/programs/pt_chown.c: Likewise.
27148         * malloc/memusage.sh: Likewise.
27149         * malloc/memusagestat.c: Likewise.
27150         * malloc/mtrace.pl: Likewise.
27151         * nscd/nscd.c: Likewise.
27152         * nss/getent.c: Likewise.
27153         * nss/makedb.c: Likewise.
27154         * posix/getconf.c: Likewise.
27155
27156 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
27157
27158         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
27159         numbers.
27160
27161 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
27162
27163         * math/bits/mathcalls.h (modf): Use __nonnull.
27164
27165 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27166
27167         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
27168         (split): Use macro CN instead of the bare value.
27169         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
27170         could be used.
27171         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
27172         instead of the bare value.
27173         (power1): Likewise.
27174
27175 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27176
27177         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
27178         __ATAN_TWOM.
27179         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27180
27181         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
27182         their values.
27183         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27184         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27185         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
27186         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
27187
27188 2012-12-28  Andreas Jaeger  <aj@suse.de>
27189
27190         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
27191         values are from Linux 3.7.
27192
27193         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
27194         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
27195
27196 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27197
27198         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
27199         TRUE case.
27200
27201         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
27202         (norm): Likewise.
27203         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
27204         variables with preprocessor constants.
27205         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27206         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27207         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27208
27209 2012-12-27  Bruno Haible  <bruno@clisp.org>
27210
27211         [BZ #14317]
27212         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
27213         only if needed.
27214
27215 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27216
27217         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
27218         and use variable directly.
27219         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
27220
27221         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27222         MPONE.
27223         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
27224         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27225         variable MPONE.
27226         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27227         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27228         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
27229         include directive.  Remove local variable MPONE.
27230         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
27231         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
27232         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27233
27234 2012-12-25  David S. Miller  <davem@davemloft.net>
27235
27236         * version.h (RELEASE): Set to "development".
27237         (VERSION): Set to "2.17.90".
27238         * NEWS: Add 2.18 section.
27239
27240 2012-12-21  David S. Miller  <davem@davemloft.net>
27241
27242         * po/hr.po: Update from translation team.
27243
27244 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27245
27246         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
27247
27248 2012-12-19  Steve Ellcey  <sellcey@mips.com>
27249
27250         * NEWS:  Mention new memcpy for MIPS.
27251
27252 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27253
27254         * manual/contrib.texi (Contributors): Spelling correction.
27255
27256 2012-12-15  David S. Miller  <davem@davemloft.net>
27257
27258         * po/ru.po: Update from translation team.
27259
27260 2012-12-13  David S. Miller  <davem@davemloft.net>
27261
27262         * NEWS: Mention IFUNC testsuite enhancements.
27263
27264         * po/pl.po: Update from translation team.
27265         * po/bg.po: Likewise.
27266
27267         * manual/contrib.texi (Contributors): Update entries for Hongjiu
27268         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
27269
27270 2012-12-11  David S. Miller  <davem@davemloft.net>
27271
27272         * po/sv.po: Update from translation team.
27273
27274         * po/vi.po: Update from translation team.
27275
27276         * po/cs.po: Update from translation team.
27277
27278         * po/de.po: Update from translation team.
27279         * po/eo.po: Likewise.
27280         * po/nl.po: Likewise.
27281
27282 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27283
27284         [BZ #14246]
27285         * manual/argp.texi (Argp Helper Functions): Move node to follow
27286         Argp Parsing State.
27287
27288         [BZ #14872]
27289         * manual/conf.texi (Limits on File System Capacity): Mention if
27290         terminating null is included in the max size.
27291
27292 2012-12-10  Andreas Jaeger  <aj@suse.de>
27293
27294         * po/cs.po: Update from translation team.
27295
27296 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27297
27298         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
27299         void pointer and cast to uintptr_t.
27300         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
27301         path.
27302         * sysdeps/s390/s390-64/memcpy.S: Likewise.
27303         * sysdeps/s390/s390-64/memset.S: Likewise.
27304
27305 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
27306
27307         [BZ #14833]
27308         * menual/message.texi (Message Translation): Fix typos.
27309         (Helper programs for gettext): Likewise.
27310
27311 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
27312
27313         [BZ #14898]
27314         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
27315         Change to -1.
27316
27317 2012-12-07  David S. Miller  <davem@davemloft.net>
27318
27319         * po/libc.pot: Update.
27320
27321 2012-12-07  Richard Henderson  <rth@redhat.com>
27322
27323         [BZ #10114]
27324         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
27325         normal/normal case to before the switch.
27326         (_FP_DIV): Likewise.
27327
27328 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
27329             Mike Frysinger  <vapier@gentoo.org>
27330
27331         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
27332         check for __NR_fadvise64_64.
27333
27334 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
27335
27336         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
27337         0, not just to plain "0" as a statement.
27338         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
27339         with cw.
27340
27341 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
27342
27343         * NEWS: Use sourceware.org in Bugzilla URL.
27344
27345 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
27346
27347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27348         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27349
27350         * stdio-common/tst-put-error.c (do_test): Add newline to the
27351         padded test to ensure flush.
27352
27353 2012-12-05  Jeff Law  <law@redhat.com>
27354
27355         * sunrpc/etc.rpc (fedfs_admin): Add entry.
27356
27357 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
27358
27359         * README: Don't refer to ports add-on as distributed separately.
27360         Mention AArch64 in list of systems supported in the ports add-on.
27361
27362         * LICENSES: Add more non-FSF copyright and license notices.
27363
27364         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
27365         ((unused)).
27366
27367         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
27368
27369         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
27370         10000 as width of padded output.
27371
27372 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
27373
27374         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
27375
27376         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
27377         variable LX with __attribute__ ((unused)).
27378         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27379         Likewise.
27380         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27381         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27382         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
27383         with __attribute__ ((unused)).
27384
27385 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
27386
27387         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
27388
27389 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
27390
27391         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
27392         (CFLAGS-nldbl-acos.c): New variable.
27393         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
27394         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
27395         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
27396         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
27397         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
27398         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
27399         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
27400         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
27401         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
27402         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
27403         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
27404         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
27405         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
27406         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
27407         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
27408         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
27409         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
27410         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
27411         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
27412         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
27413         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
27414         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
27415         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
27416         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
27417         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
27418         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
27419         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
27420         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
27421         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
27422         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
27423         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
27424         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
27425         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
27426         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
27427         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
27428         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
27429         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
27430         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
27431         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
27432         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
27433         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
27434         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
27435         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
27436         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
27437         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
27438         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
27439         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
27440         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
27441         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
27442         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
27443         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
27444         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
27445         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
27446         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
27447         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
27448         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
27449         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
27450         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
27451         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
27452         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
27453         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
27454         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
27455         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
27456         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
27457         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
27458         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
27459         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
27460         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
27461         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
27462         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
27463         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
27464         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
27465         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
27466         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
27467         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
27468         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
27469         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
27470         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
27471         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
27472         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
27473         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
27474         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
27475         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
27476         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
27477         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
27478         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
27479         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
27480         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
27481         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
27482         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
27483         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
27484         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
27485         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
27486         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
27487         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
27488         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
27489         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
27490
27491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27492         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27493
27494         [BZ #14914]
27495         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
27496         whole low double instead of just low 47 bits when splitting values
27497         into two parts.
27498
27499 2012-12-03  Allan McRae  <allan@archlinux.org>
27500
27501         * manual/stdio.texi (Predefined Printf Handlers): Remove
27502         @hsep and @vsep usage.
27503
27504 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
27505
27506         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
27507         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
27508
27509 2012-12-03  Jeff Law  <law@redhat.com>
27510
27511         * time/sys/time.h (settimeofday): Do not mark TV argument
27512         as __nonnull.
27513
27514 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
27515
27516         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
27517         when currently writing and seek to current position when not.
27518         * libio/Makefile (tests): Remove bug-fclose1.
27519         * libio/bug-fclose1.c: Delete.
27520
27521 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
27522
27523         * manual/arith.texi (feenableexcept): Fix typo.
27524         (fedisableexcept): Likewise.
27525
27526 2012-11-30  Roland McGrath  <roland@hack.frob.com>
27527
27528         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
27529         second, differently-typed declaration, rather than a cast.
27530
27531 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27532
27533         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
27534         * include/rpc/svc.h: ... here.
27535
27536 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
27537
27538         [BZ #13013]
27539         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
27540         depending n and resplen2 to catch cases where answer
27541         equals answerp2.
27542
27543 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
27544
27545         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
27546         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
27547
27548 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
27549
27550         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
27551
27552 2012-11-29  Roland McGrath  <roland@hack.frob.com>
27553
27554         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
27555
27556 2012-11-28  Jeff Law  <law@redhat.com>
27557
27558         [BZ #13761]
27559         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
27560         dataset_temporary.  Track alloca usage into alloca_used.
27561         If dataset is large allocate and release it via malloc/free.
27562
27563 2012-06-04  Florian Weimer  <fweimer@redhat.com>
27564
27565         [BZ #14197]
27566         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
27567
27568 2012-11-28  David S. Miller  <davem@davemloft.net>
27569
27570         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27571
27572 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
27573
27574         [BZ #14803]
27575         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
27576         of pi/2 rounded to nearest to 64 bits.
27577         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
27578         nearest to 64 bits.
27579         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
27580         bits.
27581
27582 2012-11-28  Jeff Law <law@redhat.com>
27583             Martin Osvald <mosvald@redhat.com>
27584
27585         [BZ #14889]
27586         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
27587         * sunrpc/svc.c: Include time.h.
27588         (__svc_accept_failed): New function.
27589         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
27590         any reason other than EINTR, call __svc_accept_failed.
27591         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
27592         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
27593
27594 2012-11-28  Andreas Schwab  <schwab@suse.de>
27595
27596         * scripts/abilist.awk: Also handle indirect functions in .opd
27597         section.
27598
27599 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
27600
27601         [BZ #13881]
27602         * sysdeps/x86/fpu/powl_helper.c: New file.
27603         * sysdeps/x86/fpu/Makefile: Likewise.
27604         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
27605         (p3): New object.
27606         (__ieee754_powl): Use __powl_helper for finite arguments except
27607         integer exponents below 8.
27608         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
27609         (p3): New object.
27610         (__ieee754_powl): Use __powl_helper for finite arguments except
27611         integer exponents below 8.
27612         * math/libm-test.inc (pow_test): Add more tests and enable some
27613         previously disabled tests.
27614         * sysdeps/i386/fpu/libm-test-ulps: Update.
27615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27616
27617 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27618             Carlos O'Donell  <carlos_odonell@mentor.com>
27619
27620         * nss/makedb.c (is_prime): Assert that input is odd and greater
27621         than 4.  Note that fact in a comment too.
27622         (next_prime): Add 4 to input.
27623
27624 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27625
27626         [BZ #11741]
27627         * libio/Makefile (tests): Add test case tst-fwrite-error.
27628         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
27629         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27630         * libio/tst-fwrite-error.c: New test case.
27631
27632 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
27633
27634         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
27635         before casting to void *.
27636         * include/libc-internal.h (__pointer_type): New macro.
27637         (__integer_if_pointer_type_sub): Likewise.
27638         (__integer_if_pointer_type): Likewise.
27639         (cast_to_integer): Likewise.
27640         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
27641         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
27642         before casting to atomic64_t.
27643         (atomic_exchange_acq): Likewise.
27644         (__arch_exchange_and_add_body): Likewise.
27645         (__arch_add_body): Likewise.
27646         (atomic_add_negative): Likewise.
27647         (atomic_add_zero): Likewise.
27648
27649 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
27650
27651         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
27652         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
27653         (add_fdes): Likewise.
27654         (linear_search_fdes): Likewise.
27655         (binary_search_unencoded_fdes): Likewise.
27656
27657 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
27658
27659         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
27660
27661 2012-11-24  Adam Conrad  <adconrad@0c3.net>
27662
27663         * configure.in: Autodetect C++ header directories.
27664         * configure: Regenerated.
27665
27666 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
27667
27668         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
27669
27670 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
27671
27672         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27673
27674 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
27675
27676         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
27677         LDBL_MANT_DIG == 106]: Disable some tests.
27678         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27679         Likewise.
27680         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27681         Likewise.
27682
27683         [BZ #14871]
27684         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
27685         input for small inputs.  Return +/- pi/2 for large inputs.
27686         * math/libm-test.inc (atan_test): Add more tests.
27687
27688         * sysdeps/generic/unwind-dw2-fde-glibc.c
27689         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
27690         __attribute__ ((unused)).
27691
27692         [BZ #14645]
27693         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
27694         x * y if x and y are nonzero and z is zero.
27695
27696         [BZ #14811]
27697         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
27698         nonzero exponents with absolute value below 0x1p-117 to +/-
27699         0x1p-117.
27700
27701         [BZ #14869]
27702         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
27703         up arguments below 2**-450, not just those below 2**-500.
27704         * math/libm-test.inc (hypot_test): Add another test.
27705
27706         [BZ #14868]
27707         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27708         Return a+b for ratio over 2**120, not 2**60.
27709         * math/libm-test.inc (hypot_test): Add another test.
27710
27711         * math/libm-test.inc (clog_test): Use
27712         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
27713         (clog10_test): Likewise.
27714
27715         [BZ #6778]
27716         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
27717
27718 2012-11-22  Andreas Schwab  <schwab@suse.de>
27719
27720         * sysdeps/i386/fpu/libm-test-ulps: Update.
27721
27722 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
27723
27724         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
27725         printf output with newline.
27726
27727 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
27728
27729         [BZ #14865]
27730         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
27731         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
27732         -z nodlopen, -z initfirst and -z execstack support.
27733         * configure: Regenerated.
27734
27735         * elf/elf.h (DF_1_NODIRECT): New macro.
27736         (DF_1_IGNMULDEF): Likewise.
27737         (DF_1_NOKSYMS): Likewise.
27738         (DF_1_NOHDR): Likewise.
27739         (DF_1_EDITED): Likewise.
27740         (DF_1_NORELOC): Likewise.
27741         (DF_1_SYMINTPOSE): Likewise.
27742         (DF_1_GLOBAUDIT): Likewise.
27743         (DF_1_SINGLETON): Likewise.
27744         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27745         DT_1_SUPPORTED_MASK bits.
27746         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27747
27748 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
27749
27750         * sysdeps/unix/make-syscalls.sh: Document prefixes.
27751
27752 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
27753
27754         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27755         macro.
27756
27757         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27758         (sendmmsg): Move declarations...
27759         * socket/sys/socket.h: ... here.
27760         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27761         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27762         include it from...
27763         * socket/recvmmsg.c: ... this new file.
27764         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27765         (sendmmsg): Rename to __sendmmsg, create weak alias and make
27766         definition of __sendmmsg hidden.
27767         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27768         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27769         Move ENOSYS stub into and include it from...
27770         * socket/sendmmsg.c: ... this new file.
27771         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27772         (sysdep_routines): Move recvmmsg and sendmmsg...
27773         * socket/Makefile (routines): ... here.
27774         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27775         (GLIBC_PRIVATE): Add __sendmmsg.
27776         * include/sys/socket.h (__sendmmsg): Add declarations.
27777         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27778         sendmmsg.
27779
27780 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
27781
27782         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27783         variable I1 with __attribute__ ((unused)).
27784         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27785
27786 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
27787
27788         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27789         DUMMY variables with __attribute__ ((unused)).
27790
27791         * bits/byteswap.h: Include <bits/types.h>.
27792         (__bswap_64): Use __uint64_t instead of unsigned long long int.
27793
27794 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
27795
27796         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27797         string_t.  Do not manually set errno.
27798         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27799         length with __strnlen.  Make sure to both set errno and return it on
27800         failure.
27801
27802 2012-11-19  David S. Miller  <davem@davemloft.net>
27803
27804         With help from Joseph Myers.
27805         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27806         very large arguments properly.
27807         * math/libm-test.inc (atan_test): New tests.
27808         (atan2_test): New tests.
27809         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27810         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27811
27812 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
27813
27814         [BZ #14856]
27815         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
27816         Define to 3.
27817
27818         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27819         [POSIX] (EADDRNOTAVAIL): Likewise.
27820         [POSIX] (EAFNOSUPPORT): Likewise.
27821         [POSIX] (EALREADY): Likewise.
27822         [POSIX] (ECONNABORTED): Likewise.
27823         [POSIX] (ECONNREFUSED): Likewise.
27824         [POSIX] (ECONNRESET): Likewise.
27825         [POSIX] (EDESTADDRREQ): Likewise.
27826         [POSIX] (EDQUOT): Likewise.
27827         [POSIX] (EHOSTUNREACH): Likewise.
27828         [POSIX] (EIDRM): Likewise.
27829         [POSIX] (EISCONN): Likewise.
27830         [POSIX] (ELOOP): Likewise.
27831         [POSIX] (EMULTIHOP): Likewise.
27832         [POSIX] (ENETDOWN): Likewise.
27833         [POSIX] (ENETUNREACH): Likewise.
27834         [POSIX] (ENOBUFS): Likewise.
27835         [POSIX] (ENODATA): Likewise.
27836         [POSIX] (ENOLINK): Likewise.
27837         [POSIX] (ENOMSG): Likewise.
27838         [POSIX] (ENOPROTOOPT): Likewise.
27839         [POSIX] (ENOSR): Likewise.
27840         [POSIX] (ENOSTR): Likewise.
27841         [POSIX] (ENOTCONN): Likewise.
27842         [POSIX] (ENOTSOCK): Likewise.
27843         [POSIX] (EOPNOTSUPP): Likewise.
27844         [POSIX] (EOVERFLOW): Likewise.
27845         [POSIX] (EPROTO): Likewise.
27846         [POSIX] (EPROTONOSUPPORT): Likewise.
27847         [POSIX] (EPROTOTYPE): Likewise.
27848         [POSIX] (ESTALE): Likewise.
27849         [POSIX] (ETIME): Likewise.
27850         [POSIX] (ETXTBSY): Likewise.
27851         [POSIX] (EWOULDBLOCK): Likewise.
27852         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27853         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27854         [POSIX] (SEEK_CUR): Likewise.
27855         [POSIX] (SEEK_END): Likewise.
27856         [POSIX || UNIX98] (mode_t): Do not require.
27857         [POSIX] (off_t): Likewise.
27858         [POSIX] (pid_t): Likewise.
27859         [POSIX] (sys/stat.h): Do not allow header.
27860         [POSIX] (unistd.h): Likewise.
27861         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27862         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27863         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27864         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27865         require.
27866         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27867         sigevent): Specify elements.
27868         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27869         entry.
27870         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27871         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27872
27873         * conform/data/cpio.h-data [POSIX]: Disable whole file.
27874         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27875         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27876         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27877         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27878         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27879         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27880         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27881         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27882         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27883         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27884         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27885         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27886         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27887         Likewise.
27888         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27889         Likewise.
27890         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27891         Likewise.
27892         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27893         Likewise.
27894         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27895         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27896         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27897         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27898         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27899         Specify lower bound on value.
27900         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27901         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27902         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27903         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27904         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27905         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27906         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27907         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27908         value.
27909         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27910         as optional.
27911         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27912         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27913         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27914         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27915         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27916         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27917         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27918         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27919         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27920         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27921         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27922         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27923         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27924         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27925         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27926         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27927         entry.
27928         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27929         optional.
27930         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27931         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27932         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27933         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27934         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27935         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27936         Likewise.
27937         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27938         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27939         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27940         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27941         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
27942         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27943         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27944         as optional.
27945         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27946         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27947         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27948         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27949         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27950         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27951         specify as optional.
27952         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27953         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27954         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27955         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27956         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27957         [XPG3] (NL_LANGMAX): Likewise.
27958         [POSIX || XPG3] (NL_MSGMAX): Likewise.
27959         [POSIX || XPG3] (NL_NMAX): Likewise.
27960         [POSIX || XPG3] (NL_SETMAX): Likewise.
27961         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27962         [XPG3] (NZERO): Likewise.
27963         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27964         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27965         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27966         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27967         (REG_ERANGE): Expect.
27968         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27969         optional-constant.
27970         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27971         Use (void) in prototype.
27972         [POSIX] (*_t): Allow.
27973         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27974         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27975         (WRDE_BADVAL): Expect.
27976
27977         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27978         expect.
27979         [XPG3 || XPG4] (O_RSYNC): Likewise.
27980         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27981         Likewise.
27982         [XPG3 || XPG4] (pthread_sigmask): Likewise.
27983         [XPG3 || XPG4] (sigqueue): Likewise.
27984         [XPG3 || XPG4] (sigtimedwait): Likewise.
27985         [XPG3 || XPG4] (sigwaitinfo): Likewise.
27986         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27987         [XPG3 || XPG4] (vsnprintf): Likewise.
27988         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27989         Likewise.
27990         [XPG3 || XPG4] (blksize_t): Likewise.
27991         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27992         Likewise.
27993         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27994         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27995         [XPG3 || XPG4] (struct itimerspec): Likewise.
27996         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27997         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27998         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27999         [XPG3 || XPG4] (clockid_t): Likewise.
28000         [XPG3 || XPG4] (timer_t): Likewise.
28001         [XPG3 || XPG4] (clock_getres): Likewise.
28002         [XPG3 || XPG4] (clock_gettime): Likewise.
28003         [XPG3 || XPG4] (clock_settime): Likewise.
28004         [XPG3 || XPG4] (nanosleep): Likewise.
28005         [XPG3 || XPG4] (timer_create): Likewise.
28006         [XPG3 || XPG4] (timer_delete): Likewise.
28007         [XPG3 || XPG4] (timer_gettime): Likewise.
28008         [XPG3 || XPG4] (timer_getoverrun): Likewise.
28009         [XPG3 || XPG4] (timer_settime): Likewise.
28010         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
28011         [XPG3 || XPG4] (getlogin_r): Likewise.
28012         [XPG3 || XPG4] (pread): Likewise.
28013         [XPG3 || XPG4] (pthread_atfork): Likewise.
28014         [XPG3 || XPG4] (pwrite): Likewise.
28015
28016         [BZ #14835]
28017         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
28018         <bits/siginfo.h>.
28019
28020 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
28021
28022         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
28023         finalizing MALLSTREAM.
28024
28025         * sysdeps/mach/hurd/syncfs.c: New file.
28026
28027 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28028
28029         [BZ #14719]
28030         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
28031         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
28032         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
28033         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
28034         (_nss_dns_gethostbyname4_r): Likewise.
28035         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
28036         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
28037
28038 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
28039
28040         [BZ #13763]
28041         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
28042
28043 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
28044
28045         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
28046         * elf/cache.c (print_entry): Print ",AArch64" for
28047         FLAG_AARCH64_LIB64
28048
28049         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
28050         * elf/cache.c (print_entry): Print ",hard-float" for
28051         FLAG_ARM_LIBHF.
28052
28053 2012-11-18  David S. Miller  <davem@davemloft.net>
28054
28055         With help from Joseph Myers.
28056         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
28057         cutoff to 2**-13.
28058         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
28059         cutoff to 2**-25.
28060         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
28061         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
28062         small.
28063         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
28064         * math/libm-test.inc (y0_test): New tests.
28065         (y1_test): New tests.
28066         * sysdeps/i386/fpu/libm-test-ulps: Update.
28067         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28068         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28069
28070 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
28071
28072         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
28073         64-bit targets.
28074         * configure: Regenerated.
28075
28076 2012-11-17  David S. Miller  <davem@davemloft.net>
28077
28078         [BZ #14811]
28079         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
28080         nonzero exponents with absolute value below 0x1p-128 to +/-
28081         0x1p-128.
28082
28083 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
28084
28085         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
28086
28087         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
28088
28089         * posix/getconf-speclist.c: New file.
28090         * posix/posix-envs.def: Likewise.
28091         * posix/confstr.c (START_ENV_GROUP): New macro.
28092         (END_ENV_GROUP): Likewise.
28093         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28094         (KNOWN_PRESENT_ENV_STRING): Likewise.
28095         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28096         (UNKNOWN_ENVIRONMENT): Likewise.
28097         (confstr): Include posix-envs.def instead of handling
28098         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
28099         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
28100         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
28101         (END_ENV_GROUP): Likewise.
28102         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28103         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28104         (UNKNOWN_ENVIRONMENT): Likewise.
28105         (__sysconf): Include posix-envs.def instead of handling associated
28106         cases directly here.
28107         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
28108         preprocessing getconf-speclist.c rather than running getconf or
28109         generating empty file.
28110
28111 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
28112
28113         * scripts/check-local-headers.sh: Ignore 'mach' headers.
28114
28115 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
28116
28117         [BZ #14672]
28118         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
28119
28120 2012-11-16  David S. Miller  <davem@davemloft.net>
28121
28122         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
28123         smaller than LDBL_EPSILON/2.0L, just return xm1.
28124
28125 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
28126
28127         * elf/tst-array1.c (init): Set constructor priority to 1000.
28128         (fini): Set destructor priority to 1000.
28129         * elf/tst-array2dep.c: Likewise.
28130
28131 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28132
28133         [BZ #11741]
28134         * libio/fileops.c (_IO_new_file_write): Correctly return error.
28135         (_IO_new_file_xsputn): Also return EOF if none of the input
28136         data was written when overflow failed.
28137         * libio/iopadn.c (_IO_padn): Likewise.
28138         * libio/iowpadn.c (_IO_wpadn): Likewise.
28139         * stdio-common/tst-put-error.c: Add copyright notice.
28140         (do_test): Add case for printing padded string.
28141         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
28142         _IO_padn returned error.
28143         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
28144         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
28145         return EOF.
28146
28147 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28148
28149         * libio/libioP.h: Add comment note that the references to C++
28150         bits are now obsolete.
28151
28152 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28153
28154         * math/libm-test.inc (check_complex): Use asprintf.
28155
28156 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
28157
28158         * debug/pcprofiledump.c (print_version): Update copyright year.
28159         * malloc/memusagestat.c (print_version): Likewise.
28160
28161 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
28162
28163         [BZ #14831]
28164         * elf/Makefile (tests): Add tst-audit8.
28165         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
28166         ($(objpfx)tst-audit8.out): New target.
28167         (tst-audit8-ENV): New variable.
28168         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
28169         audit if l_reloc_result is NULL.
28170         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
28171         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
28172         * elf/tst-audit8.c: New file.
28173
28174 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28175
28176         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
28177         * misc/Makefile (CFLAGS-select.c): Define.
28178         * posix/Makefile (CFLAGS-pause.c): Define.
28179
28180 2012-11-13  David S. Miller  <davem@davemloft.net>
28181
28182         * crypt/Makefile: Move test targets after toplevel Rules
28183         inclusion.  Grab any necessary sysdep routines when linking.
28184         * crypt/md5.c (md5_process_block): Remove define, we will always
28185         name it __md5_process_block.
28186         (md5_finish_ctx): Update md5_process_block call.
28187         (md5_stream): Likewise.
28188         (md5_process_bytes): Likewise.
28189         (md5_process_block): Rename to __md5_process_block and move to ...
28190         * crypt/md5-block.c: ... here.
28191         * crypt/sha256.c (sha256_process_block): Move to ...
28192         * crypt/sha256-block.c: ... here.
28193         * crypt/sha512.c (sha512_process_block): Move to ...
28194         * crypt/sha512-block.c: ... here.
28195         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
28196         path.
28197         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
28198         * sysdeps/sparc/sparc64/multiarch/Makefile
28199         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
28200         crypt subdir.
28201         (localedef-aux): Add md5 crypto assembler when in locale subdir.
28202         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
28203         multiarch changes.
28204         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
28205         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
28206         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
28207         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
28208         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
28209         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
28210         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
28211         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
28212         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
28213         file.
28214         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
28215         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
28216         file.
28217         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
28218
28219 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
28220
28221         * timezone/tzselect.ksh: Update from tzcode git revision
28222         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
28223         * timezone/zdump.c: Likewise.
28224         * timezone/zic.c: Likewise.
28225         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
28226         in TZVERSION setting, not $(PKGVERSION).
28227         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
28228         REPORT_BUGS_TO settings.
28229
28230         [BZ #14838]
28231         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
28232         macro.
28233
28234 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28235
28236         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
28237         detection to immediately after _FP_ROUND().
28238         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
28239         bits are 0.
28240
28241 2012-11-11  David S. Miller  <davem@davemloft.net>
28242
28243         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
28244         inttypes.h
28245         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
28246         __close rather than their public counterparts.
28247
28248 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
28249
28250         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
28251         file.
28252         [UNIX98] (sem_timedwait): Do not expect.
28253         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
28254         [XPG4 || UNIX98] (sockatmark): Do not expect.
28255         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
28256         (clock_getcpuclockid): Do not expect.
28257         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
28258         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
28259         Do not expect.
28260         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
28261         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
28262         [UNIX98] (vwscanf): Likewise.
28263         [UNIX98] (vswscanf): Likewise.
28264
28265 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
28266
28267         * timezone/version.h: Remove file.
28268         * timezone/README: Do not refer to version.h.
28269         * timezone/Makefile ($(objpfx)zic.o): New dependency on
28270         $(objpfx)version.h.
28271         ($(objpfx)zdump.o): Likewise.
28272         ($(objpfx)version.h): New target.
28273
28274         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
28275         2012i.
28276         * timezone/README: Don't mention modification to tzselect.ksh.
28277         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
28278         work on unmodified tzselect.ksh.  Substitute version numbers in
28279         tzselect.ksh.
28280
28281         * Makefile (format-me): Remove.
28282         (INSTALL): Adjust indentation.  Use commands directly instead of
28283         using $(format-me).
28284
28285         * aclocal.m4 (ACX_PKGVERSION): New macro.
28286         (ACX_BUGURL): Likewise.
28287         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
28288         (PKGVERSION): New AC_DEFINE_UNQUOTED.
28289         (REPORT_BUGS_TO): Likewise.
28290         * configure: Regenerated.
28291         * config.h.in (PKGVERSION): New macro.
28292         (REPORT_BUGS_TO): Likewise.
28293         * config.make.in (PKGVERSION): New variable.
28294         (PKGVERSION_TEXI): Likewise.
28295         (REPORT_BUGS_TO): Likewise.
28296         (REPORT_BUGS_TEXI): Likewise.
28297         * Makefile (format-me): Use -I$(common-objpfx)manual.
28298         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
28299         ($(common-objpfx)manual/%): New target.
28300         (manual/%): Remove target.
28301         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
28302         (print_version): Use PKGVERSION.
28303         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
28304         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
28305         and REPORT_BUGS_TO.
28306         ($(objpfx)xtrace): Likewise.
28307         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
28308         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
28309         (print_version): Use PKGVERSION.
28310         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
28311         (do_version): Use PKGVERSION.
28312         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
28313         REPORT_BUGS_TO.
28314         (common-ldd-rewrite): Likewise.
28315         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
28316         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
28317         (print_version): Use PKGVERSION.
28318         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
28319         * elf/pldd.c (argp_program_bug_address): Remove variable.
28320         (more_help): New function.
28321         (argp): Use more_help.
28322         (print_version): Use PKGVERSION.
28323         * elf/sln.c (main): Use PKGVERSION.
28324         (usage): Use REPORT_BUGS_TO.
28325         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
28326         (top level): Use PKGVERSION.
28327         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
28328         (print_version): Use PKGVERSION.
28329         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
28330         (print_version): Use PKGVERSION.
28331         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
28332         (print_version): Use PKGVERSION.
28333         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
28334         (print_version): Use PKGVERSION.
28335         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
28336         (print_version): Use PKGVERSION.
28337         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
28338         (print_version): Use PKGVERSION.
28339         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
28340         and BUGURL.
28341         ($(objpfx)memusage): Likewise.
28342         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
28343         (do_version): Use PKGVERSION.
28344         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
28345         (print_version): Use PKGVERSION.
28346         * malloc/mtrace.pl ($PACKAGE): Remove variable.
28347         ($PKGVERSION): New variable.
28348         ($REPORT_BUGS_TO): Likewise.
28349         (usage): Use $REPORT_BUGS_TO.
28350         (top level): Use $PKGVERSION.
28351         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
28352         ($(objpfx)pkgvers.texi): New rule.
28353         ($(objpfx)stamp-pkgvers): Likewise.
28354         * manual/install.texi: Include pkgvers.texi.
28355         (--with-pkgversion): Document new configure option.
28356         (--with-bugurl): Likewise.
28357         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
28358         than necessarily for this particular distribution.  Use
28359         REPORT_BUGS_TO for where to report bugs.
28360         * INSTALL: Regenerated.
28361         * manual/libc.texinfo: Include pkgvers.texi.
28362         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
28363         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
28364         (print_version): Use PKGVERSION.
28365         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
28366         (print_version): Use PKGVERSION.
28367         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
28368         (print_version): Use PKGVERSION.
28369         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
28370         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
28371         macro.
28372         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
28373         (print_version): Use PKGVERSION.
28374         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
28375         (print_version): Use PKGVERSION.
28376         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
28377         and PKGVERSION.
28378
28379         * timezone/checktab.awk: Update from tzcode 2012i.
28380         * timezone/ialloc.c: Likewise.
28381         * timezone/private.h: Likewise.
28382         * timezone/scheck.c: Likewise.
28383         * timezone/tzfile.h: Likewise.
28384         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
28385         (TZVERSION): Hardcode tzcode version number.
28386         * timezone/zdump.c: Update from tzcode 2012i.
28387         * timezone/zic.c: Likewise.
28388         * timezone/version.h: New file.
28389         * timezone/README: Describe version.h.  Update upstream location.
28390
28391         [BZ #14824]
28392         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
28393         (mktemp): Enable declaration.
28394         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
28395         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
28396         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
28397         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
28398         Likewise.
28399         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
28400         Likewise.
28401         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
28402         Likewise.
28403         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
28404         Likewise.
28405         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
28406         Likewise.
28407         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
28408         Likewise.
28409
28410         [BZ #14821]
28411         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
28412         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
28413         for copies of such integer values.
28414         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28415         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28416
28417 2012-11-09  Andreas Jaeger  <aj@suse.de>
28418
28419         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
28420         definitions and declarations that are provided by
28421         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28422
28423 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28424
28425         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
28426         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
28427         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
28428         definition.
28429
28430 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28431
28432         * elf/elf.h: Update comment before AArch64 relocations.
28433
28434 2012-11-07  David S. Miller  <davem@davemloft.net>
28435
28436         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
28437         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28438         (__start_context): Declare.
28439         (__makecontext_ret): Delete.
28440         (__makecontext): Hook up __start_context instead of
28441         __makecontext_ret.
28442         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
28443         (sysdep_routines): Add __start_context when in stdlib.
28444
28445 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28446
28447         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
28448         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
28449         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
28450         hardcoded "nm".
28451         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
28452         (READELF): New variable.  Use it instead of hardcoded "readelf".
28453
28454 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
28455
28456         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
28457         * sysdeps/x86/Makefile: Here.
28458         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
28459         * sysdeps/x86/tst-xmmymm.sh: This.
28460
28461 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28462
28463         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
28464         expectations.
28465         [UNIX98] (pthread_barrier_t): Do not expect.
28466         [UNIX98] (pthread_barrierattr_t): Likewise.
28467         [UNIX98] (pthread_spinlock_t): Likewise.
28468         [UNIX98] (pthread_barrier_destroy): Likewise.
28469         [UNIX98] (pthread_barrier_init): Likewise.
28470         [UNIX98] (pthread_barrier_wait): Likewise.
28471         [UNIX98] (pthread_barrierattr_destroy): Likewise.
28472         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
28473         [UNIX98] (pthread_barrierattr_init): Likewise.
28474         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
28475         [UNIX98] (pthread_getcpuclockid): Likewise.
28476         [UNIX98] (pthread_mutex_timedlock): Likewise.
28477         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
28478         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
28479         [UNIX98] (pthread_sigmask): Likewise.
28480         [UNIX98] (pthread_spin_destroy): Likewise.
28481         [UNIX98] (pthread_spin_init): Likewise.
28482         [UNIX98] (pthread_spin_lock): Likewise.
28483         [UNIX98] (pthread_spin_trylock): Likewise.
28484         [UNIX98] (pthread_spin_unlock): Likewise.
28485         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
28486         Do not expect.
28487         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
28488         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
28489         [XPG3 || XPG4] (pthread_cond_t): Likewise.
28490         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
28491         [XPG3 || XPG4] (pthread_key_t): Likewise.
28492         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
28493         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
28494         [XPG3 || XPG4] (pthread_once_t): Likewise.
28495         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
28496         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
28497         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
28498         [XPG3 || XPG4] (pthread_t): Likewise.
28499
28500         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
28501         not expect.
28502         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
28503
28504         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
28505         Change function return type to int.
28506
28507         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
28508         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
28509         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
28510         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
28511         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
28512         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
28513         [!POSIX] (posix_madvise): Likewise.
28514         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
28515         && !UNIX98].
28516         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
28517         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
28518         (mode_t): Likewise.
28519         (posix_mem_offset): Likewise.
28520         (posix_typed_mem_get_info): Likewise.
28521         (posix_typed_mem_open): Likewise.
28522
28523         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
28524         Change condition to [XOPEN2K8].
28525
28526         * conform/conformtest.pl: Preprocess allow-header data with -x c
28527         instead of from stdin.
28528         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
28529         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
28530         [C99-based standards] (cerfc): Likewise.
28531         [C99-based standards] (cexp2): Likewise.
28532         [C99-based standards] (cexpm1): Likewise.
28533         [C99-based standards] (clog10): Likewise.
28534         [C99-based standards] (clog1p): Likewise.
28535         [C99-based standards] (clog2): Likewise.
28536         [C99-based standards] (clgamma): Likewise.
28537         [C99-based standards] (ctgamma): Likewise.
28538         [C99-based standards] (cerff): Likewise.
28539         [C99-based standards] (cerfcf): Likewise.
28540         [C99-based standards] (cexp2f): Likewise.
28541         [C99-based standards] (cexpm1f): Likewise.
28542         [C99-based standards] (clog10f): Likewise.
28543         [C99-based standards] (clog1pf): Likewise.
28544         [C99-based standards] (clog2f): Likewise.
28545         [C99-based standards] (clgammaf): Likewise.
28546         [C99-based standards] (ctgammaf): Likewise.
28547         [C99-based standards] (cerfl): Likewise.
28548         [C99-based standards] (cerfcl): Likewise.
28549         [C99-based standards] (cexp2l): Likewise.
28550         [C99-based standards] (cexpm1l): Likewise.
28551         [C99-based standards] (clog10l): Likewise.
28552         [C99-based standards] (clog1pl): Likewise.
28553         [C99-based standards] (clog2l): Likewise.
28554         [C99-based standards] (clgammal): Likewise.
28555         [C99-based standards] (ctgammal): Likewise.
28556         * conform/data/inttypes.h-data [C99-based standards]: Include
28557         stdint.h-data.  Remove all expectations for stdint.h contents.
28558         [C99-based standards] (PRI*): Do not allow.
28559         [C99-based standards] (SCN*): Likewise.
28560         [C99-based standards] (*_t): Likewise.
28561         [C99-based-standards] (PRId8): Expect macro.
28562         [C99-based-standards] (PRIi8): Likewise.
28563         [C99-based-standards] (PRIo8): Likewise.
28564         [C99-based-standards] (PRIu8): Likewise.
28565         [C99-based-standards] (PRIx8): Likewise.
28566         [C99-based-standards] (PRIX8): Likewise.
28567         [C99-based-standards] (SCNd8): Likewise.
28568         [C99-based-standards] (SCNi8): Likewise.
28569         [C99-based-standards] (SCNo8): Likewise.
28570         [C99-based-standards] (SCNu8): Likewise.
28571         [C99-based-standards] (SCNx8): Likewise.
28572         [C99-based-standards] (PRIdLEAST8): Likewise.
28573         [C99-based-standards] (PRIiLEAST8): Likewise.
28574         [C99-based-standards] (PRIoLEAST8): Likewise.
28575         [C99-based-standards] (PRIuLEAST8): Likewise.
28576         [C99-based-standards] (PRIxLEAST8): Likewise.
28577         [C99-based-standards] (PRIXLEAST8): Likewise.
28578         [C99-based-standards] (SCNdLEAST8): Likewise.
28579         [C99-based-standards] (SCNiLEAST8): Likewise.
28580         [C99-based-standards] (SCNoLEAST8): Likewise.
28581         [C99-based-standards] (SCNuLEAST8): Likewise.
28582         [C99-based-standards] (SCNxLEAST8): Likewise.
28583         [C99-based-standards] (PRIdFAST8): Likewise.
28584         [C99-based-standards] (PRIiFAST8): Likewise.
28585         [C99-based-standards] (PRIoFAST8): Likewise.
28586         [C99-based-standards] (PRIuFAST8): Likewise.
28587         [C99-based-standards] (PRIxFAST8): Likewise.
28588         [C99-based-standards] (PRIXFAST8): Likewise.
28589         [C99-based-standards] (SCNdFAST8): Likewise.
28590         [C99-based-standards] (SCNiFAST8): Likewise.
28591         [C99-based-standards] (SCNoFAST8): Likewise.
28592         [C99-based-standards] (SCNuFAST8): Likewise.
28593         [C99-based-standards] (SCNxFAST8): Likewise.
28594         [C99-based-standards] (PRId16): Likewise.
28595         [C99-based-standards] (PRIi16): Likewise.
28596         [C99-based-standards] (PRIo16): Likewise.
28597         [C99-based-standards] (PRIu16): Likewise.
28598         [C99-based-standards] (PRIx16): Likewise.
28599         [C99-based-standards] (PRIX16): Likewise.
28600         [C99-based-standards] (SCNd16): Likewise.
28601         [C99-based-standards] (SCNi16): Likewise.
28602         [C99-based-standards] (SCNo16): Likewise.
28603         [C99-based-standards] (SCNu16): Likewise.
28604         [C99-based-standards] (SCNx16): Likewise.
28605         [C99-based-standards] (PRIdLEAST16): Likewise.
28606         [C99-based-standards] (PRIiLEAST16): Likewise.
28607         [C99-based-standards] (PRIoLEAST16): Likewise.
28608         [C99-based-standards] (PRIuLEAST16): Likewise.
28609         [C99-based-standards] (PRIxLEAST16): Likewise.
28610         [C99-based-standards] (PRIXLEAST16): Likewise.
28611         [C99-based-standards] (SCNdLEAST16): Likewise.
28612         [C99-based-standards] (SCNiLEAST16): Likewise.
28613         [C99-based-standards] (SCNoLEAST16): Likewise.
28614         [C99-based-standards] (SCNuLEAST16): Likewise.
28615         [C99-based-standards] (SCNxLEAST16): Likewise.
28616         [C99-based-standards] (PRIdFAST16): Likewise.
28617         [C99-based-standards] (PRIiFAST16): Likewise.
28618         [C99-based-standards] (PRIoFAST16): Likewise.
28619         [C99-based-standards] (PRIuFAST16): Likewise.
28620         [C99-based-standards] (PRIxFAST16): Likewise.
28621         [C99-based-standards] (PRIXFAST16): Likewise.
28622         [C99-based-standards] (SCNdFAST16): Likewise.
28623         [C99-based-standards] (SCNiFAST16): Likewise.
28624         [C99-based-standards] (SCNoFAST16): Likewise.
28625         [C99-based-standards] (SCNuFAST16): Likewise.
28626         [C99-based-standards] (SCNxFAST16): Likewise.
28627         [C99-based-standards] (PRId32): Likewise.
28628         [C99-based-standards] (PRIi32): Likewise.
28629         [C99-based-standards] (PRIo32): Likewise.
28630         [C99-based-standards] (PRIu32): Likewise.
28631         [C99-based-standards] (PRIx32): Likewise.
28632         [C99-based-standards] (PRIX32): Likewise.
28633         [C99-based-standards] (SCNd32): Likewise.
28634         [C99-based-standards] (SCNi32): Likewise.
28635         [C99-based-standards] (SCNo32): Likewise.
28636         [C99-based-standards] (SCNu32): Likewise.
28637         [C99-based-standards] (SCNx32): Likewise.
28638         [C99-based-standards] (PRIdLEAST32): Likewise.
28639         [C99-based-standards] (PRIiLEAST32): Likewise.
28640         [C99-based-standards] (PRIoLEAST32): Likewise.
28641         [C99-based-standards] (PRIuLEAST32): Likewise.
28642         [C99-based-standards] (PRIxLEAST32): Likewise.
28643         [C99-based-standards] (PRIXLEAST32): Likewise.
28644         [C99-based-standards] (SCNdLEAST32): Likewise.
28645         [C99-based-standards] (SCNiLEAST32): Likewise.
28646         [C99-based-standards] (SCNoLEAST32): Likewise.
28647         [C99-based-standards] (SCNuLEAST32): Likewise.
28648         [C99-based-standards] (SCNxLEAST32): Likewise.
28649         [C99-based-standards] (PRIdFAST32): Likewise.
28650         [C99-based-standards] (PRIiFAST32): Likewise.
28651         [C99-based-standards] (PRIoFAST32): Likewise.
28652         [C99-based-standards] (PRIuFAST32): Likewise.
28653         [C99-based-standards] (PRIxFAST32): Likewise.
28654         [C99-based-standards] (PRIXFAST32): Likewise.
28655         [C99-based-standards] (SCNdFAST32): Likewise.
28656         [C99-based-standards] (SCNiFAST32): Likewise.
28657         [C99-based-standards] (SCNoFAST32): Likewise.
28658         [C99-based-standards] (SCNuFAST32): Likewise.
28659         [C99-based-standards] (SCNxFAST32): Likewise.
28660         [C99-based-standards] (PRId64): Likewise.
28661         [C99-based-standards] (PRIi64): Likewise.
28662         [C99-based-standards] (PRIo64): Likewise.
28663         [C99-based-standards] (PRIu64): Likewise.
28664         [C99-based-standards] (PRIx64): Likewise.
28665         [C99-based-standards] (PRIX64): Likewise.
28666         [C99-based-standards] (SCNd64): Likewise.
28667         [C99-based-standards] (SCNi64): Likewise.
28668         [C99-based-standards] (SCNo64): Likewise.
28669         [C99-based-standards] (SCNu64): Likewise.
28670         [C99-based-standards] (SCNx64): Likewise.
28671         [C99-based-standards] (PRIdLEAST64): Likewise.
28672         [C99-based-standards] (PRIiLEAST64): Likewise.
28673         [C99-based-standards] (PRIoLEAST64): Likewise.
28674         [C99-based-standards] (PRIuLEAST64): Likewise.
28675         [C99-based-standards] (PRIxLEAST64): Likewise.
28676         [C99-based-standards] (PRIXLEAST64): Likewise.
28677         [C99-based-standards] (SCNdLEAST64): Likewise.
28678         [C99-based-standards] (SCNiLEAST64): Likewise.
28679         [C99-based-standards] (SCNoLEAST64): Likewise.
28680         [C99-based-standards] (SCNuLEAST64): Likewise.
28681         [C99-based-standards] (SCNxLEAST64): Likewise.
28682         [C99-based-standards] (PRIdFAST64): Likewise.
28683         [C99-based-standards] (PRIiFAST64): Likewise.
28684         [C99-based-standards] (PRIoFAST64): Likewise.
28685         [C99-based-standards] (PRIuFAST64): Likewise.
28686         [C99-based-standards] (PRIxFAST64): Likewise.
28687         [C99-based-standards] (PRIXFAST64): Likewise.
28688         [C99-based-standards] (SCNdFAST64): Likewise.
28689         [C99-based-standards] (SCNiFAST64): Likewise.
28690         [C99-based-standards] (SCNoFAST64): Likewise.
28691         [C99-based-standards] (SCNuFAST64): Likewise.
28692         [C99-based-standards] (SCNxFAST64): Likewise.
28693         [C99-based-standards] (PRIdMAX): Likewise.
28694         [C99-based-standards] (PRIiMAX): Likewise.
28695         [C99-based-standards] (PRIoMAX): Likewise.
28696         [C99-based-standards] (PRIuMAX): Likewise.
28697         [C99-based-standards] (PRIxMAX): Likewise.
28698         [C99-based-standards] (PRIXMAX): Likewise.
28699         [C99-based-standards] (SCNdMAX): Likewise.
28700         [C99-based-standards] (SCNiMAX): Likewise.
28701         [C99-based-standards] (SCNoMAX): Likewise.
28702         [C99-based-standards] (SCNuMAX): Likewise.
28703         [C99-based-standards] (SCNxMAX): Likewise.
28704         [C99-based-standards] (PRIdPTR): Likewise.
28705         [C99-based-standards] (PRIiPTR): Likewise.
28706         [C99-based-standards] (PRIoPTR): Likewise.
28707         [C99-based-standards] (PRIuPTR): Likewise.
28708         [C99-based-standards] (PRIxPTR): Likewise.
28709         [C99-based-standards] (PRIXPTR): Likewise.
28710         [C99-based-standards] (SCNdPTR): Likewise.
28711         [C99-based-standards] (SCNiPTR): Likewise.
28712         [C99-based-standards] (SCNoPTR): Likewise.
28713         [C99-based-standards] (SCNuPTR): Likewise.
28714         [C99-based-standards] (SCNxPTR): Likewise.
28715         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
28716         allow.
28717         * conform/data/stdint.h-data: Update comments to clarify
28718         requirements.
28719         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
28720         type.
28721         [C99-based standards] (INT8_MAX): Likewise.
28722         [C99-based standards] (INT16_MIN): Likewise.
28723         [C99-based standards] (INT16_MAX): Likewise.
28724         [C99-based standards] (INT32_MIN): Likewise.
28725         [C99-based standards] (INT32_MAX): Likewise.
28726         [C99-based standards] (INT64_MIN): Likewise.
28727         [C99-based standards] (INT64_MAX): Likewise.
28728         [C99-based standards] (UINT8_MAX): Likewise.
28729         [C99-based standards] (UINT16_MAX): Likewise.
28730         [C99-based standards] (UINT32_MAX): Likewise.
28731         [C99-based standards] (UINT64_MAX): Likewise.
28732         [C99-based standards] (INT_LEAST8_MIN): Likewise.
28733         [C99-based standards] (INT_LEAST8_MAX): Likewise.
28734         [C99-based standards] (INT_LEAST16_MIN): Likewise.
28735         [C99-based standards] (INT_LEAST16_MAX): Likewise.
28736         [C99-based standards] (INT_LEAST32_MIN): Likewise.
28737         [C99-based standards] (INT_LEAST32_MAX): Likewise.
28738         [C99-based standards] (INT_LEAST64_MIN): Likewise.
28739         [C99-based standards] (INT_LEAST64_MAX): Likewise.
28740         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28741         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28742         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28743         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28744         [C99-based standards] (INT_FAST8_MIN): Likewise.
28745         [C99-based standards] (INT_FAST8_MAX): Likewise.
28746         [C99-based standards] (INT_FAST16_MIN): Likewise.
28747         [C99-based standards] (INT_FAST16_MAX): Likewise.
28748         [C99-based standards] (INT_FAST32_MIN): Likewise.
28749         [C99-based standards] (INT_FAST32_MAX): Likewise.
28750         [C99-based standards] (INT_FAST64_MIN): Likewise.
28751         [C99-based standards] (INT_FAST64_MAX): Likewise.
28752         [C99-based standards] (UINT_FAST8_MAX): Likewise.
28753         [C99-based standards] (UINT_FAST16_MAX): Likewise.
28754         [C99-based standards] (UINT_FAST32_MAX): Likewise.
28755         [C99-based standards] (UINT_FAST64_MAX): Likewise.
28756         [C99-based standards] (INTPTR_MIN): Likewise.
28757         [C99-based standards] (INTPTR_MAX): Likewise.
28758         [C99-based standards] (UINTPTR_MAX): Likewise.
28759         [C99-based standards] (INTMAX_MIN): Likewise.
28760         [C99-based standards] (INTMAX_MAX): Likewise.
28761         [C99-based standards] (UINTMAX_MAX): Likewise.
28762         [C99-based standards] (PTRDIFF_MIN): Likewise.
28763         [C99-based standards] (PTRDIFF_MAX): Likewise.
28764         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28765         [C99-based standards] (SIZE_MAX): Likewise.
28766         [C99-based standards] (WCHAR_MAX): Likewise.
28767         [C99-based standards] (WINT_MAX): Likewise.
28768         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
28769         constraint on value.
28770         [C99-based standards] (WCHAR_MIN): Likewise.
28771         [C99-based standards] (WINT_MIN): Likewise.
28772         [C99-based standards] (*_t): Allow.
28773         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28774         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28775         Include math.h-data and complex.h-data.  Remove all expectations
28776         of math.h and complex.h contents.
28777         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28778         at end of line.
28779         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28780         (struct tm): Expect tag.
28781         [C99-based-standards] (wcstof): Expect function.
28782         [C99-based-standards] (wcstold): Likewise.
28783         [C99-based-standards] (wcstoll): Likewise.
28784         [C99-based-standards] (wcstoull): Likewise.
28785         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28786         macro-int-constant.  Specify type.
28787         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
28788         constraint on value.
28789         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28790         Specify type.
28791         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28792         Specify value.
28793         [ISO C standards]: Do not allow headers.
28794         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28795         wcs[abcdefghijklmnopqrstuvwxyz]*.
28796         [ISO C standards] (*_t): Do not allow.
28797         * conform/data/wctype.h-data [C99-based standards] (iswblank):
28798         Expect function.
28799         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28800         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28801         Specify type.
28802         [ISO C standards]: Do not allow headers.
28803         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28804         is[abcdefghijklmnopqrstuvwxyz]*.
28805         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28806         to[abcdefghijklmnopqrstuvwxyz]*.
28807         [ISO C standards] (*_t): Do not allow.
28808         * conform/data/stdalign.h-data: New file.
28809         * conform/data/stdbool.h-data: Likewise.
28810         * conform/data/stdnoreturn.h-data: Likewise.
28811
28812 2012-11-07  Roland McGrath  <roland@hack.frob.com>
28813
28814         [BZ #14815]
28815         * manual/filesys.texi (Directory Entries): Typo fix.
28816         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28817
28818 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28819
28820         * elf/elf.h (EM_AARCH64): New macro.
28821         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28822         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28823         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28824         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28825         (R_AARCH64_TLSDESC): Likewise.
28826         (NT_ARM_TLS): Likewise.
28827         (NT_ARM_HW_BREAK): Likewise.
28828         (NT_ARM_HW_WATCH): Likewise.
28829
28830 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28831
28832         [BZ #14811]
28833         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28834         (__ieee754_powl): Saturate nonzero exponents with absolute value
28835         below 0x1p-79 to +/- 0x1p-79.
28836         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28837         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28838         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28839         nonzero exponents with absolute value below 0x1p-32 to +/-
28840         0x1p-32.
28841         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28842         (__ieee754_powl): Saturate nonzero exponents with absolute value
28843         below 0x1p-79 to +/- 0x1p-79.
28844         * math/libm-test.inc (pow_test): Add more tests.
28845
28846 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28847
28848         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28849         _dl_s390_cap_flags with kernel. Increase string length.
28850         (_dl_s390_platforms): Add z196 and zEC12.
28851
28852 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28853
28854         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28855         Change XOPEN21K to XOPEN2K.
28856
28857 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
28858
28859         * string/memmove.c: Use memcpy when possible.
28860
28861 2012-11-06  Andreas Jaeger  <aj@suse.de>
28862
28863         * po/eo.po: Update from translation team.
28864
28865 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
28866
28867         [BZ #14793]
28868         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28869         exponent and small x and y exponents, scale x or y up.  Increase
28870         by 2 the exponent used in scaling up.
28871         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28872         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28873         * math/libm-test.inc (fma_test): Add more tests.
28874         (fma_test_towardzero): Likewise.
28875         (fma_test_downward): Likewise.
28876         (fma_test_upward): Likewise.
28877
28878 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
28879
28880         [BZ #14805]
28881         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28882         fenv_t *.
28883
28884         [BZ #14801]
28885         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28886         namespace for names of struct fields.
28887         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28888         fenv_t fields.
28889         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28890         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28891
28892 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28893
28894         [BZ #3665]
28895         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28896
28897 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
28898
28899         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28900         PTR_DEMANGLE.
28901
28902         [BZ #5246]
28903         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28904         PTR_DEMANGLE.
28905
28906 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
28907
28908         [BZ #14797]
28909         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28910         definitely overflow as x * y not x * y + z.
28911         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28912         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28913         * math/libm-test.inc (fma_test): Add more tests.
28914         (fma_test_towardzero): Likewise.
28915         (fma_test_downward): Likewise.
28916         (fma_test_upward): Likewise.
28917
28918 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
28919
28920         [BZ #157]
28921
28922         * include/stub-tag.h: Remove file.
28923         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28924         '#include' of it.
28925         * manual/maint.texi (Porting): Don't reference it.
28926         * Makerules ($(objpfx)stubs): Likewise.
28927         * dirent/closedir.c: Don't include <stub-tag.h>.
28928         * dirent/dirfd.c: Likewise.
28929         * dirent/fdopendir.c: Likewise.
28930         * dirent/getdents.c: Likewise.
28931         * dirent/getdents64.c: Likewise.
28932         * dirent/opendir.c: Likewise.
28933         * dirent/readdir.c: Likewise.
28934         * dirent/readdir64.c: Likewise.
28935         * dirent/readdir64_r.c: Likewise.
28936         * dirent/readdir_r.c: Likewise.
28937         * dirent/rewinddir.c: Likewise.
28938         * dirent/seekdir.c: Likewise.
28939         * dirent/telldir.c: Likewise.
28940         * gmon/profil.c: Likewise.
28941         * grp/setgroups.c: Likewise.
28942         * inet/if_index.c: Likewise.
28943         * io/access.c: Likewise.
28944         * io/chdir.c: Likewise.
28945         * io/chmod.c: Likewise.
28946         * io/chown.c: Likewise.
28947         * io/close.c: Likewise.
28948         * io/dup.c: Likewise.
28949         * io/dup2.c: Likewise.
28950         * io/dup3.c: Likewise.
28951         * io/euidaccess.c: Likewise.
28952         * io/faccessat.c: Likewise.
28953         * io/fchdir.c: Likewise.
28954         * io/fchmod.c: Likewise.
28955         * io/fchmodat.c: Likewise.
28956         * io/fchown.c: Likewise.
28957         * io/fchownat.c: Likewise.
28958         * io/fcntl.c: Likewise.
28959         * io/flock.c: Likewise.
28960         * io/fstatfs.c: Likewise.
28961         * io/fstatfs64.c: Likewise.
28962         * io/fstatvfs.c: Likewise.
28963         * io/fstatvfs64.c: Likewise.
28964         * io/futimens.c: Likewise.
28965         * io/fxstat.c: Likewise.
28966         * io/fxstat64.c: Likewise.
28967         * io/fxstatat.c: Likewise.
28968         * io/fxstatat64.c: Likewise.
28969         * io/getcwd.c: Likewise.
28970         * io/isatty.c: Likewise.
28971         * io/lchmod.c: Likewise.
28972         * io/lchown.c: Likewise.
28973         * io/link.c: Likewise.
28974         * io/linkat.c: Likewise.
28975         * io/lseek.c: Likewise.
28976         * io/lseek64.c: Likewise.
28977         * io/lxstat64.c: Likewise.
28978         * io/mkdir.c: Likewise.
28979         * io/mkdirat.c: Likewise.
28980         * io/mkfifo.c: Likewise.
28981         * io/mkfifoat.c: Likewise.
28982         * io/open.c: Likewise.
28983         * io/open64.c: Likewise.
28984         * io/openat.c: Likewise.
28985         * io/openat64.c: Likewise.
28986         * io/pipe.c: Likewise.
28987         * io/pipe2.c: Likewise.
28988         * io/poll.c: Likewise.
28989         * io/posix_fadvise.c: Likewise.
28990         * io/posix_fadvise64.c: Likewise.
28991         * io/posix_fallocate.c: Likewise.
28992         * io/posix_fallocate64.c: Likewise.
28993         * io/read.c: Likewise.
28994         * io/readlink.c: Likewise.
28995         * io/readlinkat.c: Likewise.
28996         * io/rmdir.c: Likewise.
28997         * io/sendfile.c: Likewise.
28998         * io/sendfile64.c: Likewise.
28999         * io/statfs.c: Likewise.
29000         * io/statfs64.c: Likewise.
29001         * io/statvfs.c: Likewise.
29002         * io/statvfs64.c: Likewise.
29003         * io/symlink.c: Likewise.
29004         * io/symlinkat.c: Likewise.
29005         * io/ttyname.c: Likewise.
29006         * io/ttyname_r.c: Likewise.
29007         * io/umask.c: Likewise.
29008         * io/unlink.c: Likewise.
29009         * io/unlinkat.c: Likewise.
29010         * io/utime.c: Likewise.
29011         * io/utimensat.c: Likewise.
29012         * io/write.c: Likewise.
29013         * io/xmknod.c: Likewise.
29014         * io/xmknodat.c: Likewise.
29015         * io/xstat.c: Likewise.
29016         * io/xstat64.c: Likewise.
29017         * login/getpt.c: Likewise.
29018         * login/grantpt.c: Likewise.
29019         * login/unlockpt.c: Likewise.
29020         * math/e_acoshl.c: Likewise.
29021         * math/e_acosl.c: Likewise.
29022         * math/e_asinl.c: Likewise.
29023         * math/e_atan2l.c: Likewise.
29024         * math/e_atanhl.c: Likewise.
29025         * math/e_coshl.c: Likewise.
29026         * math/e_expl.c: Likewise.
29027         * math/e_fmodl.c: Likewise.
29028         * math/e_gammal_r.c: Likewise.
29029         * math/e_hypotl.c: Likewise.
29030         * math/e_j0l.c: Likewise.
29031         * math/e_j1l.c: Likewise.
29032         * math/e_jnl.c: Likewise.
29033         * math/e_lgammal_r.c: Likewise.
29034         * math/e_log10l.c: Likewise.
29035         * math/e_log2l.c: Likewise.
29036         * math/e_logl.c: Likewise.
29037         * math/e_powl.c: Likewise.
29038         * math/e_rem_pio2l.c: Likewise.
29039         * math/e_sinhl.c: Likewise.
29040         * math/e_sqrtl.c: Likewise.
29041         * math/fclrexcpt.c: Likewise.
29042         * math/fedisblxcpt.c: Likewise.
29043         * math/feenablxcpt.c: Likewise.
29044         * math/fegetenv.c: Likewise.
29045         * math/fegetexcept.c: Likewise.
29046         * math/fegetround.c: Likewise.
29047         * math/feholdexcpt.c: Likewise.
29048         * math/fesetenv.c: Likewise.
29049         * math/fesetround.c: Likewise.
29050         * math/feupdateenv.c: Likewise.
29051         * math/fgetexcptflg.c: Likewise.
29052         * math/fraiseexcpt.c: Likewise.
29053         * math/fsetexcptflg.c: Likewise.
29054         * math/ftestexcept.c: Likewise.
29055         * math/k_cosl.c: Likewise.
29056         * math/k_rem_pio2l.c: Likewise.
29057         * math/k_sinl.c: Likewise.
29058         * math/k_tanl.c: Likewise.
29059         * math/s_asinhl.c: Likewise.
29060         * math/s_atanl.c: Likewise.
29061         * math/s_cbrtl.c: Likewise.
29062         * math/s_erfl.c: Likewise.
29063         * math/s_expm1l.c: Likewise.
29064         * math/s_log1pl.c: Likewise.
29065         * math/s_tanhl.c: Likewise.
29066         * misc/acct.c: Likewise.
29067         * misc/brk.c: Likewise.
29068         * misc/chflags.c: Likewise.
29069         * misc/chroot.c: Likewise.
29070         * misc/fchflags.c: Likewise.
29071         * misc/fgetxattr.c: Likewise.
29072         * misc/flistxattr.c: Likewise.
29073         * misc/fremovexattr.c: Likewise.
29074         * misc/fsetxattr.c: Likewise.
29075         * misc/fsync.c: Likewise.
29076         * misc/ftruncate.c: Likewise.
29077         * misc/futimes.c: Likewise.
29078         * misc/futimesat.c: Likewise.
29079         * misc/getdomain.c: Likewise.
29080         * misc/getdtsz.c: Likewise.
29081         * misc/gethostid.c: Likewise.
29082         * misc/gethostname.c: Likewise.
29083         * misc/getloadavg.c: Likewise.
29084         * misc/getpagesize.c: Likewise.
29085         * misc/getsysstats.c: Likewise.
29086         * misc/getxattr.c: Likewise.
29087         * misc/gtty.c: Likewise.
29088         * misc/ioctl.c: Likewise.
29089         * misc/lgetxattr.c: Likewise.
29090         * misc/listxattr.c: Likewise.
29091         * misc/llistxattr.c: Likewise.
29092         * misc/lremovexattr.c: Likewise.
29093         * misc/lsetxattr.c: Likewise.
29094         * misc/lutimes.c: Likewise.
29095         * misc/madvise.c: Likewise.
29096         * misc/mincore.c: Likewise.
29097         * misc/mlock.c: Likewise.
29098         * misc/mlockall.c: Likewise.
29099         * misc/mmap.c: Likewise.
29100         * misc/mprotect.c: Likewise.
29101         * misc/msync.c: Likewise.
29102         * misc/munlock.c: Likewise.
29103         * misc/munlockall.c: Likewise.
29104         * misc/munmap.c: Likewise.
29105         * misc/preadv.c: Likewise.
29106         * misc/preadv64.c: Likewise.
29107         * misc/ptrace.c: Likewise.
29108         * misc/pwritev.c: Likewise.
29109         * misc/pwritev64.c: Likewise.
29110         * misc/readv.c: Likewise.
29111         * misc/reboot.c: Likewise.
29112         * misc/remap_file_pages.c: Likewise.
29113         * misc/removexattr.c: Likewise.
29114         * misc/revoke.c: Likewise.
29115         * misc/select.c: Likewise.
29116         * misc/setdomain.c: Likewise.
29117         * misc/setegid.c: Likewise.
29118         * misc/seteuid.c: Likewise.
29119         * misc/sethostid.c: Likewise.
29120         * misc/sethostname.c: Likewise.
29121         * misc/setregid.c: Likewise.
29122         * misc/setreuid.c: Likewise.
29123         * misc/setxattr.c: Likewise.
29124         * misc/sstk.c: Likewise.
29125         * misc/stty.c: Likewise.
29126         * misc/swapoff.c: Likewise.
29127         * misc/swapon.c: Likewise.
29128         * misc/sync.c: Likewise.
29129         * misc/syncfs.c: Likewise.
29130         * misc/syscall.c: Likewise.
29131         * misc/truncate.c: Likewise.
29132         * misc/ualarm.c: Likewise.
29133         * misc/usleep.c: Likewise.
29134         * misc/ustat.c: Likewise.
29135         * misc/utimes.c: Likewise.
29136         * misc/vhangup.c: Likewise.
29137         * misc/writev.c: Likewise.
29138         * posix/_exit.c: Likewise.
29139         * posix/alarm.c: Likewise.
29140         * posix/execve.c: Likewise.
29141         * posix/fexecve.c: Likewise.
29142         * posix/fork.c: Likewise.
29143         * posix/fpathconf.c: Likewise.
29144         * posix/getaddrinfo.c: Likewise.
29145         * posix/getegid.c: Likewise.
29146         * posix/geteuid.c: Likewise.
29147         * posix/getgid.c: Likewise.
29148         * posix/getgroups.c: Likewise.
29149         * posix/getlogin.c: Likewise.
29150         * posix/getlogin_r.c: Likewise.
29151         * posix/getpgid.c: Likewise.
29152         * posix/getpid.c: Likewise.
29153         * posix/getppid.c: Likewise.
29154         * posix/getresgid.c: Likewise.
29155         * posix/getresuid.c: Likewise.
29156         * posix/getsid.c: Likewise.
29157         * posix/getuid.c: Likewise.
29158         * posix/glob64.c: Likewise.
29159         * posix/nanosleep.c: Likewise.
29160         * posix/pathconf.c: Likewise.
29161         * posix/pause.c: Likewise.
29162         * posix/posix_madvise.c: Likewise.
29163         * posix/pread.c: Likewise.
29164         * posix/pread64.c: Likewise.
29165         * posix/pwrite.c: Likewise.
29166         * posix/pwrite64.c: Likewise.
29167         * posix/sched_getaffinity.c: Likewise.
29168         * posix/sched_getp.c: Likewise.
29169         * posix/sched_gets.c: Likewise.
29170         * posix/sched_primax.c: Likewise.
29171         * posix/sched_primin.c: Likewise.
29172         * posix/sched_rr_gi.c: Likewise.
29173         * posix/sched_setaffinity.c: Likewise.
29174         * posix/sched_setp.c: Likewise.
29175         * posix/sched_sets.c: Likewise.
29176         * posix/sched_yield.c: Likewise.
29177         * posix/setgid.c: Likewise.
29178         * posix/setlogin.c: Likewise.
29179         * posix/setpgid.c: Likewise.
29180         * posix/setresgid.c: Likewise.
29181         * posix/setresuid.c: Likewise.
29182         * posix/setsid.c: Likewise.
29183         * posix/setuid.c: Likewise.
29184         * posix/sleep.c: Likewise.
29185         * posix/spawni.c: Likewise.
29186         * posix/sysconf.c: Likewise.
29187         * posix/times.c: Likewise.
29188         * posix/wait.c: Likewise.
29189         * posix/wait3.c: Likewise.
29190         * posix/wait4.c: Likewise.
29191         * posix/waitpid.c: Likewise.
29192         * resolv/gai_sigqueue.c: Likewise.
29193         * resource/getpriority.c: Likewise.
29194         * resource/getrlimit.c: Likewise.
29195         * resource/getrusage.c: Likewise.
29196         * resource/nice.c: Likewise.
29197         * resource/setpriority.c: Likewise.
29198         * resource/setrlimit.c: Likewise.
29199         * resource/ulimit.c: Likewise.
29200         * rt/aio_cancel.c: Likewise.
29201         * rt/aio_fsync.c: Likewise.
29202         * rt/aio_read.c: Likewise.
29203         * rt/aio_sigqueue.c: Likewise.
29204         * rt/aio_suspend.c: Likewise.
29205         * rt/aio_write.c: Likewise.
29206         * rt/clock_getres.c: Likewise.
29207         * rt/clock_gettime.c: Likewise.
29208         * rt/clock_nanosleep.c: Likewise.
29209         * rt/clock_settime.c: Likewise.
29210         * rt/lio_listio.c: Likewise.
29211         * rt/mq_close.c: Likewise.
29212         * rt/mq_getattr.c: Likewise.
29213         * rt/mq_notify.c: Likewise.
29214         * rt/mq_open.c: Likewise.
29215         * rt/mq_receive.c: Likewise.
29216         * rt/mq_send.c: Likewise.
29217         * rt/mq_setattr.c: Likewise.
29218         * rt/mq_timedreceive.c: Likewise.
29219         * rt/mq_timedsend.c: Likewise.
29220         * rt/mq_unlink.c: Likewise.
29221         * rt/shm_open.c: Likewise.
29222         * rt/shm_unlink.c: Likewise.
29223         * rt/timer_create.c: Likewise.
29224         * rt/timer_delete.c: Likewise.
29225         * rt/timer_getoverr.c: Likewise.
29226         * rt/timer_gettime.c: Likewise.
29227         * rt/timer_settime.c: Likewise.
29228         * setjmp/__longjmp.c: Likewise.
29229         * setjmp/setjmp.c: Likewise.
29230         * signal/kill.c: Likewise.
29231         * signal/killpg.c: Likewise.
29232         * signal/raise.c: Likewise.
29233         * signal/sigaction.c: Likewise.
29234         * signal/sigaltstack.c: Likewise.
29235         * signal/sigblock.c: Likewise.
29236         * signal/sigignore.c: Likewise.
29237         * signal/sigintr.c: Likewise.
29238         * signal/signal.c: Likewise.
29239         * signal/sigpause.c: Likewise.
29240         * signal/sigpending.c: Likewise.
29241         * signal/sigqueue.c: Likewise.
29242         * signal/sigreturn.c: Likewise.
29243         * signal/sigset.c: Likewise.
29244         * signal/sigsetmask.c: Likewise.
29245         * signal/sigstack.c: Likewise.
29246         * signal/sigsuspend.c: Likewise.
29247         * signal/sigtimedwait.c: Likewise.
29248         * signal/sigvec.c: Likewise.
29249         * signal/sigwait.c: Likewise.
29250         * signal/sigwaitinfo.c: Likewise.
29251         * signal/sysv_signal.c: Likewise.
29252         * socket/accept.c: Likewise.
29253         * socket/accept4.c: Likewise.
29254         * socket/bind.c: Likewise.
29255         * socket/connect.c: Likewise.
29256         * socket/getpeername.c: Likewise.
29257         * socket/getsockname.c: Likewise.
29258         * socket/getsockopt.c: Likewise.
29259         * socket/isfdtype.c: Likewise.
29260         * socket/listen.c: Likewise.
29261         * socket/recv.c: Likewise.
29262         * socket/recvfrom.c: Likewise.
29263         * socket/recvmsg.c: Likewise.
29264         * socket/send.c: Likewise.
29265         * socket/sendmsg.c: Likewise.
29266         * socket/sendto.c: Likewise.
29267         * socket/setsockopt.c: Likewise.
29268         * socket/shutdown.c: Likewise.
29269         * socket/sockatmark.c: Likewise.
29270         * socket/socket.c: Likewise.
29271         * socket/socketpair.c: Likewise.
29272         * stdio-common/ctermid.c: Likewise.
29273         * stdio-common/cuserid.c: Likewise.
29274         * stdio-common/remove.c: Likewise.
29275         * stdio-common/rename.c: Likewise.
29276         * stdio-common/renameat.c: Likewise.
29277         * stdio-common/tempname.c: Likewise.
29278         * stdlib/getcontext.c: Likewise.
29279         * stdlib/makecontext.c: Likewise.
29280         * stdlib/setcontext.c: Likewise.
29281         * stdlib/swapcontext.c: Likewise.
29282         * stdlib/system.c: Likewise.
29283         * streams/fattach.c: Likewise.
29284         * streams/fdetach.c: Likewise.
29285         * streams/getmsg.c: Likewise.
29286         * streams/getpmsg.c: Likewise.
29287         * streams/putmsg.c: Likewise.
29288         * streams/putpmsg.c: Likewise.
29289         * sysdeps/unix/bsd/getpt.c: Likewise.
29290         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
29291         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
29292         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29294         Likewise.
29295         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
29296         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29297         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
29298         * sysvipc/msgctl.c: Likewise.
29299         * sysvipc/msgget.c: Likewise.
29300         * sysvipc/msgrcv.c: Likewise.
29301         * sysvipc/msgsnd.c: Likewise.
29302         * sysvipc/semctl.c: Likewise.
29303         * sysvipc/semget.c: Likewise.
29304         * sysvipc/semop.c: Likewise.
29305         * sysvipc/semtimedop.c: Likewise.
29306         * sysvipc/shmat.c: Likewise.
29307         * sysvipc/shmctl.c: Likewise.
29308         * sysvipc/shmdt.c: Likewise.
29309         * sysvipc/shmget.c: Likewise.
29310         * termios/tcdrain.c: Likewise.
29311         * termios/tcflow.c: Likewise.
29312         * termios/tcflush.c: Likewise.
29313         * termios/tcgetattr.c: Likewise.
29314         * termios/tcgetpgrp.c: Likewise.
29315         * termios/tcsendbrk.c: Likewise.
29316         * termios/tcsetattr.c: Likewise.
29317         * termios/tcsetpgrp.c: Likewise.
29318         * time/adjtime.c: Likewise.
29319         * time/clock.c: Likewise.
29320         * time/getitimer.c: Likewise.
29321         * time/gettimeofday.c: Likewise.
29322         * time/setitimer.c: Likewise.
29323         * time/settimeofday.c: Likewise.
29324         * time/stime.c: Likewise.
29325         * time/time.c: Likewise.
29326
29327 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
29328
29329         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
29330         /usr/old/bin.
29331
29332         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
29333         instead of spaces.
29334         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
29335
29336 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
29337
29338         [BZ #14796]
29339         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
29340         FE_TONEAREST before applying Dekker multiplication and Knuth
29341         addition.  Clear inexact exceptions and check for exact zero
29342         results afterwards.
29343         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29344         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29345         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29346         * math/libm-test.inc (fma_test): Add more tests.
29347         (fma_test_towardzero): Likewise.
29348         (fma_test_downward): Likewise.
29349         (fma_test_upward): Likewise.
29350         * sysdeps/generic/math_private.h (default_libc_fesetround): New
29351         function.
29352         (libc_fesetround): New macro.
29353         (libc_fesetroundf): Likewise.
29354         (libc_fesetroundl): Likewise.
29355         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
29356         function.
29357         (libc_fesetround_387): Likewise.
29358         (libc_fesetroundf): New macro.
29359         (libc_fesetround): Likewise.
29360         (libc_fesetroundl): Likewise.
29361         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
29362         function.
29363         (libc_fesetroundf): New macro.
29364         (libc_fesetround): Likewise.
29365         (libc_fesetroundl): Likewise.
29366         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
29367         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
29368         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
29369         libm_hidden_ver.
29370         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
29371         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
29372         libm_hidden_def.
29373         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
29374         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
29375         libm_hidden_ver.
29376         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
29377         libm_hidden_def.
29378
29379         [BZ #3439]
29380         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
29381         integer constant usable in #if and use that to give value to enum
29382         constant.
29383         (FE_DIVBYZERO): Likewise.
29384         (FE_UNDERFLOW): Likewise.
29385         (FE_OVERFLOW): Likewise.
29386         (FE_INVALID): Likewise.
29387         (FE_INVALID_SNAN): Likewise.
29388         (FE_INVALID_ISI): Likewise.
29389         (FE_INVALID_IDI): Likewise.
29390         (FE_INVALID_ZDZ): Likewise.
29391         (FE_INVALID_IMZ): Likewise.
29392         (FE_INVALID_COMPARE): Likewise.
29393         (FE_INVALID_SOFTWARE): Likewise.
29394         (FE_INVALID_SQRT): Likewise.
29395         (FE_INVALID_INTEGER_CONVERSION): Likewise.
29396         (FE_TONEAREST): Likewise.
29397         (FE_TOWARDZERO): Likewise.
29398         (FE_UPWARD): Likewise.
29399         (FE_DOWNWARD): Likewise.
29400         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
29401         (FE_DIVBYZERO): Likewise.
29402         (FE_OVERFLOW): Likewise.
29403         (FE_UNDERFLOW): Likewise.
29404         (FE_INEXACT): Likewise.
29405         (FE_TONEAREST): Likewise.
29406         (FE_DOWNWARD): Likewise.
29407         (FE_UPWARD): Likewise.
29408         (FE_TOWARDZERO): Likewise.
29409         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
29410         (FE_UNDERFLOW): Likewise.
29411         (FE_OVERFLOW): Likewise.
29412         (FE_DIVBYZERO): Likewise.
29413         (FE_INVALID): Likewise.
29414         (FE_TONEAREST): Likewise.
29415         (FE_TOWARDZERO): Likewise.
29416         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
29417         (FE_OVERFLOW): Likewise.
29418         (FE_UNDERFLOW): Likewise.
29419         (FE_DIVBYZERO): Likewise.
29420         (FE_INEXACT): Likewise.
29421         (FE_TONEAREST): Likewise.
29422         (FE_TOWARDZERO): Likewise.
29423         (FE_UPWARD): Likewise.
29424         (FE_DOWNWARD): Likewise.
29425         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
29426         (FE_DIVBYZERO): Likewise.
29427         (FE_OVERFLOW): Likewise.
29428         (FE_UNDERFLOW): Likewise.
29429         (FE_INEXACT): Likewise.
29430         (FE_TONEAREST): Likewise.
29431         (FE_DOWNWARD): Likewise.
29432         (FE_UPWARD): Likewise.
29433         (FE_TOWARDZERO): Likewise.
29434
29435 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
29436
29437         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
29438
29439 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
29440
29441         * scripts/cross-test-ssh.sh (command): Use newlines to separate
29442         commands.  Quote $PWD.
29443         (blacklist_exports): Don't use remove_newlines.  Replace "declare
29444         -x" by "export".
29445         (remove_newlines): Remove.
29446
29447 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
29448
29449         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
29450         * stdlib/stdlib.h (atof): Moved to ...
29451         * include/bits/stdlib-float.h: Here.  New file.
29452         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
29453         * stdlib/bits/stdlib-float.h: New file.
29454         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
29455         -mno-sse -mno-mmx.
29456         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
29457         <xmmintrin.h>.
29458
29459 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
29460
29461         * conform/conformtest.pl (@headers): Add fenv.h.
29462         * conform/data/fenv.h-data: New file.
29463         * include/fenv.h [_ISOMAC]: Disable all contents of file except
29464         include of <math/fenv.h>.
29465
29466         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
29467         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
29468         && !UNIX98].  Enables tests for XOPEN2K8.
29469         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
29470         POSIX2008]: Likewise.
29471
29472         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
29473         (struct rusage): Do not expect type or its members.
29474
29475         [BZ #3439]
29476         * math/math.h (FP_NAN): Define macro to integer constant usable in
29477         #if and use that to give value to enum constant.
29478         (FP_INFINITE): Likewise.
29479         (FP_ZERO): Likewise.
29480         (FP_SUBNORMAL): Likewise.
29481         (FP_NORMAL): Likewise.
29482
29483 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
29484
29485         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
29486         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
29487         arguments.
29488
29489 2012-11-02  Roland McGrath  <roland@hack.frob.com>
29490
29491         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
29492         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
29493         autoconf-time if not.
29494         * configure.in: Remove AC_PREREQ.
29495
29496 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29497
29498         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
29499         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
29500         of the internal implementation.
29501
29502 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
29503
29504         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
29505         except include of <misc/sys/syslog.h>.
29506
29507 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29508
29509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
29510         function returns with a NULL context exit with zero.
29511
29512 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29513
29514         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
29515
29516 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
29517
29518         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
29519         (run_program_cmd): This.
29520         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
29521         (tst_langinfo): New variable.  Use it.
29522
29523 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
29524
29525         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
29526         floating point opcodes.
29527
29528 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29529
29530         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
29531         variable.
29532
29533         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
29534
29535         * sysdeps/mach/hurd/powerpc: Remove directory.
29536         * sysdeps/mach/powerpc: Likewise.
29537
29538 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29539
29540         * scripts/check-local-headers.sh: Ignore c++ headers.
29541
29542 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29543
29544         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
29545         __libc_cleanup_region_start argument.
29546
29547 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
29548
29549         [BZ #14784]
29550         [BZ #14785]
29551         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
29552         x * y using scaling, not as x * y + z.
29553         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29554         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29555         * math/libm-test.inc (fma_test): Add more tests.
29556         (fma_test_towardzero): Likewise.
29557         (fma_test_downward): Likewise.
29558         (fma_test_upward): Likewise.
29559
29560 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29561
29562         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
29563
29564 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
29565
29566         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
29567         New variable.
29568
29569 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
29570
29571         * rt/tst-shm.c (worker): Correct checking for mmap failure.
29572
29573 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
29574
29575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29576         Fix sort order.
29577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29578         Likewise.
29579
29580 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29581
29582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29583         Fix the order of the list for glibc 2.17.
29584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29585         Likewise.
29586
29587 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
29588
29589         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29590
29591 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
29592
29593         [BZ #14610]
29594         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
29595         for low part of x being zero before using __atanl (y).
29596         * math/libm-test.inc (atan2_test): Add another test.
29597
29598         * manual/install.texi (Configuring and compiling): Document
29599         general use of test-wrapper and test-wrapper-env.
29600         * INSTALL: Regenerated.
29601
29602         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
29603         (__fma): Do not extract and scale down low bits on after-rounding
29604         systems when result rounded to normal precision would have normal
29605         exponent.
29606         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
29607         (__fmal): Do not extract and scale down low bits on after-rounding
29608         systems when result rounded to normal precision would have normal
29609         exponent.
29610         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
29611         (__fmal): Do not extract and scale down low bits on after-rounding
29612         systems when result rounded to normal precision would have normal
29613         exponent.
29614         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
29615         macro.
29616         (fma_test): Add more tests.
29617         (fma_test_towardzero): Likewise.
29618         (fma_test_downward): Likewise.
29619         (fma_test_upward): Likewise.
29620
29621 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
29622
29623         * sysdeps/i386/tininess.h: Renamed to ...
29624         * sysdeps/x86/tininess.h: This.
29625         * sysdeps/x86_64/tininess.h: Removed.
29626
29627 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
29628
29629         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
29630         input.  Use $(build-program-cmd).
29631         ($(objpfx)tst-array1-static.out): Likewise.
29632         ($(objpfx)tst-array2.out): Likewise.
29633         ($(objpfx)tst-array3.out): Likewise.
29634         ($(objpfx)tst-array4.out): Likewise.
29635         ($(objpfx)tst-array5.out): Likewise.
29636         ($(objpfx)tst-array5-static.out): Likewise.
29637
29638 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
29639
29640         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
29641         if defined.
29642
29643         * nss/nsswitch.h (nss_interface_function): Provide new
29644         macro for use with NSS functions.
29645         * grp/initgroups.c: Use new macro.
29646         * nss/getXXbyYY.c: Likewise.
29647         * nss/getXXbyYY_r.c: Likewise.
29648         * nss/getXXent.c: Likewise.
29649         * nss/getXXent_r.c: Likewise.
29650         * sysdeps/posix/getaddrinfo.c: Likewise.
29651
29652 2012-10-30  Andreas Jaeger  <aj@suse.de>
29653
29654         * po/ru.po: Update Russion translation from translation project.
29655
29656 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
29657
29658         [BZ #14152]
29659         [BZ #14783]
29660         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
29661         result and shift together with sticky bit instead of replicating
29662         round-to-nearest rounding.
29663         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29664         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29665         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
29666         missing underflow exceptions.
29667         (fma_test_towardzero): Add more tests.
29668         (fma_test_downward): Likewise.
29669         (fma_test_upward): Likewise.
29670
29671         [BZ #14047]
29672         * sysdeps/generic/tininess.h: New file.
29673         * sysdeps/i386/tininess.h: Likewise.
29674         * sysdeps/sh/tininess.h: Likewise.
29675         * sysdeps/x86_64/tininess.h: Likewise.
29676         * stdlib/tst-strtod-underflow.c: Likewise.
29677         * stdlib/tst-tininess.c: Likewise.
29678         * stdlib/strtod_l.c: Include <tininess.h>.
29679         (round_and_return): Do not set errno for exact underflow cases.
29680         Force an underflow exception when setting errno for underflow.
29681         Determine underflow based on rounding to normal precision if
29682         TININESS_AFTER_ROUNDING.
29683         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
29684         ERANGE for exact underflow cases.
29685         * stdlib/Makefile (tests): Add tst-tininess and
29686         tst-strtod-underflow.
29687         ($(objpfx)tst-tininess): Use $(link-libm).
29688         ($(objpfx)tst-strtod-underflow): Likewise.
29689
29690 2012-10-30  Andreas Jaeger  <aj@suse.de>
29691
29692         [BZ#14767]
29693         * elf/Makefile (tests): Remove conditional for have-initfini-array
29694         since this is now always required and the variable does not exist
29695         anymore.
29696         (tests-static): Likewise.
29697         (modules-names): Likewise.
29698
29699         * po/eo.po: Add Esperanto translation from translation project.
29700
29701         * elf/tst-array1.c (fini_array): Make writeable so that it can be
29702         merged with constructor/destructor.
29703         (init_array): Likewise.
29704         * elf/tst-array2dep.c (fini_array): Likewise.
29705         (init_array): Likewise.
29706
29707 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
29708
29709         * manual/message.texi: Delete @cartouche tags.
29710
29711 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
29712
29713         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
29714         EOPNOTSUPP.
29715         * sysdeps/mach/hurd/fsync.c: Likewise.
29716
29717         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
29718         [_POSIX_REALTIME_SIGNALS]: Change condition to
29719         [_POSIX_REALTIME_SIGNALS > 0].
29720
29721 2012-10-27  Andreas Jaeger  <aj@suse.de>
29722
29723         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
29724         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
29725         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
29726         [__WORDSIZE != 64]: Likewise.
29727
29728 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
29729
29730         *  iconvdata/tst-table.sh: Remove ${SHELL}.
29731         *  iconvdata/tst-tables.sh: Likewise.
29732
29733 2012-10-25  David S. Miller  <davem@davemloft.net>
29734
29735         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29736         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29737         of strtoull.
29738
29739         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29740         ifunc-impl-list.c
29741         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29742         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29743         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29744         file.
29745
29746 2012-10-25  Roland McGrath  <roland@hack.frob.com>
29747
29748         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29749         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29750         __getdirentries.
29751
29752 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
29753             Jim Blandy  <jimb@codesourcery.com>
29754
29755         * scripts/cross-test-ssh.sh: New file.
29756         * manual/install.texi (Configuring and compiling): Document use of
29757         cross-test-ssh.sh.
29758         * INSTALL: Regenerated.
29759
29760 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
29761
29762         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29763         EOPNOTSUPP.
29764
29765 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
29766
29767         * Makeconfig (run-program-prefix): Fix comment.
29768
29769 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
29770             Jim Blandy  <jimb@codesourcery.com>
29771
29772         * Makeconfig (test-wrapper): New variable,
29773         (test-wrapper-env): Likewise.
29774         [$(cross-compiling) = yes && $(test-wrapper) != ""]
29775         (run-built-tests): Define to yes.
29776         (run-program-prefix): Use $(test-wrapper).
29777         (built-program-cmd): Likewise.
29778         * Rules (make-test-out): Use $(test-wrapper-env) and
29779         $(host-built-program-cmd).
29780         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29781         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29782         tst-pathopt.sh.
29783         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29784         $(test-wrapper-env) to tst-rtld-load-self.sh.
29785         ($(objpfx)order2.out): Use $(test-wrapper).
29786         ($(objpfx)tst-initorder.out): Likewise.
29787         ($(objpfx)tst-initorder2.out): Likewise.
29788         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29789         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29790         (test_wrapper_env): New variable.  Use it to run ld.so.
29791         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29792         Use it to run ld.so.
29793         (test_wrapper_env): Likewise.
29794         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29795         $(test-wrapper) to run-iconv-test.sh.
29796         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29797         (ICONV): Use $test_wrapper.
29798         * posix/Makefile ($(objpfx)globtest.out): Pass
29799         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29800         globtest.sh, not $(run-program-prefix).
29801         * posix/globtest.sh (run_via_rtld_prefix): New variable.
29802         (test_wrapper): Likewise.
29803         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
29804         set together with run_via_rtld_prefix.
29805         (run_program_prefix): Define in terms of test_wrapper and
29806         run_via_rtld_prefix.
29807
29808 2012-10-24  Roland McGrath  <roland@hack.frob.com>
29809
29810         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29811         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29812         Targets removed.
29813
29814         [BZ #14743]
29815         * include/time.h: Remove librt_hidden_proto (clock_gettime).
29816         Declare __clock_getres, __clock_gettime, __clock_settime,
29817         __clock_nanosleep, and __clock_getcpuclockid.
29818         * rt/clock_gettime.c: Define __clock_gettime as an alias.
29819         Remove librt_hidden_def (clock_gettime).
29820         * sysdeps/unix/clock_gettime.c: Likewise.
29821         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29822         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29823         * rt/clock_getres.c: Define __clock_getres as an alias.
29824         * sysdeps/posix/clock_getres.c: Likewise.
29825         * rt/clock_settime.c: Define __clock_settime as an alias.
29826         * sysdeps/unix/clock_settime.c: Likewise.
29827         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29828         * sysdeps/unix/clock_nanosleep.c: Likewise.
29829         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29830         * rt/clock-compat.c: New file.
29831         * rt/Makefile (librt-routines): Add clock-compat and move
29832         $(clock-routines) to ...
29833         (routines): ... here, new variable.
29834         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29835         Don't add get_clockfreq here.
29836         * rt/Versions (libc: GLIBC_2.17): New version set.
29837         Add clock_* symbols here.
29838         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
29839         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29840         (GLIBC_2.17): Add clock_* symbols.
29841         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29842         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29843         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29845         Likewise.
29846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29847         Likewise.
29848         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29849         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29850         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29851         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29852         * NEWS: Mention the move.
29853
29854         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29855         Use __open, __read, __close rather than their public counterparts.
29856         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29857         (__get_clockfreq_via_cpuinfo): Likewise.
29858         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29859         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29860
29861         * config.h.in (HAVE_IFUNC): New #undef.
29862         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29863         was successful.
29864         * configure: Regenerated.
29865
29866 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
29867
29868         * configure.in: Move READELF check to start of file.
29869         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29870         libc_cv_asm_gnu_indirect_function in the process.
29871         * configure: Regenerated.
29872
29873 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
29874
29875         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29876         send the output to /dev/null.
29877         (libc_cv_cc_with_libunwind): Likewise.
29878         (libc_cv_as_noexecstack): Likewise.
29879         * configure: Regenerate.
29880
29881 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
29882
29883         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29884
29885         * posix/globtest.sh (TMPDIR): Do not set.
29886         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29887         (testout): Likewise.
29888
29889 2012-10-24  Andreas Jaeger  <aj@suse.de>
29890
29891         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29892         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29893         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29894         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29895         posix_fadvise64, posix_fallocate64.
29896
29897         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29898         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29899         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29900         Likewise.
29901         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29902         Likewise.
29903         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29904
29905         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29906         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29907         <bits/fcntl-linux.h>.
29908         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29909
29910         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29911         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29912         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29913         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29914         [__WORDSIZE != 64]: Likewise.
29915
29916 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
29917
29918         * Makeconfig (run-built-tests): New variable.
29919         * Rules [$(cross-compiling) = yes]: Change condition to
29920         [$(run-built-tests) = no].
29921         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29922         to [$(run-built-tests) = yes].
29923         * elf/Makefile [$(cross-compiling) = no]: Likewise
29924         * grp/Makefile [$(cross-compiling) = no]: Likewise.
29925         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29926         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29927         * intl/Makefile [$(cross-compiling) = no]: Likewise.
29928         * io/Makefile [$(cross-compiling) = no]: Likewise.
29929         * libio/Makefile [$(cross-compiling) = no]: Likewise.
29930         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29931         * misc/Makefile [$(cross-compiling) = no]: Likewise.
29932         * posix/Makefile [$(cross-compiling) = no]: Likewise.
29933         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29934         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29935         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29936         * string/Makefile [$(cross-compiling) = no]: Likewise.
29937
29938         * posix/Makefile ($(objpfx)globtest.out): Pass
29939         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29940         $(rtld-installed-name).
29941         * posix/globtest.sh (elf_objpfx): Remove variable.
29942         (rtld_installed_name): Likewise.
29943         (library_path): Likewise.
29944         (run_program_prefix): New variable.  Use for running globtest
29945         binary.
29946
29947 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
29948             Joseph Myers  <joseph@codesourcery.com>
29949
29950         * Makeconfig (host-built-program-cmd): New variable.
29951         * elf/Makefile (tst-stackguard1-ARGS): Use
29952         $(host-built-program-cmd).
29953         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29954         (tst-spawn-ARGS): Likewise.
29955         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29956
29957 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
29958             Jim Blandy  <jimb@codesourcery.com>
29959
29960         * Makeconfig (run-via-rtld-prefix): New variable.
29961         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29962         (built-program-cmd): Likewise.
29963
29964 2012-10-22  Andreas Jaeger  <aj@suse.de>
29965
29966         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29967         __O_RSYNC if it exists, otherwise to O_SYNC.
29968
29969 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
29970             Joseph Myers  <joseph@codesourcery.com>
29971
29972         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29973         /dev/null.
29974         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29975         from /dev/null
29976         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29977         /dev/null.
29978
29979 2012-10-22  Andreas Jaeger  <aj@suse.de>
29980
29981         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29982         Define always.
29983         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29984
29985         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29986         bits/fcntl-linux.h.
29987
29988         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29989         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29990
29991         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29992         to __O_LARGEFILE.
29993         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29994         to __O_LARGEFILE.
29995
29996 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
29997             Joseph Myers  <joseph@codesourcery.com>
29998
29999         * config.make.in (NM): New variable.
30000
30001 2012-10-21  Andreas Jaeger  <aj@suse.de>
30002
30003         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
30004         definitions and declarations that are provided by
30005         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30006
30007 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
30008
30009         [BZ #14683]
30010         * elf/Makefile (tests-static): Add tst-leaks1-static.
30011         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
30012         ($(objpfx)tst-leaks1-static): New rule.
30013         ($(objpfx)tst-leaks1-static-mem): Likewise.
30014         (tst-leaks1-static-ENV): New macro.
30015         * elf/dl-open.c (dl_open_worker): Check the main application
30016         only if SHARED is defined.
30017         * elf/tst-leaks1-static.c: New file.
30018
30019 2012-10-20  Andreas Jaeger  <aj@suse.de>
30020
30021         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
30022         generic values for Linux.
30023         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
30024         and declarations that are provided by <bits/fcntl-linux.h> and
30025         include <bits/fcntl-linux.h>.
30026         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30027         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30028
30029 2012-10-20  Roland McGrath  <roland@hack.frob.com>
30030
30031         * io/fcntl.h: Move include of <bits/types.h> to the top and
30032         include it unconditionally.
30033
30034 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
30035
30036         * wcsmbs/Makefile (tests-ifunc): New variable.
30037         (tests): Add $(tests-ifunc).
30038         * wcsmbs/test-wcschr-ifunc.c: New file.
30039         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
30040         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
30041         * wcsmbs/test-wcslen-ifunc.c: Likewise.
30042         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
30043         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
30044
30045         * string/Makefile (tests-ifunc): New variable.
30046         (tests): Add $(tests-ifunc).
30047         * string/test-memccpy.c (TEST_NAME): New macro.
30048         * string/test-memchr.c (TEST_NAME): Likewise.
30049         * string/test-memcmp.c (TEST_NAME): Likewise.
30050         * string/test-memcpy.c (TEST_NAME): Likewise.
30051         * string/test-memmem.c (TEST_NAME): Likewise.
30052         * string/test-memmove.c (TEST_NAME): Likewise.
30053         * string/test-memset.c (TEST_NAME): Likewise.
30054         * string/test-rawmemchr.c (TEST_NAME): Likewise.
30055         * string/test-stpcpy.c (TEST_NAME): Likewise.
30056         * string/test-stpncpy.c (TEST_NAME): Likewise.
30057         * string/test-strcasecmp.c (TEST_NAME): Likewise.
30058         * string/test-strcasestr.c (TEST_NAME): Likewise.
30059         * string/test-strcat.c (TEST_NAME): Likewise.
30060         * string/test-strchr.c (TEST_NAME): Likewise.
30061         * string/test-strcmp.c(TEST_NAME): Likewise.
30062         * string/test-strcpy.c (TEST_NAME): Likewise.
30063         * string/test-strcspn.c (TEST_NAME): Likewise.
30064         * string/test-strlen.c (TEST_NAME): Likewise.
30065         * string/test-strncasecmp.c (TEST_NAME): Likewise.
30066         * string/test-strncmp.c (TEST_NAME): Likewise.
30067         * string/test-strncpy.c (TEST_NAME): Likewise.
30068         * string/test-strnlen.c (TEST_NAME): Likewise.
30069         * string/test-strpbrk.c (TEST_NAME): Likewise.
30070         * string/test-strrchr.c (TEST_NAME): Likewise.
30071         * string/test-strspn.c (TEST_NAME): Likewise.
30072         * string/test-strstr.c (TEST_NAME): Likewise.
30073         * string/test-bcopy-ifunc.c: New file.
30074         * string/test-bzero-ifunc.c: Likewise.
30075         * string/test-memccpy-ifunc.c: Likewise.
30076         * string/test-memchr-ifunc.c: Likewise.
30077         * string/test-memcmp-ifunc.c: Likewise.
30078         * string/test-memcpy-ifunc.c: Likewise.
30079         * string/test-memmem-ifunc.c: Likewise.
30080         * string/test-memmove-ifunc.c: Likewise.
30081         * string/test-mempcpy-ifunc.c: Likewise.
30082         * string/test-memset-ifunc.c: Likewise.
30083         * string/test-rawmemchr-ifunc.c: Likewise.
30084         * string/test-stpcpy-ifunc.c: Likewise.
30085         * string/test-stpncpy-ifunc.c: Likewise.
30086         * string/test-strcasecmp-ifunc.c: Likewise.
30087         * string/test-strcasestr-ifunc.c: Likewise.
30088         * string/test-strcat-ifunc.c: Likewise.
30089         * string/test-strchr-ifunc.c: Likewise.
30090         * string/test-strchrnul-ifunc.c: Likewise.
30091         * string/test-strcmp-ifunc.c: Likewise.
30092         * string/test-strcpy-ifunc.c: Likewise.
30093         * string/test-strcspn-ifunc.c: Likewise.
30094         * string/test-strlen-ifunc.c: Likewise.
30095         * string/test-strncasecmp-ifunc.c: Likewise.
30096         * string/test-strncat-ifunc.c: Likewise.
30097         * string/test-strncmp-ifunc.c: Likewise.
30098         * string/test-strncpy-ifunc.c: Likewise.
30099         * string/test-strnlen-ifunc.c: Likewise.
30100         * string/test-strpbrk-ifunc.c: Likewise.
30101         * string/test-strrchr-ifunc.c: Likewise.
30102         * string/test-strspn-ifunc.c: Likewise.
30103         * string/test-strstr-ifunc.c: Likewise.
30104
30105         * debug/Makefile (tests-ifunc): New variable.
30106         (tests): Add $(tests-ifunc).
30107         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
30108         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
30109         * debug/test-stpcpy_chk-ifunc.c: New file.
30110         * debug/test-strcpy_chk-ifunc.c: Likewise.
30111
30112 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
30113
30114         [BZ #13601]
30115         * elf/dl-load.c (open_verify): Retry read if the entire ELF
30116         header is not read in.
30117
30118 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
30119
30120         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
30121         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
30122         directly.  Pass built executable to script as
30123         $(built-program-cmd).
30124         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
30125         $testprogram without using LD_LIBRARY_PATH and $ldso.
30126
30127         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
30128         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
30129         $(rtld-installed-name).
30130         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
30131         (rtld_installed_name): Likewise.
30132         (library_path): Likewise.
30133         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
30134         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
30135         $(run-program-prefix) to tst-tables.sh.
30136         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
30137         it to run tst-table-from and tst-table-to.
30138         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
30139         Pass it to tst-table.sh.
30140         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
30141         $(run-program-prefix) to tst-gettext.sh.
30142         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
30143         tst-translit.sh.
30144         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
30145         tst-gettext2.sh.
30146         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
30147         to run tst-gettext.
30148         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
30149         to run tst-gettext2.
30150         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
30151         to run tst-translit.
30152         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
30153         $(run-program-prefix) to tst-mtrace.sh.
30154         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
30155         to run tst-mtrace.
30156         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
30157         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
30158         $(rtld-installed-name).
30159         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
30160         (rtld_installed_name): Likewise.
30161         (run_program_prefix): New variable.  Use it to run wordexp-test.
30162
30163         * Makeconfig (ARCH): Remove all definitions.
30164         (machine): Likewise.
30165         [ARCH]: Remove conditional code.
30166         [!objdir]: Give error.
30167         [!objdir] (objpfx): Remove.
30168         [!objdir] (common-objpfx): Likewise.
30169         [!objdir] (common-objdir): Likewise.
30170         * configure.in (config_makefile): Remove.  Hardcode Makefile in
30171         AC_CONFIG_FILES call.
30172         * configure: Regenerated.
30173
30174         [BZ #13888]
30175         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
30176         or TMPDIR.
30177         (testout): Likewise.
30178
30179         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
30180         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
30181         $(rtld-installed-name).
30182         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
30183         (rtld_installed_name): Likwise.
30184         (runit): Remove function.
30185         (run_getconf): New variable,  Use it for running getconf binary.
30186
30187 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
30188
30189         [BZ #14716]
30190         * string/test-memmem.c (check_result): New function.
30191         (do_one_test): Use it.
30192         (check1): New function.
30193         (test_main): Use it.
30194
30195 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
30196
30197         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
30198
30199 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
30200
30201         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
30202         (_G_LSEEK64): Likewise.
30203         (_G_MMAP64): Likewise.
30204         (_G_FSTAT64): Likewise.
30205         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
30206         (_G_LSEEK64): Likewise.
30207         (_G_MMAP64): Likewise.
30208         (_G_FSTAT64): Likewise.
30209         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
30210         unconditional.  Call __mmap64 directly.
30211         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
30212         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
30213         __lseek64 directly.
30214         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
30215         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
30216         __mmap64 directly.
30217         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
30218         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
30219         __lseek64 directly.
30220         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
30221         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
30222         __lseek64 directly.
30223         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
30224         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
30225         __lseek64 directly.
30226         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
30227         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
30228         __fxstat64 directly.
30229         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
30230         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
30231         unconditional.
30232         (freopen64) [!_G_OPEN64]: Remove conditional code.
30233         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
30234         unconditional.
30235         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
30236         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
30237         unconditional.
30238         (ftello64) [!_G_LSEEK64]: Remove conditional code.
30239         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
30240         unconditional.
30241         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30242         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
30243         unconditional.
30244         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
30245         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
30246         unconditional.
30247         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30248         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
30249         unconditional.
30250         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30251         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
30252         unconditional.
30253         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30254
30255 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30256
30257         [BZ #12140]
30258         * manual/memory.texi (Malloc Tunable Parameters): Add note
30259         about free list pointers overwriting some perturb bytes.
30260         Wording suggested by Roland McGrath.
30261
30262 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
30263
30264         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
30265         (lgamma_test): Likewise.
30266         (tgamma_test): Likewise.
30267
30268 2012-10-16  Florian Weimer  <fweimer@redhat.com>
30269
30270         [BZ #14700]
30271         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
30272         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
30273
30274 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
30275
30276         * NEWS: Mention BZ #14716.
30277         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
30278         when removing AVAILABLE1_USES_J macro.
30279
30280 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
30281
30282         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
30283         (__bswap_64): __uint64_t for unsigned 64-bit int.
30284
30285 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
30286
30287         * include/string.h (memmem): Declare libc hidden alias.
30288         * string/memmem.c (memmem): Define libc hidden alias.
30289         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
30290         __read, __close instead of open, read, close.
30291
30292 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
30293
30294         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
30295         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
30296         global and hidden.
30297         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
30298         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
30299         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
30300         Likewise.
30301         (__rawmemchr_sse2): Likewise.
30302         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
30303         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
30304         (__strchr_sse2): Likewise.
30305         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
30306         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
30307         (__strcasecmp_sse2): Likewise.
30308         (__strncasecmp_sse2): Likewise.
30309         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
30310         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
30311         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
30312         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
30313         (__strrchr_sse2): Likewise.
30314         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
30315         ifunc-impl-list.c.
30316         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30317         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30318         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30319         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30320         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30321         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30322         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30323         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30324         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
30325         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
30326         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
30327         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
30328         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
30329         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30330         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30331         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30332         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30333         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30334         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
30335         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
30336         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
30337         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
30338         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
30339         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30340         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
30341         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30342         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30343         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30344         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30345         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30346
30347         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
30348         global and hidden.
30349         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
30350         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
30351         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
30352         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
30353         Likewise.
30354         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
30355         Likewise.
30356         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
30357         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
30358         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
30359         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
30360         ifunc-impl-list.c.
30361         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30362         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30363         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30364         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30365         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30366         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30367         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30368         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30369         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30370         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30371         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30372         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30373         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30374         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
30375         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
30376         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30377         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
30378         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
30379         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30380         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30381         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30382         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30383         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30384         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30385         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30386         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
30387         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
30388         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
30389         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
30390         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30391         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
30392         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30393         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30394         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
30395         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30396         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30397         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30398         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30399         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30400         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30401         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
30402
30403         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
30404         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
30405         * include/ifunc-impl-list.h: New file.
30406         * misc/ifunc-impl-list.c: Likewise.
30407         * misc/Makefile (routines): Add ifunc-impl-list.
30408         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
30409         * string/test-string.h: Include <ifunc-impl-list.h>.
30410         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
30411         TEST_NAME]: New variables.
30412         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
30413         are defined.
30414         (test_init): Call __libc_ifunc_impl_list to initialize
30415         func_list if TEST_IFUNC and TEST_NAME are defined.
30416
30417         * string/Makefile (strop-tests): Add bcopy and bzero.
30418         * string/test-bcopy.c: New file.
30419         * string/test-bzero.c: Likewise.
30420         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
30421         defined.
30422         * string/test-memset.c: Support bzero test if TEST_BZERO is
30423         defined.
30424         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
30425         __libc_memmove.
30426         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
30427         __libc_memset.
30428         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
30429         of memset.
30430
30431 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
30432
30433         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
30434         * configure: Regenerated.
30435
30436         * Makeconfig (+link-static-before-libc): Don't include
30437         $(link-static-libc).
30438
30439         * libio/libio.h (_IO_pos_t): Remove.
30440
30441 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30442
30443         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
30444         McGrath.
30445
30446 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30447
30448         * crypt/crypt-entry.c: Include fips-private.h.
30449         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
30450         * crypt/md5c-test.c (main): Tolerate disabled MD5.
30451         * sysdeps/unix/sysv/linux/fips-private.h: New file.
30452         * sysdeps/generic/fips-private.h: New file, dummy fallback.
30453
30454 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30455
30456         * crypt/crypt-private.h: Include stdbool.h.
30457         (_ufc_setup_salt_r): Return bool.
30458         * crypt/crypt-entry.c: Include errno.h.
30459         (__crypt_r): Return NULL with EINVAL for bad salt.
30460         * crypt/crypt_util.c (bad_for_salt): New.
30461         (_ufc_setup_salt_r): Check that salt is long enough and within
30462         the specified alphabet.
30463         * crypt/badsalttest.c: New file.
30464         * crypt/Makefile (tests): Add it.
30465         ($(objpfx)badsalttest): New.
30466
30467 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
30468
30469         * NEWS: Add entry for BZ #14602.
30470
30471 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
30472
30473         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
30474         type-generic.
30475         * math/libm-test.inc: Update comment listing what functions and
30476         macros are tested.
30477         (isgreater_test): New function.
30478         (isgreaterequal_test): Likewise.
30479         (isless_test): Likewise.
30480         (islessequal_test): Likewise.
30481         (islessgreater_test): Likewise.
30482         (isunordered_test): Likewise.
30483         (main): Call the new functions.
30484
30485 2012-10-09  Roland McGrath  <roland@hack.frob.com>
30486
30487         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
30488         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
30489         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
30490         * sysdeps/i386/configure: Regenerated.
30491         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
30492         * sysdeps/mach/configure: Regenerated.
30493         * sysdeps/mach/hurd/configure: Regenerated.
30494         * sysdeps/powerpc/configure: Regenerated.
30495         * sysdeps/powerpc/powerpc32/configure: Regenerated.
30496         * sysdeps/powerpc/powerpc64/configure: Regenerated.
30497         * sysdeps/s390/s390-32/configure: Regenerated.
30498         * sysdeps/s390/s390-64/configure: Regenerated.
30499         * sysdeps/sh/configure: Regenerated.
30500         * sysdeps/sparc/configure: Regenerated.
30501         * sysdeps/unix/sysv/linux/configure: Regenerated.
30502         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30503         * sysdeps/x86_64/configure: Regenerated.
30504
30505         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
30506         defined.  Don't check if MAP is NULL.
30507
30508 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
30509
30510         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
30511         (_G_stat64): Likewise.
30512         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
30513         (_G_stat64): Likewise.
30514         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
30515         instead of struct _G_stat64.
30516         * libio/fileops.c (mmap_remap_check): Likewise.
30517         (decide_maybe_mmap): Likewise.
30518         (_IO_new_file_seekoff): Likewise.
30519         (_IO_file_stat): Likewise.
30520         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
30521         _G_off64_t.
30522         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
30523         instead of struct _G_stat64.
30524         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30525
30526 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
30527
30528         [BZ #14602]
30529         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30530         Replace with ...
30531         (CHECK_EOL): New macro.
30532         (two_way_short_needle): Check beginning of haystack for EOL.  Use
30533         CHECK_EOL.
30534         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30535         Replace with CHECK_EOL.
30536         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30537         Replace with CHECK_EOL.
30538
30539 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
30540
30541         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
30542         type-generic.
30543         * math/libm-test.inc: Update comment listing what functions and
30544         macros are tested.
30545         (finite_test): New function.
30546         (isinf_test): Likewise.
30547         (isnan_test): Likewise.
30548         (fpclassify_test): Test subnormal input.
30549         (isfinite_test): Likewise.
30550         (isnormal_test): Likewise.
30551         (main): Call the new functions.
30552
30553 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
30554
30555         [BZ #14660]
30556         * Makerules (%.dynsym): Force C locale when running
30557         $(OBJDUMP) --dynamic-syms.
30558
30559 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
30560
30561         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
30562         <stdint.h>.
30563
30564 2012-10-06  David S. Miller  <davem@davemloft.net>
30565
30566         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
30567         upper 32-bits of the length value in %o2 since we use branch-on-register
30568         tests which consider the entire 64-bit register.
30569
30570 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
30571
30572         * string/test-strstr.c (check2): Add a test for page boundary.
30573
30574 2012-10-05  David S. Miller  <davem@davemloft.net>
30575
30576         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
30577         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
30578         file.
30579         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30580         sysdep_routines.
30581         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30582         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
30583         and bzero when HWCAP_SPARC_CRYPTO is present.
30584
30585 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
30586
30587         [BZ #14602]
30588         * string/test-strstr.c (check2): New function.
30589         (test_main): Call check2.
30590
30591         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
30592         and bug-strchr1.
30593         * string/bug-strcasestr1.c (do_test): Moved to ...
30594         * string/test-strcasestr.c (check1): Here.  New function.
30595         (do_one_test): Break out result checking code into ...
30596         (check_result): This.  New function.
30597         (do_one_test): Call check_result.
30598         (test_main): Call check1.
30599         * string/bug-strchr1.c (do_test): Moved to ...
30600         * string/test-strchr.c (check1): Here.  New function.
30601         (do_one_test): Break out result checking code into ...
30602         (check_result): This.  New function.
30603         (do_one_test): Call check_result.
30604         (test_main): Call check1.
30605         * string/bug-strstr1.c (main): Moved to ...
30606         * string/test-strstr.c (check1): Here.  New function.
30607         (do_one_test): Break out result checking code into ...
30608         (check_result): This.  New function.
30609         (do_one_test): Call check_result.
30610         (test_main): Call check1.
30611         * string/bug-strcasestr1.c: Removed.
30612         * string/bug-strchr1.c: Likewise.
30613         * string/bug-strstr1.c: Likewise.
30614
30615         * elf/Makefile (dl-routines): Add hwcaps.
30616         * elf/dl-support.c (_dl_important_hwcaps): Removed.
30617         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
30618         (_dl_important_hwcaps): Moved to ...
30619         * elf/dl-hwcaps.c: Here.  New file.
30620         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
30621
30622         [BZ #14557]
30623         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
30624         if IS_IN_rtld isn't defined.
30625
30626         * elf/dl-support.c (_dl_sysinfo_map): New.
30627         Include "get-dynamic-info.h" and "setup-vdso.h".
30628         (_dl_non_dynamic_init): Call setup_vdso.
30629         * elf/dynamic-link.h: Don't include <assert.h>.
30630         (elf_get_dynamic_info): Moved to ...
30631         * elf/get-dynamic-info.h: Here.  New file.
30632         * elf/dynamic-link.h: Include "get-dynamic-info.h".
30633         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
30634         * elf/setup-vdso.h: Here.  New file.
30635         * elf/rtld.c: Include "setup-vdso.h".
30636         (dl_main): Call setup_vdso.
30637
30638 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
30639
30640         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
30641         creal in comment listing functions tested.  List finite, isinf,
30642         isnan, isless, islessequal, isgreater, isgreaterequal,
30643         islessgreater, isunordered, lgamma_r and pow10 as functions and
30644         macros not tested.  Mention which functions not tested are aliases
30645         for other functions.  Fix typo.  Note that signs of NaNs are not
30646         tested.
30647
30648         * scripts/config.guess: Update from config.git.
30649         * scripts/config.sub: Likewise.
30650
30651 2012-10-04  Roland McGrath  <roland@hack.frob.com>
30652
30653         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
30654         * misc/madvise.c (madvise): Renamed to __madvise.
30655         Make madvise a weak alias.
30656         * include/sys/mman.h: Declare __madvise.
30657         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
30658         * sysdeps/unix/syscalls.list
30659         (madvise): Make __madvise the strong name, and madvise a weak alias.
30660         * sysdeps/unix/sysv/linux/syscalls.list
30661         (madvise, mmap): Remove redundant entries.
30662         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
30663         * malloc/malloc.c (mtrim): Likewise.
30664         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
30665
30666 2012-10-03  Roland McGrath  <roland@hack.frob.com>
30667
30668         * sysdeps/mach/hurd/dl-cache.c: File removed.
30669         * config.h.in (USE_LDCONFIG): New #undef.
30670         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
30671         * configure: Regenerated.
30672         * elf/Makefile (dl-routines): Add dl-cache only under
30673         [$(use-ldconfig) = yes].
30674         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
30675         cache on [USE_LDCONFIG].
30676         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
30677         [USE_LDCONFIG].
30678         * elf/rtld.c (dl_main): Likewise.
30679
30680 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
30681
30682         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
30683         _SC_LEVEL4_CACHE_LINESIZE.
30684
30685 2012-10-03  Roland McGrath  <roland@hack.frob.com>
30686
30687         * sysdeps/unix/bsd/confstr.h: File removed.
30688
30689 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
30690
30691         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
30692         sys/sdt-config.h.
30693
30694 2012-10-02  Roland McGrath  <roland@hack.frob.com>
30695
30696         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
30697         Make 'mapoff' field ElfW(Off) rather than off_t.
30698
30699 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
30700
30701         * nscd/Makefile: Remove nscd-cflags and all its users.
30702         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
30703         (CFLAGS-nonlib): Add compiler flags for nscd modules.
30704
30705         [BZ #10631]
30706         * malloc.c (malloc_printerr): Clarify error message.
30707
30708 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
30709
30710         [BZ #14648]
30711         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30712         Set bit_FMA_Usable if FMA is supported.
30713         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
30714         macro.
30715         (bit_FMA4_Usable): Updated.
30716         (index_FMA_Usable): New macro.
30717         (CPUID_FMA): Likewise
30718         (HAS_FMA): Defined with bit_FMA_Usable.
30719
30720 2012-10-01  Roland McGrath  <roland@hack.frob.com>
30721
30722         * bits/types.h (__swblk_t): Type removed.
30723         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
30724         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
30725         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30726         (__SWBLK_T_TYPE): Likewise.
30727         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30728         (__SWBLK_T_TYPE): Likewise.
30729         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30730         (__SWBLK_T_TYPE): Likewise.
30731         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30732         (__SWBLK_T_TYPE): Likewise.
30733
30734 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
30735             Honza Horak <hhorak@redhat.com>
30736
30737         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30738         (xdr_mapname): Use YPMAXMAP as maxsize.
30739         (xdr_peername): Use YPMAXPEER as maxsize.
30740         (xdr_keydat): Use YPAXRECORD as maxsize.
30741         (xdr_valdat): Use YPMAXRECORD as maxsize.
30742
30743 2012-10-01  Roland McGrath  <roland@hack.frob.com>
30744
30745         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30746
30747         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30748         * csu/init-first.c: ... here.
30749         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30750         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30751         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30752         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30753         * sysdeps/i386/init-first.c: File removed.
30754         * sysdeps/sh/init-first.c: File removed.
30755
30756 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
30757
30758         [BZ #14645]
30759         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30760         if x * y might underflow to zero and z is zero.
30761         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30762         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30763         * math/libm-test.inc (min_subnorm_value): New variable.
30764         (fma_test): Add more tests.
30765         (fma_test_towardzero): Likewise.
30766         (fma_test_downward): Likewise
30767         (fma_test_upward): Likewise.
30768         (initialize): Set min_subnorm_value.
30769
30770 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
30771
30772         [BZ #14638]
30773         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30774         0 + 0.
30775         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30776         mode for addition resulting in exact zero.
30777         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30778         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30779         exact 0 + 0.
30780         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30781         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30782         * math/libm-test.inc (fma_test): Add more tests.
30783         (fma_test_towardzero): New function.
30784         (fma_test_downward): Likewise.
30785         (fma_test_upward): Likewise.
30786         (main): Call the new functions.
30787
30788 2012-09-28  David S. Miller  <davem@davemloft.net>
30789
30790         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30791
30792 2012-09-28  Roland McGrath  <roland@hack.frob.com>
30793
30794         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30795         instead of SIGALRM.
30796
30797         * sysdeps/gnu/_G_config.h: Moved to ...
30798         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30799         * sysdeps/mach/hurd/_G_config.h: Moved to ...
30800         * sysdeps/generic/_G_config.h: ... here.
30801
30802         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
30803
30804         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30805
30806         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30807         Conditionalize target on [libnss_test1.so-version].
30808
30809         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30810
30811         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30812         (elfobjdir): Move out of conditionals.
30813
30814         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
30815         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
30816         (__nss_lookup_function): Conditionalize label remove_from_tree on
30817         [!DO_STATIC_NSS || SHARED], matching its only use.
30818
30819 2012-09-28  David S. Miller  <davem@davemloft.net>
30820
30821         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30822         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30823         file.
30824         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30825         sysdep_routines.
30826         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30827         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30828         when HWCAP_SPARC_CRYPTO is present.
30829
30830 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30831
30832         * io/tst-mknodat.c: Create a FIFO instead of a socket.
30833
30834 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
30835
30836         [BZ #6530]
30837         * stdio-common/vfprintf.c (process_string_arg): Revert
30838         2000-07-22 change.
30839
30840 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
30841
30842         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30843         for testcase.
30844         * stdio-common/tst-sprintf.c: Include <locale.h>
30845         (main): Test sprintf's handling of incomplete multibyte
30846         characters.
30847
30848 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
30849
30850         * elf/dl-runtime.c (VERSYMIDX): Removed.
30851         * elf/dl-version.c (VERSYMIDX): Likewise.
30852         * elf/do-rel.h (VERSYMIDX): Likewise.
30853         (VALIDX): Likewise.
30854         * elf/dynamic-link.h (VERSYMIDX): Likewise.
30855         * elf/rtld.c (VALIDX): Likewise.
30856         (ADDRIDX): Likewise.
30857         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30858         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30859         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
30860         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30861         (VALIDX): Likewise.
30862         (ADDRIDX): Likewise.
30863
30864 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30865
30866         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30867
30868 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
30869
30870         [BZ #11438]
30871         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30872         to global scope.
30873         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30874         addresses are in the same scope as 192.0.2/24.
30875         * posix/gai.conf: Document new scope table defaults.
30876
30877 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30878
30879         [BZ #5298]
30880         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30881         for ftell.  Compute offsets from write pointers instead.
30882         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30883
30884 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30885
30886         [BZ #14543]
30887         * libio/Makefile (tests): New test case tst-fseek.
30888         * libio/tst-fseek.c: New test case to verify that fseek/ftell
30889         combination works in wide mode.
30890         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30891         state when the external buffer state changes.
30892
30893 2012-09-27  David S. Miller  <davem@davemloft.net>
30894
30895         [BZ #14376]
30896         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30897         pass reloc->r_addend in as the 'high' argument to
30898         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30899
30900         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30901
30902 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30903
30904         * rt/tst-aio2.c: Include <pthread.h>.
30905         * rt/tst-aio3.c: Likewise.
30906
30907 2012-09-27  Steve Ellcey  <sellcey@mips.com>
30908
30909         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30910
30911 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
30912
30913         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30914         contents on [SHARED].
30915
30916 2012-09-26  Marek Polacek  <polacek@redhat.com>
30917
30918         [BZ #14530]
30919         [BZ #13741]
30920         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30921         for C++ and GCC <4.3 as well as for non GCC compilers.
30922
30923 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
30924
30925         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30926
30927 2012-09-25  Roland McGrath  <roland@hack.frob.com>
30928
30929         * Makefile.in (all, install): Declare with .PHONY.
30930         Reported by Michael Hope <michael.hope@linaro.org>.
30931
30932 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30933
30934         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30935         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30936         system header.
30937         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30938         Likewise.
30939         (sydep_routines): Add the new and the internal functions.
30940         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30941         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30943         (GLIBC_2.17): Add the new function.
30944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30945         (GLIBC_2.17): Likewise.
30946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30947         (GLIBC_2.17): Likewise.
30948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30949         (GLIBC_2.17): Likewise.
30950         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30951
30952 2012-09-25  Alan Modra  <amodra@gmail.com>
30953
30954         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30955         Add release barrier before setting once_control to say
30956         initialisation is done.  Add hints on lwarx.  Use macro in
30957         place of isync.
30958         (clear_once_control): Add release barrier.
30959
30960 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
30961
30962         [BZ #13629]
30963         * math/s_clog.c (__clog): Handle more values close to |z| = 1
30964         specially.
30965         * math/s_clog10.c (__clog10): Likewise.
30966         * math/s_clog10f.c (__clog10f): Likewise.
30967         * math/s_clog10l.c (__clog10l): Likewise.
30968         * math/s_clogf.c (__clogf): Likewise.
30969         * math/s_clogl.c (__clogl): Likewise.
30970         * math/Makefile (libm-calls): Add x2y2m1.
30971         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30972         (__x2y2m1): Likewise.
30973         (__x2y2m1l): Likewise.
30974         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30975         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30976         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30977         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30978         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30979         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30980         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30981         * sysdeps/i386/fpu/libm-test-ulps: Update.
30982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30983
30984         [BZ #14621]
30985         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30986         int as type of variable DEPTH.
30987         (glob): Use size_t instead of int as type of variables NEWCOUNT
30988         and OLD_PATHC.
30989
30990 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30991
30992         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30993         Add s_sincosf-sse2.
30994         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30995         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30996         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30997         macros for using routine as __sincosf_ia32.
30998         Use macro for function declaration and weak_alias.
30999         * sysdeps/i386/fpu/libm-test-ulps: Update.
31000
31001         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
31002         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31003
31004         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
31005         subnormal argument.
31006         * math/s_cexpf.c (__cexpf): Likewise.
31007         * math/s_csinf.c (__csinf): Likewise.
31008         * math/s_csinhf.c (__csinhf): Likewise.
31009         * math/s_ctanf.c (__ctanf): Likewise.
31010         * math/s_ctanhf.c (__ctanhf): Likewise.
31011         * math/s_ccosh.c (__ccoshf): Likewise.
31012         * math/s_cexp.c (__cexpl): Likewise.
31013         * math/s_csin.c (__csin): Likewise.
31014         * math/s_csinh.c (__csinh): Likewise.
31015         * math/s_ctan.c (__ctan): Likewise.
31016         * math/s_ctanh.c (ctanh): Likewise.
31017         * math/s_ccoshl.c (__ccoshl): Likewise.
31018         * math/s_cexpl.c (__cexpl): Likewise.
31019         * math/s_csinl.c (__csinl): Likewise.
31020         * math/s_csinhl.c (__csinhl): Likewise.
31021         * math/s_ctanl.c (__ctanl): Likewise.
31022         * math/s_ctanhl.c (__ctanhl): Likewise.
31023
31024 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
31025
31026         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
31027         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
31028         (_IO_off_t): Define to __off_t, not _G_off_t.
31029         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
31030         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
31031         (_IO_wint_t): Define to wint_t, not _G_wint_t.
31032         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
31033         type of __dummy and __dummy2 fields.
31034         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
31035         (_G_ssize_t): Likewise.
31036         (_G_off_t): Likewise.
31037         (_G_pid_t): Likewise.
31038         (_G_uid_t): Likewise.
31039         (_G_wchar_t): Likewise.
31040         (_G_wint_t): Likewise.
31041         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
31042         (_G_ssize_t): Likewise.
31043         (_G_off_t): Likewise.
31044         (_G_pid_t): Likewise.
31045         (_G_uid_t): Likewise.
31046         (_G_wchar_t): Likewise.
31047         (_G_wint_t): Likewise.
31048         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
31049         (_G_ssize_t): Likewise.
31050         (_G_off_t): Likewise.
31051         (_G_pid_t): Likewise.
31052         (_G_uid_t): Likewise.
31053         (_G_wchar_t): Likewise.
31054         (_G_wint_t): Likewise.
31055
31056 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31057
31058         * malloc/arena.c: Include malloc-sysdep.h.
31059         (shrink_heap): Use check_may_shrink_heap to decide if madvise
31060         is sufficient to shrink the heap or an unmap is needed.
31061         * sysdeps/generic/malloc-sysdep.h: New file.  Define
31062         new function check_may_shrink_heap.
31063         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
31064         new function check_may_shrink_heap.
31065
31066 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31067
31068         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
31069         comments.
31070
31071 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
31072
31073         * catgets/test-gencat.sh: Add "set -e".
31074         * elf/tst-pathopt.sh: Likewise.
31075         * grp/tst_fgetgrent.sh: Likewise.
31076         * iconvdata/run-iconv-test.sh: Likewise.
31077         * intl/tst-gettext.sh: Likewise.
31078         * intl/tst-gettext2.sh: Likewise.
31079         * intl/tst-gettext4.sh: Likewise.
31080         * intl/tst-gettext6.sh: Likewise.
31081         * intl/tst-translit.sh: Likewise.
31082         * io/ftwtest-sh: Likewise.
31083         * libio/test-freopen.sh: Likewise.
31084         * malloc/tst-mtrace.sh: Likewise.
31085         * posix/globtest.sh: Likewise.
31086         * posix/tst-getconf.sh: Likewise.
31087         * posix/wordexp-tst.sh: Likewise.
31088         * stdio-common/tst-printf.sh: Likewise.
31089         * stdio-common/tst-unbputc.sh: Likewise.
31090         * stdlib/tst-fmtmsg.sh: Likewise.
31091         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31092         * catgets/Makefile: Do not specify -e option when running
31093         testsuite shell scripts.
31094         * elf/Makefile: Likewise.
31095         * grp/Makefile: Likewise.
31096         * iconvdata/Makefile: Likewise.
31097         * intl/Makefile: Likewise.
31098         * io/Makefile: Likewise.
31099         * libio/Makefile: Likewise.
31100         * malloc/Makefile: Likewise.
31101         * posix/Makefile: Likewise.
31102         * stdio-common/Makefile: Likewise.
31103         * stdlib/Makefile: Likewise.
31104         * sysdeps/x86_64/Makefile: Likewise.
31105
31106         * io/ftwtest-sh: Add copyright header.
31107         * posix/globtest.sh: Likewise.
31108         * posix/tst-getconf.sh: Likewise.
31109         * posix/wordexp-tst.sh: Likewise.
31110         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31111
31112 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
31113
31114         [BZ #13679]
31115         * Makeconfig (+link): Defined as $(+link-static) if
31116         $(build-shared) isn't yes.
31117         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
31118         isn't yes.
31119         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
31120
31121         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
31122
31123         [BZ #14562]
31124         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
31125         new chunk size with MALLOC_ALIGN_MASK.
31126
31127 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
31128
31129         [BZ #5044]
31130         * stdio-common/printf_fphex.c: Include <stdbool.h> and
31131         <rounding-mode.h>.
31132         (__printf_fphex): Determine rounding using get_rounding_mode and
31133         round_away.
31134         * stdio-common/tst-printf-round.c (struct hex_test): New
31135         structure.
31136         (hex_tests): New variable.
31137         (test_hex_in_one_mode): New function.
31138         (do_test): Also run tests for hex float output.
31139
31140 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
31141
31142         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31143         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31144         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
31145         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31146         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31147         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
31148         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31149         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31150
31151 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
31152
31153         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
31154         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
31155         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
31156         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
31157
31158 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
31159
31160         [BZ #14579]
31161         * elf/rtld.c (dl_main): Limit the check for self loading to normal
31162         mode only.
31163         * elf/tst-rtld-load-self.sh: New test.
31164         * elf/Makefile: Run it.
31165
31166 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
31167
31168         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
31169         (tst-writev-ENV): Remove.
31170         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
31171
31172 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
31173
31174         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
31175
31176 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
31177
31178         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
31179         unconditional.
31180         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
31181         Likewise.
31182         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
31183         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
31184         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
31185         Likewise.
31186
31187 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
31188
31189         [BZ #14587]
31190         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
31191         * config.make.in (have-cpp-asm-debuginfo): Removed.
31192         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
31193         * configure: Regenerated.
31194
31195 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
31196
31197         [BZ #5044]
31198         * stdio-common/printf_fp.c: Include <stdbool.h> and
31199         <rounding-mode.h>.
31200         (___printf_fp): Determine rounding using get_rounding_mode and
31201         round_away.
31202         * stdio-common/tst-printf-round.c: New file.
31203         * stdio-common/Makefile (tests): Add tst-printf-round.
31204         (link-libm): New variable.
31205         ($(objpfx)tst-printf-round): Depend in $(link-libm).
31206
31207 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
31208
31209         [BZ #14576]
31210         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
31211         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
31212         Likewise.
31213         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
31214         Likewise.
31215
31216 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
31217
31218         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
31219         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31220         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31221         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31222
31223 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
31224
31225         [BZ #14518]
31226         * include/rounding-mode.h: New file.
31227         * sysdeps/generic/get-rounding-mode.h: Likewise.
31228         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
31229         * stdlib/strtod_l.c: Include <rounding-mode.h>.
31230         (MAX_VALUE): New macro.
31231         (MIN_VALUE): Likewise.
31232         (overflow_value): New function.
31233         (underflow_value): Likewise.
31234         (round_and_return): Use overflow_value and underflow_value to
31235         determine return values in overflow and underflow cases.  Use
31236         round_away to determine rounding depending on rounding mode.
31237         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
31238         determine return values in overflow and underflow cases.
31239         * stdlib/tst-strtod-round.c: Include <fenv.h>.
31240         (struct test_results): New structure.
31241         (struct test): Use struct test_results to store expected results
31242         for all rounding modes.
31243         (TEST): Include expected results for all rounding modes.
31244         (test_in_one_mode): New function.
31245         (do_test): Use test_in_one_mode to compute and check results.
31246         Check results for all rounding modes.
31247         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
31248         $(link-libm).
31249
31250 2012-12-09  Allan McRae  <allan@archlinux.org>
31251
31252         * sysdeps/i386/fpu/libm-test-ulps: Update
31253
31254 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
31255
31256         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
31257         (_G_int32_t): Likewise.
31258         (_G_uint16_t): Likewise.
31259         (_G_uint32_t): Likewise.
31260         (_G_HAVE_BOOL): Likewise.
31261         (_G_HAVE_ATEXIT): Likewise.
31262         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31263         (_G_HAVE_IO_FILE_OPEN): Likewise.
31264         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
31265         (_G_int32_t): Likewise.
31266         (_G_uint16_t): Likewise.
31267         (_G_uint32_t): Likewise.
31268         (_G_HAVE_BOOL): Likewise.
31269         (_G_HAVE_ATEXIT): Likewise.
31270         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31271         (_G_HAVE_IO_FILE_OPEN): Likewise.
31272         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
31273         (_G_int32_t): Likewise.
31274         (_G_uint16_t): Likewise.
31275         (_G_uint32_t): Likewise.
31276         (_G_HAVE_BOOL): Likewise.
31277         (_G_HAVE_ATEXIT): Likewise.
31278         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31279         (_G_HAVE_IO_FILE_OPEN): Likewise.
31280
31281 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
31282
31283         * csu/libc-tls.c: Update copyright years.
31284
31285 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
31286
31287         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
31288         [!_G_USING_THUNKS]: Remove conditional code.
31289         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
31290         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
31291
31292         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
31293         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
31294         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31295         (_G_VTABLE_LABEL_PREFIX): Likewise.
31296         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31297         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31298         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31299         (_G_VTABLE_LABEL_PREFIX): Likewise.
31300         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31301         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31302         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31303         (_G_VTABLE_LABEL_PREFIX): Likewise.
31304         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31305
31306 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
31307
31308         * libio/Makefile: Include ../Makeconfig before tests.
31309         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
31310         only if $(build-shared) is yes.
31311
31312         * iconv/gconv_db.c: Update copyright years.
31313
31314 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31315
31316         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
31317         unwind info if defined PIC. Fix special cases description.
31318         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
31319
31320         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
31321         DP_HI_MASK entry.
31322         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
31323
31324 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
31325
31326         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
31327
31328         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
31329         is NULL.
31330
31331         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
31332         (LDLIBS-tst-chk4): This.
31333         (LDFLAGS-tst-chk5): Renamed to ...
31334         (LDLIBS-tst-chk5): This.
31335         (LDFLAGS-tst-chk6): Renamed to ...
31336         (LDLIBS-tst-chk6): This.
31337         (LDFLAGS-tst-lfschk4): Renamed to ...
31338         (LDLIBS-tst-lfschk4): This.
31339         (LDFLAGS-tst-lfschk5): Renamed to ...
31340         (LDLIBS-tst-lfschk5): This.
31341         (LDFLAGS-tst-lfschk6): Renamed to ...
31342         (LDLIBS-tst-lfschk6): This.
31343
31344         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
31345         on $(common-objpfx)soversions.mk.
31346
31347 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
31348
31349         [BZ #10014]
31350         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
31351         example host name.
31352
31353 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
31354
31355         * malloc/arena.c (arena_get_retry): New function that gets
31356         another arena for the caller to try its request on.
31357         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
31358         current arena cannot fulfill the request.
31359         (__libc_memalign): Likewise.
31360         (__libc_memalign): Likewise.
31361         (__libc_pvalloc): Likewise.
31362         (__libc_calloc): Likewise.
31363
31364 2012-09-05  John Tobey  <john.tobey@gmail.com>
31365
31366         [BZ #13542]
31367         * manual/arith.texi (Operations on Complex): Fix description
31368         of carg branch cut.
31369
31370 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
31371
31372         [BZ #10014]
31373         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
31374         host name.
31375
31376         [BZ #10038]
31377         * manual/memory.texi (Memory): Make order of menu items match
31378         order of sections.
31379
31380 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31381
31382         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
31383         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
31384         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
31385
31386 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31387
31388         * csu/libc-tls.c (static_dtv): Renamed to ...
31389         (_dl_static_dtv): This.  Make it global.
31390         (_dl_initial_dtv): Removed.
31391         (__libc_setup_tls): Updated.
31392         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
31393         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
31394         DL_INITIAL_DTV.
31395
31396 2012-09-06  Petr Machata  <pmachata@redhat.com>
31397
31398         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
31399         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
31400         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
31401         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
31402
31403 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31404
31405         [BZ #14545]
31406         * csu/libc-tls.c (_dl_initial_dtv): New variable.
31407         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
31408         freeing dtv[-1].
31409
31410 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31411
31412         [BZ #14544]
31413         * Makeconfig (link-static-before-libc): Replace $(+prector)
31414         with $(+prectorT).
31415         (link-static-after-libc): Replace $(+postctor) with
31416         $(+postctorT).
31417         (link-bounded): Replace $(+prector)/$(+postctor) with
31418         $(+prectorT)/$(+postctorT).
31419         (+prectorT): New macro.
31420         (+postctorT): Likewise.
31421
31422 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
31423
31424         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
31425         (round_str): Handle values above the maximum for IBM long double
31426         as inexact.
31427         * stdlib/tst-strtod-round.c (tests): Regenerated.
31428
31429 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31430
31431         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
31432         assembler flag.
31433         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
31434         zarch_nohighgprs around the zarch optimized routines.
31435         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
31436         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
31437         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
31438         for zarch.
31439
31440 2012-09-05  David S. Miller  <davem@davemloft.net>
31441
31442         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31443
31444         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
31445         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
31446         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
31447         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31448         entries.
31449
31450 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31451
31452         * malloc/arena.c: Fold copyright years.
31453         * malloc/mcheck.c, malloc/memusage.c: Likewise.
31454
31455 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31456
31457         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
31458
31459 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31460
31461         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
31462
31463 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31464
31465         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
31466         change internal state upon failure.
31467
31468 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31469
31470         * malloc/mcheck.c (mcheck_check_all): Fix typo.
31471         * malloc/memusage.c (mmap): Likewise.
31472         (mmap64, mremap): Likewise.  Adjust name in comment.
31473
31474 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31475
31476         * libio/fileops.c: Fix typos in comments.
31477         * libio/oldfileops.c: Likewise.
31478         * libio/wfileops.c: Likewise.
31479
31480 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31481
31482         [BZ #1349]
31483         * malloc/Makefile (tests): Add tst-malloc-usable test case.
31484         (tst-malloc-usable-ENV): Set environment for test case.
31485         * malloc/hooks.c (malloc_check_get_size): New function to get
31486         requested size.
31487         * malloc/malloc.c (musable): Use malloc_check_get_size.
31488         * malloc/tst-malloc-usable.c: New test case.
31489
31490 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31491
31492         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
31493
31494 2012-09-05  Allan McRae  <allan@archlinux.org>
31495
31496         [BZ #13966]
31497         * configure.in (CXX_SYSINCLUDES): Use compiler output to
31498         determine header location.
31499         * configure: Regenerated.
31500
31501 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31502
31503         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
31504         float format.
31505         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
31506         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
31507         format.
31508         (test): Regenerate.
31509
31510 2012-09-04  David S. Miller  <davem@davemloft.net>
31511
31512         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
31513         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
31514         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
31515
31516 2012-09-04  Florian Weimer  <fweimer@redhat.com>
31517
31518         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
31519         failures.
31520
31521         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
31522
31523 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
31524
31525         [BZ #9914]
31526         * libio/iogetdelim.c: Include <limits.h>.
31527         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
31528         + len + 1 would overflow.
31529
31530 2012-09-03  Andreas Jaeger  <aj@suse.de>
31531
31532         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31533         * sysdeps/i386/fpu/libm-test-ulps: Update.
31534
31535 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31536
31537         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31538         Add s_sinf-sse2, s_conf-sse2.
31539
31540         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
31541         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
31542         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
31543         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
31544
31545         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
31546         for using routine as __sinf_ia32.
31547         Use macro for function declaration and weak_alias.
31548         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
31549         for using routine as __cosf_ia32.
31550         Use macro for function declaration and weak_alias.
31551
31552         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
31553         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
31554
31555         * sysdeps/x86_64/fpu/s_sinf.S: New file.
31556         * sysdeps/x86_64/fpu/s_cosf.S: New file.
31557         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31558
31559         * math/libm-test.inc (cos_test): Add more test cases.
31560         (sin_test): Likewise.
31561         (sincos_test): Likewise.
31562
31563 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31564
31565         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
31566         (IFUNC_RESOLVE): Make pointers to the specialized implementations
31567         hidden.
31568         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31569
31570 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
31571
31572         [BZ #14538]
31573         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
31574         first element of the GOT.
31575         (elf_machine_load_address): Return the difference between
31576         the runtime address of _DYNAMIC and elf_machine_dynamic ().
31577
31578 2012-09-01  Allan McRae  <allan@archlinux.org>
31579
31580         [BZ #13412]
31581         * configure.in (AWK): Require gawk version 3.0 or later.
31582         * configure: Regenerated.
31583
31584 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
31585
31586         * sysdeps/unix/sysv/linux/kernel-features.h
31587         (__ASSUME_POSIX_CPU_TIMERS): Remove.
31588         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31589         [__NR_clock_getres]: Make code unconditional.
31590         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
31591         (clock_getcpuclockid): Remove code left unreachable by removal of
31592         conditionals.
31593         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
31594         code unconditional.
31595         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31596         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31597         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
31598         Make code unconditional.
31599         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31600         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31601         * sysdeps/unix/sysv/linux/clock_settime.c
31602         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
31603         conditional code.
31604         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
31605         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31606
31607 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
31608
31609         [BZ #14476]
31610         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
31611         scripts/test-installation.pl.
31612
31613         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
31614         and $ld_so_version if it is set.
31615
31616 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31617
31618         [BZ #14516]
31619         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
31620         failure if reading from procfs failed.
31621         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
31622
31623 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
31624
31625         * sysdeps/unix/sysv/linux/kernel-features.h
31626         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
31627         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31628         Remove conditional code.
31629         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31630         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
31631         Remove conditional code.
31632         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31633         * sysdeps/unix/sysv/linux/i386/fxstat.c
31634         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31635         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31636         * sysdeps/unix/sysv/linux/i386/fxstatat.c
31637         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31638         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31639         * sysdeps/unix/sysv/linux/i386/lxstat.c
31640         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31641         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31642         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
31643         Remove conditional code.
31644         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31645         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31646         Remove conditional code.
31647         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31648         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
31649         <kernel-features.h>.
31650         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
31651         Remove.
31652         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
31653         Remove conditional code.
31654         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31655         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
31656         Remove conditional.
31657
31658 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
31659
31660         [BZ #5400]
31661         * NEWS: Add fixed bug number.
31662
31663 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
31664
31665         [BZ #14519]
31666         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
31667         underflowing exponent in case of negative sign.
31668         * stdlib/tst-strtod-round-data: Add more tests.
31669         * stdlib/tst-strtod-round.c (tests): Regenerated.
31670
31671         [BZ #3479]
31672         * stdlib/strtod_l.c (NDIG): Remove.
31673         (HEXNDIG): Likewise.
31674         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
31675         smallest representable value.
31676         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
31677         lie within an exact representation of 1/2 ulp of the result.
31678         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
31679         unconditionally.
31680         (TENS_P9_IDX): Define unconditionally.
31681         (TENS_P9_SIZE): Likewise.
31682         (TENS_P10_IDX): Likewise.
31683         (TENS_P10_SIZE): Likewise.
31684         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
31685         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
31686         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
31687         entries for 10^2^13 and 10^2^14.
31688         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
31689         (TENS_P13_IDX): Define.
31690         (TENS_P13_SIZE): Likewise.
31691         (TENS_P14_IDX): Likewise.
31692         (TENS_P14_SIZE): Likewise.
31693         (_fpioconst_pow10): Change array size to
31694         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
31695         unconditional.
31696         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
31697         1024]: Add entries for 10^2^13 and 10^2^14.
31698         [LAST_POW10 > _LAST_POW10]: Remove #error.
31699         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
31700         (_fpioconst_pow10): Change array size to
31701         FPIOCONST_POW10_ARRAY_SIZE.
31702         * stdlib/gen-fpioconst.c: New file.
31703         * stdlib/gen-tst-strtod-round.c: Likewise.
31704         * stdlib/tst-strtod-round-data: Likewise.
31705         * stdlib/tst-strtod-round.c: Likewise.
31706         * stdlib/Makefile (tests): Add tst-strtod-round.
31707
31708         [BZ #14459]
31709         * stdlib/strtod_l.c: Include <stdint.h>.
31710         (NDEBUG): Do not define.
31711         (round_and_return): Change EXPONENT parameter to type intmax_t.
31712         Rearrange calculations to avoid internal overflow possibilities.
31713         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
31714         Rearrange calculations to avoid internal overflow possibilities.
31715         Assert that number fits inside MPNSIZE limbs.
31716         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
31717         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
31718         calculations and add assertions to avoid internal overflow
31719         possibilities.  Add casts to avoid signed/unsigned operations.
31720         * stdlib/tst-strtod-overflow.c: New file.
31721         * stdlib/Makefile (tests): Add tst-strtod-overflow.
31722
31723 2012-08-25  Marek Polacek  <polacek@redhat.com>
31724
31725         * time/time.h: Fix some typos in comments.
31726
31727 2012-08-23  Roland McGrath  <roland@hack.frob.com>
31728
31729         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
31730         * posix/tst-rfc3484-2.c: Likewise.
31731         * posix/tst-rfc3484-3.c: Likewise.
31732
31733 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
31734
31735         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31736         (EF_ARM_ABI_FLOAT_HARD): Likewise.
31737
31738 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
31739
31740         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31741         #include of fxstatat64.c.
31742
31743 2012-08-22  Roland McGrath  <roland@hack.frob.com>
31744
31745         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31746         * shadow/getspent_r.c: Likewise.
31747         * shadow/getspnam.c: Likewise.
31748         * shadow/getspnam_r.c: Likewise.
31749         * gshadow/getsgent.c: Likewise.
31750         * gshadow/getsgent_r.c: Likewise.
31751         * gshadow/getsgnam.c: Likewise.
31752         * gshadow/getsgnam_r.c: Likewise.
31753         * inet/getnetbyad.c: Likewise.
31754         * inet/getnetbyad_r.c: Likewise.
31755         * inet/getnetbynm.c: Likewise.
31756         * inet/getnetbynm_r.c: Likewise.
31757         * inet/getnetent.c: Likewise.
31758         * inet/getnetent_r.c: Likewise.
31759         * inet/getproto.c: Likewise.
31760         * inet/getproto_r.c: Likewise.
31761         * inet/getprtent.c: Likewise.
31762         * inet/getprtent_r.c: Likewise.
31763         * inet/getprtname.c: Likewise.
31764         * inet/getprtname_r.c: Likewise.
31765         * inet/getrpcbyname.c: Likewise.
31766         * inet/getrpcbyname_r.c: Likewise.
31767         * inet/getrpcbynumber.c: Likewise.
31768         * inet/getrpcbynumber_r.c: Likewise.
31769         * inet/getrpcent.c: Likewise.
31770         * inet/getrpcent_r.c: Likewise.
31771         * inet/getaliasent.c: Likewise.
31772         * inet/getaliasent_r.c: Likewise.
31773         * inet/getaliasname.c: Likewise.
31774         * inet/getaliasname_r.c: Likewise.
31775         * nscd/getgrgid_r.c: Likewise.
31776         * nscd/getgrnam_r.c: Likewise.
31777         * nscd/gethstbyad_r.c: Likewise.
31778         * nscd/gethstbynm3_r.c: Likewise.
31779         * nscd/getpwnam_r.c: Likewise.
31780         * nscd/getpwuid_r.c: Likewise.
31781         * nscd/getsrvbynm_r.c: Likewise.
31782         * nscd/getsrvbypt_r.c: Likewise.
31783         * nscd/gai.c: Likewise.
31784
31785         * configure.in (build_nscd): New substituted variable, set
31786         by --disable-build-nscd and defaults to $use_nscd.
31787         * configure: Regenerated.
31788         * config.make.in (build-nscd): New substituted variable.
31789         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31790         Change conditional to require [$(build-nscd) = yes] as well.
31791         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31792
31793         [BZ# 13696]
31794         * configure.in (use_nscd): New substituted variable, set by
31795         --disable-nscd.  If enabled, define USE_NSCD.
31796         * configure: Regenerated.
31797         * config.h.in: Add USE_NSCD.
31798         * config.make.in (use-nscd): New substituted variable.
31799         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31800         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31801         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31802         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31803         (CFLAGS-getgrnam_r.c): Likewise.
31804         (CFLAGS-initgroups.c): Likewise.
31805         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31806         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31807         Variables removed.
31808         * inet/getnetgrent_r.c
31809         (nscd_setnetgrent): New function, broken out of ...
31810         (setnetgrent): ... here.  Call it.
31811         (innetgr): Conditionalize nscd bits on [USE_NSCD].
31812         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31813         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
31814         * nscd/Makefile (routines, aux): Move definitions after include of
31815         Makeconfig.  Conditionalize on [$(use-nscd) != no].
31816         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31817         Conditionalize on [USE_NSCD].
31818         (is_nscd, nscd_init_cb): Likewise.
31819         (nss_load_library): Conditionalize init callback on [USE_NSCD].
31820         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31821         * nss/nss_db/db-init.c: Likewise.
31822         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31823         [USE_NSCD].
31824         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31825         (make_request): Use it.
31826         (cache_valid_p): New function.
31827         (__check_pf): Use it.
31828         * NEWS: Add item for --disable-nscd.
31829
31830 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
31831
31832         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31833         to support sed >= 4.2.1-20-ga9bf076.
31834         * configure: Regenerated.
31835
31836 2012-08-22  Roland McGrath  <roland@hack.frob.com>
31837
31838         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31839         Conditionalize whole body on [IREL].
31840
31841 2012-08-22  Jeff Law <law@redhat.com>
31842
31843         [BZ #14505]
31844         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31845         if the family is PF_UNSPEC.
31846
31847 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
31848
31849         * Makerules (lib-version): Rename from V.
31850         (install-lib-nosubdir): Change V to lib-version.
31851
31852 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
31853
31854         [BZ #14252]
31855         * powerpc32/power6/wcschr.c: New file.
31856         * powerpc32/power6/wcscpy.c: New file.
31857         * powerpc32/power6/wcsrchr.c: New file.
31858         * powerpc64/power6/wcschr.c: New file.
31859         * powerpc64/power6/wcscpy.c: New file.
31860         * powerpc64/power6/wcsrchr.c: New file.
31861
31862 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
31863
31864         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31865         (two_way_short_needle): Use it.
31866         * string/strstr.c (AVAILABLE1_USES_J): Define.
31867         * string/strcasestr.c: Likewise.
31868
31869         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31870         array references.
31871         * string/strcasestr.c (TOLOWER): Make side-effect safe.
31872
31873         [BZ #11607]
31874         * NEWS: Add an entry.
31875         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31876         define their defaults.
31877         (two_way_short_needle): Detect end-of-string on-the-fly.
31878         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31879         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31880         * string/bug-strcasestr1.c: New test.
31881         * string/Makefile: Run it.
31882
31883 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
31884
31885         [BZ #11607]
31886         * string/str-two-way.h (two_way_short_needle): Optimize matching of
31887         the first character.
31888
31889 2012-08-21  Roland McGrath  <roland@hack.frob.com>
31890
31891         * csu/elf-init.c (__libc_csu_irel): Function removed.
31892         * csu/libc-start.c (apply_irel): New function.
31893         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31894
31895 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
31896
31897         * sysdeps/unix/sysv/linux/kernel-features.h
31898         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31899         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31900         <kernel-features.h>.
31901         [__NR_fadvise64_64]: Make code unconditional.
31902         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31903         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31904         !__NR_fadvise64_64)]: Likewise.
31905         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31906         !__NR_fadvise64_64))]: Likewise.
31907         [__NR_fadvise64]: Make code unconditional.
31908         [!__NR_fadvise64]: Remove conditional code.
31909         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31910         <kernel-features.h>.
31911         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31912         unconditional.
31913         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31914         conditional code.
31915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31916         not include <kernel-features.h>.
31917         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31918         unconditional.
31919         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31920         conditional code.
31921         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31922         include <kernel-features.h>.
31923         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31924         unconditional.
31925         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31926         conditional code.
31927
31928 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
31929
31930         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31931         slight instruction rearrangements per scrollpipe analysis.
31932         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31933
31934 2012-08-20  Roland McGrath  <roland@hack.frob.com>
31935
31936         * manual/syslog.texi (syslog; vsyslog, closelog):
31937         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31938         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31939
31940         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31941         DSOCAPS to match condition on defining it.
31942
31943 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
31944
31945         * sysdeps/unix/sysv/linux/kernel-features.h
31946         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31948         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31949         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31951         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31952         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31954         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31955         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31956
31957         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31958         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31959
31960         * sysdeps/unix/sysv/linux/kernel-features.h
31961         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31962         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31963         unconditional.
31964         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31965         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31966         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31967         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31968         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31969         Make code unconditional.
31970         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31971         (__mmap64) [!__NR_mmap2]: Likewise.
31972         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31973         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31974         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31975         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31976         [__NR_mmap2]: Make code unconditional.
31977         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31978         (__mmap64) [!__NR_mmap2]: Likewise.
31979
31980 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31981
31982         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31983
31984 2012-08-18  Andreas Jaeger  <aj@suse.de>
31985
31986         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31987
31988 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
31989
31990         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31991         * include/unistd.h (__have_sock_cloexec): Likewise.
31992         (__have_pipe2): Likewise.
31993         (__have_dup3): Likewise.
31994
31995 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
31996
31997         [BZ #9685]
31998         * include/unistd.h (__have_pipe2): Change define into an extern int.
31999         (__have_dup3): Likewise.
32000         * socket/have_sock_cloexec.c: Include fcntl.h.
32001         (__have_pipe2): New variable.
32002         (__have_dup3): Likewise.
32003
32004 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
32005
32006         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
32007
32008 2012-08-17  Marek Polacek  <polacek@redhat.com>
32009
32010         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
32011         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
32012
32013 2012-08-17  Roland McGrath  <roland@hack.frob.com>
32014
32015         * configure.in: Add AC_SUBST for sysheaders.
32016         * configure: Regenerated.
32017         * config.make.in (sysheaders): New substituted variable.
32018
32019         * sysdeps/unix/mkfifo.c: Moved ...
32020         * sysdeps/posix/mkfifo.c: ... here.
32021         * sysdeps/unix/mkfifoat.c: Moved ...
32022         * sysdeps/posix/mkfifoat.c: ... here.
32023
32024         * sysdeps/unix/utime.c: Moved ...
32025         * sysdeps/posix/utime.c: ... here.
32026
32027         * sysdeps/unix/time.c: Moved ...
32028         * sysdeps/posix/time.c: ... here.
32029         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
32030         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
32031
32032         * sysdeps/unix/nice.c: Moved ...
32033         * sysdeps/posix/nice.c: ... here.
32034
32035         * sysdeps/unix/alarm.c: Moved ...
32036         * sysdeps/posix/alarm.c: ... here.
32037
32038         * intl/Makefile ($(codeset_mo)): Depend on the input file.
32039
32040 2012-08-17  Jeff Law <law@redhat.com>
32041
32042         * intl/Makefile (codeset_mo): New variable.
32043         ($(codeset_mo)): New target.
32044         (tst-codeset.out): Depend on that.  Remove explicit rule.
32045         (tst-gettext3.out, tst-gettext5.out): Likewise.
32046         (LOCPATH-ENV, tst-codeset-ENV): New variables.
32047         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
32048         * intl/tst-codeset.sh: Remove.
32049         * intl/tst-gettext3.sh: Likewise.
32050         * intl/tst-gettext5.sh: Likewise.
32051
32052 2012-08-17  Roland McGrath  <roland@hack.frob.com>
32053
32054         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
32055         * sysdeps/unix/syscalls.list: ... here.
32056
32057         * sysdeps/posix/getaddrinfo.c
32058         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
32059         (gaiconf_init, gaiconf_reload): Use them.
32060         [!_STATBUF_ST_NSEC]
32061         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
32062         Define using time_t rather than struct timespec.
32063
32064         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
32065         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
32066         Macros removed.
32067         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
32068         [!NO_THREADS].
32069         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
32070         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
32071         Likewise.
32072
32073         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
32074         __libc_cleanup_push argument.
32075
32076         * bits/param.h: New file.
32077         * misc/sys/param.h: New file.
32078         * include/sys/param.h: New file.
32079         * misc/Makefile (headers): Add bits/param.h.
32080         * sysdeps/generic/sys/param.h: File removed.
32081         * sysdeps/unix/sysv/linux/bits/param.h: New file.
32082         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
32083         * sysdeps/mach/hurd/bits/param.h: New file.
32084         * sysdeps/mach/hurd/sys/param.h: File removed.
32085
32086         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
32087         last change.
32088
32089         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
32090         [_IO_MTSAFE_IO].
32091         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
32092         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
32093         New macros.
32094
32095         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
32096         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
32097         rather than -D_IO_MTSAFE_IO conditionally.
32098         * stdio-common/Makefile (CPPFLAGS): Likewise.
32099         * wcsmbs/Makefile (CPPFLAGS): Likewise.
32100         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
32101         Use $(libio-mtsafe).
32102         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
32103         of -D_IO_MTSAFE_IO.
32104         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
32105         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
32106         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
32107         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
32108         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
32109         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
32110         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
32111         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
32112         (CFLAGS-fread_u_chk.c): Likewise.
32113         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
32114         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
32115         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
32116         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
32117         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
32118         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
32119         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
32120         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
32121         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
32122
32123         * libio/Makefile: Test [$(libc-reentrant) = yes]
32124         instead of [$(filter %REENTRANT, $(defines)) nonempty].
32125
32126         * Makeconfig
32127         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
32128         * sysdeps/pthread/configure: File removed.
32129         * sysdeps/pthread/Makeconfig: New file.
32130         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
32131         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
32132
32133 2012-08-16  Gary Benson  <gbenson@redhat.com>
32134
32135         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
32136         unmapping the first object in a namespace.
32137
32138 2012-08-16  Roland McGrath  <roland@hack.frob.com>
32139
32140         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
32141         (__internal_setnetgrent): ... this.  Add internal_function to
32142         definition.  Add libc_hidden_def.
32143         (setnetgrent): Update caller.
32144         (internal_endnetgrent): Renamed to ...
32145         (__internal_endnetgrent): ... this.  Add internal_function to
32146         definition.  Add libc_hidden_def.
32147         (endnetgrent): Update caller.
32148         (internal_getnetgrent_r): Renamed to ...
32149         (__internal_getnetgrent_r): ... this.  Add internal_function to
32150         definition.  Add libc_hidden_def.
32151         (__getnetgrent_r): Update caller.
32152         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
32153
32154 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
32155
32156         * stdlib/longlong.h: Update from GCC.
32157
32158 2012-08-16  Roland McGrath  <roland@hack.frob.com>
32159
32160         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
32161         on _QL, which is set by umul_ppmm but never used.
32162         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
32163         variables, which are set by GMP macros but never used.
32164         * stdio-common/_itowa.c (_itowa): Likewise.
32165         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
32166         * stdlib/mod_1.c (mpn_mod_1): Likewise.
32167
32168 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
32169
32170         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
32171         struct La_sh_regs is not constant.
32172         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
32173         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
32174         and struct La_sparc64_regs are not constant.
32175
32176 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
32177
32178         * sysdeps/unix/sysv/linux/kernel-features.h
32179         (__ASSUME_POSIX_TIMERS): Remove.
32180         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32181         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32182         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
32183         Make code unconditional.
32184         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32185         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
32186         Make code unconditional.
32187         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32188         * sysdeps/unix/sysv/linux/clock_nanosleep.c
32189         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
32190         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32191         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
32192         Make code unconditional.
32193         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32194         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
32195         (__libc_missing_posix_timers): Remove.
32196
32197 2012-08-15  Roland McGrath  <roland@hack.frob.com>
32198
32199         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
32200         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
32201
32202         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
32203
32204         * elf/dl-sym.c: Include <stdlib.h>.
32205
32206         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
32207         constants, which avoids warnings in 32-bit builds.
32208
32209         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
32210         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
32211
32212         * misc/lseek.c: File moved to ...
32213         * io/lseek.c: ... here.
32214
32215         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
32216
32217         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
32218         shifting LEN more than 31 bits at once.
32219
32220 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32221
32222         [BZ #14195]
32223         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
32224         segmentation fault for a case of two empty input strings.
32225         * string/test-strncasecmp.c (check1): Renamed to...
32226         (bz12205): ...this.
32227         (bz14195): Add new testcase for two empty input strings and N > 0.
32228         (test_main): Call new testcase, adapt for renamed function.
32229
32230 2012-08-15  Andreas Jaeger  <aj@suse.de>
32231
32232         [BZ #14090]
32233         * crypt/md5test2.c: New test, based on test supplied by Serge
32234         Belyshev <belyshev@depni.sinp.msu.ru>.
32235         * crypt/Makefile (xtests): Add md5test-giant..
32236         * crypt/Makefile ($(objpfx)md5test-giant): Add.
32237
32238 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
32239
32240         [BZ #14090]
32241         * crypt/md5.c (md5_process_block): Don't assume the buffer
32242         length is less than 2**32.
32243         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
32244         length is less than 2**64.
32245
32246 2012-08-15  Roland McGrath  <roland@hack.frob.com>
32247
32248         * string/str-two-way.h: Include <sys/param.h>.
32249         (MAX): Macro removed.
32250
32251         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
32252         Move #define and #undef of memmove to just before and after
32253         including <string.h>.
32254
32255         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
32256         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
32257         and after including <string.h>.  Move declarations of
32258         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
32259         to before #include "string/memmove.c".
32260
32261         * include/dirent.h: Declare __getdirentries.
32262
32263         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
32264         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
32265
32266 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
32267
32268         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
32269         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
32270         * sysdeps/i386/configure: Regenerated.
32271         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
32272         STABS_CURRENT_FILE, and STABS_FUN.
32273         (END): Remove call to STABS_FUN_END.
32274         (STABS_CURRENT_FILE1): Delete.
32275         (STABS_CURRENT_FILE): Likewise.
32276         (STABS_FUN): Likewise.
32277         (STABS_FUN_END): Likewise.
32278         (STABS_FUN2): Likewise.
32279         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
32280         * sysdeps/x86_64/configure: Regenerated.
32281
32282 2012-08-14  Roland McGrath  <roland@hack.frob.com>
32283
32284         * elf/dl-open.c: Include <atomic.h>.
32285         * elf/dl-lookup.c: Likewise.
32286
32287 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
32288
32289         * sysdeps/unix/sysv/linux/kernel-features.h
32290         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
32291         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
32292         unconditionally.
32293         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
32294         unconditionally.
32295         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
32296         condition on __ASSUME_CLONE_THREAD_FLAGS.
32297
32298 2012-08-14  Andreas Jaeger  <aj@suse.de>
32299
32300         * sysdeps/i386/fpu/libm-test-ulps: Update.
32301
32302 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
32303
32304         * include/atomic.h (atomic_exchange_and_add): Split into ...
32305         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
32306         New atomic macros.
32307
32308 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
32309
32310         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32311
32312 2012-08-13  Jeff Law <law@redhat.com>
32313
32314         * manual/stdio.texi (snprintf): Clarify handling of the trailing
32315         null byte in the output string.
32316
32317 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
32318
32319         * sysdeps/unix/sysv/linux/kernel-features.h
32320         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
32321         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
32322         (__ASSUME_ARG_MAX_STACK_BASED): Define.
32323         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
32324         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
32325         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
32326         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
32327
32328 2012-08-09  Jeff Law <law@redhat.com>
32329
32330         [BZ #13939]
32331         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
32332         When avoid_arena is set, don't retry in the that arena.  Pick the
32333         next one, whatever it might be.
32334         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
32335         (arena_lock): Pass in new parameter to arena_get2.
32336         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
32337         arena_get2.
32338         (__libc_malloc): Unify retrying after main arena failure with
32339         __libc_memalign version.
32340         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
32341
32342 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
32343
32344         [BZ #14166]
32345         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
32346         to __redirect_strstr.
32347         (__strstr_sse42): Use typeof __redirect_strstr.
32348         (__strstr_ia32): Likewise.
32349         (__libc_strstr): New prototype.
32350         (strstr): Renamed to ...
32351         (__libc_strstr): This.
32352         (strstr): New strong alias of __libc_strstr.
32353         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32354         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
32355         __redirect_time.
32356         Include <time.h>.
32357         (__libc_time): New prototype.
32358         (time_ifunc): Replace time with __libc_time.
32359         (time): New strong alias and hidden definition of __libc_time.
32360         (__GI_time): Remove strong alias.
32361         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
32362         Include <stddef.h>.
32363         (memmove): Redefined to __redirect_memmove.
32364         (__memmove_sse2): Use typeof __redirect_memmove.
32365         (__memmove_ssse3): Likewise.
32366         (__memmove_ssse3_back): Likewise.
32367         (__libc_memmove): New prototype.
32368         (memmove): Renamed to ...
32369         (__libc_memmove): This.
32370         (memmove): New strong alias of __libc_memmove.
32371
32372 2012-08-08  Mark Salter  <msalter@redhat.com>
32373
32374         * elf/elf.h
32375         (R_MN10300_TLS_GD): Define.
32376         (R_MN10300_TLS_LD): Likewise.
32377         (R_MN10300_TLS_LDO): Likewise.
32378         (R_MN10300_TLS_GOTIE): Likewise.
32379         (R_MN10300_TLS_IE): Likewise.
32380         (R_MN10300_TLS_LE): Likewise.
32381         (R_MN10300_TLS_DTPMOD): Likewise.
32382         (R_MN10300_TLS_DTPOFF): Likewise.
32383         (R_MN10300_TLS_TPOFF): Likewise.
32384         (R_MN10300_SYM_DIFF): Likewise.
32385         (R_MN10300_ALIGN): Likewise.
32386         (R_MN10300_NUM): Update.
32387
32388 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
32389
32390         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
32391         Remove.
32392
32393 2012-08-08  Roland McGrath  <roland@hack.frob.com>
32394
32395         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
32396
32397         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
32398         sysdeps/unix -> sysdeps/posix move.
32399         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32400
32401 2012-08-07      Allan McRae     <allan@archlinux.org>
32402
32403         [BZ #14303]
32404         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
32405         (SUNOS_CPP): Likewise.
32406         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
32407         not found.
32408         (open_input): Call CPP using execvp.
32409
32410 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
32411
32412         * sysdeps/unix/sysv/linux/kernel-features.h
32413         (__ASSUME_PROT_GROWSUPDOWN): Remove.
32414         (__ASSUME_NO_CLONE_DETACHED): Likewise.
32415         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32416         (__ASSUME_WAITID_SYSCALL): Likewise.
32417         * sysdeps/unix/sysv/linux/dl-execstack.c
32418         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
32419         code unconditional.
32420         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
32421         conditional code.
32422         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
32423         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
32424         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
32425         code.
32426         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
32427         unconditional.
32428         [__ASSUME_WAITID_SYSCALL]: Likewise.
32429         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
32430
32431 2012-08-07  Roland McGrath  <roland@hack.frob.com>
32432
32433         * sysdeps/unix/closedir.c: Renamed to ...
32434         * sysdeps/posix/closedir.c: ... here.
32435         * sysdeps/unix/dirfd.c: Renamed to ...
32436         * sysdeps/posix/dirfd.c: ... here.
32437         * sysdeps/unix/dirstream.h: Renamed to ...
32438         * sysdeps/posix/dirstream.h: ... here.
32439         * sysdeps/unix/fdopendir.c: Renamed to ...
32440         * sysdeps/posix/fdopendir.c: ... here.
32441         * sysdeps/unix/opendir.c: Renamed to ...
32442         * sysdeps/posix/opendir.c: ... here.
32443         * sysdeps/unix/readdir.c: Renamed to ...
32444         * sysdeps/posix/readdir.c: ... here.
32445         * sysdeps/unix/readdir_r.c: Renamed to ...
32446         * sysdeps/posix/readdir_r.c: ... here.
32447         * sysdeps/unix/rewinddir.c: Renamed to ...
32448         * sysdeps/posix/rewinddir.c: ... here.
32449         * sysdeps/unix/seekdir.c: Renamed to ...
32450         * sysdeps/posix/seekdir.c: ... here.
32451         * sysdeps/unix/telldir.c: Renamed to ...
32452         * sysdeps/posix/telldir.c: ... here.
32453         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
32454         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
32455         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32456         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
32457
32458         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
32459         * bits/fcntl.h: ... here.
32460
32461         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
32462         not 0.
32463         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
32464         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
32465         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
32466         (struct flock): Move l_start, l_len to the beginning.
32467         Use __pid_t for l_pid.
32468         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
32469         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
32470         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
32471         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
32472         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
32473         [__USE_LARGEFILE64] (struct flock64): New type.
32474         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
32475
32476         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
32477         * bits/dirent.h: ... here.
32478
32479         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
32480         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
32481
32482 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
32483
32484         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32485         Change from 2.6.0 to 2.6.16.
32486         * sysdeps/unix/sysv/linux/configure: Regenerated.
32487         * sysdeps/unix/sysv/linux/kernel-features.h
32488         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
32489         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
32490         version.
32491         (__ASSUME_UTIMES): Likewise.
32492         (__ASSUME_CLONE_STOPPED): Remove.
32493         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
32494         architectures, not kernel version.
32495         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
32496         (__ASSUME_NO_CLONE_DETACHED): Likewise.
32497         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32498         (__ASSUME_WAITID_SYSCALL): Likewise.
32499         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
32500         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
32501         * README: State 2.6.16 as minimum Linux kernel version.  Do not
32502         refer to older versions.
32503
32504 2012-08-06  Roland McGrath  <roland@hack.frob.com>
32505
32506         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
32507         Define alphasort64 as an alias.
32508         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
32509         Define versionsort64 as an alias.
32510         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
32511         Define scandir64 as an alias.
32512         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
32513         Define scandirat64 as an alias.
32514         * dirent/alphasort64.c (alphasort64):
32515         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
32516         * dirent/versionsort64.c: Likewise.
32517         * dirent/scandir64.c: Likewise.
32518         * dirent/scandirat64.c: Likewise.
32519         * sysdeps/wordsize-64/alphasort.c: File removed.
32520         * sysdeps/wordsize-64/alphasort64.c: File removed.
32521         * sysdeps/wordsize-64/scandir.c: File removed.
32522         * sysdeps/wordsize-64/scandir64.c: File removed.
32523         * sysdeps/wordsize-64/scandirat.c: File removed.
32524         * sysdeps/wordsize-64/scandirat64.c: File removed.
32525         * sysdeps/wordsize-64/versionsort.c: File removed.
32526         * sysdeps/wordsize-64/versionsort64.c: File removed.
32527         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
32528         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
32529         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
32530         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
32531         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
32532         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
32533         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
32534         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
32535
32536         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
32537         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32538         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
32539         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32540         [defined __arch64__ || defined __sparcv9]
32541         (__INO_T_MATCHES_INO64_T): New macro.
32542         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32543         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
32544         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
32545         * sysdeps/unix/sysv/linux/bits/dirent.h
32546         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
32547         (_DIRENT_MATCHES_DIRENT64): New macro.
32548
32549         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
32550         Define lockf64 as an alias.
32551         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
32552         Define fseeko64 as an alias.
32553         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
32554         Define ftello64 as an alias.
32555         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
32556         Define _IO_fgetpos64 and fgetpos64 as aliases.
32557         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
32558         Define _IO_fsetpos64 and fsetpos64 as aliases.
32559         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
32560         Conditionalize body on this.
32561         * libio/fseeko64.c: Likewise.
32562         * libio/ftello64.c: Likewise.
32563         * libio/iofgetpos64.c: Likewise.
32564         * libio/iofsetpos64.c: Likewise.
32565         * sysdeps/wordsize-64/lockf.c: File removed.
32566         * sysdeps/wordsize-64/lockf64.c: File removed.
32567         * sysdeps/wordsize-64/fseeko.c: File removed.
32568         * sysdeps/wordsize-64/fseeko64.c: File removed.
32569         * sysdeps/wordsize-64/ftello.c: File removed.
32570         * sysdeps/wordsize-64/ftello64.c: File removed.
32571         * sysdeps/wordsize-64/iofgetpos.c: File removed.
32572         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
32573         * sysdeps/wordsize-64/iofsetpos.c: File removed.
32574         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
32575         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
32576         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
32577         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
32578         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
32579         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
32580         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
32581         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
32582         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
32583         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
32584         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
32585
32586         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32587         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32588         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
32589         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32590         [defined __arch64__ || defined __sparcv9]
32591         (__OFF_T_MATCHES_OFF64_T): New macro.
32592         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32593         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32594         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32595         (__OFF_T_MATCHES_OFF64_T): New macro.
32596
32597 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
32598
32599         * stdlib/secure-getenv.c (__secure_getenv): Replace
32600         GLIBC_2_16 with GLIBC_2_17.
32601
32602 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
32603
32604         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
32605         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32606
32607 2012-08-03  David S. Miller  <davem@davemloft.net>
32608
32609         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32610
32611 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
32612
32613         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
32614         Remove.
32615         (__ASSUME_CORRECT_SI_PID): Likewise.
32616         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
32617         (__ASSUME_TMPFS_NAME): Likewise.
32618         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
32619         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
32620         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
32621         (HAVE_AUX_SECURE): Make definition unconditional.
32622         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
32623         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
32624
32625 2012-08-03  Roland McGrath  <roland@hack.frob.com>
32626
32627         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
32628         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
32629         * sysdeps/mach/hurd/eloop-threshold.h: New file.
32630         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32631         __eloop_threshold instead of SYMLOOP_MAX.
32632
32633         * sysdeps/generic/eloop-threshold.h: New file.
32634         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
32635         of MAXSYMLINKS.
32636         * elf/chroot_canon.c (chroot_canon): Likewise.
32637
32638 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
32639
32640         [BZ #13717]
32641         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32642         Change to 2.6.0 everywhere.
32643         * sysdeps/unix/sysv/linux/configure: Regenerated.
32644         * sysdeps/unix/sysv/linux/kernel-features.h
32645         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
32646         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
32647         kernel versions.
32648         (__ASSUME_POSIX_TIMERS): Define unconditionally.
32649         (__ASSUME_FUTEX_REQUEUE): Remove.
32650         (__ASSUME_STATFS64): Define unconditionally.
32651         (__ASSUME_AT_SECURE): Likewise.
32652         (__ASSUME_CORRECT_SI_PID): Likewise.
32653         (__ASSUME_TGKILL): Define without depending on kernel version for
32654         i386.
32655         (__ASSUME_UTIMES): Likewise.
32656         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
32657         kernel version.
32658         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
32659         (__ASSUME_TMPFS_NAME): Likewise.
32660         * README: Update reference to Linux kernel versions.
32661
32662 2012-08-02  Marek Polacek  <polacek@redhat.com>
32663
32664         [BZ# 14150]
32665         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
32666         libc_cv_asm_type_prefix with %.
32667         * configure: Regenerated.
32668         * include/libc-symbols.h: Remove comment about
32669         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32670         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
32671         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
32672         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
32673         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
32674         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32675         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
32676         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
32677         * elf/tst-unique2mod1.c: Likewise.
32678         * elf/tst-unique1mod2.c: Likewise.
32679         * elf/tst-unique1mod1.c: Likewise.
32680         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
32681         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
32682         Replace ASM_TYPE_DIRECTIVE with .type.
32683         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32684         * sysdeps/i386/sysdep.h: Likewise.
32685         * sysdeps/x86_64/sysdep.h: Likewise.
32686         * sysdeps/sh/sysdep.h: Likewise.
32687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32688         Do not define ASM_TYPE_DIRECTIVE.
32689         * sysdeps/powerpc/sysdep.h: Likewise.
32690         * sysdeps/powerpc/powerpc32/sysdep.h:
32691         Replace ASM_TYPE_DIRECTIVE with .type.
32692         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32693         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32694         * sysdeps/i386/fpu/e_powf.S: Likewise.
32695         * sysdeps/i386/fpu/e_expl.S: Likewise.
32696         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32697         * sysdeps/i386/fpu/e_acosh.S: Likewise.
32698         * sysdeps/i386/fpu/e_pow.S: Likewise.
32699         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32700         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32701         * sysdeps/i386/fpu/s_expm1.S: Likewise.
32702         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32703         * sysdeps/i386/fpu/e_log2.S: Likewise.
32704         * sysdeps/i386/fpu/e_log2l.S: Likewise.
32705         * sysdeps/i386/fpu/e_scalb.S: Likewise.
32706         * sysdeps/i386/fpu/e_powl.S: Likewise.
32707         * sysdeps/i386/fpu/e_log10f.S: Likewise.
32708         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32709         * sysdeps/i386/fpu/e_logl.S: Likewise.
32710         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32711         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32712         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32713         * sysdeps/i386/fpu/e_log2f.S: Likewise.
32714         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32715         * sysdeps/i386/fpu/e_log.S: Likewise.
32716         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32717         * sysdeps/i386/fpu/e_logf.S: Likewise.
32718         * sysdeps/i386/fpu/e_log10l.S: Likewise.
32719         * sysdeps/i386/fpu/e_atanh.S: Likewise.
32720         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32721         * sysdeps/i386/fpu/e_log10.S: Likewise.
32722         * sysdeps/i386/fpu/s_frexp.S: Likewise.
32723         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32724         * sysdeps/i386/fpu/s_asinh.S: Likewise.
32725         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32726         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32727         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
32728         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32729         * sysdeps/i386/i686/strtok.S: Likewise.
32730         * sysdeps/i386/i386-mcount.S: Likewise.
32731         * sysdeps/i386/strtok.S: Likewise.
32732         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
32733         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32734         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32735         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32736         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32737         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32738         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32739         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32740         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32741         * sysdeps/x86_64/_mcount.S: Likewise.
32742         * sysdeps/x86_64/strtok.S: Likewise.
32743         * sysdeps/sh/_mcount.S: Likewise.
32744
32745 2012-08-01  Roland McGrath  <roland@hack.frob.com>
32746
32747         * libio/iofopen.c: Include <fcntl.h>.
32748         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32749         (_IO_fopen64, fopen64): Define as aliases.
32750         * libio/iofopen64.c: Include <fcntl.h>.
32751         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32752         Conditionalize body on this.
32753         * sysdeps/wordsize-64/iofopen.c: File removed.
32754         * sysdeps/wordsize-64/iofopen64.c: File removed.
32755
32756 2012-08-01  Marek Polacek  <polacek@redhat.com>
32757
32758         * libc/Makeconfig: Use elf in place of binfmt-subdir.
32759         Use dlfcn directly instead of a variable.
32760         (binfmt-subdir): Do not define.
32761         (dlfcn): Likewise.
32762
32763 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
32764
32765         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32766         Remove all definitions.
32767         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32768         <kernel-features.h>.
32769         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32770         (miss_F_GETOWN_EX): Remove all definitions.
32771         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32772         macro definition.
32773         [!__ASSUME_FCNTL64]: Remove conditional code.
32774         [__ASSUME_FCNTL64]: Make code unconditional.
32775         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32776         <kernel-features.h>.
32777         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32778         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32779         (lockf64) [__NR_fcntl64]: Make code unconditional.
32780         (lockf64) [__ASSUME_FCNTL64]: Likewise.
32781
32782         * sysdeps/unix/sysv/linux/kernel-features.h
32783         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32784         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32785         Make code unconditional.
32786         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32787         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32789         [__NR_vfork]: Make code unconditional.
32790         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32791         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32793         [__NR_vfork]: Make code unconditional.
32794         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32795         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32796
32797 2012-08-01  Roland McGrath  <roland@hack.frob.com>
32798
32799         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32800         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32801
32802         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32803         Define mkstemp64 as an alias.
32804         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32805         Define mkstemps64 as an alias.
32806         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32807         Define mkostemp64 as an alias.
32808         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32809         Define mkostemps64 as an alias.
32810         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32811         Conditionalize body on this.
32812         * misc/mkostemp64.c: Likewise.
32813         * misc/mkostemps64.c: Likewise.
32814         * misc/mkstemps64.c: Likewise.
32815         * sysdeps/wordsize-64/mkstemp64.c: File removed.
32816         * sysdeps/wordsize-64/mkostemp64.c: File removed.
32817         * sysdeps/wordsize-64/mkostemp.c: File removed.
32818         * sysdeps/wordsize-64/mkstemp.c: File removed.
32819         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32820         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32821         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32822         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32823
32824         [BZ #14138]
32825         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32826         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32827         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32828         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32829
32830         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32831         compat_symbol macros from <shlib-compat.h> rather than the underlying
32832         default_symbol_version and symbol_version macros, so that DEFAULT
32833         lines in shlib-versions are respected.
32834         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32835
32836 2012-08-01  Florian Weimer  <fweimer@redhat.com>
32837
32838         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32839         Declare with warn_unused_result.
32840         (setgid, setregid, setegid, setresgid): Likewise.
32841         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32842         Likewise.
32843         * WUR-REPORT: Remove set*id functions.
32844
32845 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
32846
32847         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32848
32849 2012-07-31  Roland McGrath  <roland@hack.frob.com>
32850
32851         [BZ #10191]
32852         * include/sys/socket.h (__libc_accept, __libc_accept4):
32853         Add attribute_hidden.
32854         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32855
32856         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32857         use of PTR_MANGLE.
32858         * inet/getnetgrent_r.c (setup): Likewise.
32859
32860         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32861
32862 2012-07-31  David S. Miller  <davem@davemloft.net>
32863
32864         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32865
32866 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
32867
32868         [BZ #13629]
32869         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32870         value between 1.0 and 2.0 and smaller part has absolute value less
32871         than 1.0.
32872         * math/s_clog10.c (__clog10): Likewise.
32873         * math/s_clog10f.c (__clog10f): Likewise.
32874         * math/s_clog10l.c (__clog10l): Likewise.
32875         * math/s_clogf.c (__clogf): Likewise.
32876         * math/s_clogl.c (__clogl): Likewise.
32877         * math/libm-test.inc (clog_test): Add more tests.
32878         (clog10_test): Likewise.
32879         * sysdeps/i386/fpu/libm-test-ulps: Update.
32880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32881
32882 2012-07-31  Florian Weimer  <fweimer@redhat.com>
32883
32884         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32885         Exit with zero in case no suitable GID is found, and write a
32886         message to standard error.
32887
32888 2012-07-30  Roland McGrath  <roland@hack.frob.com>
32889
32890         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32891         rather than to 1.
32892         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32893         (MAXPATHLEN): Removed.
32894         (NOGROUP, NODEV): New macros.
32895         (setbit, clrbit, isset, isclr): New macros.
32896         (howmany, roundup, powerof2): New macros.
32897         (DEV_BSIZE): New macro.
32898
32899         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32900         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32901
32902         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32903         definition on [!__NO_LONG_DOUBLE_MATH].
32904
32905         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32906         PTR_MANGLE and PTR_DEMANGLE.
32907
32908         * socket/accept4.c (accept4): Rename to __libc_accept4.
32909         Define accept4 as a weak alias.
32910
32911         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32912         on [_DIRENT_HAVE_D_TYPE].
32913         * io/ftw.c (ftw_dir): Likewise.
32914
32915         * io/xmknod.c (__xmknod): Don't check PATH for being null.
32916
32917         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32918
32919         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32920         Use the BSD numbers rather than the arbitrary ones we had.
32921         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32922         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32923         (SIGXCPU, SIGXFSZ): New macros.
32924         (_NSIG): Now 32.
32925
32926         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32927         initializer on [_LIBC_REENTRANT].
32928
32929         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32930         definitions inside [_POSIX_MAPPED_FILES].
32931
32932         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32933
32934         * dirent/opendir.c: Include <fcntl.h>.
32935
32936         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32937         (__libc_getspecific): Likewise.
32938         (__libc_key_create): Likewise.
32939
32940         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32941         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32942         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32943         (tmpfile64): Define as alias.
32944         * sysdeps/wordsize-64/tmpfile.c: File removed.
32945         * sysdeps/wordsize-64/tmpfile64.c: File removed.
32946         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32947         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32948
32949         * stdio-common/vfscanf.c: Include <stdbool.h>.
32950         * nss/makedb.c: Likewise.
32951         * stdio-common/_i18n_number.h: Likewise.
32952         * argp/argp-help.c: Likewise.
32953         * posix/wordexp.c: Likewise.
32954         * sysdeps/posix/spawni.c: Likewise.
32955         * nss/nss_files/files-initgroups.c: Likewise.
32956         * stdio-common/reg-modifier.c: Include <stdlib.h>.
32957         * nss/nss_files/files-initgroups.c: Likewise.
32958         * nss/nss_db/db-netgrp.c: Likewise.
32959         * nss/nss_db/db-initgroups.c: Likewise.
32960         * io/fchmodat.c: Include <sys/stat.h>.
32961
32962         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32963         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32964
32965         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32966         [HAVE_MMAP].
32967
32968         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32969         Add multiple inclusion protection.
32970
32971 2012-07-27  David S. Miller  <davem@davemloft.net>
32972
32973         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32974
32975 2012-07-27  Gary Benson  <gbenson@redhat.com>
32976
32977         [BZ #14298]
32978         * elf/rtld.c: Include <stap-probe.h>.
32979         (dl_main): Added static probes "init_start" and "init_complete".
32980         * elf/dl-load.c: Include <stap-probe.h>.
32981         (lose): Take new parameter "nsid".
32982         Added static probe "map_failed".
32983         (_dl_map_object_from_fd): Pass namespace id to lose.
32984         Added static probe "map_start".
32985         (open_verify): Pass namespace id to lose.
32986         * elf/dl-open.c: Include <stap-probe.h>.
32987         (dl_open_worker) Added static probes "map_complete", "reloc_start"
32988         and "reloc_complete".
32989         * elf/dl-close.c: Include <stap-probe.h>.
32990         (_dl_close_worker): Added static probes "unmap_start" and
32991         "unmap_complete".
32992         * elf/rtld-debugger-interface.txt: New file documenting the above.
32993
32994 2012-07-26  Roland McGrath  <roland@hack.frob.com>
32995
32996         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32997         rather than a string variable.
32998         * sunrpc/rpc_main.c (h_output): Likewise.
32999         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
33000
33001 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
33002
33003         * inet/check_native.c: New file.
33004
33005 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
33006
33007         [BZ #13629]
33008         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
33009         if larger part has absolute value 1.0.
33010         * math/s_clog10.c (__clog10): Likewise.
33011         * math/s_clog10f.c (__clog10f): Likewise.
33012         * math/s_clog10l.c (__clog10l): Likewise.
33013         * math/s_clogf.c (__clogf): Likewise.
33014         * math/s_clogl.c (__clogl): Likewise.
33015         * math/libm-test.inc (clog_test): Add more tests.
33016         (clog10_test): Likewise.
33017         * sysdeps/i386/fpu/libm-test-ulps: Update.
33018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33019
33020         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
33021         (pltexit): Likewise.
33022         (La_regs): Likewise.
33023         (La_retval): Likewise.
33024         (int_retval): Likewise.
33025         Update #error for removed macros to refer only to definitions in
33026         tst-audit.h.
33027         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
33028         macro.
33029         (pltexit): Likewise.
33030         (La_regs): Likewise.
33031         (La_retval): Likewise.
33032         (int_retval): Likewise.
33033         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
33034         macro.
33035         (pltexit): Likewise.
33036         (La_regs): Likewise.
33037         (La_retval): Likewise.
33038         (int_retval): Likewise.
33039         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
33040         macro.
33041         (pltexit): Likewise.
33042         (La_regs): Likewise.
33043         (La_retval): Likewise.
33044         (int_retval): Likewise.
33045         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
33046         macro.
33047         (pltexit): Likewise.
33048         (La_regs): Likewise.
33049         (La_retval): Likewise.
33050         (int_retval): Likewise.
33051         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
33052         macro.
33053         (pltexit): Likewise.
33054         (La_regs): Likewise.
33055         (La_retval): Likewise.
33056         (int_retval): Likewise.
33057         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
33058         macro.
33059         (pltexit): Likewise.
33060         (La_regs): Likewise.
33061         (La_retval): Likewise.
33062         (int_retval): Likewise.
33063         * sysdeps/generic/tst-audit.h: Update comment to refer only to
33064         macro definitions in tst-audit.h.
33065         * sysdeps/i386/tst-audit.h: New file.
33066         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
33067         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
33068         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
33069         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
33070         * sysdeps/sh/tst-audit.h: Likewise.
33071         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
33072         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
33073         * sysdeps/x86_64/tst-audit.h: Likewise.
33074
33075 2012-07-26  Andreas Jaeger  <aj@suse.de>
33076
33077         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
33078         ptrace.
33079
33080         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
33081         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
33082         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
33083         PTRACE_O_MASK.
33084         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
33085         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
33086         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
33087
33088         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
33089         value.
33090
33091         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
33092         _sigsys.
33093         (si_call_addr, si_syscall, si_arch): Define new macro.
33094         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
33095         _sigsys.
33096         (si_call_addr, si_syscall, si_arch): Define new marcro.
33097         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
33098         _sigsys.
33099         (si_call_addr, si_syscall, si_arch): Define new macro.
33100         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
33101         _sigsys.
33102         (si_call_addr, si_syscall, si_arch): Define new macro.
33103
33104 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
33105
33106         [BZ #13717]
33107         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33108         Change to 2.4.21 where previously 2.4.1.
33109         * sysdeps/unix/sysv/linux/configure: Regenerated.
33110         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
33111         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
33112         Linux kernel version.
33113         (__ASSUME_STD_AUXV): Remove.
33114         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
33115         kernel version.
33116         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
33117         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
33118         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
33119         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
33120         (__ASSUME_NETLINK_SUPPORT): Likewise.
33121         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
33122         (__no_netlink_support): Remove conditional definition.
33123         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
33124         Remove.
33125         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33126         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
33127         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
33128         (if_nameindex_ioctl): Remove.
33129         (if_nameindex_netlink): Do not handle __no_netlink_support.
33130         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33131         code.
33132         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
33133         Remove conditional code.
33134         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33135         code.
33136         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
33137         unconditional.
33138         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33139         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
33140         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
33141         Remove.
33142         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
33143         [!__ASSUME_STD_AUXV]: Remove conditional code.
33144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
33145         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
33146         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
33147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
33148         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
33149         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33150         code.
33151         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33153         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
33154         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33155         conditional code.
33156         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
33158         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33159         code.
33160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33161         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33162         conditional code.
33163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
33164         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33165         code unconditional.
33166         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33167         conditional code.
33168         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33169         unconditional.
33170         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33171         conditional code.
33172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33173         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33174         unconditional.
33175         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33176         conditional code.
33177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
33178         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33179         code unconditional.
33180         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33181         conditional code.
33182         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33183         unconditional.
33184         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33185         conditional code.
33186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
33187         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33188         code unconditional.
33189         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33190         conditional code.
33191         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33192         unconditional.
33193         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33194         conditional code.
33195
33196 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
33197
33198         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
33199         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
33200         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
33201         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
33202         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
33203         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
33204         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
33205         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
33206         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
33207         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
33208         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
33209         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
33210         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
33211         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
33212         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
33213         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
33214         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
33215         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
33216         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
33217         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
33218         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
33219         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
33220         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33221
33222 2012-07-25  Florian Weimer  <fweimer@redhat.com>
33223
33224         * Versions.def: Add GLIBC_2.17.
33225         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
33226         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
33227         Introduce __libc_secure_getenv.
33228         * stdlib/Versions (2.17): Add secure_getenv
33229         (GLIBC_PRIVATE): Add __libc_secure_getenv.
33230         * stdlib/secure-getenv.c: Rename __secure_getenv to
33231         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
33232         symbol __secure_getenv for GLIBC_2.0.
33233         * stdlib/tst-secure-getenv.c: New.
33234         * stdlib/Makefile (tests): Add testcase.
33235         * manual/startup.texi (Environment Access): Document
33236         secure_getenv.
33237         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
33238         __libc_secure_getenv.
33239         * inet/ruserpass.c (ruserpass): Likewise.
33240         * malloc/mtrace.c (mtrace): Likewise.
33241         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
33242         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
33243         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
33244         * sysdeps/posix/tempname.c: Likewise.  Evaluate
33245         HAVE_SECURE_GETENV.
33246         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
33247         __secure_getenv to __libc_secure_getenv.
33248         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
33249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33250         Likewise.
33251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33252         Likewise.
33253         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33254         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33255         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33256         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33257         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33258         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33259         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
33260
33261 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
33262
33263         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
33264         (struct La_i86_retval): Likewise.
33265         (struct La_x86_64_regs): Likewise.
33266         (struct La_x86_64_retval): Likewise.
33267         (struct La_x32_regs): Likewise.
33268         (struct La_x32_retval): Likewise.
33269         (struct La_ppc32_regs): Likewise.
33270         (struct La_ppc32_retval): Likewise.
33271         (struct La_ppc64_regs): Likewise.
33272         (struct La_ppc64_retval): Likewise.
33273         (struct La_sh_regs): Likewise.
33274         (struct La_sh_retval): Likewise.
33275         (struct La_s390_32_regs): Likewise.
33276         (struct La_s390_32_retval): Likewise.
33277         (struct La_s390_64_regs): Likewise.
33278         (struct La_s390_64_retval): Likewise.
33279         (struct La_sparc32_regs): Likewise.
33280         (struct La_sparc32_retval): Likewise.
33281         (struct La_sparc64_regs): Likewise.
33282         (struct La_sparc64_retval): Likewise.
33283         (struct audit_ifaces): Remove architecture-specific pltenter and
33284         pltexit members.
33285         * sysdeps/i386/ldsodefs.h: New file.
33286         * sysdeps/powerpc/ldsodefs.h: Likewise.
33287         * sysdeps/s390/ldsodefs.h: Likewise.
33288         * sysdeps/sh/ldsodefs.h: Likewise.
33289         * sysdeps/sparc/ldsodefs.h: Likewise.
33290         * sysdeps/x86_64/ldsodefs.h: Likewise.
33291
33292 2012-07-25  Marek Polacek  <polacek@redhat.com>
33293
33294         [BZ #6808]
33295         * math/libm-test.inc (yn_test): Add another test.
33296         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
33297         to ERANGE when the result is +-Inf.
33298         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
33299         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33300         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
33301         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
33302
33303 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
33304
33305         * conform/data/time.h-data (NULL): Use macro-constant.  Require
33306         equal to 0.
33307         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
33308         clock_t.
33309         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
33310
33311 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
33312
33313         * configure.in <sysdeps resolving>: Correct printing
33314         Implies_before.
33315         * configure: Regenerate.
33316
33317 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
33318
33319         * math/w_ilogb.c: Include <limits.h>.
33320         * math/w_ilogbl.c: Likewise.
33321
33322 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
33323
33324         * manual/lang.texi (__va_copy): Document primarily as ISO C99
33325         va_copy.  Document allowing for unavailable va_copy only as
33326         pre-C99 compatibility.
33327         * manual/string.texi (Copying and Concatenation): Use va_copy
33328         instead of __va_copy in concat example.
33329
33330 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
33331
33332         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
33333         (__sendto): Use create_address_port.  Initialize APORT and deallocate
33334         it if not null.
33335
33336         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
33337         with O_NOLINK passed to __file_name_lookup.
33338
33339         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
33340         with O_NOLINK passed to __file_name_lookup.
33341
33342         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
33343         negative N or less than NGIDS.
33344
33345         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
33346         type to string_t.  Set ERANGE as errno and return it if NAME is not big
33347         enough.  Use memcpy instead of strncpy.
33348
33349 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
33350
33351         * elf/Makefile (check-data): Remove.
33352         (localplt.data): New vpath directive.
33353         ($(objpfx)check-localplt.out): Use localplt.data from vpath
33354         instead of $(check-data).
33355         * scripts/data/localplt-generic.data: Move to ...
33356         * sysdeps/generic/localplt.data: ... here.
33357         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
33358         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
33359         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
33360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33361         ... here.
33362         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
33363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33364         ... here.
33365         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
33366         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
33367         ... here.
33368         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
33369         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33370         ... here.
33371         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
33372         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
33373         ... here.
33374         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
33375         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
33376         ... here.
33377
33378 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33379
33380         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
33381         PPC32 and PPC64 files.
33382         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
33383         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
33384
33385 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33386
33387         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
33388         __makecontext_ret to ...
33389         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
33390         ... here and call exit if uc_link is NULL.  New file.
33391         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
33392         __makecontext_ret.S.
33393         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
33394         __makecontext_ret to ...
33395         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
33396         ... here and call exit if uc_link is NULL.  New file.
33397         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
33398         __makecontext_ret.S.
33399
33400 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33401
33402         * elf/elf.h (R_390_IRELATIVE): New definition.
33403         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
33404         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
33405         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
33406         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33407         (elf_machine_lazy_rel): Likewise.
33408         * sysdeps/s390/dl-irel.h: New file.
33409         * sysdeps/s390/s390-64/memcpy.S: New asm code.
33410         * sysdeps/s390/s390-64/memset.S: New asm code.
33411         * sysdeps/s390/s390-64/memcmp.S: New asm code.
33412         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
33413         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
33414         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
33415         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
33416         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
33417         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
33418         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
33419         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
33420         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
33421         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
33422         * sysdeps/s390/s390-32/memcpy.S: New asm code.
33423         * sysdeps/s390/s390-32/memset.S: New asm code.
33424         * sysdeps/s390/s390-32/memcmp.S: New asm code.
33425
33426 2012-07-17  Marek Polacek  <polacek@redhat.com>
33427
33428         [BZ #14349]
33429         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
33430         * sysdeps/s390/s390-64/configure.in: Likewise.
33431         * sysdeps/sparc/configure.in: Likewise.
33432         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
33433         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
33434         * sysdeps/i386/configure.in: Likewise.
33435         * sysdeps/x86_64/configure.in: Likewise.
33436         * sysdeps/sh/configure.in: Likewise.
33437         * sysdeps/s390/s390-32/configure: Regenerated.
33438         * sysdeps/s390/s390-64/configure: Likewise.
33439         * sysdeps/x86_64/configure: Likewise.
33440         * sysdeps/sh/configure: Likewise.
33441         * sysdeps/powerpc/powerpc64/configure: Likewise.
33442         * sysdeps/powerpc/powerpc32/configure: Likewise.
33443         * sysdeps/sparc/configure: Likwise.
33444         * sysdeps/i386/configure: Likewise.
33445
33446         * elf/dl-open.c: Comment fixes.
33447
33448 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
33449
33450         * Makefile [CXX] (check-data): Remove.
33451         [CXX] (c++-types.data): New vpath directive.
33452         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
33453         vpath.  Do not allow for C++ type data being missing.
33454         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
33455         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
33456         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
33457         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
33458         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
33459         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
33460         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
33461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33462         ... here.
33463         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
33464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33465         ... here.
33466         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
33467         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
33468         ... here.
33469         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
33470         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
33471         ... here.
33472         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
33473         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
33474         ... here.
33475         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
33476         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
33477         ... here.
33478         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
33479         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
33480         ... here.
33481         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
33482         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
33483
33484         * elf/tls-macros.h (TLS_LE): Move architecture-specific
33485         definitions to architecture-specific files.
33486         (TLS_IE): Likewise.
33487         (TLS_LD): Likewise.
33488         (TLS_GD): Likewise.
33489         * sysdeps/i386/tls-macros.h: New file.
33490         * sysdeps/powerpc/tls-macros.h: Likewise.
33491         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
33492         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
33493         * sysdeps/sh/tls-macros.h: Likewise.
33494         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
33495         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
33496         * sysdeps/x86_64/tls-macros.h: Likewise.
33497
33498 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
33499
33500         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
33501         zero value for regular exit case.
33502
33503         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33504         (__start_context): Preserve zero value for regular exit case.
33505
33506 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
33507             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33508
33509         * manual/setjmp.texi (setcontext): Clarify normal process
33510         termination when uc_link is the null pointer.
33511         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
33512         exit call.
33513
33514 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
33515
33516         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
33517         preprocessor.  Test for each exception mask separately.
33518
33519 2012-07-16  Andreas Jaeger  <aj@suse.de>
33520
33521         * po/ru.po: Update from translation team.
33522
33523 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
33524
33525         * conform/data/string.h-data (NULL): Use macro-constant.  Require
33526         equal to 0.
33527         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33528         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33529         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
33530         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
33531         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33532
33533 2012-07-13  Andreas Jaeger  <aj@suse.de>
33534
33535         * po/fr.po: Update from translation team.
33536
33537 2012-07-12  Marek Polacek  <polacek@redhat.com>
33538
33539         [BZ #14173]
33540         * math/libm-test.inc (yn_test): Add test for BZ #14173.
33541         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
33542         loop condition.
33543
33544 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
33545
33546         [BZ #13717]
33547         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33548         Change to 2.4.1 where previously 2.4.0.
33549         * sysdeps/unix/sysv/linux/configure: Regenerated.
33550         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
33551         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
33552         version.
33553         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
33554         (__ASSUME_AT_CLKTCK): Remove.
33555         (__ASSUME_AT_PAGESIZE): Likewise.
33556         (__ASSUME_AT_XID): Likewise.
33557         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
33558         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
33559         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
33560         unconditionally.
33561         (HAVE_AUX_PAGESIZE): Likewise.
33562         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
33563         [__ASSUME_AT_CLKTCK]: Make code unconditional.
33564         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
33565
33566 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
33567
33568         [BZ #14307]
33569         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
33570         the temporary buffer used to invoke __gethostbyname2_r,
33571         __gethostbyaddr_r and gethostbyname4_r to make room for struct
33572         host_data / struct gaih_addrtuple.
33573         * resolv/nss_dns/dns-host.c (global scope): Move definition of
33574         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
33575         header file nss/nsswitch.h.
33576         * nss/nsswitch.h (global scope): Add definition of implementation
33577         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
33578         resolv/nss_dns/dns-host.c).
33579
33580 2012-07-11  Andreas Jaeger  <aj@suse.de>
33581
33582         * po/fr.po: Update from translation team.
33583
33584         * po/sv.po: Update from translation team
33585         * po/fr.po: Another update from translation team.
33586
33587 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33588
33589         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
33590         for subnormals or multiply small sinh result by itself.
33591         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33592         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33593
33594 2012-07-11  David S. Miller  <davem@davemloft.net>
33595
33596         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33597
33598 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
33599
33600         [BZ #14347]
33601         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
33602         (INTERNAL_MARK): Shift it here.
33603
33604 2012-07-10  Marek Polacek  <polacek@redhat.com>
33605
33606         [BZ #14151]
33607         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
33608         libc_cv_asm_global_directive with .globl.
33609         * configure: Regenerated.
33610         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
33611         with .globl.
33612         * sysdeps/i386/configure: Regenerated.
33613         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
33614         with .globl.
33615         * sysdeps/x86_64/configure: Regenerated.
33616         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
33617         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
33618         * elf/tst-unique2mod2.c: Likewise.
33619         * elf/tst-unique2mod1.c: Likewise.
33620         * elf/tst-unique1mod2.c: Likewise.
33621         * elf/tst-unique1mod1.c: Likewise.
33622         * sysdeps/s390/s390-32/sysdep.h: Likewise.
33623         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33624         * sysdeps/s390/s390-64/sysdep.h: Likewise.
33625         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33626         * sysdeps/mach/sysdep.h: Likewise.
33627         * sysdeps/i386/sysdep.h: Likewise.
33628         * sysdeps/i386/i386-mcount.S: Likewise.
33629         * sysdeps/x86_64/_mcount.S: Likewise.
33630         * sysdeps/x86_64/sysdep.h: Likewise.
33631         * sysdeps/sh/_mcount.S: Likewise.
33632         * sysdeps/sh/sysdep.h: Likewise.
33633         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
33634         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
33635         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
33636         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33637         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
33638         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
33639         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
33640         * locale/localeinfo.h: Likewise.
33641         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
33642         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
33643
33644 2012-07-09  Roland McGrath  <roland@hack.frob.com>
33645
33646         [BZ #14336]
33647         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
33648         system".
33649         * manual/message.texi (The Uniforum approach): Likewise.
33650         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
33651         (glibc iconv Implementation): Likewise.
33652
33653 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
33654
33655         [BZ #14337]
33656         * math/s_clog.c (__clog): Avoid scaling a value down where that
33657         could result in underflow.
33658         * math/s_clog10.c (__clog10): Likewise.
33659         * math/s_clog10f.c (__clog10f): Likewise.
33660         * math/s_clog10l.c (__clog10l): Likewise.
33661         * math/s_clogf.c (__clogf): Likewise.
33662         * math/s_clogl.c (__clogl): Likewise.
33663         * math/libm-test.inc (clog_test): Add more tests.
33664         (clog10_test): Likewise.
33665         * sysdeps/i386/fpu/libm-test-ulps: Update.
33666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33667
33668 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
33669
33670         [BZ #14283]
33671         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
33672         by 7 not 8 to examine high bit of fractional part.
33673
33674         [BZ #14042]
33675         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
33676         for call to __mcount_internal.
33677         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
33678         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
33679         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
33680
33681 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
33682
33683         [BZ #14154]
33684         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
33685         approximation for values within 0x1p-13f of an odd multiple of
33686         pi/4.
33687         * math/libm-test.inc (tan_test): Do not allow spurious underflow
33688         exception.  Add more tests.
33689         * sysdeps/i386/fpu/libm-test-ulps: Update.
33690
33691         [BZ #6778]
33692         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
33693         inputs and return -1 for them.  Do not check for +Inf in case not
33694         reachable for +Inf.
33695         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33696         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
33697         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33698         and return -1 for them.  Do not check for +Inf in case not
33699         reachable for +Inf.
33700         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
33701         define.
33702         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33703         and return -1 for them.  Do not check for +Inf in case not
33704         reachable for +Inf.
33705         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
33706         spurious underflow.
33707         * sysdeps/i386/fpu/libm-test-ulps: Update.
33708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33709
33710 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
33711
33712         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
33713
33714 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
33715
33716         [BZ #14157]
33717         [BZ #14331]
33718         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
33719         could result in spurious underflow.  Scale down values above
33720         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
33721         * math/s_csqrtf.c (__csqrtf): Likewise.
33722         * math/s_csqrtl.c (__csqrtl): Likewise.
33723         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
33724         spurious underflow.
33725         * sysdeps/i386/fpu/libm-test-ulps: Update.
33726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33727
33728 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
33729
33730         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
33731         xopen-msg.sed.
33732         * catgets/xopen-msg.awk: New file.
33733         * catgets/xopen-msg.sed: Removed.
33734
33735         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33736         po2text.sed.
33737         * intl/po2test.awk: New file.
33738         * intl/po2test.sed: Removed.
33739
33740 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
33741
33742         [BZ #14328]
33743         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33744         or multiply small sinh result by itself.
33745         * math/s_ctanf.c (__ctanf): Likewise.
33746         * math/s_ctanh.c (__ctanh): Likewise.
33747         * math/s_ctanhf.c (__ctanhf): Likewise.
33748         * math/s_ctanhl.c (__ctanhl): Likewise.
33749         * math/s_ctanl.c (__ctanl): Likewise.
33750         * math/libm-test.inc (ctan_test_tonearest): New function.
33751         (ctan_test_towardzero): Likewise.
33752         (ctan_test_downward): Likewise.
33753         (ctan_test_upward): Likewise.
33754         (ctanh_test_tonearest): Likewise.
33755         (ctanh_test_towardzero): Likewise.
33756         (ctanh_test_downward): Likewise.
33757         (ctanh_test_upward): Likewise.
33758         (main): Call these new functions.
33759         * sysdeps/i386/fpu/libm-test-ulps: Update.
33760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33761
33762 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
33763
33764         * .gitignore: Delete /ports entry.
33765
33766 2012-07-03  Andreas Jaeger  <aj@suse.de>
33767
33768         * po/bg.po: Update from translation team.
33769         * po/cs.po: Likewise.
33770         * po/de.po: Likewise.
33771         * po/hr.po: Likewise.
33772         * po/nl.pl: Likewise.
33773         * po/pl.po: Likewise.
33774         * po/vi.po: Likewise.
33775
33776 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
33777
33778         * Makeconfig [!+link] (+link-before-libc): New variable.
33779         [!+link] (+link-after-libc): Likewise.
33780         [!+link] (+link-tests): Likewise.
33781         [!+link] (+link): Define in terms of $(+link-before-libc) and
33782         $(+link-after-libc).
33783         [!+link-static] (+link-static-before-libc): New variable.
33784         [!+link-static] (+link-static-after-libc): Likewise.
33785         [!+link-static] (+link-static-tests): Likewise.
33786         [!+link-static] (+link-static): Define in terms of
33787         $(+link-static-before-libc) and $(+link-static-after-libc).
33788         [build-shared] (link-libc-before-gnulib): New variable.
33789         [build-shared] (link-libc-tests): Likewise.
33790         [build-shared] (link-libc): Define in terms of
33791         $(link-libc-before-gnulib).
33792         [!build-shared] (link-libc-tests): New variable.
33793         (link-libc-static-tests): New variable.
33794         [!gnulib] (gnulib-arch): New variable.
33795         [!gnulib] (gnulib-tests): Likewise.
33796         [!gnulib] (static-gnulib-arch): Likewise.
33797         [!gnulib] (static-gnulib-tests): Likewise.
33798         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
33799         Define with "=" instead of ":=".
33800         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
33801         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
33802         * Rules (binaries-all-notests): New variable.
33803         (binaries-all-tests): Likewise.
33804         (binaries-static-notests): Likewise.
33805         (binaries-static-tests): Likewise.
33806         (binaries-all): Define using $(binaries-all-notests) and
33807         $(binaries-all-tests).
33808         (binaries-static): Define using $(binaries-static-notests) and
33809         $(binaries-static-tests).
33810         (binaries-shared-tests): New variable.
33811         (binaries-shared-notests): Likewise.
33812         (binaries-shared): Remove variable.
33813         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
33814         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
33815         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
33816         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33817         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33818         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33819         * elf/Makefile (sln-modules): New variable.
33820         (extra-objs): Add $(sln-modules:=.o).
33821         (ldconfig-modules): Add static-stubs.
33822         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33823         * elf/static-stubs.c: New file.
33824
33825         [BZ #14283]
33826         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33827         by 7 not 8 to examine high bit of fractional part.  Use volatile
33828         variables when splitting into final array of floats if
33829         __FLT_EVAL_METHOD__ != 0.
33830         * math/libm-test.inc (cos_test): Add another test.
33831         (sin_test): Likewise.
33832         * sysdeps/i386/fpu/libm-test-ulps: Update.
33833
33834         [BZ #14273]
33835         * math/libm-test.inc (cosh_test): Add more tests.
33836
33837         * version.h (RELEASE): Set to "development".
33838         (VERSION): Set to "2.16.90".
33839
33840 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
33841
33842         * NEWS: Update copyright. Remove last-updated date.
33843         Mention math library bug fixes and timezone data changes.
33844         * README: Mention GNU/Hurd, x32, and HPPA support status.
33845
33846 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
33847
33848         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33849
33850 2012-06-27  Andreas Jaeger  <aj@suse.de>
33851
33852         * manual/contrib.texi (Contributors): Add Samuel Thibault.
33853
33854 2012-06-25  Andreas Jaeger  <aj@suse.de>
33855
33856         * sysdeps/s390/fpu/libm-test-ulps: Update.
33857
33858 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
33859             Thomas Schwinge  <thomas@codesourcery.com>
33860
33861         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33862         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33863         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33864         fanotify_mark.
33865
33866 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
33867
33868         * sysdeps/mach/start.c: Remove file.
33869         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33870         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33871         * sysdeps/sh/init-first.c: Likewise.
33872
33873         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33874         registers for frame unwinding purposes, add CFI directives.
33875         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33876         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33877         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33878         Likewise.
33879
33880         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33881         __fortify_fail returning.
33882         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33883
33884         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33885         sysdeps/sh/____longjmp_chk.S.
33886         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33887         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33888         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33889         (gen-as-const-headers): Append sigaltstack-offsets.sym.
33890
33891         * sysdeps/sh/abort-instr.h: New file.
33892         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33893         process in case exit returns.
33894
33895         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33896         initialize the GOT register before use.
33897
33898         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33899         calculation of ARGC > 4.
33900
33901         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33902         meaningful names to some local labels.
33903
33904 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33905             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33906
33907         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33908         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33909         (__arch_compare_and_exchange_val_16_acq): Likewise.
33910         (__arch_compare_and_exchange_val_32_acq): Likewise.
33911         (atomic_exchange_and_add): Fix gUSA sequence.
33912         (atomic_add): Likewise.
33913         (atomic_add_negative): Likewise.
33914         (atomic_add_zero): Likewise.
33915         (atomic_bit_test_set): Likewise.
33916
33917 2012-06-22  Andreas Schwab  <schwab@redhat.com>
33918
33919         [BZ #13579]
33920         * include/link.h (struct link_map): Add l_free_initfini.
33921         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33922         l_initfini.
33923         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33924         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33925         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33926         set.
33927
33928 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
33929
33930         * configure.in: Use AC_LANG_SOURCE.
33931         * configure: Regenerate.
33932
33933 2012-06-22  Roland McGrath  <roland@hack.frob.com>
33934
33935         * configure.in (libc_cv_localstatedir): New substituted variable.
33936         * configure: Regenerated.
33937         * config.make.in (localstatedir): New variable, substituted from
33938         libc_cv_localstatedir.
33939         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33940         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33941         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33942         * sysdeps/gnu/configure: Regenerated.
33943
33944 2012-06-21  Jeff Law  <law@redhat.com>
33945
33946         [BZ #14277]
33947         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33948         free.  Simplify list management for _LIBC case.
33949
33950 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
33951
33952         [BZ #14273]
33953         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33954         Clear sign bit of 64-bit integer value before comparing against
33955         overflow value.
33956
33957         * sysdeps/mach/configure: Regenerated.
33958
33959 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
33960
33961         [BZ #14278]
33962         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33963
33964 2012-06-21  Jeff Law  <law@redhat.com>
33965
33966         [BZ #13882]
33967         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
33968         uint16_t for elements in the "seen" array to avoid char overflows.
33969         * elf/dl-fini.c (_dl_sort_fini): Likewise.
33970         * elf/dl-open.c (dl_open_worker): Likewise.
33971
33972 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
33973
33974         * scripts/list-sources.sh: Scan PORTS for translations.
33975         * po/libc.pot: Regenerated.
33976
33977 2012-06-21  Andreas Jaeger  <aj@suse.de>
33978
33979         [BZ #12194]
33980         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33981         warning.
33982         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33983         * bits/byteswap-16.h (__bswap_16): Likewise.
33984         * bits/byteswap.h (__bswap_constant_16): Likewise.
33985
33986 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
33987
33988         [BZ #14117]
33989         * sysdeps/i386/fpu_control.h: Removed.
33990         * sysdeps/x86_64/fpu_control.h: Moved to ...
33991         * sysdeps/x86/fpu_control.h: Here.
33992
33993         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33994         (_FPU_SETCW): Likewise.
33995
33996 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
33997
33998         [BZ #14117]
33999         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
34000         * sysdeps/x86/fpu/bits/mathinline.h: This.
34001         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
34002
34003         [BZ #14050]
34004         [BZ #14117]
34005         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
34006         functions if __x86_64__ is defined.
34007
34008 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
34009
34010         * string/endian.h: Add !__ASSEMBLER__ condition for including
34011         conversion interfaces.
34012
34013 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
34014
34015         [BZ #14241]
34016         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
34017         of ABS(x) in calculating zero to negative powers other than odd
34018         integers.
34019         * math/libm-test.inc (pow_test): Add more tests.
34020
34021 2012-06-15  Andreas Jaeger  <aj@suse.de>
34022
34023         * manual/contrib.texi (Contributors): Update entry of Liubov
34024         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
34025         Machado Filho.
34026
34027 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
34028
34029         * string/string.h: Add __wur to GNU version of strerror_r.
34030
34031 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
34032
34033         [BZ #14229]
34034         * string/Makefile (tests): Add tst-strtok_r.
34035         * string/tst-strtok_r.c: New file.
34036         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
34037         RAX_LP/RDX_LP on SAVE_PTR.
34038
34039 2012-06-14  Roland McGrath  <roland@hack.frob.com>
34040
34041         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
34042
34043 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
34044
34045         * libm_test.inc (csqrt_test): Allow more spurious underflow
34046         exceptions.
34047         (j0_test): Likewise.
34048         (j1_test): Likewise.
34049         (y0_test): Likewise.
34050         (y1_test): Likewise.
34051
34052 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
34053
34054         * po/Makefile (libc.pot): Use UTF-8 charset.
34055
34056 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
34057
34058         [BZ #14210]
34059         Suppress sign-conversion warning from FD_SET.
34060         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
34061         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
34062         not unsigned long int.
34063         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
34064
34065 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
34066
34067         [BZ #14050]
34068         [BZ #14117]
34069         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
34070         __extern_always_inline instead of __extern_inline.
34071         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
34072         (__signbit): Likewise.
34073         (__signbitl): Support C++ namespace.
34074         (lrintf): New inline function.
34075         (lrint): Likewise.
34076         (llrintf): Likewise.
34077         (llrint): Likewise.
34078         (fmaxf): Likewise.
34079         (fmax): Likewise.
34080         (fminf): Likewise.
34081         (fmin): Likewise.
34082         (rint): Likewise.
34083         (rintf): Likewise.
34084         (ceil): Likewise.
34085         (ceilf): Likewise.
34086         (floor): Likewise.
34087         (floorf): Likewise.
34088         (nearbyint): Likewise.
34089         (nearbyintf): Likewise.
34090
34091 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
34092
34093         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
34094         non-default versions.
34095
34096 2012-06-11  Roland McGrath  <roland@hack.frob.com>
34097
34098         [BZ #14218]
34099         * manual/argp.texi (Argp): Reword argp_parse description slightly.
34100
34101 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
34102
34103         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
34104         (FE_UPWARD, FE_DOWNWARD): Don't define.
34105         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
34106         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34107
34108         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
34109         reading it.
34110         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34111         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34112
34113 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34114
34115         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34116         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
34117         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
34118         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
34119
34120 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
34121
34122         [BZ #14117]
34123         * sysdeps/i386/fpu/bits/fenv.h: Removed.
34124         * sysdeps/i386/fpu/Implies: New file.
34125         * sysdeps/x86_64/fpu/Implies: Likewise.
34126         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
34127         * sysdeps/x86/fpu/bits/fenv.h: This.
34128
34129         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
34130         __SSE_MATH__.
34131
34132 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
34133
34134         [BZ #14134]
34135         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
34136         character 0xffff that matches the last element of the
34137         conversion table.
34138
34139 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34140
34141         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
34142         fmodl commit.
34143
34144 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34145
34146         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
34147         values higher than 25.6283.
34148
34149 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34150
34151         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
34152         subnormal exponent extraction and add some __builtin_expect.
34153         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
34154         Fix for subnormal mantissa calculation.
34155
34156 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
34157
34158         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
34159         cpu2 is -1 and errno is not ENOSYS.
34160
34161 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
34162
34163         [BZ #14117]
34164         * sysdeps/i386/i486/bits/string.h: Renamed to ...
34165         * sysdeps/x86/bits/string.h: This.
34166         * sysdeps/x86_64/bits/string.h: Removed.
34167
34168         * sysdeps/i386/i486/bits/string.h: Define inline functions only
34169         if not compiling for x86-64, but compiling for >= i486.
34170
34171         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
34172         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
34173
34174         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
34175         New macro from Linux kernel 3.4.0.
34176         (FP_XSTATE_MAGIC2): Likewise.
34177         (FP_XSTATE_MAGIC2_SIZE): Likewise.
34178         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
34179         (struct _fpx_sw_bytes): New struct.
34180         (struct _xsave_hdr): Likewise.
34181         (struct _ymmh_state): Likewise.
34182         (struct _xstate): Likewise.
34183
34184         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
34185         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
34186         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
34187         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
34188         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
34189         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
34190
34191         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
34192         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
34193         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
34194         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
34195         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
34196         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
34197
34198 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34199
34200         [BZ #13743]
34201         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
34202         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
34203         (sysdep_headers): Include sys/platform/ppc.h.
34204         * sysdeps/powerpc/test-gettimebase.c: Test for
34205         __ppc_get_timebase() to catch future ISA opcode/insn changes.
34206         * manual/Makefile (appendices): Include platform.texi.
34207         * manual/contrib.texi (Contributors): Update @node pointers.
34208         * manual/maint.texi (Maintenance): Likewise.
34209         (Platform): New node.
34210         * manual/platform.texi: New file.  Document the new features.
34211
34212 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34213             Jakub Jelinek  <jakub@redhat.com>
34214
34215         [BZ #14188]
34216         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
34217         where __builtin_expect is unavailable.
34218
34219 2012-06-03  David S. Miller  <davem@davemloft.net>
34220
34221         * stdlib/longlong.h: Updated from GCC.
34222
34223 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
34224
34225         [BZ #14042]
34226         * sysdeps/powerpc/powerpc32/mcount.c: New file.
34227         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
34228         __mcount_internal.
34229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34230         (GLIBC_2.16): Likewise.
34231
34232 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
34233
34234         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
34235
34236 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
34237
34238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
34239         (default-abi): New variable.
34240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
34241         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
34242         variable.
34243         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
34244         Likewise.
34245         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
34246         Likewise.
34247         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
34248         Likewise.
34249
34250         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
34251         definition.  Document in comment.
34252
34253 2012-06-01  David S. Miller  <davem@davemloft.net>
34254
34255         * stdlib/longlong.h: Updated from GCC.
34256
34257 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
34258
34259         [BZ #14117]
34260         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
34261         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
34262         sys/debugreg.h sys/io.h here.
34263         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
34264         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
34265         sys/io.h.
34266         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
34267         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
34268         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
34269         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
34270         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
34271         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
34272
34273         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
34274         Define only if __x86_64__ is defined.
34275
34276 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
34277
34278         [BZ #14048]
34279         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
34280         Use int64_t for variable i.
34281         * math/libm-test.inc (fmod_test): Add more tests.
34282
34283         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
34284         z computation is not scheduled after fetestexcept.
34285         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
34286         Use math_force_eval instead of asm to ensure calculation scheduled
34287         before exception test.
34288         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
34289         Ensure a1 + u.d computation is not scheduled after fetestexcept.
34290
34291 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
34292
34293         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
34294         computation is not scheduled after fetestexcept.
34295
34296 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
34297
34298         [BZ #14117]
34299         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
34300         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
34301
34302 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34303
34304         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
34305         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34306
34307 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
34308
34309         [BZ #14117]
34310         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
34311         <bits/wordsize.h>.
34312         (__WCHAR_MIN): Support __WORDSIZE == 64.
34313         (__WCHAR_MAX): Likewise.
34314
34315         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
34316         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
34317
34318         [BZ #14183]
34319         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
34320         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
34321
34322         [BZ #14117]
34323         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
34324         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
34325
34326         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
34327         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
34328
34329         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
34330         Defined to 1 if __x86_64__ isn't defined.
34331         (_STAT_VER_LINUX_OLD): New.
34332         (st_atime): Remove duplicate.
34333         (st_mtime): Likewise.
34334         (st_ctime): Likewise.
34335
34336 2012-05-31  David S. Miller  <davem@davemloft.net>
34337
34338         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
34339         entries.
34340
34341 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
34342
34343         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
34344         gen-libm-test.pl.
34345
34346         [BZ #14132]
34347         * elf/dl-reloc.c: Include <_itoa.h>.
34348         (_dl_reloc_bad_type): Remove use of INTUSE.
34349         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
34350         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
34351         * stdio-common/psiginfo.c (psiginfo): Likewise.
34352         * stdio-common/psignal.c (psignal): Likewise.
34353         * string/strsignal.c (strsignal): Likewise.
34354         * include/signal.h (_sys_siglist): Declare hidden proto.
34355         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
34356         INTVARDEF with libc_hidden_data_def.
34357         * stdio-common/itoa-udigits.c: Likewise.
34358         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
34359         (_itoa_lower_digits_internal): Remove declaration.
34360         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
34361         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
34362         (_sys_sigabbrev_internal): Remove aliases.
34363         (_sys_siglist): Define hidden alias.
34364
34365 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
34366
34367         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34368         bits/sysctl.h.
34369
34370 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
34371
34372         [BZ #14117]
34373         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
34374         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
34375
34376         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
34377         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
34378         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
34379         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
34380         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
34381         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
34382
34383         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
34384         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
34385         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
34386
34387         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
34388         with __addr.
34389         (insw): Likewise.
34390         (insl): Likewise.
34391         (outsb): Likewise.
34392         (outsw): Likewise.
34393         (outsl): Likewise.
34394
34395         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
34396         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
34397         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
34398
34399         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
34400         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
34401         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
34402         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
34403         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
34404         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
34405
34406         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
34407         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
34408
34409         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
34410         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
34411
34412         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
34413         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
34414         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
34415
34416         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
34417         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
34418         to ...
34419         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
34420
34421         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
34422         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
34423         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
34424
34425         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
34426         for x86-64.
34427         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
34428
34429 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
34430
34431         * math/math.h (M_El): Use two more decimal places.
34432         (M_LOG2El): Likewise.
34433         (M_LOG10El): Likewise.
34434         (M_LN2l): Likewise.
34435         (M_LN10l): Likewise.
34436         (M_PIl): Likewise.
34437         (M_PI_2l): Likewise.
34438         (M_PI_4l): Likewise.
34439         (M_1_PIl): Likewise.
34440         (M_2_PIl): Likewise.
34441         (M_2_SQRTPIl): Likewise.
34442         (M_SQRT2l): Likewise.
34443         (M_SQRT1_2l): Likewise.
34444
34445 2012-05-31  David S. Miller  <davem@davemloft.net>
34446
34447         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
34448         values between float registers.
34449         * sysdeps/sparc/sparc64/memset.S: Likewise.
34450         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34451
34452 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
34453
34454         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
34455         -D_FORTIFY_SOURCE=1.
34456         (CPPFLAGS-tst-longjmp_chk.c): Define.
34457         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
34458         (CPPFLAGS-tst-longjmp_chk2.c): Define.
34459         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
34460         CFLAGS-tst-wchar-h.c.
34461
34462 2012-05-31  Marek Polacek  <polacek@redhat.com>
34463
34464         [BZ #14132]
34465         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
34466         __endmntent_internal): Remove declaration.
34467         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
34468         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
34469         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
34470
34471 2012-05-30  David S. Miller  <davem@davemloft.net>
34472
34473         * sysdeps/sparc/sparc32/soft-fp/q_util.c
34474         (___Q_simulate_exceptions): Use real FP ops rather than writing
34475         into the %fsr.
34476         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
34477         Likewise.
34478
34479 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34480
34481         [BZ #14117]
34482         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
34483         * sysdeps/x86/bits/xtitypes.h: This.
34484
34485         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
34486         * sysdeps/x86/bits/wordsize.h: This.
34487
34488         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
34489         * sysdeps/x86/bits/huge_vall.h: This.
34490
34491         * sysdeps/i386/bits/select.h: Removed.
34492         * sysdeps/x86_64/bits/select.h: Renamed to ...
34493         * sysdeps/x86/bits/select.h: This.
34494
34495         * sysdeps/i386/bits/setjmp.h: Removed.
34496         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
34497         * sysdeps/x86/bits/setjmp.h: This.
34498
34499         * sysdeps/i386/bits/mathdef.h: Removed.
34500         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
34501         * sysdeps/x86/bits/mathdef.h: This.
34502
34503 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
34504
34505         [BZ #14132]
34506         * include/sys/socket.h (__connect_internal)
34507         (__libc_sa_len_internal): Remove declaration.
34508         (__connect, __libc_sa_len): Declare hidden_proto.
34509         (SA_LEN): Remove use of INTUSE.
34510         * socket/connect.c: Add libc_hidden_def.
34511         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
34512         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
34513         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
34514         alias.
34515         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
34516         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
34517         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
34518         of adding _internal alias.
34519
34520 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34521
34522         [BZ #14117]
34523         * sysdeps/i386/bits/link.h: Removed.
34524         * sysdeps/i386/bits/linkmap.h: Likewise.
34525         * sysdeps/x86_64/bits/link.h: Renamed to ...
34526         * sysdeps/x86/bits/link.h: This.
34527         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
34528         * sysdeps/x86/bits/linkmap.h: This.
34529
34530         * sysdeps/i386/bits/endian.h: Removed.
34531         * sysdeps/x86_64/bits/endian.h: Renamed to ...
34532         * sysdeps/x86/bits/endian.h: This.
34533
34534         * sysdeps/i386/bits/byteswap.h: Removed.
34535         * sysdeps/i386/bits/byteswap-16.h: Likewise.
34536         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
34537         * sysdeps/x86/bits/byteswap.h: This.
34538         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
34539         * sysdeps/x86/bits/byteswap-16.h: This.
34540         * sysdeps/i386/Implies: Add x86.
34541         * sysdeps/x86_64/Implies: Likewise.
34542
34543 2012-05-30  David S. Miller  <davem@davemloft.net>
34544
34545         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
34546         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
34547         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34548         (FP_TRAPPING_EXCEPTIONS): Define.
34549         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34550         (FP_TRAPPING_EXCEPTIONS): Define.
34551         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
34552         subnormals only when inexact has been signalled or underflow
34553         exceptions are enabled.
34554         (_FP_PACK_CANONICAL): Likewise.
34555
34556 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34557
34558         [BZ #14183]
34559         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
34560         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
34561
34562 2012-05-30  Richard Henderson  <rth@twiddle.net>
34563
34564         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
34565         with #ifndef NOT_IN_libc.
34566
34567         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
34568         marked to avoid plt entry.
34569
34570 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34571
34572         [BZ #14112]
34573         * Makeconfig (default-abi): New macro.
34574         (abi-includes): Likewise.
34575         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
34576         $(abi-$(default-abi)-lib-soname) for soname if defined.
34577         ($(common-objpfx)gnu/lib-names.stmp): Generate from
34578         abi-variants.
34579         * Makefile (installed-stubs): Likewise.
34580         * include/stubs-biarch.h: Removed.
34581         * scripts/lib-names.awk: Only handle one library at a time.
34582         * scripts/soversions.awk: Remove WORDSIZE support.
34583         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
34584         entries.
34585         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
34586         Removed.
34587         (syscall-list-default-condition): Likewise.
34588         (syscall-list-default-condition): Likewise.
34589         (syscall-list-includes): Likewise.
34590         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
34591         syscall-list-* with abi-*.  Handle undefined abi-variants.
34592         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
34593         * sysdeps/unix/sysv/linux/i386/Implies: New file.
34594         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
34595         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
34596         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
34597         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
34598         Removed.
34599         (syscall-list-32-options): Likewise.
34600         (syscall-list-32-condition): Likewise.
34601         (syscall-list-64-options): Likewise.
34602         (syscall-list-64-condition): Likewise.
34603         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
34604         macro.
34605         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
34606         Renamed to ...
34607         (abi-*): This.
34608         (abi-64-ld-soname): New macro.
34609         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
34610         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
34611         Renamed to ...
34612         (abi-*): This.
34613         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
34614         * sysdeps/x86_64/x32/shlib-versions: Likewise.
34615
34616 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
34617
34618         * sysdeps/unix/sysv/linux/kernel-features.h
34619         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
34620         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
34621         include <kernel-features.h>.
34622         [!__NR_ftruncate64]: Remove conditional code.
34623         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34624         [__NR_ftruncate64]: Make code unconditional.
34625         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34626         * sysdeps/unix/sysv/linux/truncate64.c: Do not
34627         include <kernel-features.h>.
34628         [!__NR_ftruncate64]: Remove conditional code.
34629         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34630         [__NR_ftruncate64]: Make code unconditional.
34631         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
34633         include <kernel-features.h>.
34634         [!__NR_ftruncate64]: Remove conditional code.
34635         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34636         [__NR_ftruncate64]: Make code unconditional.
34637         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34639         include <kernel-features.h>.
34640         [!__NR_ftruncate64]: Remove conditional code.
34641         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34642         [__NR_ftruncate64]: Make code unconditional.
34643         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34644
34645         * configure.in (libc_cv_fpie): Weaken to a compile test using
34646         LIBC_TRY_CC_OPTION.
34647         * configure: Regenerated.
34648
34649 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34650
34651         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
34652         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
34653         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
34654         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34655         Refreshed.
34656         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
34657         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
34658         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
34659         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
34660         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
34661         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34662         Refreshed.
34663
34664 2012-05-27  David S. Miller  <davem@davemloft.net>
34665
34666         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
34667         (___Q_zero): New.
34668         (__Q_simulate_exceptions): Return void.  Change to simulate
34669         exceptions by writing into the %fsr.
34670         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
34671         (__Qp_handle_exceptions): Likewise.
34672         (numbers): Delete.
34673         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
34674         __Qp_handle_exceptions.
34675         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
34676         __Qp_handle_exceptions.
34677         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34678         as unused and give dummy FP_RND_NEAREST initializer.
34679         (FP_INHIBIT_RESULTS): Define.
34680         (___Q_simulate_exceptions): Update declaration.
34681         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
34682         formatting.
34683         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34684         as unused and give dummy FP_RND_NEAREST initializer.
34685         (__Qp_handle_exceptions): Update declaration.
34686         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
34687         formatting.
34688
34689 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
34690
34691         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
34692         the temporary FPU control word.
34693         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34694         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
34695         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34696         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34697         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34698         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34699         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34700         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34701         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34702         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
34703         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34704
34705 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34706
34707         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
34708         fields.
34709
34710 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
34711
34712         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
34713         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
34714         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
34715         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
34716         Likewise.
34717         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
34718         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
34719         Likewise.
34720
34721 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
34722
34723         * po/h.po: Update from translation team.
34724
34725 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
34726
34727         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
34728
34729         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
34730         handling of denormals.
34731         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34732         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34733         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34734         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34735         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34736         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34737         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34738         Likewise.
34739
34740 2012-05-26  Marek Polacek  <polacek@redhat.com>
34741
34742         [BZ #14152]
34743         * math/libm-test.inc (fma_test): Don't always expect underflow
34744         exception.
34745
34746 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34747
34748         [BZ #12416]
34749         * elf/tst-execstack.c: Include stackinfo.h.
34750         (do_test): Adjust test case to ensure that pthread_getattr_np
34751         behaviour remains the same after marking stack executable.
34752
34753 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
34754
34755         * sysdeps/unix/sysv/linux/kernel-features.h
34756         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34757         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34758         kernel-features.h.
34759         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34760         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34761         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34762         kernel-features.h.
34763         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34764         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34765
34766 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
34767
34768         * configure.in: Define the default includes to being none.
34769         * configure: Regenerated.
34770
34771 2012-05-25  Roland McGrath  <roland@hack.frob.com>
34772
34773         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34774         * sysdeps/x86_64/setjmp.S: Likewise.
34775         * sysdeps/i386/bsd-setjmp.S: Likewise.
34776         * sysdeps/i386/bsd-_setjmp.S: Likewise.
34777         * sysdeps/i386/setjmp.S: Likewise.
34778         * sysdeps/i386/__longjmp.S: Likewise.
34779         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34780         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34781
34782         * include/stap-probe.h: New file.
34783         * configure.in: Handle --enable-systemtap.
34784         * configure: Regenerated.
34785         * config.h.in (USE_STAP_PROBE): New #undef.
34786         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34787         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34788         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34789
34790 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
34791
34792         [BZ #13717]
34793         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34794         to 2.4.0 where earlier.
34795         * sysdeps/unix/sysv/linux/configure: Regenerated.
34796         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34797         <kernel-features.h>.
34798         [__ASSUME_32BITUIDS]: Make code unconditional.
34799         [!__ASSUME_32BITUIDS]: Remove conditional code.
34800         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
34801         <kernel-features.h>.
34802         [__ASSUME_32BITUIDS]: Make code unconditional.
34803         [!__ASSUME_32BITUIDS]: Remove conditional code.
34804         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
34805         [__ASSUME_32BITUIDS]: Make code unconditional.
34806         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34807         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
34808         <kernel-features.h>.
34809         [__ASSUME_32BITUIDS]: Make code unconditional.
34810         [!__ASSUME_32BITUIDS]: Remove conditional code.
34811         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
34812         <kernel-features.h>.
34813         [__ASSUME_32BITUIDS]: Make code unconditional.
34814         [!__ASSUME_32BITUIDS]: Remove conditional code.
34815         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
34816         <kernel-features.h>.
34817         [__ASSUME_32BITUIDS]: Make code unconditional.
34818         [!__ASSUME_32BITUIDS]: Remove conditional code.
34819         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
34820         <kernel-features.h>.
34821         [__ASSUME_32BITUIDS]: Make code unconditional.
34822         [!__ASSUME_32BITUIDS]: Remove conditional code.
34823         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34824         <kernel-features.h>.
34825         [__ASSUME_32BITUIDS]: Make code unconditional.
34826         [!__ASSUME_32BITUIDS]: Remove conditional code.
34827         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34828         <kernel-features.h>.
34829         [__ASSUME_32BITUIDS]: Make code unconditional.
34830         [!__ASSUME_32BITUIDS]: Remove conditional code.
34831         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
34832         <kernel-features.h>.
34833         [__ASSUME_32BITUIDS]: Make code unconditional.
34834         [!__ASSUME_32BITUIDS]: Remove conditional code.
34835         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34836         <kernel-features.h>.
34837         [__ASSUME_32BITUIDS]: Make code unconditional.
34838         [!__ASSUME_32BITUIDS]: Remove conditional code.
34839         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34840         <kernel-features.h>.
34841         [__ASSUME_32BITUIDS]: Make code unconditional.
34842         [!__ASSUME_32BITUIDS]: Remove conditional code.
34843         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
34844         <kernel-features.h>.
34845         [__ASSUME_32BITUIDS]: Make code unconditional.
34846         [!__ASSUME_32BITUIDS]: Remove conditional code.
34847         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
34848         <kernel-features.h>.
34849         [__NR_setresgid] (__setresgid): Do not declare.
34850         [__ASSUME_32BITUIDS]: Make code unconditional.
34851         [!__ASSUME_32BITUIDS]: Remove conditional code.
34852         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34853         <kernel-features.h>.
34854         [__NR_setresuid] (__setresuid): Do not declare.
34855         [__ASSUME_32BITUIDS]: Make code unconditional.
34856         [!__ASSUME_32BITUIDS]: Remove conditional code.
34857         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
34858         <kernel-features.h>.
34859         [__ASSUME_32BITUIDS]: Make code unconditional.
34860         [!__ASSUME_32BITUIDS]: Remove conditional code.
34861         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
34862         <kernel-features.h>.
34863         [__ASSUME_32BITUIDS]: Make code unconditional.
34864         [!__ASSUME_32BITUIDS]: Remove conditional code.
34865         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
34866         <kernel-features.h>.
34867         [__ASSUME_32BITUIDS]: Make code unconditional.
34868         [!__ASSUME_32BITUIDS]: Remove conditional code.
34869         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
34870         <kernel-features.h>.
34871         [__ASSUME_32BITUIDS]: Make code unconditional.
34872         [!__ASSUME_32BITUIDS]: Remove conditional code.
34873         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
34874         <kernel-features.h>.
34875         [__ASSUME_32BITUIDS]: Make code unconditional.
34876         [!__ASSUME_32BITUIDS]: Remove conditional code.
34877         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
34878         <kernel-features.h>.
34879         [__ASSUME_32BITUIDS]: Make code unconditional.
34880         [!__ASSUME_32BITUIDS]: Remove conditional code.
34881         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
34882         <kernel-features.h>.
34883         [__ASSUME_32BITUIDS]: Make code unconditional.
34884         [!__ASSUME_32BITUIDS]: Remove conditional code.
34885         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
34886         <kernel-features.h>.
34887         [__ASSUME_32BITUIDS]: Make code unconditional.
34888         [!__ASSUME_32BITUIDS]: Remove conditional code.
34889         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
34890         <kernel-features.h>.
34891         [__ASSUME_32BITUIDS]: Make code unconditional.
34892         [!__ASSUME_32BITUIDS]: Remove conditional code.
34893         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34894         <kernel-features.h>.
34895         [__ASSUME_32BITUIDS]: Make code unconditional.
34896         [!__ASSUME_32BITUIDS]: Remove conditional code.
34897         * sysdeps/unix/sysv/linux/kernel-features.h
34898         (__ASSUME_SETRESUID_SYSCALL): Remove.
34899         (__ASSUME_SETRESGID_SYSCALL): Likewise.
34900         (__ASSUME_32BITUIDS): Likewise.
34901         (__ASSUME_LDT_WORKS): Likewise.
34902         (__ASSUME_O_DIRECTORY): Likewise.
34903         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34904         architecture but not kernel version.
34905         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34906         (__ASSUME_MMAP2_SYSCALL): Likewise.
34907         (__ASSUME_STAT64_SYSCALL): Likewise.
34908         (__ASSUME_IPC64): Likewise.
34909         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34910         <kernel-features.h>.
34911         [__ASSUME_32BITUIDS]: Make code unconditional.
34912         [!__ASSUME_32BITUIDS]: Remove conditional code.
34913         * sysdeps/unix/sysv/linux/opendir.c: Do not include
34914         <kernel-features.h>.
34915         [__ASSUME_O_DIRECTORY]: Make code unconditional.
34916         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34917         132096]: Remove conditional code.
34918         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34919         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34920         <kernel-features.h>.
34921         [__ASSUME_32BITUIDS]: Make code unconditional.
34922         [!__ASSUME_32BITUIDS]: Remove conditional code.
34923         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34924         <kernel-features.h>.
34925         [__ASSUME_32BITUIDS]: Make code unconditional.
34926         [!__ASSUME_32BITUIDS]: Remove conditional code.
34927         * sysdeps/unix/sysv/linux/setegid.c: Do not include
34928         <kernel-features.h>.
34929         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34930         unconditional.
34931         (__setresgid): Do not declare.
34932         [__ASSUME_32BITUIDS]: Make code unconditional.
34933         [!__ASSUME_32BITUIDS]: Remove conditional code.
34934         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34935         <kernel-features.h>.
34936         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34937         unconditional.
34938         (__setresuid): Do not declare.
34939         [__ASSUME_32BITUIDS]: Make code unconditional.
34940         [!__ASSUME_32BITUIDS]: Remove conditional code.
34941         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34942         <kernel-features.h>.
34943         [__ASSUME_32BITUIDS]: Make code unconditional.
34944         [!__ASSUME_32BITUIDS]: Remove conditional code.
34945         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34946         <kernel-features.h>.
34947         [__ASSUME_32BITUIDS]: Make code unconditional.
34948         [!__ASSUME_32BITUIDS]: Remove conditional code.
34949
34950 2012-05-25  Richard Henderson  <rth@twiddle.net>
34951
34952         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34953         dl_hwcap to ifunc resolver.
34954         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34955         elf_ifunc_invoke.
34956         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34957         dl_hwcap to ifunc resolver.
34958         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34959
34960 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34961
34962         [BZ #14153]
34963         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34964         for |x| <= 2**-26, not 2**-57.
34965         * math/libm-test.inc (acos_test): Do not allow spurious underflow
34966         exception.
34967
34968 2012-05-24  Jeff Law  <law@redhat.com>
34969
34970         * stdio-common/Makefile (tests): Add bug25.
34971         * stdio-common/bug25.c: New test.
34972
34973 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
34974
34975         [BZ #13576]
34976         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34977         multiple of MALLOC_ALIGNMENT in size.
34978         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34979
34980 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34981
34982         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34983         Require >= 256.
34984         (FILENAME_MAX): Use macro-int-constant.
34985         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
34986         (_IOFBF): Use macro-int-constant.
34987         (_IOLBF): Likewise.
34988         (_IONBF): Likewise.
34989         (SEEK_CUR): Likewise.
34990         (SEEK_END): Likewise.
34991         (SEEK_SET): Likewise.
34992         (TMP_MAX): Likewise.
34993         (EOF): Use macro-int-constant.  Require < 0.
34994         (NULL): Use macro-constant.  Require == 0.
34995         (stdin): Require type to be FILE *.
34996         (stdout): Likewise.
34997         (stderr): Likewise.
34998         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34999         macro-int-constant.
35000         (EXIT_SUCCESS): Likewise.
35001         (NULL): Use macro-constant.  Require == 0.
35002         (RAND_MAX): Use macro-int-constant.
35003         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
35004         [C99-based standards] (strtof): Require function.
35005         [C99-based standards] (strtold): Likewise.
35006         [C99-based standards] (strtoll): Likewise.
35007         [C99-based standards] (strtoull): Likewise.
35008         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35009         [ISO || ISO99 || ISO11] (limits.h): Likewise.
35010         [ISO || ISO99 || ISO11] (math.h): Likewise.
35011         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
35012         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35013         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35014
35015 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
35016
35017         [BZ #14132]
35018         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
35019         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
35020         * intl/dgettext.c (DCGETTEXT): Likewise.
35021         * intl/gettext.c (DCGETTEXT): Likewise.
35022         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
35023         * posix/regex_internal.h (gettext): Likewise.
35024         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
35025         Remove declaration.
35026         * include/argz.h (__argz_count_internal)
35027         (__argz_stringify_internal): Remove declaration.
35028         (__argz_count, __argz_stringify): Declare hidden proto.
35029         * intl/dcgettext.c: Remove use of INTDEF.
35030         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
35031         * string/argz-stringify.c: Likewise.
35032         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35033         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35034         Declare hidden proto.
35035         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35036         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35037         Declare hidden proto.
35038         * include/stdio.h (__asprintf_internal): Don't declare.
35039         (__asprintf): Don't define as macro.  Declare hidden proto.
35040         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
35041         (__fsetlocking): Declare hidden proto.
35042         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
35043         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
35044         hidden proto.
35045         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
35046         (_IO_setlinebuf): Remove use of INTUSE.
35047         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
35048         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
35049         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
35050         Remove declaration.
35051         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
35052         (_IO_do_flush): Remove use of INTUSE.
35053         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
35054         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
35055         (_IO_adjust_column, _IO_least_wmarker)
35056         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
35057         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
35058         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
35059         (_IO_default_doallocate, _IO_wdefault_doallocate)
35060         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
35061         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
35062         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
35063         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
35064         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
35065         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
35066         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
35067         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
35068         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
35069         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
35070         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
35071         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
35072         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
35073         proto.
35074         (_IO_flush_all_internal, _IO_adjust_column_internal)
35075         (_IO_default_uflow_internal, _IO_default_finish_internal)
35076         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
35077         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
35078         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
35079         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
35080         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
35081         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
35082         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
35083         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
35084         (_IO_file_close_internal, _IO_file_close_it_internal)
35085         (_IO_file_underflow_internal, _IO_file_overflow_internal)
35086         (_IO_file_init_internal, _IO_file_attach_internal)
35087         (_IO_file_fopen_internal, _IO_file_read_internal)
35088         (_IO_file_sync_internal, _IO_file_seek_internal)
35089         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
35090         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
35091         (_IO_str_underflow_internal, _IO_str_overflow_internal)
35092         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
35093         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
35094         (_IO_list_all_internal, _IO_link_in_internal)
35095         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
35096         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
35097         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
35098         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
35099         (_IO_do_write_internal, _IO_padn_internal)
35100         (_IO_getline_info_internal, _IO_getline_internal)
35101         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
35102         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
35103         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
35104         (_IO_vfscanf_internal, _IO_vfprintf_internal)
35105         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
35106         (_IO_init_internal, _IO_un_link_internal): Don't declare.
35107         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
35108         with libc_hidden_ver, remove use of INTUSE.
35109         * libio/genops.c: Likewise.
35110         * libio/freopen.c: Likewise.
35111         * libio/freopen64.c: Likewise.
35112         * libio/iofclose.c: Likewise.
35113         * libio/iofdopen.c: Likewise.
35114         * libio/iofflush.c: Likewise.
35115         * libio/iofflush_u.c: Likewise.
35116         * libio/iofgets.c: Likewise.
35117         * libio/iofgets_u.c: Likewise.
35118         * libio/iofopen.c: Likewise.
35119         * libio/iofopncook.c: Likewise.
35120         * libio/iofread.c: Likewise.
35121         * libio/iofread_u.c: Likewise.
35122         * libio/ioftell.c: Likewise.
35123         * libio/iofwrite.c: Likewise.
35124         * libio/iogetline.c: Likewise.
35125         * libio/iogets.c: Likewise.
35126         * libio/iogetwline.c: Likewise.
35127         * libio/iopadn.c: Likewise.
35128         * libio/iopopen.c: Likewise.
35129         * libio/ioseekoff.c: Likewise.
35130         * libio/ioseekpos.c: Likewise.
35131         * libio/iosetbuffer.c: Likewise.
35132         * libio/iosetvbuf.c: Likewise.
35133         * libio/ioungetc.c: Likewise.
35134         * libio/ioungetwc.c: Likewise.
35135         * libio/iovdprintf.c: Likewise.
35136         * libio/iovsprintf.c: Likewise.
35137         * libio/iovsscanf.c: Likewise.
35138         * libio/memstream.c: Likewise.
35139         * libio/obprintf.c: Likewise.
35140         * libio/oldfileops.c: Likewise.
35141         * libio/oldiofclose.c: Likewise.
35142         * libio/oldiofdopen.c: Likewise.
35143         * libio/oldiofopen.c: Likewise.
35144         * libio/oldiopopen.c: Likewise.
35145         * libio/oldstdfiles.c: Likewise.
35146         * libio/putc.c: Likewise.
35147         * libio/setbuf.c: Likewise.
35148         * libio/setlinebuf.c: Likewise.
35149         * libio/stdfiles.c: Likewise.
35150         * libio/strops.c: Likewise.
35151         * libio/vasprintf.c: Likewise.
35152         * libio/vscanf.c: Likewise.
35153         * libio/vsnprintf.c: Likewise.
35154         * libio/vswprintf.c: Likewise.
35155         * libio/wfiledoalloc.c: Likewise.
35156         * libio/wfileops.c: Likewise.
35157         * libio/wgenops.c: Likewise.
35158         * libio/wmemstream.c: Likewise.
35159         * libio/wstrops.c: Likewise.
35160         * libio/__fpurge.c: Likewise.
35161         * libio/__fsetlocking.c: Likewise.
35162         * assert/assert.c: Likewise.
35163         * debug/fgets_chk.c: Likewise.
35164         * debug/fgets_u_chk.c: Likewise.
35165         * debug/fread_chk.c: Likewise.
35166         * debug/fread_u_chk.c: Likewise.
35167         * debug/gets_chk.c: Likewise.
35168         * debug/obprintf_chk.c: Likewise.
35169         * debug/vasprintf_chk.c: Likewise.
35170         * debug/vdprintf_chk.c: Likewise.
35171         * debug/vsnprintf_chk.c: Likewise.
35172         * debug/vsprintf_chk.c: Likewise.
35173         * malloc/mtrace.c: Likewise.
35174         * misc/error.c: Likewise.
35175         * misc/syslog.c: Likewise.
35176         * stdio-common/asprintf.c: Likewise.
35177         * stdio-common/fxprintf.c: Likewise.
35178         * stdio-common/getw.c: Likewise.
35179         * stdio-common/isoc99_fscanf.c: Likewise.
35180         * stdio-common/isoc99_scanf.c: Likewise.
35181         * stdio-common/isoc99_vfscanf.c: Likewise.
35182         * stdio-common/isoc99_vscanf.c: Likewise.
35183         * stdio-common/isoc99_vsscanf.c: Likewise.
35184         * stdio-common/printf-prs.c: Likewise.
35185         * stdio-common/printf_fp.c: Likewise.
35186         * stdio-common/printf_fphex.c: Likewise.
35187         * stdio-common/printf_size.c: Likewise.
35188         * stdio-common/putw.c: Likewise.
35189         * stdio-common/scanf.c: Likewise.
35190         * stdio-common/sprintf.c: Likewise.
35191         * stdio-common/tmpfile.c: Likewise.
35192         * stdio-common/vfprintf.c: Likewise.
35193         * stdio-common/vfscanf.c: Likewise.
35194         * stdlib/strfmon_l.c: Likewise.
35195         * sunrpc/openchild.c: Likewise.
35196         * sunrpc/xdr_stdio.c: Likewise.
35197         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
35198         * sysdeps/mach/hurd/tmpfile.c: Likewise.
35199
35200 2012-05-24  Roland McGrath  <roland@hack.frob.com>
35201
35202         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35203
35204         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
35205         in the third column, to generate for the shared library an IFUNC
35206         that uses _dl_vdso_vsym.
35207         * Makerules (COMPILE.c, compile-stdin.c): New variables.
35208         * Makeconfig (object-suffixes-noshared): New variable.
35209
35210         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
35211         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
35212         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
35213         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
35214
35215         [BZ #14132]
35216         * include/sys/time.h (__gettimeofday): Remove macro.
35217         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
35218         * time/gettimeofday.c (__gettimeofday): Remove #undef.
35219         Remove INTDEF.
35220         (__gettimeofday): Add libc_hidden_def.
35221         (gettimeofday): Add libc_hidden_weak.
35222         * sysdeps/mach/gettimeofday.c: Likewise.
35223         * sysdeps/posix/gettimeofday.c: Likewise.
35224         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
35225         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
35226         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
35227         (__gettimeofday_internal): Remove strong_alias.
35228         (__gettimeofday): Add libc_hidden_def.
35229         (gettimeofday): Add libc_hidden_weak.
35230         * sysdeps/unix/syscalls.list (gettimeofday):
35231         Remove __gettimeofday_internal alias.
35232
35233 2012-05-24  Daniel Jacobowitz  <drow@false.org>
35234             H.J. Lu  <hongjiu.lu@intel.com>
35235
35236         [BZ #12495]
35237         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
35238         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
35239         (largebin_index_32_big): New.
35240         (largebin_index): Use it for 16-byte alignment.
35241         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
35242         correction with front_misalign.
35243
35244 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
35245
35246         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
35247         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
35248         Likewise.
35249         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
35250         Likewise.
35251         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
35252         Likewise.
35253         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
35254         Likewise.
35255         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
35256         Likewise.
35257         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
35258         Likewise.
35259         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
35260         Likewise.
35261         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
35262         Likewise.
35263         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
35264         Likewise.
35265         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
35266         Likewise.
35267         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
35268         Likewise.
35269         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
35270         Likewise.
35271
35272         * scripts/data/c++-types-x32-linux-gnu.data: New file.
35273         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
35274
35275 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
35276
35277         [BZ #10846]
35278         [BZ #14036]
35279         * math/libm-test.inc (exp_test): Add test from bug 14036.
35280         (pow_test): Add test from bug 10846.
35281
35282         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
35283         and other flags.
35284         (special_function): Do not include flags in test name.
35285         (parse_args): Likewise.
35286         * sysdeps/i386/fpu/libm-test-ulps: Update.
35287         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35288         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35289         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35291
35292         * math/gen-libm-test.pl (%beautify): Add entries for underflow
35293         exceptions.
35294         * math/libm-test.inc ("Philosophy"): Update comment about
35295         exception testing.
35296         (UNDERFLOW_EXCEPTION): New macro.
35297         (UNDERFLOW_EXCEPTION_OK): Likewise.
35298         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
35299         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
35300         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
35301         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
35302         (INVALID_EXCEPTION_OK): Update value.
35303         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35304         (OVERFLOW_EXCEPTION_OK): Likewise.
35305         (IGNORE_ZERO_INF_SIGN): Likewise.
35306         (test_exceptions): Handle underflow exceptions.
35307         (acos_test): Update for underflow exception expectations.
35308         (cexp_test): Likewise.
35309         (clog_test): Likewise.
35310         (clog10_test): Likewise.
35311         (csqrt_test): Likewise.
35312         (ctan_test): Likewise.
35313         (ctanh_test): Likewise.
35314         (exp_test): Likewise.
35315         (exp10_test): Likewise.
35316         (exp2_test): Likewise.
35317         (expm1_test): Likewise.
35318         (fma_test): Likewise.
35319         (j0_test): Likewise.
35320         (jn_test): Likewise.
35321         (nexttoward_test): Likewise.
35322         (pow_test): Likewise.
35323         (scalbn_test): Likewise.
35324         (scalbln_test): Likewise.
35325         (tan_test): Likewise.
35326         (y1_test): Likewise.
35327         * sysdeps/i386/fpu/libm-test-ulps: Update.
35328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35329
35330 2012-05-23  David S. Miller  <davem@davemloft.net>
35331
35332         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35333         (__libc_sigaction): Remove unused local variables.
35334
35335 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35336
35337         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
35338
35339 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
35340
35341         mktime: avoid signed integer overflow
35342         * time/mktime.c (__mktime_internal): Do not mishandle the case
35343         where diff == INT_MIN.
35344
35345         mktime: simplify computation of average
35346         * time/mktime.c (ranged_convert): Use new time_t_avg function
35347         instead of rolling our own (probably-slower) code.
35348
35349         mktime: do not assume signed right shift propagates sign bit
35350         * time/mktime.c (isdst_differ): New static function.
35351         (__mktime_internal): No need to normalize tm_isdst now.
35352         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
35353         tm_isdst values.
35354
35355         mktime: merge another wrapv change from gnulib
35356         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
35357         from some compilers.
35358
35359         mktime: remove incorrect attempt at unusual arithmetics
35360         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
35361         The code didn't really work on such machines anyway.
35362         (TYPE_MINIMUM): Assume two's complement.
35363         (twos_complement_arithmetic): Verify that long_int and time_t
35364         are two's complement (or unsigned, in the latter case).
35365
35366         mktime: check signed shifts on long_int and time_t, too
35367         * time/mktime.c (SHR): Check that shifts work as desired
35368         on the types long_int and time_t too, as SHR is used on
35369         such types.
35370
35371         mktime: do not assume 'long' is wide enough
35372         * time/mktime.c (verify): Move decl up.
35373         (long_int): New type.
35374         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
35375         to remove assumption in the code that 'long' is wide enough to
35376         store year values.  This assumption is not true on x32 and on
35377         some non-glibc platforms.
35378
35379         mktime: merge wrapv change from gnulib
35380         * time/mktime.c (WRAPV): New macro.
35381         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
35382         (guess_time_tm, __mktime_internal): Do not assume that signed
35383         integer overflow wraps around; modern compilers generate code
35384         where this assumption is no longer valid.
35385
35386 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35387
35388         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35389         Replace "jmp L(pseudo_end)" with "ret".
35390         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
35391         Likewise.
35392
35393 2012-05-23  Andreas Jaeger  <aj@suse.de>
35394
35395         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
35396         * sysdeps/unix/sysv/linux/poll.c: Remove file.
35397
35398 2012-05-23  Andreas Jaeger  <aj@suse.de>
35399             Maximilian Attems  <max@stro.at>
35400
35401         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
35402         New macros.
35403
35404 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35405
35406         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
35407         code so that pseudo_end is just ret and the stack pointer is
35408         correct also for static library in error case.
35409
35410 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
35411
35412         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
35413         move to syscalls.list.
35414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35418
35419         * manual/install.texi (Running make install): Do not mention Linux
35420         kernel version for which pt_chown is not needed.
35421         (Linux): Do not mention problems with nscd with 2.0 kernels.
35422         * INSTALL: Regenerated.
35423
35424 2012-05-23  Andreas Jaeger  <aj@suse.de>
35425
35426         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
35427         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
35428         macro.
35429         * sysdeps/unix/sysv/linux/s390/bits/mman.h
35430         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35431         * sysdeps/unix/sysv/linux/sh/bits/mman.h
35432         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35433         * sysdeps/unix/sysv/linux/i386/bits/mman.h
35434         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35435         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
35436         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35437         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
35438         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35439         * sysdeps/unix/sysv/linux/bits/in.h
35440         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
35441
35442 2012-05-22  Roland McGrath  <roland@hack.frob.com>
35443
35444         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
35445         (PREPARE_VERSION): Just use assert instead, it will be elided
35446         under [NDEBUG] anyway.
35447
35448 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35449
35450         * sysdeps/unix/sysv/linux/Makefile: Include
35451         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
35452         (sysdep_routines): Remove sysctl.
35453         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
35454         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
35455         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
35456         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
35457         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
35458
35459 2012-05-22  Andreas Jaeger  <aj@suse.de>
35460
35461         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
35462         that pseudo_end is just ret and the stack pointer is correct also
35463         for static library in error case.
35464
35465 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
35466
35467         [BZ #14122]
35468         * nss/nsswitch.c (defconfig_entries): New variable.
35469         (__nss_database_lookup): Don't leak defconfig entries.
35470         (nss_parse_service_list): Don't leak on error paths.
35471         (free_database_entries): New function.
35472         (free_defconfig): New function.
35473         (free_mem): Move common code to free_database_entries.
35474
35475 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35476
35477         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
35478         Add arch_prctl.
35479         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
35480
35481         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35482         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
35483         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
35484         New macro.
35485         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
35486         (INTERNAL_SYSCALL_TYPES): Likewise.
35487         (LOAD_ARGS_TYPES_[1-6]): Likewise.
35488         (LOAD_REGS_TYPES_[1-6]): Likewise.
35489         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
35490         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
35491
35492 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35493
35494         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
35495         copysignl for GLIBC_2_0.
35496         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
35497         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
35498         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
35499         logbl for GLIBC_2_0.
35500         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35501         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35502
35503 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35504
35505         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
35506         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35507
35508         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35509         Use "neg %eax".
35510
35511         * time/mktime.c: Update copyright years.
35512
35513 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
35514
35515         mktime: merge comment-quoting-style change from gnulib
35516         * time/mktime.c: Quote 'like this' in comments.
35517         The GNU coding standards suggest that we no longer quote `like this',
35518         as "`" and "'" are typically rendered asymmetrically nowadays.
35519         The typical gnulib style is to quote 'like this' when quoting
35520         code, and "like this" when quoting English.
35521
35522         * time/mktime.c (compile-command): Add "-I.".
35523
35524         mktime: merge mktime-internal.h change from gnulib
35525         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
35526
35527         mktime: merge time_r change from gnulib
35528         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
35529
35530         mktime: merge DEBUG change from gnulib
35531         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
35532         case system <time.h> has a #define.
35533
35534         mktime: merge <sys/types.h> change from gnulib
35535         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
35536         since <time.t> is now guaranteed to define time_t.
35537
35538         mktime: merge HAVE_CONFIG_H change from gnulib
35539         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
35540
35541 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35542
35543         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35544         Use "neg %eax".
35545
35546         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
35547         __rlim_t cast.
35548         (struct rusage): Use anonymous union to pad each field to
35549         __syscall_slong_t.
35550
35551 2012-05-21  David S. Miller  <davem@davemloft.net>
35552
35553         * Makefules (o-iterator): Remove .s cases.
35554         (compile-command.s): Delete.
35555         (COMPILE.s): Delete.
35556         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
35557
35558 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
35559
35560         * configure.in (libc_cv_predef_stack_protector): Only consider
35561         "foobar" and "__stack_chk_fail" lines in libc_undefs.
35562         * configure: Regenerated.
35563
35564 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35565
35566         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35567         New macro.  Use R*LP on int and pointer.
35568         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
35569         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
35570         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
35571         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
35572
35573         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
35574         [__WORDSIZE_TIME64_COMPAT32] instead of
35575         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
35576         (struct utmp): Likewise.
35577         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
35578         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
35579         Renamed to ...
35580         (__WORDSIZE_TIME64_COMPAT32): This.
35581         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
35582         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
35583         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
35584         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
35585         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
35586         (__WORDSIZE_TIME64_COMPAT32): New macro.
35587
35588 2012-05-21  Andreas Jaeger  <aj@suse.de>
35589
35590         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
35591         only if [SHARED]. Add prototype for __wcschr_ia32.
35592
35593 2012-05-21  Roland McGrath  <roland@hack.frob.com>
35594
35595         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
35596         of %rbp unmolested in the jmp_buf while mangling the low bits.
35597         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
35598         unmolested high bits of %rbp while demangling the low bits.
35599         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35600
35601 2012-05-21  Andreas Jaeger  <aj@suse.de>
35602
35603         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
35604         * sunrpc/svc_simple.c: Use it for registerrpc.
35605         * sunrpc/xcrypt.c: Use it for passwd2des.
35606
35607         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
35608
35609 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35610
35611         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
35612         Don't define if [__SYSCALL_WORDSIZE != 32].
35613         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
35614         New macro.
35615
35616 2012-05-21  Bruno Haible  <bruno@clisp.org>
35617             Andreas Jaeger  <aj@suse.de>
35618
35619         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
35620         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
35621         inptr and inend for must_buffer_ch.
35622         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
35623         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
35624         * stdio-common/Makefile (tests): Remove bug15.
35625         (bug15-ENV): Remove macro.
35626         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
35627         anymore.
35628
35629 2012-05-19  Andreas Jaeger  <aj@suse.de>
35630             Roland McGrath  <roland@hack.frob.com>
35631
35632         * manual/contrib.texi: Completely rewritten. It contains now an
35633         alphabetical list of contributors and their contributions.
35634
35635 2012-05-21  Richard Henderson  <rth@twiddle.net>
35636
35637         * misc/getauxval.c (__getauxval): Use unsigned long int.
35638         * misc/sys/auxv.h: Include <sys/cdefs.h>.
35639         (getauxval): Use unsigned long int.
35640
35641 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35642
35643         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35644
35645 2012-05-21  Roland McGrath  <roland@hack.frob.com>
35646
35647         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
35648         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
35649         __alignof__ (long double).
35650
35651 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35652
35653         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35654
35655 2012-05-20  Richard Henderson  <rth@twiddle.net>
35656
35657         * misc/getauxval.c: New file.
35658         * misc/sys/auxv.h: New file.
35659         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
35660         (routines): Add getauxval.
35661         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
35662         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
35663         * elf/dl-sysdep.c (_dl_auxv): Remove.
35664         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
35665         * elf/dl-support.c (_dl_auxv): New variable.
35666         (_dl_aux_init): Initialize it.
35667         * manual/startup.texi (Auxiliary Vector): New node.
35668         * sysdeps/generic/bits/hwcap.h: New file.
35669         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
35670         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
35671         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
35672         * sysdeps/sparc/sysdep.h: ... here.  Include it.
35673         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
35674         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
35675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35676         Update.
35677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
35678         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
35679         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
35680         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
35681         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35682         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35683         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
35684         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
35685
35686 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35687
35688         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35689
35690 2012-05-19  David S. Miller  <davem@davemloft.net>
35691
35692         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35693
35694 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
35695
35696         [BZ #14123]
35697         * math/s_ccosh.c: Include <float.h>
35698         (__ccosh): Avoid internal overflow calculating sinh and cosh
35699         values before multiplying by sin and cos values.
35700         * math/s_ccoshf.c: Likewise.
35701         * math/s_ccoshl.c: Likewise.
35702         * math/s_csin.c: Likewise.
35703         * math/s_csinf.c: Likewise.
35704         * math/s_csinl.c: Likewise.
35705         * math/s_csinh.c: Likewise.
35706         * math/s_csinhf.c: Likewise.
35707         * math/s_csinhl.c: Likewise.
35708         * math/libm-test.inc (ccos_test): Add more tests.
35709         (ccosh_test): Likewise.
35710         (csin_test): Likewise.
35711         (csinh_test): Likewise.
35712         * sysdeps/i386/fpu/libm-test-ulps: Update.
35713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35714
35715 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
35716
35717         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
35718         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
35719
35720         * sysdeps/x86_64/x32/_itoa.h: Add comment.
35721
35722 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
35723
35724         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
35725         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
35726         * sysdeps/powerpc/soft-fp/Versions: Likewise.
35727         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
35728         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
35729         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
35730         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
35731         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
35732         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
35733         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
35734         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
35735         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35736         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35737         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35738         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35739         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35740         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35741         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35742         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35743         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35744         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35745         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35746         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35747         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35748         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35749         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35750         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35751         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35752         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35753         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35754         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35755
35756 2012-05-18  Andreas Jaeger  <aj@suse.de>
35757
35758         * csu/.gitignore: Delete.
35759
35760 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35761
35762         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35763         (timex): Use __syscall_slong_t.
35764
35765 2012-05-18  Andreas Jaeger  <aj@suse.de>
35766             Carlos O'Donell  <carlos_odonell@mentor.com>
35767
35768         * manual/install.texi (Configuring and compiling): Update
35769         description about files modified in the source directory.
35770         * INSTALL: Regenerated.
35771
35772 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35773
35774         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35775         value.  Use "or" to set return value to -1.
35776         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35777         negate return value.
35778
35779 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35780
35781         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35782         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
35783         failure if the compiler has Graphite support disabled.
35784         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35785         Likewise.
35786         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35787         (CFLAGS-memmove.c): Likewise.
35788         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35789         Likewise.
35790
35791 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35792
35793         * sysdeps/x86_64/x32/_itoa.h: New file.
35794
35795         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35796         getdents system call only if kernel and user dirents have the
35797         same d_ino and d_off.
35798
35799         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35800         LLONG_MAX != LONG_MAX.
35801         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35802         (_fitoa_word): Likewise.
35803
35804         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35805         years.
35806         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35807         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35808         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35809
35810         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35811         include <bits/wordsize.h>.  Check __x86_64__ instead of
35812         __WORDSIZE.
35813         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
35814         if __x86_64__ is defined.  Use anonymous union on fpstate.
35815
35816         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35817         anonymous union.
35818
35819 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
35820
35821         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35822         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35823         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35824         Refer to _rtld_local_ro instead of _rtld_global_ro.
35825         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35826         Likewise.
35827         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35828         Likewise.
35829         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35830         Likewise.
35831         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35832         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35833         of _rtld_global, and rtld_progname instead of _dl_argv[0].
35834
35835         * sysdeps/powerpc/powerpc32/dl-machine.c
35836         (__elf_machine_runtime_setup) [PROF]: Don't reference
35837         _dl_prof_resolve.
35838
35839 2012-05-18  Andreas Jaeger  <aj@suse.de>
35840
35841         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35842         function only available for GCCs before 3.4 since GCC 3.4
35843         introduced a builtin.
35844         (lrint): Likewise.
35845         (llrintf): Likewise.
35846         (llrint): Likewise.
35847         (fmaxf): Likewise.
35848         (fmax): Likewise.
35849         (fminf): Likewise.
35850         (fmin): Likewise.
35851         (rint): Likewise.
35852         (rintf): Likewise.
35853         (nearbyint): Likewise.
35854         (nearbyintf): Likewise.
35855         (ceil): Likewise.
35856         (ceilf): Likewise.
35857         (floor): Likewise.
35858         (floorf): Likewise.
35859
35860 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35861
35862         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35863         on both fields and cast pointer to __syscall_ulong_t.
35864
35865         * bits/types.h (__fsword_t): New type.
35866         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35867         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35868         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35869         (__FSWORD_T_TYPE): Likewise.
35870         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35871         (__FSWORD_T_TYPE): Likewise.
35872         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35873         (__FSWORD_T_TYPE): Likewise.
35874         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35875         (__FSWORD_T_TYPE): Likewise.
35876         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35877         __SWORD_TYPE with __fsword_t.
35878         (statfs64): Likewise.
35879
35880 2012-05-17  David S. Miller  <davem@davemloft.net>
35881
35882         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35883
35884 2012-05-17  Andreas Jaeger  <aj@suse.de>
35885
35886         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35887         warning.
35888
35889 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35890
35891         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35892
35893 2012-05-17  Andreas Jaeger  <aj@suse.de>
35894
35895         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35896         when it is used.
35897
35898 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
35899
35900         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35901
35902 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35903
35904         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35905         * sysdeps/x86_64/tst-mallocalign1.c: New file.
35906
35907 2012-05-17  Andreas Jaeger  <aj@suse.de>
35908             Carlos O'Donell  <carlos_odonell@mentor.com>
35909
35910         [BZ #14059]
35911         * sysdeps/x86_64/multiarch/init-arch.h
35912         (bit_YMM_Usable): Rename to...
35913         (bit_AVX_Usable): ... this.
35914         (bit_FMA4_Usable): New macro.
35915         (bit_XMM_state): New macro.
35916         (bit_YMM_state): New macro.
35917         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35918         [__ASSEMBLER__] (index_AVX_Usable): ... this.
35919         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35920         (CPUID_OSXSAVE): New macro.
35921         (CPUID_AVX): New macro.
35922         (CPUID_FMA4): New macro.
35923         (index_YMM_Usable): Rename to...
35924         (index_AVX_Usable): ... this.
35925         (HAS_AVX): Use HAS_ARCH_FEATURE.
35926         (HAS_FMA4): Likewise.
35927         (HAS_YMM_USABLE): Remove.
35928         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35929         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35930         are present.
35931         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35932         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35933         * sysdeps/x86_64/multiarch/Makefile: Likewise.
35934         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35935         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35936
35937 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
35938
35939         * math/libm-test.c: Support platforms without multiple rounding modes.
35940         * math/bug-nextafter.c: Support platforms without FP exceptions.
35941         * math/bug-nexttoward.c: Likewise.
35942         * math/test-fenv.c: Likewise.
35943         * math/test-misc.c: Likewise.
35944         * stdlib/bug-getcontext.c: Likewise.
35945
35946 2012-05-17  Andreas Jaeger  <aj@suse.de>
35947
35948         * manual/examples/search.c (critter_cmp): Change signature to
35949         avoid warnings.
35950         * manual/string.texi (Collation Functions): Likewise.
35951
35952 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35953
35954         * bits/types.h: Fold copyright years.
35955         * bits/typesizes.h: Likewise.
35956         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35957         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35958         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35959         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35960         * time/time.h: Likewise.
35961
35962 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
35963
35964         [BZ #208]
35965         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35966         in instead of returning them.  Return void.
35967         (__libc_mallinfo): Accumulate over all arenas.
35968         (__malloc_stats): Adjust for change in int_mallinfo interface.
35969
35970 2012-05-16  Roland McGrath  <roland@hack.frob.com>
35971
35972         [BZ #10375]
35973         * configure.in (NM): Add AC_CHECK_TOOL for it.
35974         (libc_extra_cflags): New substituted variable.
35975         Check for -fstack-protector being used implicitly.
35976         * configure: Regenerated.
35977         * config.make.in (config-extra-cflags): New variable,
35978         gets @libc_extra_cflags@.
35979         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35980
35981         [BZ #10375]
35982         * configure.in: Check for _FORTIFY_SOURCE being predefined.
35983         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35984         * configure: Regenerated.
35985         * config.make.in (CPPUNDEFS): New substituted variable.
35986         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35987         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35988         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35989
35990 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35991
35992         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35993         (mq_attr): Use __syscall_slong_t.
35994
35995 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35996
35997         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35998         Check __x86_64__ instead of __WORDSIZE.
35999         (_STAT_VER_LINUX): Likewise.
36000         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
36001         __syscall_ulong_t and __syscall_slong_t.
36002         (stat64): Likewise.
36003
36004 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36005
36006         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
36007
36008 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36009
36010         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
36011
36012 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36013
36014         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
36015         __syscall_ulong_t.
36016
36017         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
36018         include <bits/wordsize.h>.  Check __x86_64__ instead of
36019         __WORDSIZE.
36020         (greg_t): Use "__extension__ long long int" if __x86_64__ is
36021         defined.
36022         (mcontext_t): Replace "unsigned long" with "unsigned long long".
36023
36024         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
36025         include <bits/wordsize.h>.  Check __x86_64__ instead of
36026         __WORDSIZE.
36027         (user_regs_struct): Use "__extension__ unsigned long long"
36028         instead of "unsigned long" if __x86_64__ is defined.
36029         (user): Likewise.  Pad after pointer field if __ILP32__ is
36030         defined.
36031
36032 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
36033
36034         * configure.in (makeinfo): Require version 4.5 or later.  Allow
36035         versions 5 to 9.
36036         * configure: Regenerated.
36037         * manual/install.texi (texinfo): Increase version requirement to
36038         4.5 or later.
36039         * INSTALL: Regenerated.
36040
36041         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
36042
36043 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36044
36045         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
36046
36047         * sysdeps/x86_64/x32/ffs.c: New file.
36048
36049         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
36050         __syscall_ulong_t.
36051         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
36052         defined.  Use __syscall_ulong_t.
36053         (shminfo): Use __syscall_ulong_t.
36054         (shm_info): Likewise.
36055
36056         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
36057         __syscall_ulong_t.
36058
36059         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
36060         <bits/wordsize.h>.
36061         (msgqnum_t): Use __syscall_ulong_t.
36062         (msglen_t): Likewise.
36063         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
36064         __syscall_ulong_t.
36065
36066         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
36067         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
36068
36069         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
36070
36071         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
36072         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
36073
36074         * sysvipc/sys/msg.h (msgbuf): Replace long int with
36075         __syscall_slong_t.
36076
36077         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
36078         include <bits/wordsize.h>.  Check __x86_64__ instead of
36079         __WORDSIZE.
36080
36081         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
36082         "unsigned long long int" if __x86_64__ is defined.
36083         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
36084
36085         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
36086         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
36087         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
36088
36089         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
36090         <stdint.h>.
36091         (GET_PC): Cast to uintptr_t first.
36092         (GET_FRAME): Likewise.
36093         (GET_STACK): Likewise.
36094
36095         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
36096         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
36097         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
36098         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
36099         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
36100         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
36101         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
36102         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
36103         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
36104         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
36105         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
36106         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
36107         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36108         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
36109         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
36110         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
36111         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
36112         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
36113         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
36114         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
36115         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
36116         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
36117         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
36118         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
36119         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
36120         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
36121         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
36122         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
36123         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
36124
36125 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
36126
36127         * Makerules (+depfiles): Also collect depfiles from .oS in
36128         $(extra-objs).
36129         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
36130         .oS, $(libnldbl-routines)).
36131
36132         * Makerules (native-compile-mkdep-flags): Define.
36133         * sunrpc/Makefile (extra-objs): Add $(addprefix
36134         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
36135         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
36136         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
36137         calling $(make-target-directory).
36138
36139 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36140
36141         * bits/types.h (__snseconds_t): Removed.
36142         * time/time.h (struct timespec): Replace __snseconds_t with
36143         __syscall_slong_t.
36144         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
36145         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
36146         Likewise.
36147         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36148         (__SNSECONDS_T_TYPE): Likewise.
36149         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36150         (__SNSECONDS_T_TYPE): Likewise.
36151         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36152         (__SNSECONDS_T_TYPE): Likewise.
36153
36154 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36155
36156         * sysdeps/mach/hurd/bits/typesizes.h
36157         (__SYSCALL_SLONG_TYPE): New macro.
36158         (__SYSCALL_ULONG_TYPE): Likewise.
36159
36160 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36161
36162         * bits/types.h (__syscall_slong_t): New type.
36163         (__syscall_ulong_t): Likewise.
36164
36165         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
36166         (__SYSCALL_ULONG_TYPE): Likewise.
36167         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36168         (__SYSCALL_SLONG_TYPE): Likewise.
36169         (__SYSCALL_ULONG_TYPE): Likewise.
36170         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36171         (__SYSCALL_SLONG_TYPE): Likewise.
36172         (__SYSCALL_ULONG_TYPE): Likewise.
36173         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36174         (__SYSCALL_SLONG_TYPE): Likewise.
36175         (__SYSCALL_ULONG_TYPE): Likewise.
36176
36177 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36178
36179         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
36180         Add sigaltstack-offsets.sym.
36181         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
36182         <sigaltstack-offsets.h>.
36183         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
36184         longjmp_msg pointer.
36185         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
36186         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
36187         signal stack.
36188         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
36189
36190 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
36191
36192         * elf/stackguard-macros.h: Remove file.
36193         * sysdeps/generic/stackguard-macros.h: New file.
36194         * sysdeps/i386/stackguard-macros.h: Likewise.
36195         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
36196         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
36197         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
36198         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
36199         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
36200         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
36201         * sysdeps/x86_64/stackguard-macros.h: Likewise.
36202         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
36203         <elf/stackguard-macros.h>.
36204
36205         [BZ #14109]
36206         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
36207         __aligned__ in attribute.
36208         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
36209         (gregset_t): Likewise.
36210
36211 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36212
36213         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
36214         * sysdeps/x86_64/64/Implies-after: Here.  New file.
36215         * sysdeps/x86_64/x32/Implies-after: New file.
36216
36217 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36218
36219         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
36220         and access return value for _dl_profile_fixup.  Use R10_LP to
36221         load frame size.
36222
36223 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36224
36225         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
36226
36227 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36228
36229         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
36230         * sysdeps/x86_64/x32/sysdep.h: New file.
36231
36232 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36233
36234         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
36235         * sysdeps/x86_64/setjmp.S: Likewise.
36236
36237 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36238
36239         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
36240         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
36241         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
36242         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
36243         remove unused global constant.
36244
36245 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
36246
36247         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
36248         include of <not-cancel.h>.
36249
36250 2012-05-15  Roland McGrath  <roland@hack.frob.com>
36251
36252         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
36253
36254 2012-05-15  Jeff Law  <law@redhat.com>
36255             Andreas Jaeger  <aj@suse.de>
36256
36257         [BZ #13594]
36258         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
36259         out from...
36260         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
36261         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
36262         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
36263         code changing __hst_map_handle.map.
36264
36265 2012-05-15  Roland McGrath  <roland@hack.frob.com>
36266
36267         * configure.in (sysnames): Look for Implies-before and Implies-after
36268         files.
36269         * configure: Regenerated.
36270
36271 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36272
36273         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
36274         8-byte data alignment with LP_SIZE alignment.
36275
36276 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36277
36278         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
36279         into R10_LP.
36280
36281 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36282
36283         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
36284
36285 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36286
36287         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
36288         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
36289         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
36290         Likewise.
36291         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36292
36293 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36294
36295         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
36296         (stackinfo_sub_sp): Likewise.
36297
36298 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36299
36300         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
36301         RAX_LP.
36302
36303 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36304
36305         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
36306         into R*_LP.
36307
36308 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36309
36310         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
36311         sizes into R*_LP.
36312
36313 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36314
36315         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
36316
36317 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36318
36319         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
36320         into R11_LP and load __x86_64_shared_cache_size_half into
36321         R8_LP.
36322
36323 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36324
36325         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
36326         R8_LP.
36327
36328 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36329
36330         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
36331         logb for POWER7.
36332         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
36333         logbf for POWER7.
36334         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
36335         logbl for POWER7.
36336         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
36337         powerpc32/power7/fpu/s_logb.c via #include.
36338         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
36339         powerpc32/power7/fpu/s_logbf.c via #include.
36340         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
36341         powerpc32/power7/fpu/s_logbl.c via #include.
36342
36343 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
36344
36345         * README.libm: Remove file.
36346
36347 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36348
36349         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
36350         count for x32.  Use R*_LP and omit operand-size suffix.
36351
36352 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36353
36354         * shlib-versions: Move x86_64-.*-linux.* entries to ...
36355         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
36356         * sysdeps/x86_64/x32/shlib-versions: New file.
36357
36358 2012-05-14  Roland McGrath  <roland@hack.frob.com>
36359
36360         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
36361         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
36362         Use _dl_fatal_printf instead.
36363
36364 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
36365
36366         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
36367         set if not set by the user.  Do not allow for being unset.
36368         * sysdeps/unix/sysv/linux/configure: Regenerated.
36369
36370 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36371
36372         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
36373         the `q' suffix from lea and replace .quad with ASM_ADDR.
36374
36375 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36376
36377         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
36378         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
36379         instead of $17.
36380         (PTR_DEMANGLE): Likewise.
36381
36382 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36383
36384         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
36385         (LP_OP): Likewise.
36386         (ASM_ADDR): Likewise.
36387         (RAX_LP): Likewise.
36388         (RBP_LP): Likewise.
36389         (RBX_LP): Likewise.
36390         (RCX_LP): Likewise.
36391         (RDI_LP): Likewise.
36392         (RSI_LP): Likewise.
36393         (RSP_LP): Likewise.
36394         (R8_LP): Likewise.
36395         (R9_LP): Likewise.
36396         (R10_LP): Likewise.
36397         (R10_LP): Likewise.
36398         (R11_LP): Likewise.
36399         (R12_LP): Likewise.
36400         (R13_LP): Likewise.
36401         (R14_LP): Likewise.
36402         (R15_LP): Likewise.
36403
36404 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36405
36406         * sysdeps/x86_64/x32/dl-machine.h: New file.
36407
36408 2012-05-14  Andreas Jaeger  <aj@suse.de>
36409
36410         * manual/Makefile (subdir): Remove export of subdir.
36411         (all): Remove target.
36412         (.PHONY): Remove all from list.
36413         (mkinstalldirs): Remove.
36414         (.PHONY): Remove installdirs from list.
36415         ($(inst_infodir)/libc.info): Use make-target-directory.
36416         (installdirs): Remove.
36417         (subdir_%): Remove.
36418         (glibc-targets): Remove.
36419         (lib): Remove.
36420         (stubs): Remove.
36421         ($(objpfx)stubs ../po/manual.pot): Remove.
36422         ($(objpfx)stamp%): Remove.
36423         (make-target-directory): Remove.
36424         (subdir_install): Remove.
36425         (routines): Remove.
36426         (aux): Remove.
36427         (sources): Remove.
36428         (objects): Remove.
36429         (headers): Remove.
36430
36431         [BZ #13750]
36432         * manual/.gitignore: Remove, it's not needed anymore.
36433         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
36434         all files in it.
36435         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
36436         directory.
36437         (texis): Renamed to $(objpfx)texis.
36438         (texis-path): New, contains path to generated files.
36439         (chapters.%): Use texis-path for complete path, add extra argument
36440         libc-texinfo.sh.
36441         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
36442         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
36443         (summary,texi, stamp-summary): Use complete path of
36444         files. Generate files in build dir.
36445         (dir-add.texi): Build in build dir.
36446         (libm-err.texi,stamp-libm-err): Likewise.
36447         (version.texi, stamp-version): Likewise.
36448         (.%c.texi): Likewise.
36449         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
36450         (mostlyclean): Remove target.
36451         (realclean): Remove target.
36452         (generated): Add new variable with contents from mostlyclean and
36453         realclean, remove entries duplicated in common-mostlyclean, add
36454         stamp-libm-err and stamp-version.
36455         (generated-dirs): Add libc directory.
36456         ($(inst_infodir)/libc.info): Install files from build dir.
36457
36458         * manual/install.texi (Configuring and compiling): Adjust since
36459         the info files are not part of the tar ball anymore.
36460
36461 2012-05-14  Andreas Jaeger  <aj@suse.de>
36462
36463         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
36464         variable.
36465
36466 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
36467
36468         [BZ #13717]
36469         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36470         to 2.2.0 where earlier.
36471         * sysdeps/unix/sysv/linux/configure: Regenerated.
36472         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
36473         Remove conditional code.
36474         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
36475         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
36476         Remove conditional code.
36477         [!__NR_lchown]: Likewise.
36478         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36479         [__NR_lchown]: Likewise.
36480         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
36481         comment referencing __ASSUME_LCHOWN_SYSCALL.
36482         * sysdeps/unix/sysv/linux/i386/sigaction.c
36483         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36484         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36485         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
36486         Remove conditional code.
36487         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
36488         (__protocol_available): Remove #if 0 code.
36489         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
36490         conditional code.
36491         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
36492         * sysdeps/unix/sysv/linux/kernel-features.h
36493         (__ASSUME_GETCWD_SYSCALL): Don't define.
36494         (__ASSUME_REALTIME_SIGNALS): Likewise.
36495         (__ASSUME_PREAD_SYSCALL): Likewise.
36496         (__ASSUME_PWRITE_SYSCALL): Likewise.
36497         (__ASSUME_POLL_SYSCALL): Likewise.
36498         (__ASSUME_LCHOWN_SYSCALL): Likewise.
36499         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
36500         non-SPARC.
36501         (__ASSUME_SIOCGIFNAME): Don't define.
36502         (__ASSUME_MSG_NOSIGNAL): Likewise.
36503         (__ASSUME_SENDFILE): Define unconditionally.
36504         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
36505         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
36506         conditional code.
36507         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
36508         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
36509         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36510         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36511         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
36512         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36513         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
36515         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36516         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36518         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36519         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
36521         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36522         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
36524         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36525         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
36527         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36528         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36530         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36531         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
36533         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36534         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36536         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36537         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36538         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
36539         Remove conditional code.
36540         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36541         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36542         Remove conditional code.
36543         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36544         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
36545         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
36546         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36547         Remove conditional code.
36548         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36549         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
36550         Remove conditional code.
36551         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36552         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
36553         Remove conditional code.
36554         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36555         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36556         Remove conditional code.
36557         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36558         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36559         Remove conditional code.
36560         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36561         * sysdeps/unix/sysv/linux/sh/pwrite64.c
36562         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36563         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36564         * sysdeps/unix/sysv/linux/sigaction.c
36565         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36566         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36567         * sysdeps/unix/sysv/linux/sigpending.c
36568         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36569         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36570         * sysdeps/unix/sysv/linux/sigprocmask.c
36571         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36572         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36573         * sysdeps/unix/sysv/linux/sigsuspend.c
36574         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36575         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36576         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36577         (__libc_missing_rt_sigs): Remove.
36578         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
36579         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
36580         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
36581         Remove conditional code.
36582         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
36583         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
36584         return 1.
36585         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
36586         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
36587         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
36588         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
36589
36590 2012-05-14  Andreas Jaeger  <aj@suse.de>
36591
36592         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
36593         it's not used in glibc.
36594         (__coshm1): Likewise.
36595         (__acosh1p): Likewise.
36596         (__sgn): Likewise.
36597
36598         * manual/string.texi (Copying and Concatenation): Add missing
36599         variable in concat example.
36600         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36601
36602 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36603
36604         [BZ #14103]
36605         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
36606         __builtin_clzl with __builtin_clzll.
36607
36608 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36609
36610         [BZ #14104]
36611         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
36612         libc_freeres_ptr.
36613
36614 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36615
36616         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
36617         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
36618         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
36619         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
36620
36621 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
36622
36623         * NEWS: Update ia64 info.
36624
36625 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
36626
36627         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
36628         used as bcopy.
36629
36630 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
36631
36632         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
36633         * sysdeps/unix/syscalls.list (dup3): Likewise.
36634         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
36635         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
36636
36637 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
36638
36639         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
36640         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
36641
36642 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
36643
36644         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
36645         thread pointer.
36646         (TLS_IE): Use mov/add instead of movq/addq to load thread
36647         pointer.
36648         (TLS_GD_PREFIX): New.
36649         (TLS_GD): Use it.
36650
36651 2012-05-11  David S. Miller  <davem@davemloft.net>
36652
36653         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
36654         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
36655         (_FPU_SETCW): Likewise.
36656
36657 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36658
36659         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
36660         is 32-byte aligned.
36661
36662 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
36663
36664         [BZ #11837]
36665         * iconvdata/gb18030.c: Update tables.
36666         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
36667         characters specially.
36668         (BODY for TO_LOOP): Add encoding of missing ranges.
36669
36670 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
36671
36672         [BZ #13673]
36673         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
36674         * sysdeps/mach/hurd/dup3.c: Likewise.
36675         * sysdeps/mach/hurd/readlinkat.c: Likewise.
36676         * sysdeps/powerpc/memmove.c:: Likewise.
36677
36678 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36679
36680         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
36681         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
36682
36683 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36684
36685         * elf/elf.h (R_X86_64_RELATIVE64): New.
36686         (R_X86_64_NUM): Updated.
36687         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36688         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
36689         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
36690         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
36691         tst-quad1pie tst-quad2pie
36692         (modules-names): Add tst-quadmod1 tst-quadmod2.
36693         ($(objpfx)tst-quad1): New dependency.
36694         ($(objpfx)tst-quad2): Likewise.
36695         ($(objpfx)tst-quad1pie): Likewise.
36696         ($(objpfx)tst-quad2pie): Likewise.
36697         * sysdeps/x86_64/tst-quad1.c: New file.
36698         * sysdeps/x86_64/tst-quad1pie.c: New file.
36699         * sysdeps/x86_64/tst-quad2.c: Likewise.
36700         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
36701         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
36702         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
36703         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
36704         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
36705
36706 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36707
36708         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
36709         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
36710         * streams/stropts.h (t_scalar_t): Define type.
36711
36712         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
36713         (_PATH_PRESERVE): Set to "/var/lib".
36714         (_PATH_RWHODIR): Set to "/var/spool/rwho".
36715
36716         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
36717         instead of int.
36718
36719         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
36720         if __dir_mkfile succeeded.
36721
36722         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
36723         checking for _hurd_dtablesize.  Unlock it right after having
36724         finished _hurd_dtable allocation.
36725
36726 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36727
36728         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
36729         * sysdeps/mach/hurd/configure: Regenerated.
36730         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
36731         special-casing to...
36732         * sysdeps/gnu/configure.in: ... this new file.
36733         * sysdeps/unix/sysv/linux/configure: Regenerated.
36734         * sysdeps/gnu/configure: New generated file.
36735
36736         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36737         for Linux: use nsec instead of usec, as well as:
36738         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36739         members of type struct timespec.
36740         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36741         New macros.
36742         (struct stat64): Likewise.
36743         (_STATBUF_ST_NSEC): New macro.
36744         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36745
36746         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36747         __strtoul_internal rather than strtoul.
36748
36749 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36750
36751         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36752         and reject them.
36753
36754 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36755
36756         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36757         which preserves existing values.
36758         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36759
36760 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36761
36762         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36763         TIMEOUT values.  Return EINVAL for NFDS values either negative or
36764         greater than FD_SETSIZE.
36765
36766 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36767
36768         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36769         allocated, call __vm_protect to finish enabling the existing space, and
36770         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36771         allocate the remainder.
36772
36773 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36774
36775         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36776         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
36777
36778 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36779
36780         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36781         sysdeps/mach/hurd/readlink.c.
36782
36783         * posix/tst-sysconf.c (posix_options): Only use
36784         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36785         _POSIX_SYNCHRONIZED_IO when they are defined
36786         * sysdeps/mach/hurd/bits/posix_opt.h:
36787         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36788         (_XOPEN_REALTIME): Undefine macro.
36789         (_XOPEN_REALTIME_THREADS): Undefine macro.
36790         (_XOPEN_SHM): Undefine macro.
36791         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36792         macro to -1.
36793         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36794         macro to -1.
36795         (_POSIX_ASYNC_IO): Undefine macro.
36796         (_POSIX_PRIORITIZED_IO): Undefine macro.
36797         (_POSIX_SPIN_LOCKS): Define macro to -1.
36798
36799         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36800         SA_NODEFER, SA_RESETHAND.
36801         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36802         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36803         F_DUPFD_CLOEXEC.
36804
36805 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36806
36807         * elf/Makefile (pldd-modules): Define unconditionally.
36808
36809 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36810
36811         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36812
36813 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36814
36815         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
36816         Return ENOENT when name is empty.
36817         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36818
36819 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36820
36821         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36822
36823         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36824
36825 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36826
36827         Fix mlock in all cases except non-readable pages.
36828         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36829         instead of VM_PROT_ALL as parameter to __vm_wire function.
36830
36831         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36832         (__mkdir): When path is `/', just fail with EEXIST.
36833         * sysdeps/mach/hurd/mkdirat.c: Likewise.
36834
36835 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36836
36837         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36838         <sys/uio.h> (for writev).
36839         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36840         and <sys/param.h> (for MIN).
36841
36842 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36843
36844         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36845         REQUESTED_TIME.  Properly set the remaining time and return EINTR
36846         if interrupted.
36847
36848 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36849
36850         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36851         Depend on against $(link-rpcuserlibs).
36852
36853 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36854
36855         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36856         (__libc_stack_end): Do not use attribute_relro.
36857         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36858         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
36859         to libthread-provided value.
36860         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36861         attribute_relro.
36862
36863 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36864
36865         [BZ #3748]
36866         * bits/libc-lock.h (__libc_once_get): New macro.
36867         * sysdeps/mach/bits/libc-lock.h: Likewise.
36868         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36869         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36870         instead of using implementation details.
36871
36872         * libio/fileops.c: Unconditionally include <kernel-features.h>.
36873         * libio/freopen.c: Likewise.
36874         * libio/freopen64.c: Likewise.
36875         * misc/syslog.c: Likewise.
36876         * nscd/connections.c: Likewise.
36877         * nscd/netgroupcache.c: Likewise.
36878         * sysdeps/posix/getcwd.c: Likewise.
36879
36880 2012-05-10  Roland McGrath  <roland@hack.frob.com>
36881
36882         * math/w_ilogbf.c: Add #include <limits.h>.
36883
36884 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36885
36886         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
36887         path instead of returning without unlocking.
36888
36889         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36890         immediate-write ioctls.
36891         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36892
36893 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36894
36895         * sysdeps/mach/hurd/i386/init-first.c (init): Use
36896         __builtin_frame_address instead of making assumptions about the
36897         location of the return address relative to DATA.  Force early load of
36898         the return address.
36899         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36900         __builtin_frame_address.
36901
36902         dup3 for GNU Hurd.
36903         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36904         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
36905         implement dup3 and do some further code clean-ups.
36906         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36907         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36908
36909 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36910
36911         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36912
36913         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36914         HURD_CRITICAL_END around holding _hurd_dtable_lock.
36915         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36916         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36917         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36918         d->port.lock.
36919
36920         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36921         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
36922         when handler == SIG_ERR, not when handler != SIG_ERR.
36923
36924 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36925
36926         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36927         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36928         definitions.
36929
36930         accept4 for GNU Hurd.
36931         * include/sys/socket.h (__libc_accept4): New prototype.
36932         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
36933         to implement __libc_accept4.
36934         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36935         __libc_accept4.
36936         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36937
36938         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36939         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36940         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36941         signal-defines.sym.
36942
36943 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36944
36945         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
36946
36947 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36948
36949         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36950         assertion on O_CLOEXEC flag.
36951         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36952         * hurd/intern-fd.c: Likewise.
36953         * hurd/port2fd.c: Likewise.
36954
36955 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36956
36957         [BZ #3906]
36958         * bits/in.h (IPV6_PKTINFO): Define new macro.
36959         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36960
36961 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36962
36963         [BZ #13954]
36964         [BZ #13955]
36965         [BZ #13956]
36966         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36967         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36968         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36969         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36970         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36971         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36972         * math/libm-test.inc (logb_test) : Additional logb tests.
36973
36974 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
36975             Andreas Jaeger  <aj@suse.de>
36976
36977         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36978         * configure: Regenerated.
36979         * config.h.in (LINK_OBSOLETE_RPC): New macro.
36980         * config.make.in (link-obsolete-rpc): New substituted variable.
36981         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36982         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36983         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36984         (shared-only-routines): Don't set it under [link-obsolete-rpc],
36985         so that libc.a contains the symbols.
36986         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36987         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36988         * sunrpc/auth_none.c: Likewise.
36989         * sunrpc/auth_unix.c: Likewise.
36990         * sunrpc/authdes_prot.c: Likewise.
36991         * sunrpc/authuxprot.c: Likewise.
36992         * sunrpc/clnt_gen.c: Likewise.
36993         * sunrpc/clnt_perr.c: Likewise.
36994         * sunrpc/clnt_raw.c: Likewise.
36995         * sunrpc/clnt_simp.c: Likewise.
36996         * sunrpc/clnt_tcp.c: Likewise.
36997         * sunrpc/clnt_udp.c: Likewise.
36998         * sunrpc/clnt_unix.c: Likewise.
36999         * sunrpc/des_crypt.c: Likewise.
37000         * sunrpc/des_soft.c: Likewise.
37001         * sunrpc/get_myaddr.c: Likewise.
37002         * sunrpc/key_call.c: Likewise.
37003         * sunrpc/key_prot.c: Likewise.
37004         * sunrpc/netname.c: Likewise.
37005         * sunrpc/pm_getmaps.c: Likewise.
37006         * sunrpc/pm_getport.c: Likewise.
37007         * sunrpc/pmap_clnt.c: Likewise.
37008         * sunrpc/pmap_prot.c: Likewise.
37009         * sunrpc/pmap_prot2.c: Likewise.
37010         * sunrpc/pmap_rmt.c: Likewise.
37011         * sunrpc/publickey.c: Likewise.
37012         * sunrpc/rpc_cmsg.c: Likewise.
37013         * sunrpc/rpc_common.c: Likewise.
37014         * sunrpc/rpc_dtable.c: Likewise.
37015         * sunrpc/rpc_prot.c: Likewise.
37016         * sunrpc/rpc_thread.c: Likewise.
37017         * sunrpc/rtime.c: Likewise.
37018         * sunrpc/svc.c: Likewise.
37019         * sunrpc/svc_auth.c: Likewise.
37020         * sunrpc/svc_raw.c: Likewise.
37021         * sunrpc/svc_run.c: Likewise.
37022         * sunrpc/svc_tcp.c: Likewise.
37023         * sunrpc/svc_udp.c: Likewise.
37024         * sunrpc/svc_unix.c: Likewise.
37025         * sunrpc/svcauth_des.c: Likewise.
37026         * sunrpc/xcrypt.c: Likewise.
37027         * sunrpc/xdr.c: Likewise.
37028         * sunrpc/xdr_array.c: Likewise.
37029         * sunrpc/xdr_float.c: Likewise.
37030         * sunrpc/xdr_intXX_t.c: Likewise.
37031         * sunrpc/xdr_mem.c: Likewise.
37032         * sunrpc/xdr_rec.c: Likewise.
37033         * sunrpc/xdr_ref.c: Likewise.
37034         * sunrpc/xdr_sizeof.c: Likewise.
37035         * sunrpc/xdr_stdio.c: Likewise.
37036
37037 2012-05-10  Roland McGrath  <roland@hack.frob.com>
37038
37039         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
37040         change.  Update copyright years.
37041
37042 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
37043
37044         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
37045
37046 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
37047             Joseph Myers  <joseph@codesourcery.com>
37048             Paul Pluzhnikov  <ppluzhnikov@google.com>
37049
37050         [BZ #14012]
37051         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
37052         requiring rpcgen.
37053         [cross-compiling] (extra-libs): Likewise.
37054         [cross-compiling] (extra-libs-others): Likewise.
37055         [cross-compiling] (librpcsvc-routines): Likewise.
37056         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
37057         [cross-compiling] (omit-deps): Likewise.
37058         (sunrpc-CPPFLAGS): New variable.
37059         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
37060         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
37061         (cross-rpcgen-objs): New variable.
37062         (extra-objs): Append $(cross-rpcgen-objs).
37063         ($(cross-rpcgen-objs)): New rule.
37064         ($(objpfx)cross-rpcgen): Likewise.
37065         (rpcgen-cmd): Define to use $(built-program-file).  Expand
37066         comment.
37067         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
37068         ($(objpfx)x%.stmp): Likewise.
37069         * sunrpc/proto.h [IS_IN_build] (_): Define.
37070         [IS_IN_build] (_libc_intl_domainname): Likewise.
37071
37072 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
37073
37074         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
37075         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
37076         and R_X86_64_TPOFF64.
37077
37078 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
37079
37080         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
37081         sysdeps/unix/sysv/syscalls.list.
37082         (stime): Likewise.
37083         (utime): Likewise.
37084         * sysdeps/unix/sysv/syscalls.list: Remove file.
37085
37086 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
37087
37088         [BZ #3440]
37089         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
37090         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
37091         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
37092         (__LC_IDENTIFICATION): Make these macros useful in #if
37093         expressions, as required by C99.
37094
37095 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
37096
37097         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
37098         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
37099         after this.
37100
37101 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
37102
37103         * stdlib/longlong.h: Updated from GCC.
37104
37105 2012-05-09  Andreas Jaeger  <aj@suse.de>
37106
37107         * nscd/nscd.c (run_modes): Make named enum, reorder so that
37108         default is first entry.
37109         (run_mode): Set type.
37110         (main): Remove informal message about syslog.
37111         (options): Fix typo.
37112
37113         [BZ #14053]
37114         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
37115         to asm.
37116         (lrint): Likewise.
37117         (llrintf): Likewise.
37118         (llrint): Likewise.
37119         (rint): Likewise.
37120         (rintf): Likewise.
37121         (nearbyint): Likewise.
37122         (nearbyintf): Likewise.
37123
37124 2012-05-09  Andreas Jaeger  <aj@suse.de>
37125             Pedro Alves  <palves@redhat.com>
37126
37127         * nscd/nscd.c (run_mode): Use enum.
37128         (main): Cleanup coding style issue.
37129
37130 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
37131             Andreas Jaeger  <aj@suse.de>
37132
37133         * nscd/nscd.c (go_background): Replaced with...
37134         (run_mode): ... this.
37135         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
37136         (options): Add -F --foreground.
37137         (main): Implement it.
37138         (parse_opt): Parse it.
37139
37140 2012-05-09  Andreas Jaeger  <aj@suse.de>
37141
37142         [BZ #14083]
37143         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
37144         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
37145         -Wconversion warning.
37146         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
37147         Likewise.
37148
37149 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
37150
37151         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
37152         == 0.
37153         (LC_ALL): Use macro-int-constant.
37154         (LC_COLLATE): Likewise.
37155         (LC_CTYPE): Likewise.
37156         (LC_MESSAGES): Likewise.
37157         (LC_MONETARY): Likewise.
37158         (LC_NUMERIC): Likewise.
37159         (LC_TIME): Likewise.
37160         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
37161         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37162         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37163         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
37164         Specify type.
37165         [C99-based standards] (float_t): Expect type.
37166         [C99-based standards] (double_t): Expect type.
37167         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
37168         type.
37169         [C99-based standards] (HUGE_VALL): Likewise.
37170         [C99-based standards] (INFINITY): Likewise.
37171         [C99-based standards] (NAN): Likewise.
37172         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
37173         [C99-based standards] (FP_NAN): Likewise.
37174         [C99-based standards] (FP_NORMAL): Likewise.
37175         [C99-based standards] (FP_SUBNORMAL): Likewise.
37176         [C99-based standards] (FP_ZERO): Likewise.
37177         [C99-based standards] (FP_FAST_FMA): Use
37178         optional-macro-int-constant.  Specify type.  Require == 1.
37179         [C99-based standards] (FP_FAST_FMAF): Likewise.
37180         [C99-based standards] (FP_FAST_FMAL): Likewise.
37181         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
37182         [C99-based standards] (FP_ILOGBNAN): Likewise.
37183         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
37184         Specify type.
37185         [C99-based standards] (MATH_ERREXCEPT): Likewise.
37186         [C99-based standards] (math_errhandling): Specify type.
37187         [ISO99 || ISO11] (signgam): Do not allow.
37188         [non-C99-based standards] (copysignf): Do not allow.
37189         [non-C99-based standards] (exp2f): Likewise.
37190         [non-C99-based standards] (log2f): Likewise.
37191         [non-C99-based standards] (modff): Allow.
37192         [non-C99-based standards] (erff): Do not allow.
37193         [non-C99-based standards] (erfcf): Likewise.
37194         [non-C99-based standards] (gammaf): Likewise.
37195         [non-C99-based standards] (hypotf): Likewise.
37196         [non-C99-based standards] (j0f): Likewise.
37197         [non-C99-based standards] (j1f): Likewise.
37198         [non-C99-based standards] (jnf): Likewise.
37199         [non-C99-based standards] (lgammaf): Likewise.
37200         [non-C99-based standards] (tgammaf): Likewise.
37201         [non-C99-based standards] (y0f): Likewise.
37202         [non-C99-based standards] (y1f): Likewise.
37203         [non-C99-based standards] (ynf): Likewise.
37204         [non-C99-based standards] (isnanf): Likewise.
37205         [non-C99-based standards] (acoshf): Likewise.
37206         [non-C99-based standards] (asinhf): Likewise.
37207         [non-C99-based standards] (atanhf): Likewise.
37208         [non-C99-based standards] (cbrtf): Likewise.
37209         [non-C99-based standards] (expm1f): Likewise.
37210         [non-C99-based standards] (ilogbf): Likewise.
37211         [non-C99-based standards] (log1pf): Likewise.
37212         [non-C99-based standards] (logbf): Likewise.
37213         [non-C99-based standards] (nextafterf): Likewise.
37214         [non-C99-based standards] (remainderf): Likewise.
37215         [non-C99-based standards] (rintf): Likewise.
37216         [non-C99-based standards] (scalbf): Likewise.
37217         [non-C99-based standards] (copysignl): Likewise.
37218         [non-C99-based standards] (exp2l): Likewise.
37219         [non-C99-based standards] (log2l): Likewise.
37220         [non-C99-based standards] (modfl): Allow.
37221         [non-C99-based standards] (erfl): Do not allow.
37222         [non-C99-based standards] (erfcl): Likewise.
37223         [non-C99-based standards] (gammal): Likewise.
37224         [non-C99-based standards] (hypotl): Likewise.
37225         [non-C99-based standards] (j0l): Likewise.
37226         [non-C99-based standards] (j1l): Likewise.
37227         [non-C99-based standards] (jnl): Likewise.
37228         [non-C99-based standards] (lgammal): Likewise.
37229         [non-C99-based standards] (tgammal): Likewise.
37230         [non-C99-based standards] (y0l): Likewise.
37231         [non-C99-based standards] (y1l): Likewise.
37232         [non-C99-based standards] (ynl): Likewise.
37233         [non-C99-based standards] (isnanl): Likewise.
37234         [non-C99-based standards] (acoshl): Likewise.
37235         [non-C99-based standards] (asinhl): Likewise.
37236         [non-C99-based standards] (atanhl): Likewise.
37237         [non-C99-based standards] (cbrtl): Likewise.
37238         [non-C99-based standards] (expm1l): Likewise.
37239         [non-C99-based standards] (ilogbl): Likewise.
37240         [non-C99-based standards] (log1pl): Likewise.
37241         [non-C99-based standards] (logbl): Likewise.
37242         [non-C99-based standards] (nextafterl): Likewise.
37243         [non-C99-based standards] (remainderl): Likewise.
37244         [non-C99-based standards] (rintl): Likewise.
37245         [non-C99-based standards] (scalbl): Likewise.
37246         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37247         [non-C99-based standards] (FP_*): Do not allow.
37248         [C99-based standards] (FP_*): Change to
37249         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37250         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37251         allow.
37252         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
37253         (SIG_ERR): Likewise.
37254         [X/Open-based standards] (SIG_HOLD): Likewise.
37255         (SIG_IGN): Likewise.
37256         (SIGABRT): Use macro-int-constant.  Specify type.  Require
37257         positive value.
37258         (SIGFPE): Likewise.
37259         (SIGILL): Likewise.
37260         (SIGINT): Likewise.
37261         (SIGSEGV): Likewise.
37262         (SIGTER): Likewise.
37263         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
37264         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
37265         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
37266         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
37267         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
37268         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
37269         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
37270         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
37271         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
37272         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
37273         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
37274         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
37275         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
37276         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
37277         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
37278         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
37279         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
37280         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
37281         [X/Open-based standards] (SIGTRAP): Likewise.
37282         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
37283         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
37284         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
37285         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
37286         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37287         allow.
37288
37289 2012-05-08  Ian Wienand  <ianw@vmware.com>
37290
37291         [BZ #14080]
37292         * time/tzset.c (__tzset_parse_tz): Update default rules for
37293         daylight time changes in the Energy Policy Act of 2005.
37294
37295 2012-05-09  Andreas Jaeger  <aj@suse.de>
37296
37297         [BZ #13983]
37298         * elf/ldconfig.c (parse_conf): Change string to make clear that
37299         ldconfig only issued a warning if ld.so.conf does not exist.
37300
37301 2012-05-08  David S. Miller  <davem@davemloft.net>
37302
37303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
37304         movxtod instead of popping the value on the stack.
37305
37306         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37307
37308 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
37309
37310         * config.h.in: Add HAVE_ARM_PCS_VFP.
37311
37312 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
37313
37314         [BZ #13979]
37315         * include/features.h: Warn if user requests __FORTIFY_SOURCE
37316         checking but the checks are disabled for any reason.
37317
37318 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
37319
37320         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
37321         and ELF64_R_TYPE with ELFW(R_TYPE).
37322
37323 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
37324
37325         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
37326         (ulimit): Likewise.
37327
37328         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
37329         (settimeofday): Likewise.
37330
37331 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
37332
37333         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
37334         a struct th_u2 inside the union, and move tu_block/tu_code into
37335         a new th_u3 union of tu_block/tu_code inside of that.  Move
37336         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
37337         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
37338         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
37339         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
37340         (th_stuff): Change to th_u1.tu_stuff.
37341         (th_data): Define.
37342         (th_msg): Change to th_u1.th_u2.tu_data.
37343
37344 2012-05-07  David S. Miller  <davem@davemloft.net>
37345
37346         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37347
37348         [BZ #14074]
37349         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
37350         (SETUP_PIC_REG): Use it.
37351         (SETUP_PIC_REG_LEAF): Use it.
37352
37353 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
37354
37355         [BZ #13885]
37356         [BZ #13923]
37357         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37358         USE_AS_EXPM1L.
37359         (EXPL_FINITE): Likewise.
37360         (FLDLOG): Likewise.
37361         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37362         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37363         e_expl.S.
37364         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37365         USE_AS_EXPM1L.
37366         (EXPL_FINITE): Likewise.
37367         (FLDLOG): Likewise.
37368         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37369         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37370         e_expl.S.
37371         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
37372         test of -max_value argument for long double.
37373         * sysdeps/i386/fpu/libm-test-ulps: Update.
37374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37375
37376 2012-05-06  David S. Miller  <davem@davemloft.net>
37377
37378         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
37379         quad soft-float symbols whose references which are compiler
37380         generated.
37381         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
37382
37383 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
37384
37385         [BZ #13884]
37386         [BZ #13914]
37387         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37388         USE_AS_EXP10L.
37389         (EXPL_FINITE): Likewise.
37390         (FLDLOG): Likewise.
37391         (c0): Likewise.
37392         (c1): Likewise.
37393         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
37394         Adjust comments for base varying.
37395         (__expl_finite): Change alias to EXPL_FINITE.
37396         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
37397         e_expl.S.
37398         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
37399         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
37400         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
37401         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
37402         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37403         USE_AS_EXP10L.
37404         (EXPL_FINITE): Likewise.
37405         (FLDLOG): Likewise.
37406         (c0): Likewise.
37407         (c1): Likewise.
37408         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
37409         Adjust comments for base varying.
37410         (__expl_finite): Change alias to EXPL_FINITE.
37411         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
37412         tests for bugs.
37413         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37414
37415         [BZ #14064]
37416         * math/libm-test.inc (check_float_internal): Correct ulp
37417         calculation for subnormal expected results.
37418
37419 2012-05-06  Andreas Jaeger  <aj@suse.de>
37420
37421         * Makeconfig (+math-flags): New, set to -frounding-math.
37422         (+cflags): Add +math-flags so that all of glibc gets compiled with
37423         it.
37424
37425         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
37426
37427 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
37428
37429         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
37430         Disable one test.
37431
37432         [BZ #13787]
37433         [BZ #13922]
37434         [BZ #14036]
37435         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
37436         (__ieee754_expl): Allow for and saturate large arguments.
37437         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
37438         (u_threshold): Likewise.
37439         (__exp): Call __ieee754_exp before checking for overflow and
37440         underflow.
37441         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
37442         (u_threshold): Likewise.
37443         (__expf): Call __ieee754_expf before checking for overflow and
37444         underflow.
37445         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
37446         (u_threshold): Likewise.
37447         (__expl): Call __ieee754_expl before checking for overflow and
37448         underflow.
37449         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
37450         (__ieee754_expl): Allow for and saturate large arguments.
37451         * math/libm-test.inc (exp_test): Add another test.  Do not allow
37452         missing overflow exception on overflow.
37453         (expm1_test): Do not allow missing overflow exception on overflow.
37454
37455         * sysdeps/i386/fpu/e_expl.c: Move to ...
37456         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
37457         rather than using inline asm.
37458         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
37459         * sysdeps/x86_64/fpu/e_expl.S: Copy from
37460         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
37461
37462         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
37463         (nice): Likewise.
37464         (poll): Likewise.
37465         (signal): Likewise.
37466         (time): Likewise.
37467         (times): Likewise.
37468
37469 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37470
37471         * sysdeps/unix/syscalls.list (adjtime): Add entry from
37472         sysdeps/unix/common/syscalls.list.
37473         (fchmod): Likewise.
37474         (fchown): Likewise.
37475         (ftruncate): Likewise.
37476         (getrusage): Likewise.
37477         (gettimeofday): Likewise.
37478         (setpgid): Likewise.
37479         (setregid): Likewise.
37480         (setreuid): Likewise.
37481         (sigaction): Likewise.
37482         (truncate): Likewise.
37483         (vhangup): Likewise.
37484         * sysdeps/unix/common/syscalls.list: Remove file.
37485         * sysdeps/unix/bsd/Implies: Don't include unix/common.
37486         * sysdeps/unix/sysv/linux/Implies: Likewise.
37487
37488 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
37489
37490         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
37491         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
37492         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
37493         Moved to ...
37494         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
37495         Here.
37496         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
37497         to ...
37498         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
37499         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
37500         to ...
37501         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
37502         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
37503         to ...
37504         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
37505         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
37506         to ...
37507         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
37508         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
37509         to ...
37510         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
37511         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
37512         to ...
37513         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
37514         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
37515         to ...
37516         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37517         Here.
37518         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
37519         to ...
37520         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
37521         Here.
37522         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
37523         to ...
37524         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
37525         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
37526         Moved to ...
37527         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
37528         Here.
37529         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
37530         to ...
37531         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
37532
37533 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37534
37535         * sysdeps/unix/common/bits/dirent.h: Remove file.
37536         * sysdeps/unix/common/bits/fcntl.h: Likewise.
37537
37538         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
37539         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
37540         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
37541         * sysdeps/unix/bsd/isatty.c: Likewise.
37542         * sysdeps/unix/bsd/tcdrain.c: Likewise.
37543         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
37544         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
37545
37546 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37547
37548         [BZ #13563]
37549         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
37550         long double comparison inaccuracies.
37551         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37552         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37553
37554 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
37555
37556         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
37557         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
37558
37559 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37560
37561         [BZ #14049]
37562         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
37563         nonzero digits before rounding a hex value.
37564         * stdlib/tst-strtod.c (tests): Add another test.
37565
37566 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37567
37568         * sysdeps/s390/fpu/libm-test-ulps: Update.
37569
37570 2012-05-03  Andreas Jaeger  <aj@suse.de>
37571
37572         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
37573         does not get optimized out.
37574         (malloc_opt_barrier): New.
37575
37576 2012-05-03  Andreas Jaeger  <aj@suse.de>
37577             Roland McGrath  <roland@hack.frob.com>
37578
37579         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
37580         intermediate file deletion.
37581         (generated): Add .symlist files.
37582
37583 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
37584
37585         [BZ #13775]
37586         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
37587         Redirect under this condition.
37588         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37589         [__USE_GNU] (__dprintf_chk): Not under this condition.
37590         [__USE_GNU] (__vdprintf_chk): Likewise.
37591         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
37592         under this condition.
37593         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37594         [__USE_XOPEN2K8] (dprintf): Define under this condition.
37595         [__USE_XOPEN2K8] (vdprintf): Likewise.
37596         [__USE_GNU] (__dprintf_chk): Not under this condition.
37597         [__USE_GNU] (__vdprintf_chk): Likewise.
37598         [__USE_GNU] (dprintf): Likewise.
37599         [__USE_GNU] (vdprintf): Likewise.
37600
37601 2012-05-03  Roland McGrath  <roland@hack.frob.com>
37602
37603         * elf/Makefile (common-generated): Set this instead of generated for
37604         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
37605         $(all-built-dso)-derived lists.
37606
37607 2012-05-03  Andreas Jaeger  <aj@suse.de>
37608
37609         * sysdeps/i386/fpu/libm-test-ulps: Update.
37610
37611         * FAQ: Removed.
37612         * FAQ.in: Likewise.
37613         * scripts/gen-FAQ.pl: Likewise.
37614         * manual/install.texi (Installation): Point to online location of
37615         FAQ.
37616         * Makefile (files-for-dist): Remove FAQ.
37617         (FAQ): Remove.
37618
37619 2012-05-02  Allan McRae  <allan@archlinux.org>
37620
37621         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
37622         (LDFLAGS-reldepmod5.so): Likewise.
37623         (LDFLAGS-reldep6mod1.so): Likewise.
37624         (LDFLAGS-reldep6mod4.so): Likewise.
37625         (LDFLAGS-reldep8mod3.so): Likewise.
37626         (LDFLAGS-unload4mod1.so): Likewise.
37627         (LDFLAGS-unload4mod2.so): Likewise.
37628         (LDFLAGS-tst-initorder): Likewise.
37629         (LDFLAGS-tst-initordera2.so): Likewise.
37630         (LDFLAGS-tst-initordera3.so): Likewise.
37631         (LDFLAGS-tst-initordera4.so): Likewise.
37632         (LDFLAGS-tst-initorderb2.so): Likewise.
37633         (LDFLAGS-noload): Likewise.
37634         (LDFLAGS-next): Likewise.
37635         (LDFLAGS-order2mod1.so): Likewise.
37636         (LDFLAGS-order2mod2.so): Likewise.
37637         (LDFLAGS-tst-initorder2): Likewise.
37638         (LDFLAGS-tst-initorder2a.so): Likewise.
37639         (LDFLAGS-tst-initorder2b.so): Likewise.
37640         (LDFLAGS-tst-initorder2c.so): Likewise.
37641         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
37642
37643 2012-05-02  David S. Miller  <davem@davemloft.net>
37644
37645         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37646
37647 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
37648
37649         [BZ #14055]
37650         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
37651
37652 2012-05-02  Andreas Jaeger  <aj@suse.de>
37653
37654         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
37655         since we manipulate rounding mode.
37656         (CPPFLAGS-test-idouble.c): Likewise.
37657         (CPPFLAGS-test-ifloat.c): Likewise.
37658         (CFLAGS-test-ldouble.c): Likewise.
37659         (CFLAGS-test-double.c): Likewise.
37660         (CFLAGS-test-float.c): Likewise.
37661         (CFLAGS-test-misc.c): Likewise.
37662         (CFLAGS-test-test-fenv.c): Likewise.
37663
37664 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37665
37666         [BZ #2550]
37667         [BZ #2570]
37668         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
37669         comparisons to determine direction to adjust input.
37670
37671 2012-05-01  Roland McGrath  <roland@hack.frob.com>
37672
37673         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
37674         output to the target.
37675
37676         * scripts/localplt.awk: New file.
37677         * elf/Makefile ($(objpfx)check-localplt): Target removed.
37678         (check-localplt-CFLAGS): Variable removed.
37679         ($(all-built-dso:=.jmprel)): New static pattern rule.
37680         (generated): Add those targets.
37681         (localplt-built-dso): New variable.
37682         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
37683
37684         * elf/check-localplt.c: File removed.
37685
37686         * scripts/check-execstack.awk: New file.
37687         * elf/Makefile ($(objpfx)check-execstack): Target removed.
37688         (check-execstack-CFLAGS): Variable removed.
37689         ($(objpfx)check-execstack.h): Target removed.
37690         ($(objpfx)execstack-default): New target.
37691         (generated): Add that instead of check-execstack.h.
37692         ($(all-built-dso:=.phdr)): New static pattern rule.
37693         (generated): Add those targets.
37694         * elf/check-execstack.c: File removed.
37695
37696         * scripts/check-textrel.awk: New file.
37697         * elf/Makefile ($(objpfx)check-textrel): Target removed.
37698         (check-textrel-CFLAGS): Variable removed.
37699         (all-built-dso): Use := to define.o
37700         ($(all-built-dso:=.dyn)): New static pattern rule.
37701         (generated): Add those targets.
37702         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
37703         * config.make.in (READELF): New substituted variable.
37704         * elf/check-textrel.c: File removed.
37705
37706 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
37707
37708         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37709         allow.
37710         * conform/data/ctype.h-data [C99-based standards] (isblank):
37711         Expect function.
37712         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
37713         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
37714         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37715         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
37716         Specify type.  Require positive value.
37717         (EILSEQ): Likewise.
37718         (ERANGE): Likewise.
37719         [ISO || POSIX] (EILSEQ): Do not expect.
37720         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
37721         Specify type.  Require positive value.
37722         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
37723         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
37724         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
37725         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
37726         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
37727         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
37728         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
37729         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
37730         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
37731         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
37732         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
37733         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
37734         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
37735         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37736         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37737         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37738         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37739         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37740         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37741         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37742         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37743         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37744         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37745         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37746         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37747         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37748         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37749         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37750         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37751         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37752         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37753         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37754         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37755         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37756         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37757         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37758         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37759         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37760         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37761         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37762         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37763         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37764         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37765         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37766         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37767         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37768         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37769         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37770         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37771         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37772         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37773         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37774         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37775         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37776         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37777         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37778         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37779         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37780         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37781         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37782         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37783         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37784         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37785         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37786         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37787         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37788         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37789         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37790         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37791         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37792         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37793         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37794         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37795         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37796         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37797         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37798         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37799         Require >= 2.
37800         (FLT_ROUNDS): Expect as macro, not constant.
37801         (FLT_MANT_DIG): Use macro-int-constant.
37802         (DBL_MANT_DIG): Likewise.
37803         (LDBL_MANT_DIG): Likewise.
37804         (FLT_DIG): Likewise.
37805         (DBL_DIG): Likewise.
37806         (LDBL_DIG): Likewise.
37807         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
37808         (DBL_MIN_EXP): Likewise.
37809         (LDBL_MIN_EXP): Likewise.
37810         (FLT_MAX_EXP): Use macro-int-constant.
37811         (DBL_MAX_EXP): Likewise.
37812         (LDBL_MAX_EXP): Likewise.
37813         (FLT_MAX_10_EXP): Likewise.
37814         (DBL_MAX_10_EXP): Likewise.
37815         (LDBL_MAX_10_EXP): Likewise.
37816         (FLT_MAX): Use macro-constant.
37817         (DBL_MAX): Likewise.
37818         (LDBL_MAX): Likewise.
37819         (FLT_EPSILON): Use macro-constant.  Give upper bound.
37820         (DBL_EPSILON): Likewise.
37821         (LDBL_EPSILON): Likewise.
37822         (FLT_MIN): Likewise.
37823         (DBL_MIN): Likewise.
37824         (LDBL_MIN): Likewise.
37825         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37826         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37827         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37828         [ISO11] (FLT_HAS_SUBNORM): Likewise.
37829         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37830         [ISO11] (DBL_DECIMAL_DIG): Likewise.
37831         [ISO11] (FLT_DECIMAL_DIG): Likewise.
37832         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37833         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37834         [ISO11] (FLT_TRUE_MIN): Likewise.
37835         [ISO11] (LDBL_TRUE_MIN): Likewise.
37836         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37837         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37838         (SCHAR_MIN): Use macro-int-constant.  Specify type.
37839         (SCHAR_MAX): Likewise.
37840         (UCHAR_MAX): Likewise.
37841         (CHAR_MIN): Likewise.
37842         (CHAR_MAX): Likewise.
37843         (MB_LEN_MAX): Use macro-int-constant.
37844         (SHRT_MIN): Use macro-int-constant.  Specify type.
37845         (SHRT_MAX): Likewise.
37846         (USHRT_MAX): Likewise.
37847         (INT_MAX): Likewise.
37848         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
37849         bound negative.
37850         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37851         bound with "U".
37852         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37853         bound with "L".
37854         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
37855         bound negative.  Suffix upper bound with "L".
37856         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37857         bound with "UL".
37858         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37859         Specify type.
37860         [C99-based standards] (LLONG_MAX): Likewise.
37861         [C99-based standards] (ULLONG_MAX): Likewise.
37862         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
37863         == 0.
37864         [ISO11] (max_align_t): Require type.
37865         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37866
37867         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37868         from $CFLAGS, without defining away __attribute__ calls.
37869         (checknamespace): Use $CFLAGS_namespace.
37870
37871         * conform/conformtest.pl (@keywords): Only include C99 keywords
37872         for standards based on C99 or C11.
37873
37874         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37875         Disable tests.
37876         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37877         UNIX98]: Likewise.
37878
37879         * conform/conformtest.pl: Handle "macro-int-constant" and test for
37880         usability of symbols in #if.
37881
37882         * conform/conformtest.pl: If macro or constant types start
37883         "promoted:", expect the symbol to be of the following type
37884         promoted by the integer promotions.
37885
37886         * conform/conformtest.pl: Parse all "constant" and "macro" lines
37887         in one place.  Also handle "macro-constant".
37888
37889         * conform/conformtest.pl: Only accept expected macro values with
37890         "==".  Parse all "macro" lines in one place.
37891         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37892
37893         * conform/conformtest.pl: Handle braced types on "constant" lines
37894         instead of handling "typed-constant".
37895         * conform/data/signal.h-data: Use "constant" instead of
37896         "typed-constant".
37897
37898         * conform/conformtest.pl: Handle "optional-" at start of lines in
37899         one place rather than duplicating several cases.  Handle each
37900         format of "macro" line with initial "optional-".
37901
37902         * conform/conformtest.pl: Only accept expected constant or
37903         optional-constant values with "==".  Parse all "constant" lines in
37904         one place.  Parse all "optional-constant" lines in one place.
37905         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37906         * conform/data/fmtmsg.h-data: Likewise.
37907         * conform/data/netinet/in.h-data: Likewise.
37908         * conform/data/tar.h-data: Likewise.
37909         * conform/data/limits.h-data: Use "==" form on "constant" and
37910         "optional-constant" lines.
37911
37912         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37913         Use -std=c99 for XOPEN2K.
37914         (@knownproblems): Remove.
37915         (newtoken): Don't check %isknown.
37916
37917         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37918         Do not expect macro.
37919         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37920         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37921         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37922         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37923         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37924         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37925         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37926         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37927         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37928         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37929         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37930         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37931         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37932         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37933         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37934         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37935         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37936         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37937         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37938         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37939         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37940         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37941         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37942         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37943         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37944         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37945         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37946         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37947         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37948         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37949         [XPG3] (acosh): Likewise.
37950         [XPG3] (asinh): Likewise.
37951         [XPG3] (atanh): Likewise.
37952         [XPG3] (cbrt): Likewise.
37953         [XPG3] (expm1): Likewise.
37954         [XPG3] (ilogb): Likewise.
37955         [XPG3] (log1p): Likewise.
37956         [XPG3] (logb): Likewise.
37957         [XPG3] (nextafter): Likewise.
37958         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37959         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37960         [XPG3] (remainder): Likewise.
37961         [XPG3] (rint): Likewise.
37962         [XPG3 || XPG4 || UNIX98] (round): Likewise.
37963         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37964         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37965         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37966         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37967         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37968         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37969         [UNIX98 || XOPEN2K] (scalb): Expect.
37970         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37971         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37972         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37973         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37974         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37975         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37976         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37977         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37978         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37979         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37980         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37981         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37982         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37983         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37984         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37985         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37986         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37987         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37988         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37989         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37990         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37991         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37992         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37993         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37994         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37995         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37996         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37997         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37998         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37999         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
38000         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
38001         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
38002         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
38003         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
38004         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
38005         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
38006         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
38007         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
38008         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
38009         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
38010         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
38011         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
38012         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
38013         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
38014         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
38015         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
38016         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
38017         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
38018         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
38019         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
38020         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
38021         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
38022         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
38023         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
38024         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
38025         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
38026         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
38027         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
38028         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
38029         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
38030         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
38031         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
38032         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
38033         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
38034         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
38035         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
38036         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
38037         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
38038         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
38039         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
38040         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
38041         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
38042         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
38043         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
38044         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
38045         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
38046         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
38047         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
38048         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
38049         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
38050         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
38051         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
38052         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
38053         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
38054         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
38055         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
38056         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
38057         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
38058         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
38059         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
38060         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
38061         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
38062         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
38063         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
38064         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
38065         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
38066         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
38067         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
38068         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
38069         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
38070         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
38071         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
38072         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
38073         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
38074         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
38075         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
38076         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
38077         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
38078         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
38079         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
38080         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
38081         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
38082         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
38083         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
38084         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
38085         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
38086         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
38087         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
38088         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
38089         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
38090         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
38091         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
38092         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
38093         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
38094         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
38095         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
38096         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
38097         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
38098         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
38099         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
38100         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
38101         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
38102         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
38103         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
38104         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
38105         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
38106         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
38107
38108         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
38109         _XOPEN_SOURCE_EXTENDED for XPG4.
38110
38111         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
38112
38113         * Makeconfig (localtime): Remove variable.
38114         (inst_localtime-file): Likewise.
38115
38116 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
38117
38118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
38119         Update.
38120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38121         Update.
38122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
38123         Update.
38124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38125         Update.
38126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
38127         Update.
38128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
38129         Update.
38130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38131         Update.
38132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
38133         Update.
38134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38135         Update.
38136
38137 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
38138
38139         [BZ #2550]
38140         [BZ #2570]
38141         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
38142         comparisons to determine direction to adjust input.
38143         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
38144         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
38145         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
38146         Likewise.
38147         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
38148         Likewise.
38149         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38150         Likewise.
38151         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
38152         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
38153         Likewise.
38154         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
38155         Likewise.
38156         * math/libm-test.inc (nexttoward_test): Add more tests.
38157
38158 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
38159
38160         [BZ #14040]
38161         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
38162         in version GLIBC_2.1, not GLIBC_2.0.
38163         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
38164         Likewise.
38165
38166 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
38167
38168         [BZ #13942]
38169         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
38170         (1 - x) * (1 + x).
38171         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38172         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
38173         * math/libm-test.inc (acos_test): Add more tests.
38174         (asin_test): Likewise.
38175         * sysdeps/i386/fpu/libm-test-ulps: Update.
38176         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38177
38178         [BZ #14034]
38179         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
38180         of square root.
38181         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
38182         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38183         * math/libm-test.inc (acos_test_tonearest): New function.
38184         (acos_test_towardzero): Likewise.
38185         (acos_test_downward): Likewise.
38186         (acos_test_upward): Likewise.
38187         (asin_test_tonearest): Likewise.
38188         (asin_test_towardzero): Likewise.
38189         (asin_test_downward): Likewise.
38190         (asin_test_upward): Likewise.
38191         (main): Call the new functions.
38192         * sysdeps/i386/fpu/libm-test-ulps: Update.
38193         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38194
38195         [BZ #13884]
38196         [BZ #13924]
38197         * math/e_exp10.c: Include <float.h>.
38198         (__ieee754_exp10): Handle underflow here rather than multiplying
38199         large negative argument by M_LN10.
38200         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
38201         of __ieee754_expf.
38202         * math/e_exp10l.c: Include <float.h>.
38203         (__ieee754_exp10l): Handle underflow here rather than multiplying
38204         large negative argument by M_LN10l.
38205         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
38206         spurious overflow exception on underflow.
38207
38208 2012-04-29  Marek Polacek  <polacek@redhat.com>
38209
38210         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
38211         (__fortify_function): New macro.
38212         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
38213         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
38214         __extern_always_inline.
38215         * libio/bits/stdio2.h: Likewise.
38216         * libio/bits/stdio.h: Likewise.
38217         * string/string.h: Likewise.
38218         * string/bits/string3.h: Likewise.
38219         * include/stdio.h: Likewise.
38220         * stdlib/bits/stdlib.h: Likewise.
38221         * stdlib/stdlib.h: Likewise.
38222         * rt/bits/mqueue2.h: Likewise.
38223         * rt/mqueue.h: Likewise.
38224         * posix/bits/unistd.h: Likewise.
38225         * posix/unistd.h: Likewise.
38226         * io/bits/poll2.h: Likewise.
38227         * io/bits/fcntl2.h: Likewise.
38228         * io/fcntl.h: Likewise.
38229         * io/sys/poll.h: Likewise.
38230         * misc/bits/syslog.h: Likewise.
38231         * misc/bits/syslog-ldbl.h: Likewise.
38232         * misc/sys/syslog.h: Likewise.
38233         * socket/bits/socket2.h: Likewise.
38234         * socket/sys/socket.h: Likewise.
38235         * debug/tst-chk1.c: Likewise.
38236         * wcsmbs/bits/wchar2.h: Likewise.
38237         * wcsmbs/bits/wchar-ldbl.h: Likewise.
38238         * wcsmbs/wchar.h: Likewise.
38239
38240 2012-04-29  Andreas Jaeger  <aj@suse.de>
38241
38242         * Makerules (tests): Remove enable-check-abi protection.
38243         (check-abi-warn): Remove.
38244         (check-abi-%): Remove check-abi-warn usage.
38245
38246         * configure.in: Remove check-abi configure option.
38247         * configure: Regenerated.
38248         * config.make.in (enable-check-abi): Remove.
38249
38250 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
38251
38252         [BZ #14033]
38253         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
38254         double functions to double *_finite functions.
38255
38256         [BZ #13941]
38257         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
38258         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
38259         LDBL_MIN_EXP.
38260         * stdio-common/Makefile (tests): Add tst-sprintf3.
38261         * stdio-common/tst-sprintf3.c: New file.
38262
38263         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
38264         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
38265
38266 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
38267
38268         * conform/conformtest.pl: Remove duplicate typed-constant
38269         handling.
38270
38271 2012-04-28  David S. Miller  <davem@davemloft.net>
38272
38273         * Makerules (%.abilist): Add vpath on sysdep_dirs.
38274         (check-abi-%): Remove AWK script prerequisite and explicit
38275         abilist directory.
38276         (check-abi): Rewrite to just diff the symlist with the abilist.
38277         (config-tls, config-abi-config): Delete, no longer used.
38278         (update-abi-%): Remove AWK script and explicit abilist directory.
38279         (update-abi): Rewrite to simply compare and conditionally copy the
38280         symlist and the sysdep abilist file.  Remove update-abi-config
38281         checks.
38282         * abilist/ld.abilist: Remove.
38283         * abilist/libBrokenLocale.abilist: Remove.
38284         * abilist/libanl.abilist: Remove.
38285         * abilist/libcrypt.abilist: Remove.
38286         * abilist/libdl.abilist: Remove.
38287         * abilist/librt.abilist: Remove.
38288         * abilist/libthread_db.abilist: Remove.
38289         * abilist/libutil.abilist: Remove.
38290         * scripts/extract-abilist.awk: Remove.
38291         * scripts/merge-abilist.awk: Remove.
38292         * sysdeps/generic/libcidn.abilist: New file.
38293         * sysdeps/generic/libnss_compat.abilist: New file.
38294         * sysdeps/generic/libnss_db.abilist: New file.
38295         * sysdeps/generic/libnss_dns.abilist: New file.
38296         * sysdeps/generic/libnss_files.abilist: New file.
38297         * sysdeps/generic/libnss_hesiod.abilist: New file.
38298         * sysdeps/generic/libnss_nis.abilist: New file.
38299         * sysdeps/generic/libnss_nisplus.abilist: New file.
38300         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
38301         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
38302         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
38303         file.
38304         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
38305         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
38306         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
38307         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
38308         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
38309         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
38310         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
38311         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
38312         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
38313         file.
38314         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
38315         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
38316         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
38317         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
38318         file.
38319         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
38320         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
38321         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
38322         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
38323         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
38324         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
38325         file.
38326         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
38327         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
38328         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
38329         file.
38330         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
38331         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
38332         New file.
38333         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
38334         New file.
38335         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
38336         New file.
38337         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
38338         New file.
38339         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
38340         New file.
38341         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
38342         New file.
38343         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
38344         New file.
38345         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
38346         New file.
38347         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
38348         New file.
38349         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
38350         New file.
38351         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
38352         New file.
38353         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
38354         New file.
38355         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
38356         New file.
38357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
38358         file.
38359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38360         New file.
38361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38362         New file.
38363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
38364         file.
38365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38366         New file.
38367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38368         New file.
38369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
38370         file.
38371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38372         New file.
38373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38374         New file.
38375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38376         New file.
38377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38378         New file.
38379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38380         New file.
38381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38382         New file.
38383         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
38384         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
38385         file.
38386         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
38387         New file.
38388         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
38389         file.
38390         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
38391         file.
38392         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
38393         file.
38394         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
38395         file.
38396         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
38397         file.
38398         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38399         New file.
38400         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
38401         file.
38402         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
38403         file.
38404         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
38405         New file.
38406         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
38407         file.
38408         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
38409         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
38410         file.
38411         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
38412         New file.
38413         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
38414         file.
38415         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
38416         file.
38417         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
38418         file.
38419         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
38420         file.
38421         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
38422         file.
38423         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38424         New file.
38425         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
38426         file.
38427         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
38428         file.
38429         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38430         New file.
38431         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
38432         file.
38433         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38434         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
38435         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
38436         file.
38437         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
38438         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
38439         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
38440         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
38441         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
38442         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
38443         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
38444         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
38445         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
38446         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
38447         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
38448         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
38449         file.
38450         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38451         New file.
38452         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
38453         file.
38454         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
38455         file.
38456         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
38457         file.
38458         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
38459         file.
38460         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
38461         file.
38462         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38463         New file.
38464         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38465         New file.
38466         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
38467         file.
38468         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38469         New file.
38470         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
38471         file.
38472         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
38473         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
38474         file.
38475         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38476         New file.
38477         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
38478         file.
38479         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
38480         file.
38481         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
38482         file.
38483         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
38484         file.
38485         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
38486         file.
38487         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38488         New file.
38489         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38490         New file.
38491         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
38492         file.
38493         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38494         New file.
38495         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
38496         file.
38497
38498 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
38499
38500         * conform/conformtest.pl: Fix typo in handling typed-constant from
38501         allow-header.
38502
38503 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
38504
38505         * README: Cut down references to pre-2.6 Linux kernels and
38506         Linuxthreads.  Update lists of configurations in libc and ports
38507         and sort alphabetically.  Say "or newer" with Linux kernel version
38508         requirements.
38509
38510         * config.h.in [IS_IN_build]: Allow compiling without optimization.
38511
38512 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38513
38514         [BZ #887]
38515         * math/libm-test.inc (logb_test_downward): New test to expose
38516         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
38517         rounding mode.
38518
38519 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
38520
38521         [BZ #14027]
38522         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
38523         to be done.
38524         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
38525         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
38526
38527 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
38528
38529         * sysdeps/unix/i386/brk.S: Remove file.
38530         * sysdeps/unix/i386/dl-brk.S: Likewise.
38531         * sysdeps/unix/i386/pipe.S: Likewise.
38532         * sysdeps/unix/i386/sigreturn.S: Likewise.
38533         * sysdeps/unix/i386/syscall.S: Likewise.
38534         * sysdeps/unix/i386/vfork.S: Likewise.
38535         * sysdeps/unix/i386/wait.S: Likewise.
38536
38537         * sysdeps/unix/common/tcsendbrk.c: Move to ...
38538         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
38539
38540         * configure.in (arm*-none*): Do not allow without
38541         --enable-hacker-mode.
38542         (netbsd*): Remove case setting base_os.
38543         (386bsd*): Likewise.
38544         (freebsd*): Likewise.
38545         (bsdi*): Likewise.
38546         (osf*): Likewise.
38547         (sunos*): Likewise.
38548         (ultrix*): Likewise.
38549         (newsos*): Likewise.
38550         (dynix*): Likewise.
38551         (*bsd*): Likewise.
38552         (sysv*): Likewise.
38553         (isc*): Likewise.
38554         (esix*): Likewise.
38555         (sco*): Likewise.
38556         (minix*): Likewise.
38557         (irix4*): Likewise.
38558         (irix6*): Likewise.
38559         (solaris[2-9]*): Likewise.
38560         (none): Likewise.
38561         * configure: Regenerated.
38562
38563 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38564
38565         [BZ #11521]
38566         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
38567         overflow or cancellation in calculating denominator.
38568         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
38569         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
38570         down expression to avoid unexpected rounding in newer GCCs.
38571         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
38572
38573 2012-04-26  David S. Miller  <davem@davemloft.net>
38574
38575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
38576         long-double compat symbols.
38577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
38581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38582         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
38583         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
38584         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
38585         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
38586         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
38587         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
38588         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
38589         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38590
38591 2012-04-25  David S. Miller  <davem@davemloft.net>
38592
38593         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
38594         HWCAP_* values only after the memory barriers have been defined.
38595         (atomic_full_barrier): Define.
38596         (atomic_read_barrier): Define.
38597         (atomic_write_barrier): Define.
38598
38599 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38600
38601         * shlib-versions: Add libgcc_s version information.
38602         * sysdeps/generic/libgcc_s.h: Remove.
38603         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
38604         libgcc_s.h.
38605         * sysdeps/gnu/unwind-resume.c: Likewise.
38606         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
38607
38608 2012-04-25  David S. Miller  <davem@davemloft.net>
38609
38610         * sysdeps/unix/sparc/brk.S: Delete.
38611         * sysdeps/unix/sparc/dl-brk.S: Delete.
38612         * sysdeps/unix/sparc/pipe.S: Delete.
38613         * sysdeps/unix/sparc/sysdep.S: Delete.
38614         * sysdeps/unix/sparc/sysdep.h: Delete.
38615         * sysdeps/unix/sparc/vfork.S: Delete.
38616         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
38617         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
38618         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
38619         (ret_ERRVAL, r0, r1, MOVE): Define.
38620         (JUMPTARGET): Remove.
38621         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
38622         sysdeps/unix/sparc/sysdep.h
38623         (ENTRY, END): Remove.
38624         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38625
38626 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
38627
38628         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
38629         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
38630         -DIS_IN_build.
38631
38632         * timezone/README: Update upstream location and email address for
38633         tzcode and tzdata.
38634         * timezone/zdump.c: Update from tzcode 2012b.
38635         * timezone/zic.c: Likewise.
38636
38637         * configure.in (libc_cv_as_needed): Remove test.
38638         * configure: Regenerated.
38639         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
38640         conditional definition.
38641         [$(have-as-needed) != yes] (no-as-needed): Likewise.
38642         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
38643         * config.make.in (have-as-needed): Remove variable.
38644
38645 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38646             Paul Pluzhnikov  <ppluzhnikov@google.com>
38647
38648         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
38649         strings correctly.
38650
38651 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
38652
38653         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
38654         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
38655         * sysdeps/sh/strlen.S: Likewise.
38656
38657 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38658
38659         * sysdeps/unix/fork.S: Remove file.
38660         * sysdeps/unix/i386/fork.S: Likewise.
38661         * sysdeps/unix/sparc/fork.S: Likewise.
38662
38663         * sysdeps/unix/system.c: Remove file.
38664         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
38665
38666         * sysdeps/unix/getegid.S: Remove file.
38667         * sysdeps/unix/geteuid.S: Likewise.
38668
38669 2012-04-24  Roland McGrath  <roland@hack.frob.com>
38670
38671         * scripts/check-localplt.awk: New file.
38672         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
38673         of diff.
38674         * scripts/data/localplt-generic.data: Add a comment.
38675
38676         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
38677         NODE when __dir_mkfile failed.
38678         * sysdeps/mach/hurd/symlinkat.c: Likewise.
38679         Reported by Ludovic Courtès <ludo@gnu.org>.
38680
38681 2012-04-24  Andreas Jaeger  <aj@suse.de>
38682
38683         * Makerules (common-clean): Also remove gen-as-const-headers
38684         files.
38685
38686 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38687
38688         * Makerules (native-compile): Do not change working directory for
38689         build.  Use $(OUTPUT_OPTION) in command.
38690         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
38691
38692 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38693
38694         [BZ #13886]
38695         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
38696         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
38697         * math/libm-test.inc (floor_test): Add more tests.
38698         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
38699
38700 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38701
38702         * sysdeps/unix/getdents.c: Remove file.
38703         * sysdeps/unix/sysv/getdents.c: Likewise.
38704         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
38705
38706         * sysdeps/unix/syscalls.list (madvise): Add syscall from
38707         sysdeps/unix/mman/syscalls.list.
38708         (mmap): Likewise.
38709         (mprotect): Likewise.
38710         (msync): Likewise.
38711         (munmap): Likewise.
38712         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
38713         * sysdeps/unix/mman/syscalls.list: Remove.
38714         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
38715
38716         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
38717         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
38718         * configure: Regenerated.
38719         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
38720         $(libgcc_s_suffix).
38721         * config.make.in (libgcc_s_suffix): Remove variable.
38722
38723 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
38724
38725         * sysdeps/unix/sysv/gethostname.c: Move to ...
38726         * sysdeps/posix/gethostname.c: ... here.
38727
38728         * sysdeps/unix/execve.S: Remove file.
38729
38730         * sysdeps/unix/_exit.S: Remove file.
38731
38732 2012-04-23  Andreas Jaeger  <aj@suse.de>
38733
38734         [BZ #13739]
38735         * manual/Makefile: Remove make dist support, there's no
38736         need for a stand-alone documentation tar ball.
38737         (TEXI2DVI): Define always, it's not in Makeconfig.
38738         (dist): Removed.
38739         (tar-it): Removed.
38740         (edition): Removed.
38741         (glibc-doc-$(edition).tar): Removed
38742         (%.Z): Removed.
38743         (%.gz): Removed.
38744         (%.uu): Removed.
38745         (ETAGS): Remove, it's in Makeconfig.
38746         (move-if-change): Remove, it's in Makeconfig.
38747
38748 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
38749
38750         [BZ #13970]
38751         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38752         (strtod, strtof, strtold, strtol, strtoul, strtoq)
38753         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38754         (strtod_l, strtof_l, strtold_l): Remove __wur.
38755         It is not necessarily an error to ignore strtol's return value.
38756         One can reliably look at the stored endptr to decide whether
38757         the number had valid syntax.
38758
38759 2012-04-21  Andreas Jaeger  <aj@suse.de>
38760
38761         [BZ #13739]
38762         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38763
38764 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
38765
38766         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38767         * sysdeps/unix/sysv/Versions: Remove file.
38768
38769 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
38770
38771         [BZ #13927]
38772         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38773
38774 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
38775
38776         [BZ #7064]
38777         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38778         version from __vm86.
38779
38780 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
38781
38782         * sysdeps/unix/common/lxstat.c: Remove file.
38783         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38784
38785         * sysdeps/unix/sysv/Makefile: Remove file.
38786
38787         * sysdeps/unix/sysv/direct.h: Remove file.
38788
38789         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38790         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38791         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38792         * sysdeps/unix/sysv/bits/signum.h: Likewise.
38793         * sysdeps/unix/sysv/bits/stat.h: Likewise.
38794         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38795         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38796
38797         * sysdeps/unix/sysv/setrlimit.c: Remove file.
38798
38799         * sysdeps/unix/xmknod.c: Remove file.
38800         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38801
38802         * sysdeps/unix/sysv/settimeofday.c: Remove file.
38803
38804         * sysdeps/unix/sysv/i386/time.S: Remove file.
38805
38806         * sysdeps/unix/fxstat.c: Remove file.
38807         * sysdeps/unix/xstat.c: Likewise.
38808         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38809
38810         * sysdeps/unix/sysv/sigaction.c: Remove file.
38811
38812         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
38813         (sysdep_headers): Remove variable.
38814         [termio.h not in sysdep_headers] (generated): Likewise.
38815         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
38816         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38817         * sysdeps/unix/sysv/tcdrain.c: Likewise.
38818         * sysdeps/unix/sysv/tcflow.c: Likewise.
38819         * sysdeps/unix/sysv/tcflush.c: Likewise.
38820         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38821         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38822         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38823         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38824         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38825
38826         * sysdeps/unix/siglist.c: Remove file.
38827
38828         * sysdeps/unix/getppid.S: Remove file.
38829
38830         * sysdeps/unix/mkdir.c: Remove file.
38831         * sysdeps/unix/rmdir.c: Likewise.
38832
38833 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
38834
38835         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38836         ERR_MAX value.
38837         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38838         errlist-compat value.
38839
38840 2012-04-18  David S. Miller  <davem@davemloft.net>
38841
38842         * sysdeps/generic/memcopy.h (reg_char): Delete.
38843         * debug/strcat_chk.c: Use char, not reg_char.
38844         * debug/strcpy_chk.c: Likewise.
38845         * debug/strncat_chk.c: Likewise.
38846         * debug/strncpy_chk.c: Likewise.
38847         * string/memchr.c: Likewise.
38848         * string/memrchr.c: Likewise.
38849         * string/rawmemchr.c: Likewise.
38850         * string/strcat.c: Likewise.
38851         * string/strchr.c: Likewise.
38852         * string/strchrnul.c: Likewise.
38853         * string/strcmp.c: Likewise.
38854         * string/strcpy.c: Likewise.
38855         * string/strncat.c: Likewise.
38856         * string/strncmp.c: Likewise.
38857         * string/strncpy.c: Likewise.
38858
38859 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38860
38861         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38862         __builtin_memcopy is called when src and dest ranges are known to not
38863         overlap.
38864
38865 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38866
38867         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38868         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38869         fwd_align_merge macro call.
38870         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38871         bwd_align_merge macro call.
38872         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38873
38874 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38875
38876         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38877         bwd_align_merge macros.
38878         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38879         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38880         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38881
38882 2012-04-18  David S. Miller  <davem@davemloft.net>
38883
38884         * sysdeps/sparc/sparc64/memcopy.h: Delete.
38885
38886 2012-04-18  Andreas Jaeger  <aj@suse.de>
38887
38888         [BZ# 6794]
38889         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38890         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38891         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38892
38893         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38894         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38895         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38896
38897         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38898         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38899         Adjust for changed ldbl-128 files.
38900
38901         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38902         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38903         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38904
38905 2012-04-17  David S. Miller  <davem@davemloft.net>
38906
38907         * sysdeps/sparc/sparc32/memcopy.h: Delete.
38908
38909 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
38910
38911         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38912         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38913         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38914         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38915         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38916         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38917
38918 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38919
38920         [BZ #6794]
38921         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38922         * math/libm-test.inc: Add ilogb errno and exception tests.
38923         * math/w_ilogb.c: New file: ilogb wrapper.
38924         * math/w_ilogbf.c: New file: ilogbf wrapper.
38925         * math/w_ilogbl.c: New file: ilogbl wrapper.
38926         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38927         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38928         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38929         exception being thrown with 0.0 as argument.
38930         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38931         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38932         exception being thrown with 0.0 as argument.
38933         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38934         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38935         exception being thrown with 0.0 as argument.
38936         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38937         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38938         exception being thrown with 0.0 as argument.
38939         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38940         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
38941         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
38942         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38943         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38944         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38945         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38946         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38947         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38948
38949 2012-04-17  Petr Baudis  <pasky@ucw.cz>
38950
38951         * include/sys/uio.h: Change __vector to __iovec to avoid clash
38952         with altivec.
38953
38954 2012-04-16  Marek Polacek  <polacek@redhat.com>
38955
38956         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38957
38958 2012-04-16  Marek Polacek  <polacek@redhat.com>
38959
38960         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38961         operands of fdivp instruction.
38962
38963 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
38964
38965         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38966         * elf/tst-auditmod3b.c: Likewise.
38967         * elf/tst-auditmod4b.c: Likewise.
38968         * elf/tst-auditmod5b.c: Likewise.
38969         * elf/tst-auditmod6b.c: Likewise.
38970         * elf/tst-auditmod6c.c: Likewise.
38971         * elf/tst-auditmod7b.c: Likewise.
38972         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38973         * sysdeps/x86_64/preconfigure.in: Likewise.
38974         * sysdeps/x86_64/preconfigure: Regenerated.
38975
38976 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
38977
38978         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38979         __ILP32__.
38980
38981 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
38982
38983         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38984         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38985
38986 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
38987
38988         [BZ #13973]
38989         * locale/iso-639.def: Fix gl language name. Spotted by
38990         Yaron Shahrabani.
38991
38992 2012-04-12  Roland McGrath  <roland@hack.frob.com>
38993
38994         [BZ #2074]
38995         * libio/libio.h (__io_write_fn): Update comment.
38996
38997 2012-04-12  Petr Baudis  <pasky@ucw.cz>
38998
38999         [BZ #2074]
39000         * stdio.texi (Hook Functions): The user provided writer function
39001         is not allowed to return -1.
39002
39003 2012-04-11  David S. Miller  <davem@davemloft.net>
39004
39005         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39006
39007 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
39008
39009         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
39010         Add a leading slash to rtkaio.
39011
39012 2012-04-11  Jim Meyering  <meyering@redhat.com>
39013
39014         [BZ #11959]
39015         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
39016         It is not necessarily an error to ignore fwrite's return
39017         value.  One can reliably use ferror to test for errors after
39018         the fact.
39019
39020 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
39021
39022         * bits/types.h (__snseconds_t): New type.
39023         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
39024
39025         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
39026         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39027         (__SNSECONDS_T_TYPE): Likewise.
39028         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39029         (__SNSECONDS_T_TYPE): Likewise.
39030         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39031         (__SNSECONDS_T_TYPE): Likewise.
39032
39033 2012-04-10  Andreas Jaeger  <aj@suse.de>
39034
39035         [BZ #2636]
39036         * manual/time.texi (Processor Time): Return type of times is
39037         elapsed real time since an arbitrary point in the past.
39038         (CPU Time): Move CLK_TCK from here...
39039         (Processor Time): ...to here.  Correct description.
39040         * manual/conf.texi (Constants for Sysconf): Correct description of
39041         _SC_CLK_TCK.
39042
39043 2012-04-10  David S. Miller  <davem@davemloft.net>
39044
39045         [BZ #13967]
39046         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
39047         where the is a gap between DT_REL(A) and DT_JMPREL.
39048
39049 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
39050
39051         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
39052         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39053         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39054
39055 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39056
39057         * elf/dl-support.c (_dl_inhibit_cache): New variable.
39058         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
39059         (dl_main): Handle --inhibit-cache.
39060         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
39061         _dl_inhibit_cache.
39062         * elf/dl-load.c (_dl_map_object): Use it.
39063         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
39064
39065 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
39066
39067         [BZ #13872]
39068         * sysdeps/i386/fpu/e_powl.S (p78): New object.
39069         (__ieee754_powl): Saturate large exponents rather than testing for
39070         overflow of y*log2(x).
39071         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39072         * math/libm-test.inc (pow_test): Do not permit spurious overflow
39073         exceptions.
39074
39075         [BZ #11521]
39076         * math/s_ctan.c: Include <float.h>.
39077         (__ctan): Avoid internal overflow or cancellation in calculating
39078         denominator.
39079         * math/s_ctanf.c: Likewise.
39080         * math/s_ctanl.c: Likewise.
39081         * math/s_ctanh.c: Likewise.
39082         * math/s_ctanhf.c: Likewise.
39083         * math/s_ctanhl.c: Likewise.
39084         * math/libm-test.inc (ctan_test): Add more tests.
39085         (ctanh_test): Likewise.
39086         * sysdeps/i386/fpu/libm-test-ulps: Update.
39087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39088
39089 2012-04-09  Andreas Jaeger  <aj@suse.de>
39090
39091         [BZ #6894]
39092         * manual/filesys.texi (Directory Entries): Mention that d_namlen
39093         is an optional BSD extension.
39094
39095         [BZ #10254]
39096         * manual/stdio.texi (Opening Streams): Document additional fopen
39097         parameters.
39098
39099 2012-04-09  Roland McGrath  <roland@hack.frob.com>
39100
39101         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
39102         %eax without telling the compiler.
39103
39104 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
39105
39106         [BZ # 13963]
39107         * manual/install.texi: Use sourceware.org.
39108
39109 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
39110
39111         [BZ #13873]
39112         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
39113         (__ieee754_pow): Generate overflow and underflow using huge*huge
39114         and tiny*tiny rather than just returning constant infinity or zero
39115         for large exponents.
39116         * math/libm-test.inc (pow_test): Require overflow exceptions for
39117         applicable cases of large exponents.
39118
39119         [BZ #706]
39120         * sysdeps/i386/fpu/e_pow.S (p10): New object.
39121         (__ieee754_pow): Use iterative multiplication algorithm only for
39122         integer exponents with absolute value below 1024.  Check for odd
39123         integer exponents when using algorithm for real exponents.
39124         * math/libm-test.inc (pow_test): Add more tests.
39125         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39126
39127 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
39128
39129         [BZ #13705]
39130         * math/libm-test.inc (exp_test): Do not allow overflow exception
39131         on underflow test.
39132
39133 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
39134
39135         [BZ #13705]
39136         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
39137         instead of __kernel_standard_f.
39138
39139 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
39140
39141         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
39142         * sysdeps/x86_64/memset_chk.S: Likewise.
39143
39144 2012-04-08  Andreas Jaeger  <aj@suse.de>
39145
39146         [BZ #10153]
39147         * manual/startup.texi (Environment Access): Describe return value
39148         for putenv and setenv.
39149
39150         [BZ #6895]
39151         * manual/filesys.texi (Directory Entries): Add description for
39152         DT_LNK.
39153
39154         [BZ #6890]
39155         * manual/filesys.texi (Directory Entries): Clarify that it's file
39156         system not operating system in the description of DT_UNKNOWN.
39157
39158         [BZ #6578]
39159         * manual/syslog.texi (closelog): Fix reference, it's openlog.
39160
39161 2012-04-08  Stephen Compall  <s11@member.fsf.org>
39162
39163         [BZ #6649]
39164         * manual/llio.texi (Opening and Closing Files): Add cross
39165         reference to explain mode argument.
39166
39167 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
39168
39169         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
39170         * sysdeps/x86_64/memset_chk.S: Likewise.
39171
39172 2012-04-07  David S. Miller  <davem@davemloft.net>
39173
39174         * elf/elf.h (R_SPARC_WDISP10): Define.
39175         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
39176         R_SPARC_SIZE32.
39177         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
39178         R_SPARC_SIZE64 and R_SPARC_H34.
39179
39180 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
39181
39182         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
39183         conditions and remove no longer applicable assertion.
39184
39185 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
39186
39187         * bits/byteswap.h: Include <features.h>.
39188         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39189         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39190
39191 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
39192
39193         * bits/byteswap.h (__bswap_16): Removed.
39194         Include <bits/byteswap-16.h> to get __bswap_16.
39195         * sysdeps/i386/bits/byteswap.h: Likewise.
39196         * sysdeps/s390/bits/byteswap.h: Likewise.
39197         * sysdeps/x86_64/bits/byteswap.h: Likewise.
39198         * bits/byteswap-16.h: New file.
39199         * sysdeps/i386/bits/byteswap-16.h: Likewise.
39200         * sysdeps/s390/bits/byteswap-16.h: Likewise.
39201         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
39202         * string/Makefile (headers): Add bits/byteswap-16.h.
39203
39204 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
39205
39206         [BZ #13895]
39207         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
39208         extra indirection.
39209         * nss/Makefile (tests-static, tests): Add tst-nss-static.
39210         * nss/tst-nss-static.c: New.
39211
39212 2012-04-06  Robert Millan  <rmh@gnu.org>
39213
39214         [BZ #6486]
39215         * manual/llio.texi (File Position Primitive): lseek
39216         refers to WHENCE when it really means OFFSET.
39217
39218 2012-04-06  Andreas Jaeger  <aj@suse.de>
39219
39220         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
39221         strncmp declarations.
39222
39223         * abilist/libc.abilist: Add __poll and __ppoll.
39224
39225 2012-04-05  David S. Miller  <davem@davemloft.net>
39226
39227         * scripts/check-local-headers.sh: Accept a host triplet in the
39228         path matched by the exclude regexp.
39229
39230         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
39231         definition.
39232         * sysdeps/powerpc/powerpc32/dl-machine.h
39233         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
39234         * sysdeps/s390/s390-32/dl-machine.h
39235         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39236         * sysdeps/sparc/sparc32/dl-machine.h
39237         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39238         * sysdeps/sparc/sparc64/dl-machine.h
39239         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39240
39241         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
39242         lazy binding.
39243         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
39244         undefined symbol errors.
39245
39246         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
39247         DT_NEEDED entries.
39248
39249 2012-04-05  Michael Matz  <matz@suse.de>
39250
39251         [BZ #13592]
39252         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
39253
39254 2012-04-05  Andreas Jaeger  <aj@suse.de>
39255
39256         [BZ #13908]
39257         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
39258         comment.
39259
39260 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39261
39262         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
39263         which ROUND is no valid rounding mode.
39264
39265 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39266
39267         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
39268         read again.
39269         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
39270
39271 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39272
39273         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
39274         an exception using FPU order intentionally.
39275
39276 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39277
39278         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
39279         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
39280         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
39281         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
39282
39283 2012-04-05  Simon Josefsson  <simon@josefsson.org>
39284
39285         [BZ #12340]
39286         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
39287         EINVAL when BUFLEN is too smal.
39288
39289 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
39290
39291         [BZ #13553]
39292         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
39293         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
39294
39295 2012-04-03  Andreas Jaeger  <aj@suse.de>
39296
39297         [BZ #13938]
39298         * manual/setjmp.texi (System V contexts): Fix sentence.
39299
39300         [BZ #13926]
39301         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
39302         New macro for this case.
39303         [!__GNUC__] (__bswap_64): New inline function for this case.
39304         * sysdeps/x86_64/bits/byteswap.h: Likewise.
39305         * bits/byteswap.h: Likewise.
39306         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
39307         ull, guard with __GLIBC_HAVE_LONG_LONG.
39308
39309         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
39310         __GLIBC_HAVE_LONG_LONG.
39311
39312         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
39313         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
39314
39315 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39316
39317         [BZ #13691]
39318         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
39319         inptr and inend, rather than using last_ch.
39320
39321 2012-04-02  David S. Miller  <davem@davemloft.net>
39322
39323         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
39324         * stdio-common/printf-parse.h (read_int): Change return type to
39325         'int', return -1 on INT_MAX overflow.
39326         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
39327         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
39328         overflows INT_MAX.  Check for overflow of in-format-string precision
39329         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
39330         SIZE_MAX not INT_MAX for integer overflow test.
39331         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
39332         skip the construct in the format string but do not record anything.
39333         * stdio-common/bug22.c: Adjust to test both width/prevision
39334         INT_MAX overflow as well as total length INT_MAX overflow.  Check
39335         explicitly for proper errno values.
39336
39337 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
39338
39339         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
39340         CHAR_MAX.
39341         * string/test-strcmp.c [! WIDE]: Likewise.
39342         * time/tst-mktime2.c: Likewise for INT_MAX.
39343         * string/test-string.h: #include <sys/param.h> for MIN.
39344
39345         * csu/init-first.c (__libc_init_first): Call __ctype_init.
39346         * sysdeps/i386/init-first.c (init): Likewise.
39347         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
39348         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
39349         * sysdeps/sh/init-first.c (init): Likewise.
39350
39351 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
39352
39353         * po/ru.po: Update from translation team.
39354         * po/vi.po: Likewise.
39355
39356 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
39357
39358         * resolv/nss_dns/dns-host.c: Merge copyright years.
39359
39360 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39361
39362         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39363         Optimize memcpy with prefetch if
39364         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
39365         src, dst pointers have unequal 16 byte alignments.
39366
39367 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39368
39369         [BZ #13928]
39370         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
39371         from a CNAME entry and return the minimum ttl for the query.
39372         (gaih_getanswer_slice): Likewise.
39373
39374 2012-03-30  Jeff Law  <law@redhat.com>
39375
39376         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
39377         due to long keys.
39378         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
39379         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
39380
39381         * resolv/nss_dns/dns-host.c: Update copyright year.
39382
39383 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
39384
39385         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
39386         requests to save a system call.  Fix check that all bytes are sent.
39387
39388         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
39389         comments for sendmmsg.
39390
39391 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39392
39393         [BZ #13691]
39394         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
39395         with only 1 character between 0x0041 and 0x01b0.
39396         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
39397         * wcsmbs/tst-mbsnrtowcs.c: New file.
39398
39399 2012-03-29  David S. Miller  <davem@davemloft.net>
39400
39401         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
39402         small copies by hand.
39403
39404 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39405
39406         [BZ #13761]
39407         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
39408         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
39409         group memberships.
39410
39411 2012-03-28  David S. Miller  <davem@davemloft.net>
39412
39413         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
39414         that branches into memcpy.
39415         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
39416         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
39417         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39418         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
39419         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
39420         bits.
39421         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
39422         implementation too.
39423         * sysdeps/sparc/mempcpy.S: New file.
39424
39425         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
39426         the IFUNC routine in the libc case.
39427         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39428
39429         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
39430         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
39431         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
39432         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
39433         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
39434         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
39435         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
39436         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
39437
39438         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
39439         loop to 256 bytes instead of 64 bytes and fix test signedness.
39440
39441         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
39442         * sysdeps/sparc/sparc32/Makefile: rather than here...
39443         * sysdeps/sparc/sparc64/Makefile: and here.
39444
39445 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
39446
39447         * malloc/mallocbug.c: Avoid warnings about unused variables.
39448
39449 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
39450
39451         [BZ #13760]
39452         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
39453         in the right place. Discard and retry query if response is
39454         larger than input buffer size.
39455
39456 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
39457
39458         [BZ #369]
39459         [BZ #2678]
39460         [BZ #3866]
39461         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
39462         x for large integer exponent.
39463         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39464         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
39465         sign of result as needed afterwards.
39466         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
39467         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
39468         result for underflowing pow the same as for overflow.
39469         (__kernel_standard_l): Handle powl overflow and underflow here
39470         rather than calling __kernel_standard.
39471         * math/libm-test.inc (pow_test): Add more tests.
39472
39473         [BZ #3868]
39474         [BZ #13879]
39475         [BZ #13910]
39476         [BZ #13911]
39477         [BZ #13912]
39478         [BZ #13913]
39479         [BZ #13915]
39480         [BZ #13916]
39481         [BZ #13917]
39482         [BZ #13918]
39483         [BZ #13919]
39484         [BZ #13920]
39485         [BZ #13921]
39486         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
39487         * sysdeps/ieee754/k_standard.c: Include <float.h>.
39488         (__kernel_standard_l): New function.
39489         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
39490         __kernel_standard.
39491         * math/w_acosl.c (__acosl): Likewise.
39492         * math/w_asinl.c (__asinl): Likewise.
39493         * math/w_atan2l.c (__atan2l): Likewise.
39494         * math/w_atanhl.c (__atanhl): Likewise.
39495         * math/w_coshl.c (__coshl): Likewise.
39496         * math/w_exp10l.c (__exp10l): Likewise.
39497         * math/w_exp2l.c (__exp2l): Likewise.
39498         * math/w_fmodl.c (__fmodl): Likewise.
39499         * math/w_hypotl.c (__hypotl): Likewise.
39500         * math/w_j0l.c (__j0l, __y0l): Likewise.
39501         * math/w_j1l.c (__j1l, __y1l): Likewise.
39502         * math/w_jnl.c (__jnl, __ynl): Likewise.
39503         * math/w_lgammal.c (__lgammal): Likewise.
39504         * math/w_log10l.c (__log10l): Likewise.
39505         * math/w_log2l.c (__log2l): Likewise.
39506         * math/w_logl.c (__logl): Likewise.
39507         * math/w_powl.c (__powl): Likewise.
39508         * math/w_remainderl.c (__remainderl): Likewise.
39509         * math/w_scalbl.c (sysv_scalbl): Likewise.
39510         * math/w_sinhl.c (__sinhl): Likewise.
39511         * math/w_sqrtl.c (__sqrtl): Likewise.
39512         * math/w_tgammal.c (__tgammal): Likewise.
39513         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
39514         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
39515         * math/libm-test.inc (acos_test): Add more tests.
39516         (acosh_test): Likewise.
39517         (asin_test): Likewise.
39518         (atanh_test): Likewise.
39519         (exp_test): Likewise.
39520         (exp10_test): Likewise.
39521         (exp2_test): Likewise.
39522         (expm1_test): Likewise.
39523         (lgamma_test): Likewise.
39524         (log_test): Likewise.
39525         (log10_test): Likewise.
39526         (log1p_test): Likewise.
39527         (log2_test): Likewise.
39528         (pow_test): Do not allow some spurious overflow exceptions.
39529         (sqrt_test): Add more tests.
39530         (tgamma_test): Likewise.
39531         (y0_test): Likewise.
39532         (y1_test): Likewise.
39533         (yn_test): Likewise.
39534
39535 2012-03-27  Anton Blanchard  <anton@samba.org>
39536
39537         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
39538         MAP_HUGETLB.
39539         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39540         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
39541         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39542
39543 2012-03-27  David S. Miller  <davem@davemloft.net>
39544
39545         * conform/Makefile: Run run-conformtest.sh using $(BASH).
39546
39547         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
39548         have-as-vis3 check.
39549
39550 2012-03-27  Andreas Jaeger  <aj@suse.de>
39551
39552         * sysdeps/x86_64/elf/configure.in: Moved to ...
39553         * sysdeps/x86_64/configure.in: ... here.
39554         * sysdeps/x86_64/elf/start.S: Moved to ...
39555         * sysdeps/x86_64/start.S: ... here.
39556         * sysdeps/x86_64/elf/configure: Delete.
39557
39558         * sysdeps/x86_64/configure.in: Merge contents from
39559         sysdeps/i386/configure.in (without i686 check).
39560
39561         * sysdeps/i386/elf/Versions: Merge into ...
39562         * sysdeps/i386/Versions: ... this.
39563         * sysdeps/i386/elf/Versions: Delete file.
39564         * sysdeps/i386/elf/start.S: Moved to ...
39565         * sysdeps/i386/start.S: ...here.
39566         * sysdeps/i386/elf/configure.in: Merge into...
39567         * sysdeps/i386/configure.in: ...here.
39568         * sysdeps/i386/elf/configure.in: Delete file.
39569         * sysdeps/i386/elf/configure: Delete file.
39570
39571         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
39572         * debug/backtracesyms.c: ... here.
39573         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
39574         * debug/backtracesymsfd.c: ... here.
39575         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
39576         * sysdeps/generic/ifunc-sel.h: ... here.
39577
39578         * sysdeps/unix/i386/start.c: Delete file.
39579         * sysdeps/unix/sparc/start.c: Delete file.
39580         * sysdeps/unix/start.c: Delete file.
39581
39582         * sysdeps/sh/elf/configure.in: Moved to ...
39583         * sysdeps/sh/configure.in: ... here.
39584         * sysdeps/sh/elf/start.S: Moved to ...
39585         * sysdeps/sh/start.S: ... here.
39586         * sysdeps/sh/elf/configure: Delete file.
39587
39588         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
39589         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
39590         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
39591         * sysdeps/powerpc/powerpc64/entry.h: ... here.
39592         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
39593         * sysdeps/powerpc/powerpc64/start.S: here.
39594         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
39595         * sysdeps/powerpc/powerpc64/Makefile: ... this.
39596         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
39597         * sysdeps/powerpc/powerpc64/configure.in: ... this.
39598         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
39599
39600         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
39601         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
39602         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
39603         * sysdeps/powerpc/powerpc32/start.S: ... here.
39604         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
39605         * sysdeps/powerpc/powerpc32/configure.in: ... this.
39606         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
39607
39608         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
39609         * sysdeps/powerpc/ifunc-sel.h: ... here.
39610         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
39611         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
39612
39613         * sysdeps/sparc/elf/configure.in: Moved to ...
39614         * sysdeps/sparc/configure.in: ... here.
39615         * sysdeps/sparc/elf/configure: Delete file.
39616         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
39617         * sysdeps/sparc/sparc32/start.S: ... here.
39618         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
39619         * sysdeps/sparc/sparc64/start.S: ... here.
39620         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
39621         * sysdeps/sparc/sparc32/Makefile: ... this.
39622         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
39623         * sysdeps/sparc/sparc64/Makefile: ... this.
39624
39625         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
39626         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
39627         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
39628         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
39629         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
39630         * sysdeps/s390/s390-32/setjmp.S: ... here.
39631         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
39632         * sysdeps/s390/s390-32/configure.in: ... here.
39633         * sysdeps/s390/s390-32/elf/configure: Delete file.
39634         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
39635         * sysdeps/s390/s390-32/start.S: ... here.
39636
39637         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
39638         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
39639         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
39640         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
39641         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
39642         * sysdeps/s390/s390-64/setjmp.S: ... here.
39643         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
39644         * sysdeps/s390/s390-64/configure.in: ... here
39645         * sysdeps/s390/s390-64/elf/configure: Delete file.
39646         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
39647         * sysdeps/s390/s390-64/start.S: ... here.
39648         * sysdeps/s390/s390-64/elf/configure: Delete.
39649
39650         * configure.in: Remove support for elf directories in sysdeps.
39651
39652         * configure: Regenerated.
39653         * sysdeps/i386/configure: Regenerated.
39654         * sysdeps/powerpc/powerpc32/configure: Regenerated.
39655         * sysdeps/powerpc/powerpc64/configure: Regenerated.
39656         * sysdeps/s390/s390-32/configure: Regenerated.
39657         * sysdeps/s390/s390-64/configure: Regenerated.
39658         * sysdeps/sh/configure: Regenerated.
39659         * sysdeps/sparc/configure: Regenerated.
39660         * sysdeps/x86_64/configure: Regenerated.
39661
39662 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
39663
39664         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39665
39666         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
39667         denormal result into account.
39668
39669 2012-03-25  Roland McGrath  <roland@hack.frob.com>
39670
39671         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
39672         Reported by Allan McRae <allan@archlinux.org>.
39673
39674 2012-03-23  Jeff Law  <law@redhat.com>
39675
39676         * nss/getnssent.c (__nss_getent): Fix typo.
39677
39678 2012-03-23  David S. Miller  <davem@davemloft.net>
39679
39680         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39681
39682 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
39683
39684         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
39685         to pad to uint64_t for each field.
39686         (dl_tls_index): Replace unsigned long with uint64_t.
39687
39688 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
39689         Paul Pluzhnikov  <ppluzhnikov@google.com>
39690
39691         [BZ #6528]
39692         * grp/Makefile (otherlibs): Don't set it.
39693         * inet/Makefile (otherlibs): Likewise.
39694         * login/Makefile (otherlibs): Likewise.
39695         * nscd/Makefile (otherlibs): Likewise.
39696         * posix/Makefile (otherlibs): Likewise.
39697         * pwd/Makefile (otherlibs): Likewise.
39698         * rt/Makefile (otherlibs): Likewise.
39699         * sunrpc/Makefile (otherlibs): Likewise.
39700         * nss/Makefile (otherlibs): Likewise.
39701         Add libnss_files to routines and static-only-routines.
39702         ($(objpfx)getent): Remove rule.
39703         * resolv/Makefile: Add libnss_dns and libresolv to routines and
39704         static-only-routines.
39705
39706 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
39707
39708         [BZ #13892]
39709         * math/s_cexp.c: Include <float.h>.
39710         (__cexp): Handle exp result overflowing not necessarily
39711         overflowing both real and imaginary parts of result.
39712         * math/s_cexpf.c: Likewise.
39713         * math/s_cexpl.c: Likewise.
39714         * math/libm-test.inc (cexp_test): Add more tests.
39715         * sysdeps/i386/fpu/libm-test-ulps: Update.
39716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39717
39718 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39719
39720         * include/link.h (ELFW): New macro.
39721         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
39722         Replace ELF64_R_TYPE with ELFW(R_TYPE).
39723
39724 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39725
39726         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
39727         with uint64_t.
39728
39729 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39730
39731         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
39732         declaration.
39733         (struct La_x32_retval): Likewise.
39734
39735 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39736
39737         * sysdeps/x86_64/preconfigure.in: New file.
39738         * sysdeps/x86_64/preconfigure: New generated file.
39739
39740 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
39741
39742         [BZ #13824]
39743         * math/e_exp2l.c: Include <float.h>.
39744         (__ieee754_exp2l): Handle overflow and underflow cases
39745         separately.  Only pass fractional part of argument to
39746         __ieee754_expl.
39747         * math/libm-test.inc (exp2_test): Add more tests.
39748
39749         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39750         negating x to take absolute value.
39751         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39752         Likewise.
39753         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39754         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39755         Likewise.
39756         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39757         computing low part if x was negated.
39758         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39759
39760 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39761
39762         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39763         la_x32_gnu_pltexit.
39764         (pltexit): Cast int_retval to ptrdiff_t.
39765         * elf/tst-auditmod3b.c: Likewise.
39766         * elf/tst-auditmod4b.c: Likewise.
39767         * elf/tst-auditmod5b.c: Likewise.
39768         * elf/tst-auditmod6b.c: Likewise.
39769         * elf/tst-auditmod6c.c: Likewise.
39770         * elf/tst-auditmod7b.c: Likewise.
39771
39772         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39773         and x32_gnu_pltexit.
39774
39775         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39776         __ELF_NATIVE_CLASS.
39777         (La_x32_regs): New macro.
39778         (La_x32_retval): Likewise.
39779         (la_x32_gnu_pltenter): New function prototype.
39780         (la_x32_gnu_pltexit): Likewise.
39781
39782 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
39783
39784         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39785         exponent.
39786
39787         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39788
39789         * configure.in (libc_cv_cc_nofma): Check for option to disable
39790         generation of FMA instructions.
39791         * configure: Regenerate.
39792         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39793         * sysdeps/ieee754/dbl-64/Makefile: New file.
39794         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39795         Remove brandred-fma4.
39796         (CFLAGS-brandred-fma4.c): Remove.
39797         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39798         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39799         define.
39800         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39801         define.
39802
39803 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39804
39805         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39806         LLONG_MAX != LONG_MAX.
39807         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39808         (_fitoa_word): Likewise.
39809         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39810         LLONG_MAX != LONG_MAX.
39811         * stdio-common/_itowa.h: Include <_itoa.h>.
39812         (_itowa_word): Use _ITOA_WORD_TYPE on value.
39813         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
39814         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
39815         only if not defined.
39816         (_ITOA_WORD_TYPE): Likewise.
39817         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39818         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39819
39820 2012-03-21  David S. Miller  <davem@davemloft.net>
39821
39822         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39823
39824 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39825
39826         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39827         of x86_64 when setting libc_cv_slibdir, libdir and
39828         libc_cv_localedir.
39829         * sysdeps/unix/sysv/linux/configure: Regenerated.
39830
39831 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39832
39833         * manual/lang.texi (Old Varargs): Remove section.
39834         (How Variadic): Update menu.
39835         (va_start): Do not mention varargs.h.
39836
39837 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39838             Joseph Myers  <joseph@codesourcery.com>
39839
39840         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39841         link test.
39842         * configure: Regenerated.
39843
39844 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39845
39846         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39847         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39848         conformtest.pl
39849
39850 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39851
39852         * NOTES: Remove.
39853         * Makefile (files-for-dist): Remove NOTES.
39854         (NOTES): Remove rule.
39855         * README: Don't refer to NOTES.
39856         * manual/creature.texi: Don't include macros.texi.
39857         * manual/intro.texi (creature.texi): Remove comment referring to
39858         NOTES.
39859
39860         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39861         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39862         * configure: Regenerated.
39863         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39864         LIBC_TRY_CC_OPTION.
39865         (libc_cv_as_i686): Likewise.
39866         (libc_cv_cc_avx): Likewise.
39867         (libc_cv_cc_sse2avx): Likewise.
39868         (libc_cv_cc_fma4): Likewise.
39869         (libc_cv_cc_novzeroupper): Likewise.
39870         * sysdeps/i386/configure: Regenerated.
39871
39872         [BZ #13883]
39873         * sysdeps/i386/fpu/s_cexp.S: Remove.
39874         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39875         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39876         * math/libm-test.inc (cexp_test): Add more tests.
39877         * sysdeps/i386/fpu/libm-test-ulps: Update.
39878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39879
39880 2012-03-21  Allan McRae  <allan@archlinux.org>
39881
39882         * timezone/Makefile: Do not install iso3166.tab and zone.tab
39883
39884 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39885
39886         [BZ #13871]
39887         * math/w_exp2.c: Do not include <float.h>.
39888         (o_threshold, u_threshold): Remove.
39889         (__exp2): Calculate result before checking finiteness and calling
39890         __kernel_standard.
39891         * math/w_exp2f.c: Likewise.
39892         * math/w_exp2l.c: Likewise.
39893         * math/libm-test.inc (exp2_test): Require overflow exception for
39894         1e6 input.
39895
39896         [BZ #3866]
39897         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39898         range of signed 64-bit integers before using fistpll.  Remove
39899         checks for whether integers fit in mantissa bits.
39900         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39901         the range of signed 32-bit integers before using fistpl.  Remove
39902         checks for whether integers fit in mantissa bits.
39903         * sysdeps/i386/fpu/e_powl.S (p64): New object.
39904         (__ieee754_powl): Test for y outside the range of signed 64-bit
39905         integers before using fistpll.  Reduce 64-bit values to 63-bit
39906         ones as needed.
39907         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39908         divide-by-zero is raised for zero to large negative powers.
39909         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39910         (__ieee754_powl): Test for y outside the range of signed 64-bit
39911         integers before using fistpll.  Reduce 64-bit values to 63-bit
39912         ones as needed.
39913         * math/libm-test.inc (pow_test): Add more tests.
39914
39915 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39916
39917         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39918         <stdio-common/_itoa.h>.
39919         * debug/segfault.c: Likewise.
39920         * elf/dl-cache.c: Likewise.
39921         * elf/dl-minimal.c: Likewise.
39922         * elf/dl-misc.c: Likewise.
39923         * elf/dl-sysdep.c: Likewise.
39924         * elf/dl-version.c: Likewise.
39925         * elf/rtld.c: Likewise.
39926         * hurd/hurdsock.c: Likewise.
39927         * hurd/lookup-retry.c: Likewise.
39928         * malloc/malloc.c: Likewise.
39929         * malloc/mtrace.c: Likewise.
39930         * nscd/nscd_getgr_r.c: Likewise.
39931         * nscd/nscd_getpw_r.c: Likewise.
39932         * nscd/nscd_getserv_r.c: Likewise.
39933         * posix/getopt_init.c: Likewise.
39934         * posix/wordexp.c: Likewise.
39935         * stdio-common/_itoa.c: Likewise.
39936         * stdio-common/printf_fphex.c: Likewise.
39937         * stdio-common/vfprintf.c: Likewise.
39938         * string/_strerror.c: Likewise.
39939         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39940         * sysdeps/i386/i686/hp-timing.h: Likewise.
39941         * sysdeps/mach/_strerror.c: Likewise.
39942         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39943         * sysdeps/mach/hurd/sethostid.c: Likewise.
39944         * sysdeps/mach/hurd/xmknodat.c: Likewise.
39945         * sysdeps/mach/xpg-strerror.c: Likewise.
39946         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39947         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39948         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39949         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39950         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39951         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39952         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39953         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39954         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39955         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39956         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39957         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39958         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39959         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39960         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39961         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39962         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39963         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39964         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39965         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39966         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39967
39968         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39969
39970         * stdio-common/_itoa.h: Moved to ...
39971         * sysdeps/generic/_itoa.h: Here.
39972
39973         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39974
39975         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39976         instead of "_itoa.h" and "_itowa.h".
39977         * stdio-common/vfprintf.: Likewise.
39978
39979 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39980
39981         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39982         <bits/wordsize.h>.
39983         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39984         (__signbit): Likwise.
39985         (llrintf): Likwise.
39986         (llrint): Likwise.
39987
39988 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39989
39990         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39991         __WORDSIZE != 64.
39992
39993 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
39994
39995         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39996         OVERFLOW_EXCEPTION_OK.
39997         * math/libm-test.inc ("Philosophy"): Update comment about
39998         exception testing.
39999         (OVERFLOW_EXCEPTION): Define.
40000         (OVERFLOW_EXCEPTION_OK): Likewise.
40001         (INVALID_EXCEPTION_OK): Renumber.
40002         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40003         (IGNORE_ZERO_INF_SIGN): Likewise.
40004         (test_exceptions): Handle FE_OVERFLOW.
40005         (exp10_test): Expect overflow exceptions.
40006         (exp2_test): Likewise.
40007         (expm1_test): Likewise.
40008         (nextafter_test): Likewise.
40009         (pow_test): Likewise.
40010         (scalbn_test): Likewise.
40011         (scalbln_test): Likewise.
40012
40013 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40014
40015         * sysdeps/x86_64/bits/atomic.h
40016         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
40017         64bit integer.
40018         (atomic_exchange_acq): Likewise.
40019         (__arch_exchange_and_add_body): Likewise.
40020         (__arch_add_body): Likewise.
40021         (atomic_add_negative): Likewise.
40022         (atomic_add_zero): Likewise.
40023
40024 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40025
40026         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
40027         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
40028
40029 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40030
40031         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
40032         Check __x86_64__ instead of __WORDSIZE.
40033
40034 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40035
40036         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
40037
40038 2012-03-19  David S. Miller  <davem@davemloft.net>
40039
40040         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40041
40042         * sysdeps/sparc/fpu/fenv_private.h: New file.
40043         * sysdeps/sparc/fpu/math_private.h: Use it.
40044         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
40045         Remove.
40046         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
40047         (libc_feholdexcept_setroundl): Remove.
40048         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
40049         Remove.
40050         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
40051         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
40052
40053 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40054
40055         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
40056         int64_t instead of long int.
40057         (INSERT_WORDS64): Likwise.
40058
40059 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40060
40061         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
40062         _Unwind_GetCFA return to _Unwind_Ptr first.
40063
40064 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
40065
40066         [BZ #13629]
40067         * math/s_clog.c: Include <float.h>.
40068         (__clog): Scale large or subnormal inputs.
40069         * math/s_clogf.c: Likewise.
40070         * math/s_clogl.c: Likewise.
40071         * math/s_clog10.c: Include <float.h>.
40072         (M_LOG10_2): Define.
40073         (__clog10): Scale large or subnormal inputs.
40074         * math/s_clog10f.c: Likewise.
40075         * math/s_clog10l.c: Likewise.
40076         * math/libm-test.inc (clog_test): Add more tests.
40077         (clog10_test): Likewise.
40078         * sysdeps/i386/fpu/libm-test-ulps: Update.
40079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40080
40081         [BZ #11451]
40082         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
40083         x and y.
40084         * math/libm-test.inc (atan2_test): Add another test.
40085
40086         * Makerules (common-objdir-compile): Remove.
40087         * sysdeps/unix/Makefile (config-generated): Do not add
40088         $(unix-generated) to variable.
40089         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
40090         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
40091         Remove rule.
40092         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
40093         Likewise.
40094         [generic bits/local_lim.h] (before-compile): Do not append to
40095         variable.
40096         [generic bits/local_lim.h] (common-generated): Likewise.
40097         [generic sys/param.h] (before-compile): Do not append to variable.
40098         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
40099         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
40100         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
40101         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
40102         include.
40103         [generic sys/param.h] (sys/param.h-includes): Remove variable.
40104         [generic sys/param.h] (sys/param.h-includes): Remove rule.
40105         [generic sys/param.h] ($(addprefix
40106         $(common-objpfx),$(sys/param.h-includes))): Likewise.
40107         [generic sys/param.h] (common-generated): Do not append to
40108         variable.
40109         [generic sys/param.h] (sysdep_headers): Likewise.
40110         [generic bits/errno.h] (before-compile): Do not append to
40111         variable.
40112         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
40113         rule.
40114         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
40115         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
40116         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
40117         [generic bits/errno.h] (common-generated): Do not append to
40118         variable.
40119         [generic bits/ioctls.h] (before-compile): Do not append to
40120         variable.
40121         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
40122         rule.
40123         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
40124         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
40125         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
40126         rule.
40127         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
40128         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
40129         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
40130         [generic bits/ioctls.h] (common-generated): Do not append to
40131         variable.
40132         [generic sys/syscall.h] (syscall.h): Remove variable.
40133         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
40134         rule.
40135         [generic sys/syscall.h] (before-compile): Do not append to
40136         variable.
40137         [generic sys/syscall.h] (common-generated): Likewise.
40138         * sysdeps/unix/errnos-tmpl.c: Remove file.
40139         * sysdeps/unix/errnos.awk: Likewise.
40140         * sysdeps/unix/ioctls-tmpl.c: Likewise.
40141         * sysdeps/unix/ioctls.awk: Likewise.
40142         * sysdeps/unix/mk-local_lim.c: Likewise.
40143         * sysdeps/unix/snarf-ioctls: Likewise.
40144
40145 2012-03-19  Richard Henderson  <rth@twiddle.net>
40146
40147         * sysdeps/i386/fpu/fenv_private.h: New file.
40148         * sysdeps/i386/fpu/math_private.h: Use it.
40149         (math_opt_barrier, math_force_eval): Remove.
40150         (libc_feholdexcept_setround_53bit): Remove.
40151         (libc_feupdateenv_53bit): Remove.
40152         * sysdeps/x86_64/fpu/math_private.h: Likewise.
40153         (math_opt_barrier, math_force_eval): Remove.
40154         (libc_feholdexcept): Remove.
40155         (libc_feholdexcept_setround): Remove.
40156         (libc_fetestexcept, libc_fesetenv): Remove.
40157         (libc_feupdateenv_test): Remove.
40158         (libc_feupdateenv, libc_feholdsetround): Remove.
40159         (libc_feresetround): Remove.
40160
40161         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
40162         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
40163
40164         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
40165         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
40166         (libc_feupdateenv_testl): New.
40167         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
40168         (libc_feupdateenv_testf): New.
40169         (libc_feupdateenv): Use libc_feupdateenv_test.
40170         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
40171         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
40172
40173         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
40174         (libc_feholdsetroundf, libc_feholdsetroundl): New.
40175         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
40176         (libc_feresetround_noex): New.
40177         (libc_feresetround_noexf): New.
40178         (libc_feresetround_noexl): New.
40179         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
40180         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
40181         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
40182         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
40183         SET_RESTORE_ROUND.
40184         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
40185         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
40186         (__cos): Likewise.
40187         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
40188         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
40189         SET_RESTORE_ROUND_NOEX.
40190         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
40191         SET_RESTORE_ROUND_NOEXF.
40192         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
40193         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
40194         (libc_feholdsetroundf): New.
40195         (libc_feresetround, libc_feresetroundf): New.
40196
40197         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
40198         (libc_feholdexcept_setround_53bit): Convert from macro to function.
40199         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
40200
40201         * sysdeps/generic/math_private.h: Include <fenv.h>.
40202         (default_libc_feholdexcept): New.
40203         (default_libc_feholdexcept_setround): New.
40204         (default_libc_fesetenv, default_libc_feupdateenv): New.
40205         (libc_feholdexcept): Only define if undefined.
40206         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
40207         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
40208         (libc_feholdexcept_setroundl): Likewise.
40209         (libc_feholdexcept_setround_53bit): Likewise.
40210         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
40211         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
40212         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
40213         (libc_feupdateenv_53bit): Likewise.
40214         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
40215         (libc_feholdexcept): Convert from macro to inline function.
40216         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
40217         (libc_fesetenv, libc_feupdateenv): Likewise.
40218
40219         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
40220         not previously defined.
40221         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
40222         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
40223         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
40224         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
40225         * sysdeps/ieee754/flt-32/math_private.h: New file.
40226         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
40227         math_private.h below SET_FLOAT_WORD.
40228         (__isnan, __isinf_ns, __finite): Remove.
40229         (__isnanf, __isinf_nsf, __finitef): Remove.
40230
40231 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
40232
40233         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40234
40235 2012-03-17  David S. Miller  <davem@davemloft.net>
40236
40237         [BZ #6471]
40238         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
40239         for 2.16.
40240
40241 2012-03-16  David S. Miller  <davem@davemloft.net>
40242
40243         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
40244         warnings.
40245
40246         [BZ #6471]
40247         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
40248         properly.
40249         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
40250         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
40251         sysdep_routines when subdir is sysvipc.
40252         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
40253         __getshmlba helper.
40254
40255         * sysdeps/sparc/fpu/libm-test/ulps: Update.
40256
40257 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40258
40259         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
40260         [__LP64__].
40261
40262 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40263
40264         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
40265         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
40266         (__lround): Renamed to ...
40267         (__llround): This.  Replace long int with long long int.
40268         Define lround functions as aliases of llround functions.
40269         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
40270
40271 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40272
40273         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
40274         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
40275         adresses to uintptr_t.  Replace "long int" and "unsigned long
40276         int" with "greg_t" on va_arg.
40277
40278 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40279
40280         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
40281         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
40282
40283         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
40284         Move e_machine check before EI_CLASS check.  Handle x32
40285         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
40286         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
40287         SKIP_EM_IA_64 and include
40288         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
40289
40290         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
40291         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
40292         (add_system_dir): New macro.
40293
40294         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
40295         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
40296
40297 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
40298
40299         [BZ #2551]
40300         [BZ #2552]
40301         [BZ #2553]
40302         [BZ #2554]
40303         [BZ #2562]
40304         [BZ #2563]
40305         [BZ #2565]
40306         [BZ #2566]
40307         [BZ #2576]
40308         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
40309         (y0): Likewise.
40310         * math/w_j0f.c (j0f): Likewise.
40311         (y0f): Likewise.
40312         * math/w_j0l.c (__j0l): Likewise.
40313         (__y0l): Likewise.
40314         * math/w_j1.c (j1): Likewise.
40315         (y1): Likewise.
40316         * math/w_j1f.c (j1f): Likewise.
40317         (y1f): Likewise.
40318         * math/w_j1l.c (__j1l): Likewise.
40319         (__y1l): Likewise.
40320         * math/w_jn.c (jn): Likewise.
40321         (yn): Likewise.
40322         * math/w_jnf.c (jnf): Likewise.
40323         (ynf): Likewise.
40324         * math/w_jnl.c (__jnl): Likewise.
40325         (__ynl): Likewise.
40326         * math/libm-test.inc (j0_test): Add more tests.
40327         (j1_test): Likewise.
40328         (jn_test): Likewise.  Add trailing semicolon to existing test.
40329         (y0_test): Likewise.
40330         (y1_test): Likewise.
40331         * sysdeps/i386/fpu/libm-test-ulps: Update.
40332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40333
40334         [BZ #13851]
40335         [BZ #13854]
40336         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
40337         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
40338         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
40339         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
40340         (__tanl): Set errno for infinite argument.
40341         * sysdeps/i386/fpu/mptan.c: Remove.
40342         * sysdeps/i386/fpu/s_tan.S: Likewise.
40343         * sysdeps/i386/fpu/s_tanl.S: Likewise.
40344         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
40345         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
40346         * math/libm-test.inc (tan_test): Add more tests and enable more
40347         tests for double and long double.
40348         * sysdeps/i386/fpu/libm-test-ulps: Update.
40349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40350
40351 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
40352
40353         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
40354         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
40355
40356 2012-03-16  Roland McGrath  <roland@hack.frob.com>
40357
40358         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
40359         * configure.in: Use it for both main tree and add-ons.
40360         * configure: Regenerated.
40361
40362 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40363
40364         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
40365
40366 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
40367
40368         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
40369         in comment.
40370
40371         [BZ #13851]
40372         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
40373         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
40374         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
40375         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
40376         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
40377         infinite argument.
40378         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
40379         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
40380         != 0 for prec == 2.
40381         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
40382         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
40383         * sysdeps/i386/fpu/s_cosl.S: Likewise.
40384         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
40385         * sysdeps/i386/fpu/s_sinl.S: Likewise.
40386         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
40387         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
40388         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
40389         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
40390         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
40391         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
40392         * math/libm-test.inc (cos_test): Add more tests and enable more
40393         tests for long double.
40394         (sin_test): Likewise.
40395         (sincos_test): Likewise.
40396         * sysdeps/i386/fpu/libm-test-ulps: Update.
40397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40398
40399 2012-03-16  David S. Miller  <davem@davemloft.net>
40400
40401         * sysdeps/sparc/fpu/math_private.h: New file.
40402
40403 2012-03-15  David S. Miller  <davem@davemloft.net>
40404
40405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
40406         file.
40407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
40408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
40409         file.
40410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
40411         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
40412         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
40413         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
40414         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
40415         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
40416         sysdep routines.
40417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40418
40419         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
40420         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
40421
40422         * sysdeps/sparc/sparc-ifunc.h: New file.
40423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
40424         sparc-ifunc.h
40425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
40427         Likewise.
40428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
40429         Likewise.
40430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
40431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
40432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40434         Likewise.
40435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
40437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
40439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
40440         Likewise.
40441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
40442         Likewise.
40443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
40445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
40446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
40447         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40448         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40449         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
40450         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
40451         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40452         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40453         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
40454         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
40455         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
40456         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
40457         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
40458         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
40459         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
40460         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
40461         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
40462         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
40463         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
40464         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
40465         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
40466         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
40467
40468 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
40469
40470         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
40471         scaling.
40472         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40473
40474 2012-03-15  Andreas Jaeger  <aj@suse.de>
40475
40476         [BZ #13852]
40477         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
40478         ieee754/flt-32 implementation for sin, cos and sincos.
40479         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
40480         * sysdeps/i386/fpu/s_cosf.S: Likewise.
40481         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
40482         * sysdeps/i386/fpu/s_sinf.S: Likewise.
40483         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
40484         ieee754/flt-32 implementation for tan.
40485
40486         * math/libm-test.inc (cos_test): Enable some large input tests for
40487         float as well
40488         (sin_test): Likewise.
40489         (sincos_test): Likewise.
40490         (tan_test): Add tests for large input.
40491
40492         * sysdeps/i386/fpu/libm-test-ulps: Update.
40493
40494 2012-03-15  Andreas Jaeger  <aj@suse.de>
40495
40496         [BZ #13658]
40497         * math/libm-test.inc (cos_test): Add more test cases.
40498         (sin_test): Likewise.
40499         (sincos_test): Likewise.
40500
40501 2012-03-15  Andreas Jaeger  <aj@suse.de>
40502
40503         [BZ #13837]
40504         * math/libm-test.inc (cos_test): Add a test case for large input
40505         value.
40506         (sin_test): Likewise.
40507         (sincos_test): Likewise.
40508
40509 2012-03-15  Andreas Jaeger  <aj@suse.de>
40510             Joseph Myers  <joseph@codesourcery.com>
40511
40512         [BZ #13658]
40513         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
40514         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
40515         * sysdeps/i386/fpu/branred.c: Likewise.
40516         * sysdeps/i386/fpu/dosincos.c: Likewise.
40517         * sysdeps/i386/fpu/mpa.c: Likewise.
40518         * sysdeps/i386/fpu/s_cos.S: Likewise.
40519         * sysdeps/i386/fpu/s_sin.S: Likewise.
40520         * sysdeps/i386/fpu/s_sincos.S: Likewise.
40521         * sysdeps/i386/fpu/sincos32.c: Likewise.
40522
40523         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
40524         Define.
40525         (libc_feupdateenv_53bit): Define.
40526         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
40527         Define.
40528         (libc_feupdateenv_53bit): Define.
40529
40530         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
40531         53 bit (without extend i386 double precision).
40532
40533         * math/libm-test.inc (sincos_test): Add tests for large input.
40534         (sin): Likewise.
40535         (cos): Likewise.
40536
40537         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40538
40539 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
40540
40541         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40542
40543 2012-03-15  David S. Miller  <davem@davemloft.net>
40544
40545         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
40546         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
40547         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
40548         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
40549         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
40550         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
40551         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
40552         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
40553         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
40554         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
40555         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
40556         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
40557         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
40558         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
40559         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
40560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
40561         file.
40562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
40563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
40564         file.
40565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
40566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
40567         file.
40568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
40569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
40570         file.
40571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
40572         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
40573         fmin/fmax sysdep routines.
40574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40575
40576 2012-03-14  David S. Miller  <davem@davemloft.net>
40577
40578         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
40579         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
40580         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
40581         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
40582         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
40583         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
40584         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
40585         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
40586         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
40587         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
40588         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
40589         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
40590         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
40591         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
40592         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
40593         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
40594         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
40595         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
40596         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
40597         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
40598         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
40599         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
40600         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
40601         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
40602         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
40603         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
40604         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
40605         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
40606         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
40607         routines.
40608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
40609         file.
40610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
40611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
40612         file.
40613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
40614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
40615         file.
40616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
40617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
40618         file.
40619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
40620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
40621         file.
40622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
40623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
40624         file.
40625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
40626         file.
40627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
40628         file.
40629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
40630         file.
40631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
40632         New file.
40633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
40634         file.
40635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
40636         file.
40637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
40638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
40639         file.
40640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
40641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
40642         file.
40643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
40644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
40645         file.
40646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
40647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
40648         VIS3 routines.
40649
40650         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40651         New file.
40652
40653         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40654
40655         * sysdeps/sparc/configure.in: New file.
40656         * sysdeps/sparc/configure: Generate.
40657         * configure.in (libc_cv_sparc_as_vis3): Substitute.
40658         * configure: Regenerate.
40659         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
40660         * config.make.in (have-as-vis3): New.
40661         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
40662         available use -Av9d instead of -Av9a.
40663         * sysdeps/sparc/sparc64/Makefile: Likewise.
40664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
40665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
40666         New file.
40667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
40668         file.
40669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
40670         New file.
40671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
40672         file.
40673         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
40674         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
40675         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
40676         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
40677         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
40678
40679         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
40680         fzeros/fnegs to load 0x80000000 into a float register instead of
40681         using the stack.
40682         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
40683
40684 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
40685
40686         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40687         bits/syscall.h.
40688         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
40689         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
40690         ($(inst_includedir)/bits/syscall.h): Remove rule.
40691         ($(objpfx)bits/syscall.d): Include instead of
40692         $(objpfx)syscall-list.d.
40693         (generated): Change syscall-list.h and syscall-list.d to
40694         bits/syscall.h and bits/syscall.d.
40695
40696 2012-03-14  Roland McGrath  <roland@hack.frob.com>
40697
40698         [BZ #13846]
40699         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
40700
40701 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
40702
40703         [BZ #13841]
40704         * math/s_csqrt.c: Include <float.h>.
40705         (__csqrt): Scale large or subnormal inputs.
40706         * math/s_csqrtf.c: Likewise.
40707         * math/s_csqrtl.c: Likewise.
40708         * math/libm-test.inc (csqrt_test): Add more tests.
40709         * sysdeps/i386/fpu/libm-test-ulps: Update.
40710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40711
40712         [BZ #13840]
40713         * math/libm-test.inc (hypot_test): Add more tests.
40714
40715 2012-03-13  David S. Miller  <davem@davemloft.net>
40716
40717         [BZ #13840]
40718         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
40719         double-precision for the calculation instead of scaling.
40720
40721 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
40722
40723         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
40724         manipulate bits before adding and subtracting TWO52[sx].
40725         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
40726         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
40727         Likewise.
40728         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
40729
40730 2012-03-13  David S. Miller  <davem@davemloft.net>
40731
40732         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
40733         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
40734         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
40735         rtld-global-offsets.h
40736         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40737
40738         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40739         large parameters.
40740
40741         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40742
40743         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40744         'err' in the ifdef scope in which it is actually used.
40745
40746         * nss/nss_db/db-init.c: Include string.h
40747
40748 2012-03-12  David S. Miller  <davem@davemloft.net>
40749
40750         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40751         masking out of the most significant byte of random value used.
40752         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40753         Fix coding style in previous change.
40754
40755         * sysdeps/unix/sysv/linux/kernel-features.h
40756         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40757         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40758         expression.
40759         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40760         later.
40761
40762 2012-03-11  David S. Miller  <davem@davemloft.net>
40763
40764         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40765         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40766         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40767         for 'resultvar' otherwise things get truncated on 64-bit.
40768
40769         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40770         Fix masking out of the most significant byte of random value used.
40771
40772         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40773
40774 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
40775
40776         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40777
40778 2012-03-09  David S. Miller  <davem@davemloft.net>
40779
40780         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40781         variables with appropriate CPP guards.
40782         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40783         from the frame pointer, not the stack pointer.  Correct layout
40784         comments.  Fix test on resulting framesize and the management of
40785         the outregs buffer for pltexit.  Preserve floating point return
40786         values across _dl_call_pltexit call.
40787         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40788         framesize and the management of the outregs buffer for pltexit.
40789         Preserve floating point return values across _dl_call_pltexit
40790         call.
40791         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40792         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40793         (la_sparc64_gnu_pltexit): New functions.
40794         (print_exit): Fix format string for return register value.
40795
40796 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
40797
40798         * sunrpc/Makefile (others): Add rpcgen.
40799         ($(objpfx)rpcgen): Remove special build rule and dependency on
40800         libc.
40801         * sunrpc/rpcgen.c: New file.
40802
40803 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
40804
40805         [BZ #13673]
40806         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40807         * stdio-common/bug-vfprintf-nargs.c: Likewise.
40808         * sysdeps/i386/crti.S: Likewise.
40809         * sysdeps/i386/crtn.S: Likewise.
40810         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40811         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40812         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
40813         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
40814         * sysdeps/sh/crti.S: Likewise.
40815         * sysdeps/sh/crtn.S: Likewise.
40816         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40817
40818         [BZ #13673]
40819         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40820         with URL.
40821         * locale/programs/locfile-kw.gperf: Likewise.
40822         * locale/programs/charmap-kw.h: Regenerated.
40823         * locale/programs/locfile-kw.h: Likewise.
40824
40825         [BZ #13673]
40826         * intl/plural.y: Replace FSF snail mail address with URL.
40827         * intl/plural.c: Regenerated.
40828
40829 2012-03-09  Richard Henderson  <rth@twiddle.net>
40830
40831         * include/math_private.h: Remove file.
40832         * math/math_private.h: Move file ...
40833         * sysdeps/generic/math_private.h: ... here.
40834
40835         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40836         * sysdeps/powerpc/fpu/math_private.h: Likewise.
40837         * sysdeps/x86_64/fpu/math_private.h: Likewise.
40838
40839         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
40840         and <math_private.h>.
40841         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40842         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40843         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40844         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40845         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40846         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40847         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40848         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40849         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40850         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40851         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40852         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40853         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40854         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40855         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40856         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40857         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40858         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40859         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40860         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40861         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40862         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40863         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40864         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40865         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40866         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40867         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40868         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40869         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40870         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40871         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40872         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40873         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40874         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40875         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40876         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40877         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40878         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40879         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40880         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40881         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40882         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40883         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40884         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40885         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40886         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40887         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40888         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40889         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40890         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40891         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40892         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40893         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40894         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40895         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40896         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40897         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40898         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40899         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40900         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40901         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40902         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40903         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40904         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40905         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40906         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40907         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40908         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40909         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40910         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40911         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40912         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40913         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40914         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40915         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40916         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40917         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40918         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40919         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40920         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40921         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40922         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40923         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40924         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40925         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40926         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40927         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40928         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40929         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40930         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40931         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40932         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40933         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40934         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40935         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40936         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40937         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40938         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40939         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40940         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40941         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40942         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40943         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40944         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40945         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40946         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40947         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40948         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40949         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40950         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40951         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40952         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40953         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40954         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40955         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40956         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40957         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40958         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40959         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40960         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40961         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40962         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40963         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40964         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40965         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40966         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40967         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40968         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40969         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40970         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40971         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40972         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40973         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40974         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40975         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40976         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40977         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40978         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40979         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40980         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40981         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40982         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40983         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40984         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40985         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40986         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40987         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40988         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40989         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40990         * sysdeps/ieee754/k_standard.c: Likewise.
40991         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40992         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40993         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40994         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40995         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40996         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40997         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40998         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40999         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41000         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41001         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41002         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41003         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41004         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41005         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41006         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41007         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
41008         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41009         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41010         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
41011         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
41012         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
41013         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41014         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41015         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
41016         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
41017         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41018         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41019         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41020         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41021         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
41022         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41023         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41024         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41025         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
41026         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41027         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41028         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
41029         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
41030         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41031         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
41032         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
41033         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
41034         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41035         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
41036         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
41037         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41038         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41039         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41040         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41041         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41042         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
41043         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41044         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
41045         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41046         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41047         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
41048         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
41049         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41050         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41051         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41052         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
41053         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41054         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41055         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41056         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41057         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41058         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41059         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41060         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41061         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41062         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41063         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41064         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41065         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41066         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41067         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
41068         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41069         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41070         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
41071         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
41072         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
41073         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41074         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41075         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
41076         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41077         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41078         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
41079         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41080         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41081         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
41082         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41083         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
41084         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
41085         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41086         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41087         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
41088         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
41089         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
41090         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
41091         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41092         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41093         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41094         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41095         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
41096         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41097         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41098         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
41099         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
41100         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41101         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41102         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41103         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41104         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41105         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41106         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41107         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41108         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41109         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41110         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41111         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41112         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41113         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41114         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41115         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41116         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
41117         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41118         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41119         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41120         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41121         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41122         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41123         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41124         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
41125         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41126         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41127         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
41128         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
41129         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41130         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
41131         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
41132         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41133         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
41134         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
41135         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41136         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41137         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41138         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41139         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41140         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
41141         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41142         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41143         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41144         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41145         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
41146         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
41147         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41148         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41149         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41150         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
41151         * sysdeps/ieee754/s_lib_version.c: Likewise.
41152         * sysdeps/ieee754/s_matherr.c: Likewise.
41153         * sysdeps/ieee754/s_signgam.c: Likewise.
41154         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41155         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41156         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
41157         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
41158         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
41159         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41160         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
41161         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
41162         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
41163         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
41164         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
41165         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
41166         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41167         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41168         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
41169         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
41170         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41171         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
41172         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41173         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41174         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41175
41176 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
41177
41178         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
41179         * sunrpc/rpc_main.c: Likewise.
41180         * sunrpc/rpc_svcout.c: Likewise.
41181
41182 2012-03-09  David S. Miller  <davem@davemloft.net>
41183
41184         * include/math_private.h: New file.
41185
41186 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
41187
41188         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
41189         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
41190         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
41191         from <bits/socket_type.h>.
41192         (enum __socket_type): Don't define here.
41193         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
41194         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41195         bits/socket_type.h.
41196
41197         [BZ #13566]
41198         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
41199         checking __USE_GNU.
41200
41201         * Makerules ($(inst_includedir)/%.h): New rule.
41202         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
41203         (install-others): Remove variable setting.
41204         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
41205
41206 2012-03-08  Richard Henderson  <rth@twiddle.net>
41207
41208         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
41209         from macro to inline function; merge with the
41210         !__LIBC_INTERNAL_MATH_INLINES version.
41211         (__ieee754_sqrtf): Likewise.
41212
41213         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
41214         to inline function.
41215         (__rintf, __floor, __floorf): Likewise.
41216
41217         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
41218         macro to inline function.
41219         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
41220
41221         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
41222         not <math/math_private.h>.
41223
41224 2012-03-08  David S. Miller  <davem@davemloft.net>
41225
41226         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
41227         copyright year.
41228         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
41229
41230 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
41231
41232         * resolv/gai_misc.c (handle_requests): Fix struct timespec
41233         normalization.
41234         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
41235         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
41236
41237 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
41238
41239         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
41240         be defined individually, they must be defined as a block.  Define
41241         S for printing a string instead of hidint the different by using a
41242         macro for adding the 'l'.
41243         * stdio-common/tst-fphex-wide.c: Adjust.
41244
41245 2012-03-07  Marek Polacek  <polacek@redhat.com>
41246
41247         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
41248
41249 2012-03-08  Marek Polacek  <polacek@redhat.com>
41250
41251         [BZ #13806]
41252         * stdio-common/Makefile (tests): Add tst-fphex-wide.
41253         * stdio-common/tst-fphex.c: Define a few macros to make the
41254         test reusable.  Use them.
41255         * stdio-common/tst-fphex-wide.c: New file.
41256
41257 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
41258
41259         [BZ #6911]
41260         * manual/macros.texi (gnusystems): New macro.
41261         (nongnusystems): Likewise.
41262         (gnulinuxhurdsystems): Likewise.
41263         (gnuhurdsystems): Likewise..
41264         (gnulinuxsystems): Likewise.
41265         * manual/charset.texi: Use new macros or @theglibc{} to refer to
41266         variants of the GNU system, not "GNU system".
41267         * manual/conf.texi: Likewise.
41268         * manual/errno.texi: Likewise.  Update example of errno macro
41269         expansion.
41270         * manual/filesys.texi: Likewise.
41271         (getumask): Document as specific to GNU/Hurd.
41272         * manual/install.texi: Likewise.  Reword some references to
41273         GNU/Linux.
41274         * manual/intro.texi: Likewise.
41275         * manual/io.texi: Likewise.
41276         (File Name Portability): Detail which constraints are inapplicable
41277         to all GNU systems and which are only inapplicable to GNU/Hurd.
41278         * manual/job.texi: Likewise.
41279         * manual/llio.texi: Likewise.
41280         (O_NOCTTY): Document as present on GNU/Linux.
41281         * manual/maint.texi: Likewise.
41282         * manual/memory.texi: Likewise.
41283         * manual/pattern.texi: Likewise.
41284         * manual/pipe.texi: Likewise.
41285         * manual/process.texi: Likewise.
41286         * manual/resource.texi: Likewise.
41287         (RUSAGE_CHILDREN): Remove statement about specifying a particular
41288         child on GNU/Hurd.
41289         * manual/setjmp.texi: Likewise.
41290         * manual/signal.texi: Likewise.
41291         * manual/startup.texi: Likewise.
41292         * manual/stdio.texi: Likewise.
41293         * manual/terminal.texi: Likewise.
41294         (ONLCR): Document as POSIX.
41295         (OXTABS): Document availability on GNU/Linux as XTABS.
41296         (ONOEOT): Document availability separately from other bits.
41297         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
41298         * manual/time.texi: Likewise.
41299         * manual/users.texi: Likewise.
41300         * INSTALL: Regenerated.
41301         * sysdeps/gnu/errlist.c: Regenerated.
41302
41303         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
41304         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
41305         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
41306         puts.
41307         * configure: Regenerated.
41308
41309 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
41310
41311         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
41312         default includes instead of AC_HEADER_CHECK.
41313         * sysdeps/i386/configure: Regenerated.
41314
41315         [BZ #10716]
41316         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
41317         * math/s_cacoshf.c (__cacoshf): Likewise.
41318         * math/s_cacoshl.c (__cacoshl): Likewise.
41319         * math/s_casinh.c (__casinh): Set signs of result from argument.
41320         * math/s_casinhf.c (__casinhf): Likewise.
41321         * math/s_casinhl.c (__casinhl): Likewise.
41322         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
41323         (casinh_test): Add more tests.
41324         * sysdeps/i386/fpu/libm-test-ulps: Update.
41325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41326
41327 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
41328
41329         * po/zh_TW.po: Update from translation team.
41330
41331         * login/Makefile (distribute): Remove variable.
41332         * catgets/Makefile: Likewise.
41333         * mach/Makefile: Likewise.
41334         * malloc/Makefile: Likewise.
41335         * misc/Makefile: Likewise.
41336         * iconv/Makefile: Likewise.
41337         * nscd/Makefile: Likewise.
41338         * hurd/Makefile: Likewise.
41339         * manual/Makefile: Likewise.
41340         * locale/Makefile: Likewise.
41341         * intl/Makefile: Likewise.
41342         * conform/Makefile: Likewise.
41343         * nss/Makefile: Likewise.
41344         * time/Makefile: Likewise.
41345         * soft-fp/Makefile: Likewise.
41346         * dirent/Makefile: Likewise.
41347         * gmon/Makefile: Likewise.
41348         * po/Makefile: Likewise.
41349         * rt/Makefile: Likewise.
41350         * socket/Makefile: Likewise.
41351         * math/Makefile: Likewise.
41352         * signal/Makefile: Likewise.
41353         * debug/Makefile: Likewise.
41354         * elf/Makefile: Likewise.
41355         * timezone/Makefile: Likewise.
41356         * stdlib/Makefile: Likewise.
41357         * iconvdata/Makefile: Likewise.
41358         * sunrpc/Makefile: Likewise.
41359         * io/Makefile: Likewise.
41360         * argp/Makefile: Likewise.
41361         * inet/Makefile: Likewise.
41362         * hesiod/Makefile: Likewise.
41363         * grp/Makefile: Likewise.
41364         * csu/Makefile: Likewise.
41365         * wctype/Makefile: Likewise.
41366         * crypt/Makefile: Likewise.
41367         * libio/Makefile: Likewise.
41368         * string/Makefile: Likewise.
41369         * nis/Makefile: Likewise.
41370         * resolv/Makefile: Likewise.
41371         * stdio-common/Makefile: Likewise.
41372         * wcsmbs/Makefile: Likewise.
41373         * dlfcn/Makefile: Likewise.
41374         * posix/Makefile: Likewise.
41375
41376         [BZ #6959]
41377         * timezone/Makefile: Don't install timezone files, just the programs
41378         and scripts.
41379
41380 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
41381
41382         * nss/databases.def: Add missing gshadow entry.
41383
41384         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
41385
41386 2012-03-06  Marek Polacek  <polacek@redhat.com>
41387
41388         [BZ #13726]
41389         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
41390         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
41391         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
41392         * stdio-common/tst-long-dbl-fphex.c: New file.
41393
41394 2012-03-06  David S. Miller  <davem@davemloft.net>
41395
41396         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41397         (set_obp_int): New function.
41398         (get_obp_int): New function.
41399         (__get_clockfreq_via_dev_openprom): Likewise.
41400         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
41401         Avoid unused variable warnings on 'val' and use builtin_expect.
41402         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
41403         __builtin_expect.
41404         (INLINE_CLONE_SYSCALL): Likewise.
41405
41406 2012-03-05  David S. Miller  <davem@davemloft.net>
41407
41408         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41409
41410 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
41411
41412         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41413
41414         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
41415         only for |x| >= 40.
41416         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41417
41418 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
41419
41420         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
41421         Replace gettimeofday with __vdso_gettimeofday.
41422
41423         * sysdeps/unix/sysv/linux/x86_64/init-first.c
41424         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
41425         __vdso_clock_gettime and __vdso_getcpu.
41426
41427         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
41428         time with __vdso_time.
41429
41430 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
41431
41432         * manual/lang.texi (size_t): Note types to which size_t may be
41433         equivalent with the GNU C Library, but do not describe when
41434         differences between them are significant.
41435
41436 2012-03-05  Andreas Jaeger  <aj@suse.de>
41437
41438         * sysdeps/i386/fpu/libm-test-ulps: Update.
41439
41440 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
41441
41442         [BZ #3976]
41443         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
41444         (__ieee754_pow): Save and restore rounding mode and use
41445         round-to-nearest for main computations.
41446         * math/libm-test.inc (pow_test_tonearest): New function.
41447         (pow_test_towardzero): Likewise.
41448         (pow_test_downward): Likewise.
41449         (pow_test_upward): Likewise.
41450         (main): Call the new functions.
41451         * sysdeps/i386/fpu/libm-test-ulps: Update.
41452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41453
41454         [BZ #3976]
41455         * math/libm-test.inc (cosh_test_tonearest): New function.
41456         (cosh_test_towardzero): Likewise.
41457         (cosh_test_downward): Likewise.
41458         (cosh_test_upward): Likewise.
41459         (sinh_test_tonearest): Likewise.
41460         (sinh_test_towardzero): Likewise.
41461         (sinh_test_downward): Likewise.
41462         (sinh_test_upward): Likewise.
41463         (main): Call the new functions.
41464         * sysdeps/i386/fpu/libm-test-ulps: Update.
41465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41466
41467 2012-03-05  Tom de Vries  <tom@codesourcery.com>
41468
41469         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
41470         default stack guard is set in last bytes.
41471         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
41472
41473 2012-03-05  Kees Cook  <keescook@chromium.org>
41474
41475         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
41476
41477         [BZ #13656]
41478         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
41479         possibly allocate from heap instead of stack.
41480         * stdio-common/bug-vfprintf-nargs.c: New file.
41481         * stdio-common/Makefile (tests): Add nargs overflow test.
41482
41483 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
41484
41485         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41486
41487 2012-03-03  Marek Polacek  <polacek@redhat.com>
41488
41489         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
41490         * math/math_private.h: Likewise.
41491         * stdlib/tst-strtod.c: Likewise.
41492         * sysdeps/i386/i486/bits/atomic.h: Likewise.
41493         * sysdeps/x86_64/bits/atomic.h: Likewise.
41494
41495 2012-03-02  David S. Miller  <davem@davemloft.net>
41496
41497         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
41498         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
41499         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
41500         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
41501         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
41502         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
41503         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
41504         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
41505
41506 2012-03-02  Roland McGrath  <roland@hack.frob.com>
41507
41508         [BZ #13792]
41509         * manual/examples/README: New file, says the example source files
41510         can be used under GPL>=2.
41511         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
41512         line containing just "*/".
41513         * manual/examples/add.c: Add copyright header (GPL>=2).
41514         * manual/examples/argp-ex1.c: Likewise.
41515         * manual/examples/argp-ex2.c: Likewise.
41516         * manual/examples/argp-ex3.c: Likewise.
41517         * manual/examples/argp-ex4.c: Likewise.
41518         * manual/examples/atexit.c: Likewise.
41519         * manual/examples/db.c: Likewise.
41520         * manual/examples/dir.c: Likewise.
41521         * manual/examples/dir2.c: Likewise.
41522         * manual/examples/execinfo.c: Likewise.
41523         * manual/examples/filecli.c: Likewise.
41524         * manual/examples/filesrv.c: Likewise.
41525         * manual/examples/fmtmsgexpl.c: Likewise.
41526         * manual/examples/genpass.c: Likewise.
41527         * manual/examples/inetcli.c: Likewise.
41528         * manual/examples/inetsrv.c: Likewise.
41529         * manual/examples/isockad.c: Likewise.
41530         * manual/examples/longopt.c: Likewise.
41531         * manual/examples/memopen.c: Likewise.
41532         * manual/examples/memstrm.c: Likewise.
41533         * manual/examples/mkfsock.c: Likewise.
41534         * manual/examples/mkisock.c: Likewise.
41535         * manual/examples/mygetpass.c: Likewise.
41536         * manual/examples/pipe.c: Likewise.
41537         * manual/examples/popen.c: Likewise.
41538         * manual/examples/rprintf.c: Likewise.
41539         * manual/examples/search.c: Likewise.
41540         * manual/examples/select.c: Likewise.
41541         * manual/examples/setjmp.c: Likewise.
41542         * manual/examples/sigh1.c: Likewise.
41543         * manual/examples/sigusr.c: Likewise.
41544         * manual/examples/stpcpy.c: Likewise.
41545         * manual/examples/strdupa.c: Likewise.
41546         * manual/examples/strftim.c: Likewise.
41547         * manual/examples/strncat.c: Likewise.
41548         * manual/examples/subopt.c: Likewise.
41549         * manual/examples/swapcontext.c: Likewise.
41550         * manual/examples/termios.c: Likewise.
41551         * manual/examples/testopt.c: Likewise.
41552         * manual/examples/testpass.c: Likewise.
41553         * manual/examples/timeval_subtract.c: Likewise.
41554
41555         [BZ #13792]
41556         * manual/time.texi (Elapsed Time): Move timeval_subtract example
41557         function to ...
41558         * manual/timeval_subtract.c.texi: ... here, new file.
41559
41560 2012-03-02  David S. Miller  <davem@davemloft.net>
41561
41562         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
41563
41564 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
41565
41566         [BZ #3976]
41567         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
41568         (__sin): Save and restore rounding mode and use round-to-nearest
41569         for all computations.
41570         (__cos): Save and restore rounding mode and use round-to-nearest
41571         for all computations.
41572         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
41573         <fenv.h>.
41574         (tan): Save and restore rounding mode and use round-to-nearest for
41575         all computations.
41576         * math/libm-test.inc (cos_test_tonearest): New function.
41577         (cos_test_towardzero): Likewise.
41578         (cos_test_downward): Likewise.
41579         (cos_test_upward): Likewise.
41580         (sin_test_tonearest): Likewise.
41581         (sin_test_towardzero): Likewise.
41582         (sin_test_downward): Likewise.
41583         (sin_test_upward): Likewise.
41584         (tan_test_tonearest): Likewise.
41585         (tan_test_towardzero): Likewise.
41586         (tan_test_downward): Likewise.
41587         (tan_test_upward): Likewise.
41588         (main): Call the new functions.
41589         * sysdeps/i386/fpu/libm-test-ulps: Update.
41590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41591
41592         [BZ #10135]
41593         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
41594         small n, then large n, before computing and testing k+n.
41595         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41596         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
41597         Likewise.
41598         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
41599         Likewise.
41600         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
41601         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
41602         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
41603         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
41604         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
41605         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
41606         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
41607         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
41608         * math/libm-test.inc (scalbn_test): Add more tests.
41609         (scalbln_test): Likewise.
41610
41611         * manual/filesys.texi (mode_t): Describe constraints on size and
41612         signedness, not exact equivalence to a particular type.
41613         (ino_t): Likewise.
41614         (ino64_t): Likewise.
41615         (dev_t): Likewise.
41616         (nlink_t): Likewise.
41617         (blkcnt_t): Likewise.
41618         (blkcnt64_t): Likewise.
41619         * manual/llio.texi (off_t): Likewise.
41620
41621         [BZ #3976]
41622         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
41623         (__ieee754_exp): Save and restore rounding mode and use
41624         round-to-nearest for all computations.
41625         * math/libm-test.inc (exp_test_tonearest): New function.
41626         (exp_test_towardzero): Likewise.
41627         (exp_test_downward): Likewise.
41628         (exp_test_upward): Likewise.
41629         (main): Call the new functions.
41630         * sysdeps/i386/fpu/libm-test-ulps: Update.
41631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41632
41633 2012-03-01  Chris Demetriou  <cgd@google.com>
41634
41635         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
41636         have predictable order.
41637
41638 2012-03-01  David S. Miller  <davem@davemloft.net>
41639
41640         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
41641
41642         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
41643         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
41644         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
41645         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
41646
41647         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
41648         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
41649         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
41650         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
41651         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
41652         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
41653         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
41654         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
41655         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
41656
41657         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41658
41659         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
41660         * sysdeps/sparc/fpu/libm-test-ulps: to here.
41661         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
41662
41663         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
41664         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41665         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41666         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
41667         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
41668         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
41669         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
41670         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41671         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41672         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
41673         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
41674         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41675         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41676         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41677         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41678         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41679         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
41680         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
41681         * sysdeps/sparc/elf/configure: Regenerated.
41682
41683 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
41684
41685         * configure.in (AS, LD): Require binutils 2.20 or later.
41686         * configure: Regenerated.
41687         * manual/install.texi (Tools for Compilation): Give binutils 2.20
41688         as required minimum version.
41689         * INSTALL: Regenerated.
41690
41691         [BZ #2541]
41692         [BZ #4108]
41693         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
41694         before squaring exponent.
41695         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
41696         bottom long double and 27 bits of top long double before squaring
41697         exponent.
41698         * math/libm-test.inc (erfc_test): Add more tests.
41699         * sysdeps/i386/fpu/libm-test-ulps: Update.
41700         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41702
41703 2012-03-01  Kai Tietz  <ktietz@redhat.com>
41704
41705         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
41706         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
41707         containing bit-fields.
41708         * soft-fp/extended.h (_FP_UNION_E): Likewise.
41709         * soft-fp/single.h (_FP_UNION_S): Likewise.
41710         * soft-fp/double.h (_FP_UNION_D): Likewise.
41711
41712 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
41713
41714         [BZ #13786]
41715         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
41716         not include ../strcmp.S.
41717         [USE_AS_STRNCASECMP_L]: Likewise.
41718         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
41719         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
41720         * sysdeps/i386/i686/multiarch/strncase_l-c.c
41721         (__strncasecmp_l_ia32): Define as alias to
41722         __strncasecmp_l_nonascii.
41723
41724         [BZ #5794]
41725         * math/libm-test.inc (expm1_test): Add test for bug 5794.
41726         * sysdeps/i386/fpu/libm-test-ulps: Update.
41727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41728
41729         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
41730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41731
41732 2012-02-29  Jeff Law  <law@redhat.com>
41733
41734         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
41735         out of bounds read.
41736
41737 2012-02-29  Marek Polacek  <polacek@redhat.com>
41738
41739         [BZ #13706]
41740         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41741         * elf/Makefile: Add rules to run tst-unused-dep.out.
41742
41743 2012-02-28  David S. Miller  <davem@davemloft.net>
41744
41745         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41746         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41747         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41748         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41749         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41750         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41751
41752 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
41753
41754         * math/libm-test.inc (llround_test): Move one test from
41755         lround_test.  Use TEST_f_L in moved test.
41756         (lround_test): Move misplaced test to llround_test.  Add testcase
41757         from bug 2561.
41758
41759 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
41760
41761         * sysdeps/x86_64/fpu/e_expf.S: New file.
41762         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41763
41764 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
41765
41766         [BZ #13637]
41767         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41768         of remain_len that may cause incomplete multi-byte character and
41769         false match.
41770         * posix/bug-regex33.c: New file.
41771         * posix/Makefile (tests): Add bug-regex33.
41772
41773 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
41774
41775         * manual/macros.texi: New file.
41776         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41777         * manual/libc.texinfo: Include macros.texi.
41778         * manual/creatute.texi: Likewise.
41779         * manual/install.texi: Likewise.
41780         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41781         @glibcadj{} in references to the GNU C Library.
41782         * manual/charset.texi: Likewise.
41783         * manual/conf.texi: Likewise.
41784         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
41785         when not using those macros.
41786         * manual/creature.texi: Likewise.
41787         * manual/crypt.texi: Likewise.
41788         * manual/errno.texi: Likewise.
41789         * manual/filesys.texi: Likewise.
41790         * manual/header.texi: Likewise.
41791         * manual/install.texi: Likewise.
41792         * manual/intro.texi: Likewise.
41793         * manual/io.texi: Likewise.
41794         * manual/job.texi: Likewise.
41795         * manual/lang.texi: Likewise.
41796         * manual/libc.texiinfo: Likewise.
41797         * manual/llio.texi: Likewise.
41798         * manual/locale.texi: Likewise.
41799         * manual/maint.texi: Likewise.
41800         * manual/math.texi: Likewise.
41801         * manual/memory.texi: Likewise.
41802         * manual/message.texi: Likewise.
41803         * manual/nss.texi: Likewise.
41804         * manual/pattern.texi: Likewise.
41805         * manual/process.texi: Likewise.
41806         * manual/resource.texi: Likewise.
41807         * manual/search.texi: Likewise.
41808         * manual/setjmp.texi: Likewise.
41809         * manual/signal.texi: Likewise.
41810         * manual/socket.texi: Likewise.
41811         * manual/startup.texi: Likewise.
41812         * manual/stdio.texi: Likewise.
41813         * manual/string.texi: Likewise.
41814         * manual/sysinfo.texi: Likewise.
41815         * manual/syslog.texi: Likewise.
41816         * manual/terminal.texi: Likewise.
41817         * manual/time.texi: Likewise.
41818         * manual/users.texi: Likewise.
41819         * INSTALL: Regenerated.
41820         * NOTES: Regenerated.
41821         * sysdeps/gnu/errlist.c: Regenerated.
41822
41823 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
41824
41825         * include/dirent.h: Include <dirstream.h> before
41826         <dirent/dirent.h>.
41827
41828 2012-02-28  David S. Miller  <davem@davemloft.net>
41829
41830         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41831         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41832         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41833         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41834
41835 2012-02-27  David S. Miller  <davem@davemloft.net>
41836
41837         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41838         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41839         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41840         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41841
41842         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41843         frame pointer instead of stack pointer relative arg slot.
41844         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41845         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41846         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41847
41848 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
41849
41850         [BZ #3992]
41851         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41852
41853 2012-02-27  David S. Miller  <davem@davemloft.net>
41854
41855         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41856         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41857         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41858         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41859         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41860         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41861         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41862         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41863
41864 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
41865
41866         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41867         later.  Allow versions 5-9.
41868         * configure: Regenerated.
41869         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41870         required minimum version and 4.6 as recommended version.  Do not
41871         mention bugs in GCC 2.7 and 2.8.
41872         * INSTALL: Regenerated.
41873
41874 2012-02-27  David S. Miller  <davem@davemloft.net>
41875
41876         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41877         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41878         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41879         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41880         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41881         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41882         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41883         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41884
41885         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41886         manipulate bits before adding and subtracting TWO112[sx].
41887         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41888
41889 2012-02-27  Roland McGrath  <roland@hack.frob.com>
41890
41891         [BZ #13775]
41892         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41893         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41894         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41895         being in POSIX, because they are in 1003.1-2008.
41896
41897         * rt/tst-aio.c: Include <fcntl.h>.
41898         * rt/tst-aio7.c: Likewise.
41899         * rt/tst-aio64.c: Likewise.
41900
41901         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41902
41903 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
41904
41905         * manual/install.texi (--with-headers): Describe headers as
41906         interface headers, not private headers.
41907         (Specific advice for GNU/Linux systems): Describe use of headers
41908         from "make headers_install", not private headers from older
41909         kernels.
41910         * INSTALL: Regenerated.
41911         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41912         Change to 2.6.19.
41913         * sysdeps/unix/sysv/linux/configure: Regenerated.
41914
41915         * manual/llio.texi (fclean): Remove documentation.
41916
41917         * manual/Makefile (libc-texi-generated): New variable.  Include
41918         version.texi.
41919         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41920         $(libc-texi-generated), not duplicated list of files.
41921         (version.texi, stamp-version): New rules.
41922         (realclean): Remove $(libc-texi-generated), not individual files
41923         from that list.  Do not remove dir-add.texinfo.
41924         * manual/libc.texinfo: Comment out uses of edition numbers and
41925         references to printed manual.  Remove last-updated dates.
41926         (EDITION): Comment out.
41927         (ISBN): Likewise.
41928         (VERSION, UPDATED): Remove.
41929         (version.texi): Include.
41930
41931 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
41932
41933         * sysdeps/posix/spawni.c: Include <signal.h>.
41934         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41935         * sysdeps/pthread/aio_fsync.c: Likewise.
41936
41937 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
41938
41939         * conform/Makefile (tests): Run only when not cross-compiling and
41940         when fast-check is not defined.
41941
41942         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41943         * conform/data/limits.h-data: Fixes for POSIX2008.
41944         * conform/run-conformtest.sh: Run all tests.
41945         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41946         headers.
41947         * include/bits/dlfcn.h: Likewise.
41948         * include/langinfo.h: Likewise.
41949         * include/monetary.h: Likewise.
41950         * include/sys/poll.h: Likewise.
41951
41952         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41953         for __USE_GNU.
41954         * posix/spawn.h: Define __need_sigset_t.
41955         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41956         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41957         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
41958         to get sigevent_t only.
41959         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41960         only for __USE_GNU.
41961         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41962         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41963         process_vm_writev only for __USE_GNU.
41964         * termios/termios.h: Declare tcgetsid also for POSIX2008.
41965
41966         * conform/Makefile: For now ignore errors from run-conformtest.
41967         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
41968         POSIX to avoid namespace pollution.  Don't prepend headers.
41969         * conform/data/aio.h-data: Fixes for POSIX testing.
41970         * conform/data/fcntl.h-data: Likewise.
41971         * conform/data/glob.h-data: Likewise.
41972         * conform/data/grp.h-data: Likewise.
41973         * conform/data/pthread.h-data: Likewise.
41974         * conform/data/pwd.h-data: Likewise.
41975         * conform/data/signal.h-data: Likewise.
41976         * conform/data/spawn.h-data: Likewise.
41977         * conform/data/stdio.h-data: Likewise.
41978         * conform/data/stdlib.h-data: Likewise.
41979         * conform/data/stropts.h-data: Likewise.
41980         * conform/data/sys/mman.h-data: Likewise.
41981         * conform/data/sys/stat.h-data: Likewise.
41982         * conform/data/sys/types.h-data: Likewise.
41983         * conform/data/sys/wait.h-data: Likewise.
41984         * conform/data/time.h-data: Likewise.
41985         * conform/data/unistd.h-data: Likewise.
41986         * conform/data/utime.h-data: Likewise.
41987
41988         * io/sys/stat.h: fchmod was always in POSIX.
41989         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41990         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41991         * rt/aio.h: Define __need_timespec before including <time.h>.
41992         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41993         struct.  Add forward declaration of pthread_attr_t and use it in
41994         sigevent.
41995         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41996         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41997         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41998         always remove CLK_TCK definition.
41999
42000 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
42001
42002         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
42003
42004 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
42005
42006         * conform/run-conformtest.sh: New file.
42007         * conform/Makefile: Run run-conformtest for tests.
42008         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
42009         support.
42010
42011         * conform/data/uchar.h-data: New file.
42012         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
42013         * conform/data/arpa/inet.h-data: Likewise.
42014         * conform/data/assert.h-data: Likewise.
42015         * conform/data/complex.h-data: Likewise.
42016         * conform/data/cpio.h-data: Likewise.
42017         * conform/data/ctype.h-data: Likewise.
42018         * conform/data/dirent.h-data: Likewise.
42019         * conform/data/dlfcn.h-data: Likewise.
42020         * conform/data/errno.h-data: Likewise.
42021         * conform/data/fcntl.h-data: Likewise.
42022         * conform/data/float.h-data: Likewise.
42023         * conform/data/fmtmsg.h-data: Likewise.
42024         * conform/data/fnmatch.h-data: Likewise.
42025         * conform/data/ftw.h-data: Likewise.
42026         * conform/data/glob.h-data: Likewise.
42027         * conform/data/grp.h-data: Likewise.
42028         * conform/data/iconv.h-data: Likewise.
42029         * conform/data/inttypes.h-data: Likewise.
42030         * conform/data/langinfo.h-data: Likewise.
42031         * conform/data/libgen.h-data: Likewise.
42032         * conform/data/limits.h-data: Likewise.
42033         * conform/data/locale.h-data: Likewise.
42034         * conform/data/math.h-data: Likewise.
42035         * conform/data/monetary.h-data: Likewise.
42036         * conform/data/mqueue.h-data: Likewise.
42037         * conform/data/ndbm.h-data: Likewise.
42038         * conform/data/net/if.h-data: Likewise.
42039         * conform/data/netdb.h-data: Likewise.
42040         * conform/data/netinet/in.h-data: Likewise.
42041         * conform/data/nl_types.h-data: Likewise.
42042         * conform/data/poll.h-data: Likewise.
42043         * conform/data/pthread.h-data: Likewise.
42044         * conform/data/pwd.h-data: Likewise.
42045         * conform/data/regex.h-data: Likewise.
42046         * conform/data/sched.h-data: Likewise.
42047         * conform/data/search.h-data: Likewise.
42048         * conform/data/semaphore.h-data: Likewise.
42049         * conform/data/setjmp.h-data: Likewise.
42050         * conform/data/signal.h-data: Likewise.
42051         * conform/data/spawn.h-data: Likewise.
42052         * conform/data/stdarg.h-data: Likewise.
42053         * conform/data/stdio.h-data: Likewise.
42054         * conform/data/stdlib.h-data: Likewise.
42055         * conform/data/string.h-data: Likewise.
42056         * conform/data/strings.h-data: Likewise.
42057         * conform/data/stropts.h-data: Likewise.
42058         * conform/data/sys/ipc.h-data: Likewise.
42059         * conform/data/sys/mman.h-data: Likewise.
42060         * conform/data/sys/msg.h-data: Likewise.
42061         * conform/data/sys/resource.h-data: Likewise.
42062         * conform/data/sys/select.h-data: Likewise.
42063         * conform/data/sys/sem.h-data: Likewise.
42064         * conform/data/sys/shm.h-data: Likewise.
42065         * conform/data/sys/socket.h-data: Likewise.
42066         * conform/data/sys/stat.h-data: Likewise.
42067         * conform/data/sys/statvfs.h-data: Likewise.
42068         * conform/data/sys/time.h-data: Likewise.
42069         * conform/data/sys/timeb.h-data: Likewise.
42070         * conform/data/sys/times.h-data: Likewise.
42071         * conform/data/sys/types.h-data: Likewise.
42072         * conform/data/sys/uio.h-data: Likewise.
42073         * conform/data/sys/un.h-data: Likewise.
42074         * conform/data/sys/utsname.h-data: Likewise.
42075         * conform/data/sys/wait.h-data: Likewise.
42076         * conform/data/syslog.h-data: Likewise.
42077         * conform/data/tar.h-data: Likewise.
42078         * conform/data/termios.h-data: Likewise.
42079         * conform/data/utime.h-data: Likewise.
42080         * conform/data/utmpx.h-data: Likewise.
42081         * conform/data/varargs.h-data: Likewise.
42082         * conform/data/wchar.h-data: Likewise.
42083         * conform/data/wctype.h-data: Likewise.
42084         * conform/data/wordexp.h-data: Likewise.
42085
42086         * include/stropts.h: New file.
42087         * include/uchar.h: New file.
42088         * include/aio.h: Changes to allow conformtest.pl to use the headers.
42089         * include/assert.h: Likewise.
42090         * include/ctype.h: Likewise.
42091         * include/dirent.h: Likewise.
42092         * include/dlfcn.h: Likewise.
42093         * include/fcntl.h: Likewise.
42094         * include/fnmatch.h: Likewise.
42095         * include/glob.h: Likewise.
42096         * include/grp.h: Likewise.
42097         * include/libio.h: Likewise.
42098         * include/locale.h: Likewise.
42099         * include/math.h: Likewise.
42100         * include/net/if.h: Likewise.
42101         * include/netdb.h: Likewise.
42102         * include/netinet/in.h: Likewise.
42103         * include/pthread.h: Likewise.
42104         * include/pwd.h: Likewise.
42105         * include/regex.h: Likewise.
42106         * include/sched.h: Likewise.
42107         * include/search.h: Likewise.
42108         * include/setjmp.h: Likewise.
42109         * include/signal.h: Likewise.
42110         * include/stdio.h: Likewise.
42111         * include/stdlib.h: Likewise.
42112         * include/string.h: Likewise.
42113         * include/sys/cdefs.h: Likewise.
42114         * include/sys/mman.h: Likewise.
42115         * include/sys/msg.h: Likewise.
42116         * include/sys/resource.h: Likewise.
42117         * include/sys/select.h: Likewise.
42118         * include/sys/socket.h: Likewise.
42119         * include/sys/stat.h: Likewise.
42120         * include/sys/statvfs.h: Likewise.
42121         * include/sys/time.h: Likewise.
42122         * include/sys/times.h: Likewise.
42123         * include/sys/uio.h: Likewise.
42124         * include/sys/utsname.h: Likewise.
42125         * include/sys/wait.h: Likewise.
42126         * include/termios.h: Likewise.
42127         * include/time.h: Likewise.
42128         * include/ulimit.h: Likewise.
42129         * include/unistd.h: Likewise.
42130         * include/utime.h: Likewise.
42131         * include/wchar.h: Likewise.
42132         * include/wctype.h: Likewise.
42133         * include/wordexp.h: Likewise.
42134
42135         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
42136
42137         * time/time.h: TIME_UTC must be a macro.
42138         Make timespec_get available for ISO C11 only as well.
42139
42140 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
42141
42142         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
42143         Reported by Peng Haitao <penght@cn.fujitsu.com>.
42144
42145 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
42146
42147         * configure.in: Use -o not -a in test for unsupported multi-arch.
42148
42149 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
42150
42151         * manual/texinfo.tex: Update to version 2012-01-19.16.
42152
42153 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
42154
42155         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
42156
42157 2012-02-24  Roland McGrath  <roland@hack.frob.com>
42158
42159         [BZ #13738]
42160         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
42161         * manual/fdl-1.3.texi: New file.
42162         * manual/fdl-1.1.texi: File removed.
42163
42164         [BZ #13738]
42165         * manual/libc.texinfo (FDL_VERSION): New @set.
42166         Use it for mention of FDL in cover text.
42167         (Documentation License): Use it in @include file name.
42168
42169 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42170             Roland McGrath  <roland@hack.frob.com>
42171
42172         [BZ #5461]
42173         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
42174         (not LONG_LONG_MAX and LONG_LONG_MIN.
42175         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
42176         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
42177         name.
42178         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
42179
42180 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42181
42182         [BZ #2547]
42183         [BZ #11365]
42184         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
42185         manipulate bits before adding and subtracting TWO23[sx].
42186         * math/libm-test.inc (nearbyint_test): Add more tests.
42187
42188 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42189
42190         [BZ #2548]
42191         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
42192         bits before adding and subtracting TWO23[sx].
42193         * math/libm-test.inc (rint_test): Add more tests.
42194         (rint_test_tonearest): Likewise.
42195         (rint_test_towardzero): Likewise.
42196         (rint_test_downward): Likewise.
42197         (rint_test_upward: Likewise.
42198
42199 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42200
42201         [BZ #10110]
42202         * include/stdc-predef.h: New file.  Extracted from features.h.
42203         * include/features.h: Include stdc-predef.h.
42204         * Makefile (headers): Add stdc-predef.h.
42205         * CONFORMANCE (Compiler limitations): Update.
42206
42207 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42208
42209         * manual/libc.texinfo (VERSION, UPDATED): Revert.
42210
42211 2012-02-21  David S. Miller  <davem@davemloft.net>
42212
42213         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
42214         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42215
42216 2012-02-20  David S. Miller  <davem@davemloft.net>
42217
42218         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
42219         using a normal save/restore sequence, rather than allocating a
42220         dummy stack frame just to store a frame pointer and restore.
42221         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42222
42223 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
42224
42225         * manual/install.texi: Fix stray word in line-wrapped comment.
42226
42227 2012-02-20  David S. Miller  <davem@davemloft.net>
42228
42229         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
42230         both binutils and gcc support GOTDATA.
42231
42232         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
42233         "rd %pc" in the PIC register setup sequences.
42234
42235         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
42236         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
42237         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42238         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
42239         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42240         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42241         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42242         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42243         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
42244         (SYSCALL_ERROR_HANDLER): Likewise.
42245         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42246         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42247         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
42248         (SYSCALL_ERROR_HANDLER): Likewise.
42249
42250         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
42251         (HAVE_GCC_GOTDATA): New.
42252         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
42253         relocation support in both binutils and gcc.
42254         * sysdeps/sparc/elf/configure: Regenerate.
42255
42256         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
42257         * sysdeps/sparc/sparc32/elf/configure: Delete.
42258         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
42259         * sysdeps/sparc/sparc64/elf/configure: Delete.
42260         * sysdeps/sparc/elf/configure.in: New file.
42261         * sysdeps/sparc/elf/configure: Generate.
42262
42263         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
42264         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
42265         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42266         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
42267         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
42268
42269 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
42270
42271         * manual/install.texi: Do not mention specific glibc version
42272         numbers.
42273         * manual/libc.texinfo (VERSION, UPDATED): Update.
42274         (@copying): Use @copyright{} and range of years.
42275
42276 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
42277
42278         [BZ #13695]
42279         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
42280         [crti.S not in sysdirs] (generated): Do not append.
42281         [crti.S not in sysdirs] (omit-deps): Likewise.
42282         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
42283         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
42284         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
42285         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
42286         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
42287         Likewise.
42288         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
42289         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
42290         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
42291         * csu/defs.awk: Remove file.
42292         * sysdeps/generic/initfini.c: Likewise.
42293         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
42294         variable.
42295         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
42296         Likewise.
42297
42298 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
42299
42300         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
42301         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
42302         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
42303         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
42304         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42305         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
42306         <bits/epoll.h>.
42307         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
42308         (__EPOLL_PACKED): Define to empty if not defined by
42309         <bits/epoll.h>.
42310         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
42311         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42312         bits/epoll.h.
42313
42314 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
42315
42316         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
42317         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
42318         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
42319         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
42320         <bits/timerfd.h>.
42321         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
42322         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42323         bits/timerfd.h.
42324
42325 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
42326
42327         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
42328         in C locale.
42329         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42330         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42331         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
42332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42333
42334 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
42335
42336         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42337         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42338
42339 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
42340
42341         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
42342         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
42343         defined.
42344         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
42345         Likewise.
42346         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
42347         entry for 2.16.
42348
42349 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
42350
42351         * math/w_acos.c: Use non-signaling floating-point comparisons.
42352         * math/w_acosf.c: Likewise.
42353         * math/w_acosh.c: Likewise.
42354         * math/w_acoshf.c: Likewise.
42355         * math/w_acoshl.c: Likewise.
42356         * math/w_acosl.c: Likewise.
42357         * math/w_asin.c: Likewise.
42358         * math/w_asinf.c: Likewise.
42359         * math/w_asinl.c: Likewise.
42360         * math/w_atanh.c: Likewise.
42361         * math/w_atanhf.c: Likewise.
42362         * math/w_atanhl.c: Likewise.
42363         * math/w_exp2.c: Likewise.
42364         * math/w_exp2f.c: Likewise.
42365         * math/w_exp2l.c: Likewise.
42366         * math/w_j0.c: Likewise.
42367         * math/w_j0f.c: Likewise.
42368         * math/w_j0l.c: Likewise.
42369         * math/w_j1.c: Likewise.
42370         * math/w_j1f.c: Likewise.
42371         * math/w_j1l.c: Likewise.
42372         * math/w_jn.c: Likewise.
42373         * math/w_jnf.c: Likewise.
42374         * math/w_log.c: Likewise.
42375         * math/w_log10.c: Likewise.
42376         * math/w_log10f.c: Likewise.
42377         * math/w_log10l.c: Likewise.
42378         * math/w_log2.c: Likewise.
42379         * math/w_log2f.c: Likewise.
42380         * math/w_log2l.c: Likewise.
42381         * math/w_logf.c: Likewise.
42382         * math/w_logl.c: Likewise.
42383         * math/w_sqrt.c: Likewise.
42384         * math/w_sqrtf.c: Likewise.
42385         * math/w_sqrtl.c: Likewise.
42386         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42387         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
42388         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42389         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42390         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42391
42392 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42393
42394         [BZ #9739]
42395         * manual/string.texi (strnlen): Use correct parameter name in
42396         equivalent expression.
42397
42398 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42399
42400         [BZ #11174]
42401         * manual/users.texi (seteuid): Consistently use neweuid for
42402         argument name.
42403
42404 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42405
42406         [BZ #13704]
42407         * manual/nss.texi (Services in the NSS configuration): Correct
42408         list of services in example configuration file.
42409
42410 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
42411
42412         [BZ #11322]
42413         * manual/arith.texi: Remove statements about negative zero
42414         behaving identically to zero.
42415
42416 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
42417
42418         [BZ #5993]
42419         * manual/install.texi: Do not document upgrading from libc5.
42420
42421 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
42422
42423         [BZ #4596]
42424         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
42425
42426 2012-02-18  David S. Miller  <davem@davemloft.net>
42427
42428         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
42429         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
42430         %o7 across the call.
42431         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
42432         instead.
42433         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
42434         SETUP_PIC_REG_LEAF.
42435         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42436         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
42437         * sysdeps/sparc/crtn.S: Likewise.
42438
42439 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
42440
42441         * aout/Makefile: Remove.
42442
42443 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
42444
42445         [BZ #13058]
42446         * manual/examples/argp-ex1.c (main): Format definition in GNU
42447         style.
42448         * manual/examples/argp-ex2.c (main): Likewise.
42449         * manual/examples/argp-ex3.c (main): Likewise.
42450         * manual/examples/argp-ex4.c (main): Likewise.
42451         * manual/examples/longopt.c (main): Use new-style prototype
42452         definition.
42453         * manual/examples/strncat.c (main): Specify return type and use
42454         (void) for arguments.
42455         * manual/examples/subopt.c (main): Use char **argv argument.
42456
42457 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42458
42459         [BZ #5077]
42460         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
42461         rounding modes.
42462
42463 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
42464
42465         [BZ #6907]
42466         * manual/string.texi (strchr): Change when strchrnul is
42467         recommended.
42468
42469 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
42470
42471         [BZ #174]
42472         * manual/locale.texi (setlocale): Document LOCPATH.
42473
42474 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42475
42476         [BZ #10210]
42477         * manual/process.texi (execle): Move @dots{} before last argument.
42478
42479 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
42480
42481         [BZ #12047]
42482         * manual/charset.texi (Generic Charset Conversion): Fix typo
42483         (LC_TYPE -> LC_CTYPE).
42484
42485 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
42486
42487         [BZ #5805]
42488         * manual/arith.texi (scalbn): Use @var{} on parameter names.
42489         (scalbnf): Likewise.
42490         (scalbnl): Likewise.
42491         (scalbln): Likewise.
42492         (scalblnf): Likewise.
42493         (scalblnl): Likewise.
42494         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
42495         (vwarnx): Likewise.
42496         (verr): Likewise.
42497         (verrx): Likewise.
42498         * manual/filesys.texi (telldir): Use braces around return type.
42499         * manual/llio.texi (mmap): Add space after comma.
42500         (mmap64): Likewise.
42501         * manual/math.texi (jn): Use @var{} on parameter names.
42502         (jnf): Likewise.
42503         (jnl): Likewise.
42504         (yn): Likewise.
42505         (ynf): Likewise.
42506         (ynl): Likewise.
42507         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
42508         line.
42509         * manual/resource.texi (ulimit): Use @dots{} instead of literal
42510         "...".
42511         (sched_get_priority_min): Remove semicolon on @deftypefun line.
42512         (sched_get_priority_max): Likewise.
42513         * manual/signal.texi (sigvec): Add space after comma.
42514         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
42515         names.
42516         (if_indextoname): Likewise.
42517         (if_freenameindex): Likewise.
42518         (sendto): Use ',' instead of '.' in prototype.
42519         * manual/startup.texi (syscall): Use @dots{} instead of literal
42520         "...".
42521         * manual/stdio.texi (__fpending): Separate initial words of
42522         paragraph from @deftypefun line.
42523         * manual/syslog.texi (syslog): Use @dots{} instead of literal
42524         "...".
42525         (vsyslog): Use @var{} on parameter names.
42526         * manual/terminal.texi (stty): Use @var{} on parameter names.
42527         * manual/users.texi (getutmp): Use @var{} on parameter names.
42528         (getutmpx): Likewise.
42529
42530 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42531
42532         [BZ #6884]
42533         * manual/stdio.texi (fopen): Fix typos in description of
42534         ",ccs=STRING".
42535
42536 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
42537
42538         [BZ #4026]
42539         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
42540         get clock_id definition.
42541
42542 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
42543
42544         [BZ #4822]
42545         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
42546         (madvise): Cast every argument to void on its own.
42547
42548 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42549
42550         [BZ #9902]
42551         * manual/startup.texi (Exit Status): Fix typo.
42552
42553 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42554
42555         [BZ #10140]
42556         * manual/examples/argp-ex1.c: Include <stdlib.h>.
42557         * manual/examples/argp-ex2.c: Likewise.
42558         * manual/examples/argp-ex3.c: Likewise.
42559
42560 2012-02-16  Richard Henderson  <rth@redhat.com>
42561
42562         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
42563         * sysdeps/s390/s390-32/initfini.c: Remove.
42564         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
42565         * sysdeps/s390/s390-64/initfini.c: Remove.
42566
42567 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42568
42569         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
42570         compiler output for sysdeps/generic/initfini.c.
42571         * sysdeps/sh/elf/initfini.c: Remove file.
42572
42573 2012-02-16  David S. Miller  <davem@davemloft.net>
42574
42575         [BZ #11494]
42576         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
42577
42578         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
42579         * sysdeps/sparc/crti.S: New file.
42580         * sysdeps/sparc/crtn.S: New file.
42581         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
42582         * sysdeps/sparc/sparc64/Makefile: Likewise.
42583
42584 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
42585
42586         [BZ #3335]
42587         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
42588
42589 2012-02-15  Roland McGrath  <roland@hack.frob.com>
42590
42591         [BZ #4822]
42592         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
42593
42594         * mach/devstream.c (cookie_io_functions_t): Macro removed.
42595         (write, read, close): Likewise.
42596         Patch by Aurelien Jarno <aurelien@aurel32.net>.
42597
42598 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
42599
42600         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
42601         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
42602         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
42603         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
42604         <bits/signalfd.h>.
42605         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
42606         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42607         bits/signalfd.h.
42608
42609 2012-02-14  Marek Polacek  <polacek@redhat.com>
42610
42611         * sysdeps/x86_64/crti.S: New file.
42612         * sysdeps/x86_64/crtn.S: New file.
42613         * sysdeps/x86_64/elf/initfini.c: Remove file.
42614
42615 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
42616
42617         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
42618         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
42619         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
42620         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
42621         <bits/inotify.h>.
42622         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
42623         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42624         bits/inotify.h.
42625
42626 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
42627
42628         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
42629         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
42630         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
42631         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
42632         <bits/eventfd.h>.
42633         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
42634         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42635         bits/eventfd.h.
42636
42637 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
42638
42639         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
42640         __feraiseexcept instead of feraiseexcept.
42641
42642         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
42643         nanosleep invocations.
42644         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
42645         strings, and add error checking for a nanosleep invocations.
42646
42647 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
42648
42649         Replace FSF snail mail address with URLs, as per GNU coding standards.
42650         Most of the snail mail addresses were wrong anyway, and omitting
42651         them makes the source code easier to maintain.  Almost all of the
42652         changes are to license notices and to locale LC_IDENTIFICATION
42653         addresses, except for this one:
42654         * manual/libc.texinfo: In "Published by", give the FSF's URL,
42655         not its snail mail address.
42656
42657 2012-02-09  Richard Henderson  <rth@twiddle.net>
42658
42659         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
42660         of kernel-features.h.
42661
42662         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
42663
42664 2012-02-08  Marek Polacek  <polacek@redhat.com>
42665
42666         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
42667         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
42668         * sysdeps/gnu/_G_config.h: Likewise.
42669         * sysdeps/generic/_G_config.h: Likewise.
42670
42671 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
42672
42673         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
42674         tests.
42675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42676
42677         * sysdeps/powerpc/powerpc32/crti.S: New file.
42678         * sysdeps/powerpc/powerpc32/crtn.S: New file.
42679         * sysdeps/powerpc/powerpc64/crti.S: New file.
42680         * sysdeps/powerpc/powerpc64/crtn.S: New file.
42681
42682         * Makeconfig (have-initfini): Don't set.
42683         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
42684         * configure.in (nopic_initfini): Don't substitute.
42685         * config.h.in (HAVE_INITFINI): Don't #undef.
42686         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
42687         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
42688
42689 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
42690
42691         Support crti.S and crtn.S provided directly by architectures.
42692         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
42693         [crti.S in sysdirs] (omit-deps): Likewise.
42694         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
42695         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
42696         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
42697         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
42698         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
42699         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
42700         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
42701         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
42702         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
42703         compiler output for sysdeps/generic/initfini.c.
42704         * sysdeps/i386/elf/Makefile: Remove file.
42705         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
42706
42707 2012-02-07  Marek Polacek  <polacek@redhat.com>
42708
42709         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
42710         * sysdeps/gnu/_G_config.h: Likewise.
42711         * sysdeps/mach/hurd/_G_config.h: Likewise.
42712
42713 2012-02-07  Marek Polacek  <polacek@redhat.com>
42714
42715         * math/Makefile (tests): Add tst-CMPLX2.
42716         * math/tst-CMPLX2.c: New file.
42717
42718 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
42719
42720         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42721
42722         * math/libm-test.inc (jn_test): Add missing L suffix.
42723
42724 2012-02-06  Marek Polacek  <polacek@redhat.com>
42725
42726         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
42727         * sysdeps/i386/fpu/e_powf.S: Likewise.
42728         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42729         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42730         * sysdeps/i386/fpu/e_acosh.S: Likewise.
42731         * sysdeps/i386/fpu/e_pow.S: Likewise.
42732         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42733         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42734         * sysdeps/i386/fpu/s_expm1.S: Likewise.
42735         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42736         * sysdeps/i386/fpu/e_log2.S: Likewise.
42737         * sysdeps/i386/fpu/e_log2l.S: Likewise.
42738         * sysdeps/i386/fpu/e_scalb.S: Likewise.
42739         * sysdeps/i386/fpu/e_powl.S: Likewise.
42740         * sysdeps/i386/fpu/s_log1p.S: Likewise.
42741         * sysdeps/i386/fpu/e_log10f.S: Likewise.
42742         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42743         * sysdeps/i386/fpu/e_logl.S: Likewise.
42744         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42745         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42746         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42747         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42748         * sysdeps/i386/fpu/e_log2f.S: Likewise.
42749         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42750         * sysdeps/i386/fpu/e_log.S: Likewise.
42751         * sysdeps/i386/fpu/s_cexp.S: Likewise.
42752         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42753         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42754         * sysdeps/i386/fpu/e_logf.S: Likewise.
42755         * sysdeps/i386/fpu/e_log10l.S: Likewise.
42756         * sysdeps/i386/fpu/e_atanh.S: Likewise.
42757         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42758         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42759         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42760         * sysdeps/i386/fpu/e_log10.S: Likewise.
42761         * sysdeps/i386/fpu/s_frexp.S: Likewise.
42762         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42763         * sysdeps/i386/fpu/s_asinh.S: Likewise.
42764         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42765         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42766         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42767         * sysdeps/i386/asm-syntax.h: Likewise.
42768         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42769         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42770         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42771         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42772         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42773         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42774         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42775         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42776         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42777         * sysdeps/powerpc/sysdep.h: Likewise.
42778         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42779         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42780
42781 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42782
42783         [BZ #411]
42784         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42785
42786 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42787
42788         * sysdeps/i386/sysdep.h: Include <features.h>.
42789         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42790         version.
42791
42792 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
42793
42794         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42795         Define.
42796         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42797         LOAD_PIC_REG_STR.
42798
42799 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42800
42801         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42802         (SETUP_PIC_REG): Use GET_PC_THUNK.
42803         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42804         macro.
42805
42806 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42807
42808         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42809         for non-PIC compilation.
42810         (SETUP_PIC_REG): Add .p2align directive.
42811         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42812         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42813         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42814         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42815         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42816         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42817         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42818         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42819         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42820         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42821         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42822         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42823         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42824         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42825         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42826         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42827         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42828         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42829         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42830         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42831         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42832         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42833         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42834         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42835         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42836         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42837         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42838         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42839         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42840         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42841         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42842         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42843         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42844         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42845         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42846         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42847         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42848         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42849         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42850         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42851         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42852
42853 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42854
42855         * math/tst-CMPLX.c: Include <stdio.h>.
42856
42857 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
42858
42859         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42860         float.
42861         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42862         * sysdeps/sparc/bits/mathdef.h: Likewise.
42863
42864 2012-01-31  Marek Polacek  <polacek@redhat.com>
42865
42866         * libio/libio.h: Don't define _PARAMS.
42867         * locale/programs/config.h: Don't define PARAMS.
42868         * stdlib/strtol_l.c: Likewise.
42869         (__strtol_l): Remove PARAMS from the prototype.
42870
42871 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
42872
42873         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
42874         names.  Just use the correct names.  Remove unnecessary wrapper
42875         functions.
42876         * malloc/arena.c: Likewise.
42877         * malloc/hooks.c: Likewise.
42878
42879         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42880         ARENA_TEST says not to.  Simplify test for creation of a new arena.
42881         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42882
42883 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
42884
42885         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42886         into tail calls.
42887         (update_get_addr): New function.
42888         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42889         GET_ADDR_MODULE parameter.
42890
42891 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
42892
42893         * crypt/cert.c: Remove __STDC__ conditionals.
42894         * crypt/crypt-entry.c: Likewise.
42895         * crypt/crypt_util.c: Likewise.
42896         * libio/filedoalloc.c: Likewise.
42897         * libio/fileops.c: Likewise.
42898         * libio/genops.c: Likewise.
42899         * libio/iofclose.c: Likewise.
42900         * libio/iofdopen.c: Likewise.
42901         * libio/iofopen.c: Likewise.
42902         * libio/iofopen64.c: Likewise.
42903         * libio/iogetdelim.c: Likewise.
42904         * libio/iopopen.c: Likewise.
42905         * libio/obprintf.c: Likewise.
42906         * libio/oldfileops.c: Likewise.
42907         * libio/oldiofclose.c: Likewise.
42908         * libio/oldiofdopen.c: Likewise.
42909         * libio/oldiofopen.c: Likewise.
42910         * libio/oldiopopen.c: Likewise.
42911         * libio/wfiledoalloc.c: Likewise.
42912         * libio/wgenops.c: Likewise.
42913         * locale/programs/xmalloc.c: Likewise.
42914         * misc/syslog.c: Likewise.
42915         * stdio-common/xbug.c: Likewise.
42916         * string/memchr.c: Likewise.
42917         * string/memcmp.c: Likewise.
42918         * string/memrchr.c: Likewise.
42919         * string/rawmemchr.c: Likewise.
42920         * sysdeps/posix/getcwd.c: Likewise.
42921         * time/strftime_l.c: Likewise.
42922
42923 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
42924
42925         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
42926         * config.make.in (config-cflags-sse2avx): Define.
42927         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42928         Fix typo.
42929
42930 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
42931
42932         * scripts/config.guess: Update from upstream config git repository.
42933         * scripts/config.sub: Likewise.
42934
42935 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
42936
42937         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42938         (EM_NUM): Update.
42939         (R_TILEPRO_*, R_TILEGX_*): New macros.
42940
42941         * scripts/firstversions.awk: Fix bug in version range handling.
42942
42943         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42944
42945         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42946
42947         * include/sys/epoll.h: New file.
42948         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42949         libc_hidden_def.
42950
42951 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
42952
42953         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42954         Avoid unnecessary __WORDSIZE == 64 test.
42955         (fmaxf): Use VEX format if possible.
42956         (fmax): Likewise.
42957         (fminf): Likewise.
42958         (fmin): Likewise.
42959
42960         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42961         * math/math_private.h: Remove libc_fegetround* and
42962         libc_fesetround*.
42963         * sysdeps/i386/configure.in: Check for -msse2avx.
42964         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42965         also if SSE2AVX is defined.
42966         Remove libc_fegetround* and libc_fesetround*.
42967         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42968         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
42969         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42970         of HAS_YMM_USABLE.
42971         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42972         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42973         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42974         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42975         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42976
42977         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42978
42979 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42980
42981         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42982         size is not set.
42983         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42984
42985 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
42986
42987         [BZ #13618]
42988         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42989         relocation.
42990         * Makeconfig (libm): Define.
42991         * elf/Makefile: Add rules to build and run tst-relsort1.
42992         * elf/tst-relsort1.c: New file.
42993         * elf/tst-relsort1mod1.c: New file.
42994         * elf/tst-relsort1mod2.c: New file.
42995
42996 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
42997
42998         * math/s_ldexp.c: Remove __STDC__ conditionals.
42999         * math/s_ldexpf.c: Likewise.
43000         * math/s_ldexpl.c: Likewise.
43001         * math/s_nextafter.c: Likewise.
43002         * math/s_nexttowardf.c: Likewise.
43003         * math/s_significand.c: Likewise.
43004         * math/s_significandf.c: Likewise.
43005         * math/s_significandl.c: Likewise.
43006         * math/w_jnl.c: Likewise.
43007         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
43008         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
43009         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
43010         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
43011         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
43012         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43013         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
43014         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43015         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43016         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43017         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43018         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43019         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43020         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
43021         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43022         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43023         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43024         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43025         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43026         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43027         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43028         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43029         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43030         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43031         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43032         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43033         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43034         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43035         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
43036         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43037         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43038         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
43039         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43040         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
43041         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
43042         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43043         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43044         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43045         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43046         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43047         * sysdeps/ieee754/k_standard.c: Likewise.
43048         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43049         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43050         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43051         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43052         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43053         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43054         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43055         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43056         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43057         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43058         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43059         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43060         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43061         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43062         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43063         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43064         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43065         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43066         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43067         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43068         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43069         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43070         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43071         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43072         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43073         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43074         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43075         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43076         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43077         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43078         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43079         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
43080         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43081         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43082         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43083         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43084         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
43085         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43086         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43087         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
43088         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
43089         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43090         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
43091         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
43092         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43093         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
43094         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
43095         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43096         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43097         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
43098         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
43099         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43100         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43101         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43102         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43103         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43104         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
43105         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43106         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43107         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43108         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43109         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43110         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43111         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43112         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43113         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43114         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43115         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43116         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43117         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43118         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43119         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43120         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43121         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43122         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43123         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43124         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43125         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43126         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43127         * sysdeps/ieee754/s_matherr.c: Likewise.
43128         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43129         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43130         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43131         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43132
43133 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
43134
43135         * crypt/md5.h: Remove __STDC__ conditionals.
43136         * libio/libioP.h: Likewise.
43137         * locale/programs/config.h: Likewise.
43138         * sysdeps/generic/sysdep.h: Likewise.
43139         * sysdeps/i386/asm-syntax.h: Likewise.
43140         * sysdeps/s390/asm-syntax.h: Likewise.
43141         * sysdeps/unix/sysdep.h: Likewise.
43142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43144
43145 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
43146
43147         * libio/libio.h: Remove __STDC__ conditionals.
43148         * malloc/obstack.h: Likewise.
43149         * math/complex.h: Likewise.
43150         * math/math.h: Likewise.
43151         * sysdeps/generic/_G_config.h: Likewise.
43152         * sysdeps/gnu/_G_config.h: Likewise.
43153         * sysdeps/mach/hurd/_G_config.h: Likewise.
43154         * sysdeps/powerpc/bits/mathdef.h: Likewise.
43155         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43156         * sysdeps/sparc/bits/mathdef.h: Likewise.
43157
43158 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
43159
43160         [BZ #13583]
43161         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
43162         Clean up HAS_* macros.
43163         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
43164         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
43165         possible.
43166         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
43167         HAS_AVX.
43168         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43169         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43170         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43171         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43172         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43173
43174 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
43175
43176         * elf/tst-unique3.cc (gets): Remove declaration.
43177         * elf/tst-unique3lib.cc (gets): Likewise.
43178         * elf/tst-unique3lib2.cc (gets): Likewise.
43179         * elf/tst-unique4.cc (gets): Likewise.
43180
43181 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
43182
43183         * include/stdio.h: Add C++ protection.  Add gets declarations and
43184         definitions.
43185         * debug/tst-chk1.c: Don't declare gets here.
43186         * stdio-common/tst-gets.c: Likewise.
43187
43188 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
43189
43190         * posix/glob: Remove directory.
43191
43192 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
43193
43194         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
43195
43196 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
43197
43198         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
43199         of the non-standard EPFNOSUPPORT.
43200
43201 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43202
43203         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
43204         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
43205         ANYWHERE set to 1 only on KERN_NO_SPACE error.
43206
43207 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
43208
43209         * wcsmbs/uchar.h: Test __STDC_VERSION__.
43210
43211 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
43212
43213         * nscd/aicache.c (addhstaiX): Do not cache negative results of
43214         transient errors.
43215         * nscd/grpcache.c (cache_addgr): Likewise.
43216         * nscd/hstcache.c (cache_addhst): Likewise.
43217         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43218         * nscd/pwdcache.c (cache_addpw): Likewise.
43219         * nscd/servicescache.c (cache_addserv): Likewise.
43220
43221 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
43222
43223         * malloc/malloc.c: Various cleanups.
43224         * malloc/hooks.c: Likewise.
43225
43226         * stdlib/Makefile (tests): Add bug-fmtmsg1.
43227         * stdlib/bug-fmtmsg1.c: New file.
43228
43229         * stdlib/fmtmsg.c (init): Add missing unlock.
43230         Patch by Peng Haitao <penght@cn.fujitsu.com>.
43231
43232 2012-01-12  Marek Polacek  <polacek@redhat.com>
43233
43234         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
43235         and _GNU_SOURCE.
43236
43237 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
43238
43239         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
43240         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
43241         macro to ensure uniqueness of label name.
43242         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43243         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43244
43245 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
43246
43247         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
43248
43249         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
43250         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43251         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43252         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
43253
43254 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
43255
43256         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
43257
43258         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
43259         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43260         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43261
43262         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
43263
43264         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
43265         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43266         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43267         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
43268
43269         * math/bits/math-finite.h: Add ldexp support.
43270
43271 2012-01-10  Marek Polacek  <polacek@redhat.com>
43272
43273         * locale/programs/localedef.h (show_archive_content): Add noreturn
43274         attribute.
43275
43276 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
43277
43278         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
43279
43280 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
43281
43282         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
43283
43284         * io/Makefile (headers): Add bits/poll2.h.
43285
43286 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
43287
43288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
43289         typo #include statement.
43290
43291 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
43292
43293         * include/sys/cdefs.h: Define __attribute_alloc_size.
43294         * catgets/gencat.c: Add alloc_size attribute and apply consistently
43295         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
43296         * elf/pldd.c: Likewise.
43297         * iconv/iconv_charmap.c: Likewise.
43298         * iconv/iconvconfig.c: Likewise.
43299         * iconv/strtab.c: Likewise.
43300         * locale/programs/locale.c: Likewise.
43301         * locale/programs/localedef.h: Likewise.
43302         * locale/programs/simple-hash.c: Likewise.
43303         * nscd/nscd.h: Likewise.
43304         * nss/makedb.c: Likewise.
43305         * sysdeps/generic/ldconfig.h: Likewise.
43306         * locale/programs/localedef.c: Remove xmalloc prototype.
43307         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
43308
43309 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
43310
43311         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
43312         appropriate.
43313
43314 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
43315
43316         * math/Makefile (tests): Add tst-CMPLX.
43317         * math/tst-CMPLX.c: New file.
43318
43319         * math/complex.h (CMPLXL): Fix typo.
43320
43321         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
43322         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
43323         GLIBC_2.16.
43324         * debug/tst-chk1.c: Add poll and ppoll tests.
43325         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
43326         * include/sys/poll.h: Add hidden proto for ppoll.
43327         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
43328         * sysdeps/mach/hurd/ppoll.c: Likewise.
43329         * io/ppoll.c: Likewise.
43330         * debug/poll_chk.c: New file.
43331         * debug/ppoll_chk.c: New file.
43332         * include/bits/poll2.h: New file.
43333         * io/bits/poll2.h: New file.
43334
43335         [BZ #1350]
43336         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
43337
43338         * configure.in: static is always set to yes.  Remove.
43339         * config.make.in: Don't set build-static.
43340         * Makeconfig: Remove use of build-static.
43341         * dlfcn/Makefile: Likewise.
43342         * elf/Makefile: Likewise.
43343         * math/Makefile: Likewise.
43344         * misc/Makefile: Likewise.
43345         * nptl/Makefile: Likewise.
43346         * sysdeps/mach/hurd/Makefile: Likewise.
43347
43348         * configure.in: PWD_P is not used anymore.
43349         * config.make.in: Remove PWD_P entry.
43350
43351         * configure.in: Remove last remnants of RANLIB.
43352         No need to check for signed size_t anymore.
43353         Don't set libc_commonpagesize and libc_relro_required here for Alpha
43354         and IA-64.
43355         Remove __builtin_expect test because we require at least gcc 3.4.
43356         * aclocal.m4: Likewise.
43357
43358         * wcsmbs/mbrtoc16.c: Implement using towc function.
43359         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
43360         * wcsmbs/wcsmbsload.c: Likewise.
43361         * iconv/gconv_simple.c: Likewise.
43362         * iconv/gconv_int.h: Likewise.
43363         * iconv/gconv_builtin.h: Likewise.
43364         * iconv/iconv_prog.c: Remove CHAR16 handling.
43365
43366         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
43367
43368         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
43369
43370         * configure.in: Remove --with-elf and --enable-bounded options.
43371         Dont set base_machine for ia64.  More non-ELF conditions removed.
43372         Remove testing and setting of leading underscore information.
43373         * config.make.in (build-bounded): Set to no.
43374         * config.h.in: Remove NO_UNDERSCORES entry.
43375         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
43376         them.
43377         * csu/start.c: Remove !NO_UNDERSCORE code.
43378         * locale/localeinfo.h: Likewise.
43379         * sysdeps/generic/machine-gmon.h: Likewise.
43380         * sysdeps/generic/sysdep.h: Likewise.
43381         * sysdeps/i386/sysdep.h: Likewise.
43382         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43383         * sysdeps/mach/sysdep.h: Likewise.
43384         * sysdeps/s390/s390-32/sysdep.h: Likewise.
43385         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43386         * sysdeps/sh/sysdep.h: Likewise.
43387         * sysdeps/sparc/sparc32/alloca.S: Likewise.
43388         * sysdeps/unix/i386/sysdep.S: Likewise.
43389         * sysdeps/unix/sparc/start.c: Likewise.
43390         * sysdeps/unix/sparc/sysdep.S: Likewise.
43391         * sysdeps/unix/sparc/sysdep.h: Likewise.
43392         * sysdeps/unix/start.c: Likewise.
43393         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43394         * sysdeps/x86_64/sysdep.h: Likewise.
43395
43396 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
43397
43398         [BZ #13553]
43399         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
43400         for non-gcc.
43401         * argp/argp-fmtstream.h: Use const instead __const.
43402         * argp/argp.h: Likewise.
43403         * assert/assert.h: Likewise.
43404         * bits/fenv.h: Likewise.
43405         * bits/sched.h: Likewise.
43406         * bits/sigset.h: Likewise.
43407         * bits/sigthread.h: Likewise.
43408         * catgets/nl_types.h: Likewise.
43409         * conform/data/pthread.h-data: Likewise.
43410         * crypt/crypt-private.h: Likewise.
43411         * crypt/crypt.h: Likewise.
43412         * crypt/crypt_util.c: Likewise.
43413         * ctype/ctype.h: Likewise.
43414         * debug/execinfo.h: Likewise.
43415         * debug/mbsnrtowcs_chk.c: Likewise.
43416         * debug/mbsrtowcs_chk.c: Likewise.
43417         * debug/wcsnrtombs_chk.c: Likewise.
43418         * debug/wcsrtombs_chk.c: Likewise.
43419         * debug/wcstombs_chk.c: Likewise.
43420         * dirent/dirent.h: Likewise.
43421         * dlfcn/dlfcn.h: Likewise.
43422         * elf/neededtest4.c: Likewise.
43423         * grp/grp.h: Likewise.
43424         * gshadow/gshadow.h: Likewise.
43425         * iconv/gconv.h: Likewise.
43426         * iconv/gconv_int.h: Likewise.
43427         * iconv/gconv_simple.c: Likewise.
43428         * iconv/iconv.h: Likewise.
43429         * iconv/loop.c: Likewise.
43430         * iconv/skeleton.c: Likewise.
43431         * include/aio.h: Likewise.
43432         * include/aliases.h: Likewise.
43433         * include/argz.h: Likewise.
43434         * include/arpa/inet.h: Likewise.
43435         * include/assert.h: Likewise.
43436         * include/dirent.h: Likewise.
43437         * include/dlfcn.h: Likewise.
43438         * include/execinfo.h: Likewise.
43439         * include/fcntl.h: Likewise.
43440         * include/fenv.h: Likewise.
43441         * include/glob.h: Likewise.
43442         * include/grp.h: Likewise.
43443         * include/libintl.h: Likewise.
43444         * include/mntent.h: Likewise.
43445         * include/netdb.h: Likewise.
43446         * include/pwd.h: Likewise.
43447         * include/rpc/netdb.h: Likewise.
43448         * include/sched.h: Likewise.
43449         * include/search.h: Likewise.
43450         * include/shadow.h: Likewise.
43451         * include/signal.h: Likewise.
43452         * include/stdio.h: Likewise.
43453         * include/stdlib.h: Likewise.
43454         * include/string.h: Likewise.
43455         * include/sys/socket.h: Likewise.
43456         * include/sys/stat.h: Likewise.
43457         * include/sys/statfs.h: Likewise.
43458         * include/sys/statvfs.h: Likewise.
43459         * include/sys/syslog.h: Likewise.
43460         * include/sys/time.h: Likewise.
43461         * include/sys/uio.h: Likewise.
43462         * include/time.h: Likewise.
43463         * include/unistd.h: Likewise.
43464         * include/utmp.h: Likewise.
43465         * include/wchar.h: Likewise.
43466         * include/wctype.h: Likewise.
43467         * inet/aliases.h: Likewise.
43468         * inet/arpa/inet.h: Likewise.
43469         * inet/netinet/ether.h: Likewise.
43470         * inet/netinet/in.h: Likewise.
43471         * intl/libintl.h: Likewise.
43472         * io/bits/fcntl2.h: Likewise.
43473         * io/fcntl.h: Likewise.
43474         * io/ftw.h: Likewise.
43475         * io/sys/poll.h: Likewise.
43476         * io/sys/stat.h: Likewise.
43477         * io/sys/statfs.h: Likewise.
43478         * io/sys/statvfs.h: Likewise.
43479         * io/utime.h: Likewise.
43480         * libio/bits/stdio.h: Likewise.
43481         * libio/bits/stdio2.h: Likewise.
43482         * libio/libio.h: Likewise.
43483         * libio/libioP.h: Likewise.
43484         * libio/stdio.h: Likewise.
43485         * locale/lc-ctype.c: Likewise.
43486         * locale/locale.h: Likewise.
43487         * login/utmp.h: Likewise.
43488         * malloc/arena.c: Likewise.
43489         * malloc/malloc.c: Likewise.
43490         * malloc/malloc.h: Likewise.
43491         * malloc/mcheck.c: Likewise.
43492         * malloc/mtrace.c: Likewise.
43493         * math/bits/mathcalls.h: Likewise.
43494         * math/fenv.h: Likewise.
43495         * math/math_private.h: Likewise.
43496         * misc/bits/error.h: Likewise.
43497         * misc/bits/syslog.h: Likewise.
43498         * misc/err.h: Likewise.
43499         * misc/error.h: Likewise.
43500         * misc/fstab.h: Likewise.
43501         * misc/mntent.h: Likewise.
43502         * misc/regexp.h: Likewise.
43503         * misc/search.h: Likewise.
43504         * misc/sgtty.h: Likewise.
43505         * misc/sys/mman.h: Likewise.
43506         * misc/sys/syslog.h: Likewise.
43507         * misc/sys/uio.h: Likewise.
43508         * misc/sys/xattr.h: Likewise.
43509         * misc/ttyent.h: Likewise.
43510         * nis/rpcsvc/ypclnt.h: Likewise.
43511         * nss/nss.h: Likewise.
43512         * posix/bits/unistd.h: Likewise.
43513         * posix/fnmatch.h: Likewise.
43514         * posix/glob.h: Likewise.
43515         * posix/sched.h: Likewise.
43516         * posix/spawn.h: Likewise.
43517         * posix/sys/wait.h: Likewise.
43518         * posix/unistd.h: Likewise.
43519         * posix/wordexp.h: Likewise.
43520         * pwd/pwd.h: Likewise.
43521         * resolv/netdb.h: Likewise.
43522         * resource/sys/resource.h: Likewise.
43523         * rt/aio.h: Likewise.
43524         * rt/bits/mqueue2.h: Likewise.
43525         * rt/mqueue.h: Likewise.
43526         * shadow/shadow.h: Likewise.
43527         * signal/signal.h: Likewise.
43528         * socket/send.c: Likewise.
43529         * socket/sendto.c: Likewise.
43530         * socket/sys/socket.h: Likewise.
43531         * stdio-common/printf.h: Likewise.
43532         * stdlib/bits/stdlib.h: Likewise.
43533         * stdlib/fmtmsg.h: Likewise.
43534         * stdlib/monetary.h: Likewise.
43535         * stdlib/stdlib.h: Likewise.
43536         * stdlib/ucontext.h: Likewise.
43537         * streams/stropts.h: Likewise.
43538         * string/argz.h: Likewise.
43539         * string/bits/string2.h: Likewise.
43540         * string/string.h: Likewise.
43541         * string/strings.h: Likewise.
43542         * sunrpc/rpc/auth.h: Likewise.
43543         * sunrpc/rpc/auth_des.h: Likewise.
43544         * sunrpc/rpc/clnt.h: Likewise.
43545         * sunrpc/rpc/netdb.h: Likewise.
43546         * sunrpc/rpc/pmap_clnt.h: Likewise.
43547         * sunrpc/rpc/xdr.h: Likewise.
43548         * sysdeps/generic/inttypes.h: Likewise.
43549         * sysdeps/generic/net/if.h: Likewise.
43550         * sysdeps/generic/sys/swap.h: Likewise.
43551         * sysdeps/gnu/net/if.h: Likewise.
43552         * sysdeps/gnu/utmpx.h: Likewise.
43553         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
43554         * sysdeps/i386/i486/bits/string.h: Likewise.
43555         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
43556         * sysdeps/s390/bits/string.h: Likewise.
43557         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
43558         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
43559         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
43560         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
43561         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
43562         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
43563         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
43564         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
43565         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
43566         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
43567         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
43568         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43569         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
43570         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43571         * sysdeps/unix/sysv/linux/readv.c: Likewise.
43572         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
43573         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43574         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43575         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
43576         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
43577         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43578         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
43579         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
43580         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
43581         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
43582         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
43583         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
43584         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43585         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
43586         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
43587         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
43588         * sysvipc/sys/ipc.h: Likewise.
43589         * sysvipc/sys/msg.h: Likewise.
43590         * sysvipc/sys/sem.h: Likewise.
43591         * sysvipc/sys/shm.h: Likewise.
43592         * termios/termios.h: Likewise.
43593         * time/sys/time.h: Likewise.
43594         * time/time.h: Likewise.
43595         * wcsmbs/bits/wchar2.h: Likewise.
43596         * wcsmbs/uchar.h: Likewise.
43597         * wcsmbs/wchar.h: Likewise.
43598         * wctype/wctype.h: Likewise.
43599
43600         [BZ #13551]
43601         * Makeconfig: Remove all but ELF support including AIX support.
43602         * Makerules: Likewise.
43603         * config.h.in: Likewise.
43604         * config.make.in: Likewise.
43605         * configure: Likewise.
43606         * configure.in: Likewise.
43607         * csu/Makefile: Likewise.
43608         * csu/version.c: Likewise.
43609         * debug/Makefile: Likewise.
43610         * dlfcn/Makefile: Likewise.
43611         * elf/Makefile: Likewise.
43612         * extra-lib.mk: Likewise.
43613         * iconv/Makefile: Likewise.
43614         * include/libc-symbols.h: Likewise.
43615         * include/shlib-compat.h: Likewise.
43616         * resolv/Makefile: Likewise.
43617         * resolv/res_libc.c: Likewise.
43618         * rt/Makefile: Likewise.
43619         * sysdeps/i386/asm-syntax.h: Likewise.
43620         * sysdeps/i386/sysdep.h: Likewise.
43621         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43622         * sysdeps/mach/sysdep.h: Likewise.
43623         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
43624         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
43625         * sysdeps/s390/asm-syntax.h: Likewise.
43626         * sysdeps/s390/s390-32/sysdep.h: Likewise.
43627         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43628         * sysdeps/sh/sysdep.h: Likewise.
43629         * sysdeps/unix/sparc/sysdep.h: Likewise.
43630         * sysdeps/wordsize-32/divdi3.c: Likewise.
43631         * sysdeps/x86_64/sysdep.h: Likewise.
43632
43633         * argp/Versions: Remove _argp_unlock_xxx.
43634
43635         [BZ #13559]
43636         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
43637         * abilist/libBrokenLocale.abilist: Likewise.
43638         * abilist/libanl.abilist: Likewise.
43639         * abilist/libc.abilist: Likewise.
43640         * abilist/libcrypt.abilist: Likewise.
43641         * abilist/libdl.abilist: Likewise.
43642         * abilist/libm.abilist: Likewise.
43643         * abilist/libnsl.abilist: Likewise.
43644         * abilist/libpthread.abilist: Likewise.
43645         * abilist/libresolv.abilist: Likewise.
43646         * abilist/librt.abilist: Likewise.
43647         * abilist/libthread_db.abilist: Likewise.
43648         * abilist/libutil.abilist: Likewise.
43649         * abilist/libnss_db.abilist: New file.
43650
43651         * scripts/abilist.awk: Add support for indirect functions.
43652
43653         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
43654
43655         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
43656
43657         * shlib-versions: Remove entries for ports architectures.
43658
43659         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
43660         files in ports.
43661         * elf/stackguard-macros.h: Remove support for IA-64.
43662         * elf/tst-auditmod1.c: Likewise.
43663         * sysdeps/generic/ldsodefs.h: Likewise.
43664
43665         * sysdeps/unix/sysv/linux/configure.in: Ports should define
43666         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
43667         configure files.
43668
43669         [BZ #13552]
43670         * configure.in: Remove --enable-omitfp support.
43671         * FAQ.in: Adjust.
43672         * config.make.in: Likewise.
43673         * Makeconfig: Likewise.
43674         * manual/install.texi: Likewise.
43675
43676         In case anyone cares, the IA-64 architecture could move to ports.
43677         * sysdeps/ia64/*: Removed.
43678         * sysdeps/unix/sysv/linux/ia64/*: Removed.
43679         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
43680
43681         [BZ #13555]
43682         * configure.in: Remove entries for unsupported architectures.
43683
43684         [BZ #13533]
43685         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
43686         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
43687         routines.
43688         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
43689         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
43690         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
43691         fall back to using wcrtomb.
43692         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
43693         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
43694         renaming.
43695         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
43696         * wcsmbs/tst-c16c32-1.c: New file.
43697
43698         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
43699         local variable.
43700
43701         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
43702
43703         * elf/tst-unique3.cc: Add explicit declaration of gets.
43704         * elf/tst-unique3lib.cc: Likewise.
43705         * elf/tst-unique3lib2.cc: Likewise.
43706         * elf/tst-unique4.cc: Likewise.
43707
43708         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
43709
43710 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
43711
43712         [BZ #13566]
43713         * assert/assert.h (static_assert): Don't define for C++.
43714         * libio/stdio.h (gets): Do declare for C++ <= C++11.
43715         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
43716
43717 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
43718
43719         * iconv/loop.c (single loop): Fix assertion in storing of
43720         remaining bytes.
43721
43722         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
43723
43724 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
43725
43726         * posix/getconf.c: Update copyright year.
43727         * nss/getent.c: Likewise.
43728         * nss/makedb.c: Likewise.
43729         * iconv/iconvconfig.c: Likewise.
43730         * iconv/iconv_prog.c: Likewise.
43731         * elf/ldconfig.c: Likewise.
43732         * elf/pldd.c: Likewise.
43733         * elf/sotruss.ksh: Likewise.
43734         * catgets/gencat.c: Likewise.
43735         * csu/version.c: Likewise.
43736         * elf/ldd.bash.in: Likewise.
43737         * elf/sprof.c (print_version): Likewise.
43738         * locale/programs/locale.c: Likewise.
43739         * locale/programs/localedef.c: Likewise.
43740         * login/programs/pt_chown.c: Likewise.
43741         * nscd/nscd.c (print_version): Likewise.
43742         * debug/xtrace.sh: Likewise.
43743         * malloc/memusage.sh: Likewise.
43744         * malloc/mtrace.pl: Likewise.
43745         * debug/catchsegv.sh: Likewise.
43746
43747 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
43748
43749         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43750         pure attribute.
43751
43752 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
43753
43754         [BZ #13533]
43755         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43756         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43757         transformations.
43758         * iconv/gconv_int.h: Likewise.
43759         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43760         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43761         from libc for GLIBC_2.16.
43762         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43763         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43764         * wcsmbs/uchar.h: Really define mbstate_t.
43765         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43766         * wcsmbs/c16rtomb.c: New file.
43767         * wcsmbs/mbrtoc16.c: New file.
43768         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43769         for C/POSIX locale.
43770         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43771         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43772
43773         * wcsmbs/wchar.h: Add missing __restrict.
43774
43775 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
43776
43777         [BZ #13532]
43778         * time/Makefile (routines): Add timespec_get.
43779         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43780         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
43781         timespec for ISO C11.
43782         * time/timespec_get.c: New file.
43783         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43784         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43785
43786         [BZ #13531]
43787         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43788         * stdlib/stdlib.h: Declare aligned_alloc.
43789         * Versions.def: Add GLIBC_2.16 for libc.
43790         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43791
43792         [BZ 13527]
43793         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43794         ISO C11.
43795
43796         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
43797         code.
43798
43799         [BZ #13528]
43800         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43801
43802         [BZ #13529]
43803         * assert/assert.h (static_assert): Define.
43804
43805         * version.h: Update for 2.16 development version.
43806
43807         [BZ #13526]
43808         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43809         _ISOC11_SOURCE.
43810
43811         * version.h (RELEASE): Bump for 2.15 release.
43812         * include/features.h (__GLIBC_MINOR__): Bump to 15.
43813
43814         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
43815         Patch by Marek Polacek <mpolacek@redhat.com>.
43816
43817         * bits/byteswap.h: Protect long long constants with __extension__.
43818         * sysdeps/i386/bits/byteswap.h: Likewise.
43819         * sysdeps/ia64/bits/byteswap.h: Likewise.
43820         * sysdeps/s390/bits/byteswap.h: Likewise.
43821         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43822
43823 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43824
43825         [BZ #13540]
43826         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43827         destination buffer.
43828         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43829
43830 2011-12-23  Marek Polacek  <polacek@redhat.com>
43831
43832         * elf/dl-addr.c (determine_info): Add inline keyword.
43833         * elf/tst-auditmod4b.c (check_avx): Likewise.
43834         * elf/tst-auditmod6b.c (check_avx): Likewise.
43835         * elf/tst-auditmod6c.c (check_avx): Likewise.
43836         * elf/tst-auditmod7b.c (check_avx): Likewise.
43837
43838 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
43839
43840         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43841         !__SSE_MATH__.
43842
43843 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43844
43845         [BZ #13540]
43846         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43847         processing for last bytes.
43848
43849 2011-08-06  Bruno Haible  <bruno@clisp.org>
43850
43851         [BZ #13061]
43852         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43853         U+0385, not to U+1FEE.
43854
43855         [BZ #13062]
43856         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43857         entry for U+00A5 U+0301.
43858
43859 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
43860
43861         [BZ #13166]
43862         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43863         buffer for the output is too small.
43864
43865         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43866         optimization.
43867
43868         [BZ #13185]
43869         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43870         SSE flags if possible.
43871
43872 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43873
43874         [BZ #13540]
43875         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43876         processing for last bytes.
43877
43878 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
43879
43880         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43881         (syscall-list-default-options, syscall-list-default-condition)
43882         (syscall-list-includes): Define.
43883         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43884         list of ABIs and options and #if conditions for each ABI.  Do not
43885         handle common syscalls between ABIs specially.
43886         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43887         Remove.
43888         (syscall-list-variants, syscall-list-32bit-options)
43889         (syscall-list-32bit-condition, syscall-list-64bit-options)
43890         (syscall-list-64bit-condition): Define.
43891         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43892         (syscall-list-variants, syscall-list-32bit-options)
43893         (syscall-list-32bit-condition, syscall-list-64bit-options)
43894         (syscall-list-64bit-condition): Define.
43895         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43896         Remove.
43897         (syscall-list-variants, syscall-list-32bit-options)
43898         (syscall-list-32bit-condition, syscall-list-64bit-options)
43899         (syscall-list-64bit-condition): Define.
43900         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43901         Remove.
43902         (syscall-list-variants, syscall-list-32bit-options)
43903         (syscall-list-32bit-condition, syscall-list-64bit-options)
43904         (syscall-list-64bit-condition): Define.
43905
43906 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
43907
43908         * locale/iso-639.def: Add brx entry.
43909
43910         [BZ #13328]
43911         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43912         Proposed by Mariusz_Cukr <marcukr@op.pl>.
43913
43914         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43915         __feraiseexcept_renamed.
43916
43917 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
43918
43919         [BZ #13538]
43920         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43921         EPOLLET with unsigned values.
43922         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43923         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43924
43925         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43926         to large cancellation.
43927         * math/s_cacoshf.c: Likewise.
43928         * math/s_cacoshl.c: Likewise.
43929
43930 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
43931
43932         [BZ #13305]
43933         [BZ #12786]
43934         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43935         * math/s_cacoshf.c: Likewise.
43936         * math/s_cacoshl.c: Likewise.
43937
43938 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
43939
43940         [BZ #13439]
43941         * iconv/gconv.h: Define __GCONV_SWAP.
43942         * iconvdata/unicode.c: The swap bit must be stored in __flags.
43943         * iconvdata/utf-16.c: Likewise.
43944         * iconvdata/utf-32.c: Likewise.
43945
43946 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
43947
43948         [BZ #13524]
43949         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43950         numerator after shifting it by one limb.
43951
43952 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
43953
43954         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43955         under [__USE_EXTERN_INLINES].
43956
43957 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
43958
43959         [BZ #13446]
43960         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43961
43962 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43963
43964         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43965         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43966         optimized code.
43967         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43968         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43969         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43970         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43971         for strncasecmp/strncasecmp_l compilation.
43972         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43973         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43974
43975 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
43976
43977         [BZ #13484]
43978         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43979         of __asm__.
43980
43981 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
43982
43983         [BZ #13506]
43984         * time/tzfile.c (__tzfile_read): Check values from file header.
43985
43986 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
43987
43988         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43989         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43990         * powerpc/powerpc32/dl-start.S: Likewise.
43991         * powerpc/powerpc32/elf/start.S: Likewise.
43992         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43993         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43994         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43995         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43996         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43997         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43998         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43999         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
44000         * powerpc/powerpc32/fpu/s_round.S: Likewise.
44001         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
44002         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
44003         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
44004         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
44005         * powerpc/powerpc32/memset.S: Likewise.
44006         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
44007         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
44008         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
44009         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
44010         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
44011         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
44012         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
44013         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
44014         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
44015         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
44016         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
44017         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44018         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44019
44020 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44021
44022         * math/libm-test.inc: Added more nearbyint tests.
44023         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
44024         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
44025         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
44026         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
44027
44028 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
44029
44030         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
44031         FD_CLOEXEC.
44032
44033 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44034
44035         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
44036         Add wcscpy-ssse3 wcscpy-c.
44037         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
44038         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
44039         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
44040         * sysdeps/x86_64/wcschr.S: New file.
44041         * sysdeps/x86_64/wcsrchr.S: New file.
44042         * string/test-strcmp.c: Remove checking of wcscmp function for
44043         wrong alignments.
44044         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
44045         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
44046         wcsrchr-sse2 wcsrchr-c.
44047         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
44048         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
44049         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
44050         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
44051         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
44052         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
44053         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
44054         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
44055         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
44056         * wcsmbc/wcschr.c (WCSCHR): New macro.
44057
44058 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44059
44060         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
44061         * wcsmbs/test-wcsrchr.c: New file.
44062         * string/test-strrchr.c: Add wcsrchr support.
44063         (WIDE): New macro.
44064         * wcsmbs/test-wcscpy.c: New file.
44065         * string/test-strcpy.c: Add wcscpy support.
44066         (WIDE): New macro.
44067
44068 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
44069
44070         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
44071         the inner loop.
44072
44073 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
44074
44075         [BZ #13472]
44076         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
44077
44078 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
44079
44080         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
44081         Minor optimizations.
44082
44083         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
44084         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
44085         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
44086
44087 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
44088
44089         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
44090         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
44091         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
44092         for gcc to avoid warnings.
44093         * inet/Makefile (tests): Add tst-checks.
44094         * inet/tst-checks.c: New file.
44095
44096         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
44097         warning.
44098
44099         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
44100         __wmemcmp_sse2.
44101
44102         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
44103         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
44104
44105         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
44106
44107 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
44108
44109         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
44110         problem.
44111
44112         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
44113
44114 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
44115
44116         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
44117         conditional on GCC version.
44118         (__arch_compare_and_exchange_val_8_acq)
44119         (__arch_compare_and_exchange_val_16_acq)
44120         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
44121         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
44122         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
44123
44124 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
44125
44126         * sysdeps/sh/backtrace.c: New file.
44127
44128 2011-12-02  Andreas Schwab  <schwab@redhat.com>
44129
44130         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
44131         parenthesis.
44132
44133 2011-12-01  Andreas Schwab  <schwab@redhat.com>
44134
44135         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
44136         falling back to utime.
44137
44138 2011-11-30  Andreas Schwab  <schwab@redhat.com>
44139
44140         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
44141         expectations for float.
44142
44143 2011-11-29  Andreas Schwab  <schwab@redhat.com>
44144
44145         * locale/weight.h (findidx): Add parameter len.
44146         * locale/weightwc.h (findidx): Likewise.
44147         * posix/fnmatch_loop.c (FCT): Adjust caller.
44148         * posix/regcomp.c (build_equiv_class): Likewise.
44149         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
44150         * posix/regexec.c (check_node_accept_bytes): Likewise.
44151         * string/strcoll_l.c (STRCOLL): Likewise.
44152         * string/strxfrm_l.c (STRXFRM): Likewise.
44153
44154 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
44155
44156         * Makefile.in: Remove CVSOPT handling.
44157         * configure.in: Remove use of AC_REVISION.
44158         * iconvdata/Makefile (distribute): No need to filter out CVS.
44159         * scripts/list-sources.sh: Remove CVS, subversion and monotone
44160         handling.
44161
44162 2011-11-16  Andreas Schwab  <schwab@redhat.com>
44163
44164         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
44165         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
44166         [USE_AS_STRNCASECMP_L]: Likewise.
44167         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
44168         NO_TLS_DIRECT_SEG_REFS.
44169         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
44170         Fix argument offsets for non-PIC.
44171         [USE_AS_STRNCASECMP_L]: Likewise.
44172         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
44173         NO_TLS_DIRECT_SEG_REFS.
44174
44175 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
44176
44177         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
44178         O_CLOEXEC.
44179         * locale/loadlocale.c (_nl_load_locale): Likewise.
44180
44181 2011-11-15  Andreas Schwab  <schwab@redhat.com>
44182
44183         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
44184         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
44185         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
44186         (SYSCALL_GETTIME): Set errno on error.
44187
44188         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
44189         count references to noai6ai_cached.
44190
44191 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
44192
44193         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
44194
44195         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
44196         FD_CLOEXEC for /proc/self/maps.
44197
44198         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
44199         FD_CLOEXEC for /proc/meminfo.
44200
44201         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
44202         gai.conf.
44203
44204         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
44205         FD_CLOEXEC for given file.
44206
44207         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
44208
44209         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
44210         FD_CLOEXEC for /etc/hosts.
44211         (_gethtent): Likewise.
44212
44213         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
44214
44215         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
44216         cancellation and set FD_CLOEXEC for /etc/netgroup.
44217
44218         * nss/nss_files/files-key.c (search): Don't allow cancellation when
44219         reading /etc/publickey.
44220
44221         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
44222         allow cancellation when reading /etc/group.
44223
44224         * nss/nss_files/files-alias.c (internal_setent): Don't allow
44225         cancellation.
44226         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
44227
44228         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
44229         when using data file.
44230
44231         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
44232
44233         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
44234         (write_nis_obj): Use "c" and "e" in fopen.
44235
44236         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
44237
44238         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
44239
44240         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
44241
44242         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
44243
44244         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
44245         locale.alias.
44246
44247         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
44248
44249         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
44250
44251         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
44252
44253         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
44254         file parsing and set FD_CLOEXEC.
44255
44256 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
44257
44258         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
44259
44260 2011-11-14  Andreas Schwab  <schwab@redhat.com>
44261
44262         * malloc/arena.c (arena_get2): Don't call reused_arena when
44263         _int_new_arena failed.
44264
44265 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
44266
44267         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
44268         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
44269         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
44270         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44271         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44272         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
44273         to compile strcasecmp and strncasecmp.
44274         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
44275         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
44276
44277         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
44278
44279 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
44280
44281         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
44282         locale-defines.sym to gen-as-const-headers.
44283         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
44284         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
44285         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
44286         to compile strcasecmp and strncasecmp.
44287         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
44288         strcasecmp_l and strncasecmp_l.
44289         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
44290         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
44291         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
44292         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
44293         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
44294         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
44295         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
44296         * sysdeps/i386/i686/multiarch/strncase.S: New file.
44297         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
44298         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
44299         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
44300
44301 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
44302
44303         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
44304         result of SYSDEP_GETTIME_CPU to retval.
44305         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
44306         parameter list to macro.  Remove trailing semicolon.  Adjust users.
44307
44308         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
44309         variable.
44310
44311         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
44312         mantissa words.
44313         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
44314
44315         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
44316         from unused variable.
44317
44318         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
44319         DWARF definitions.
44320         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
44321         for assembling.
44322
44323         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
44324         over namespaces.
44325
44326         * sunrpc/rpc_prot.c (rejected): Fix case value.
44327
44328         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
44329         unsigned long long int to avoid warnings in shift.
44330
44331         * posix/regex_internal.c (re_string_reconstruct): Actually use result
44332         of use of trans.
44333         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
44334         variable tmp.
44335
44336         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
44337         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
44338         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
44339
44340         * nis/nis_table.c (nis_list): Use variable of correct type for
44341         result of __follow_path call.
44342
44343 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44344
44345         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
44346         of math functions ceil, trunc, floor, round, and sqrt, when
44347         avaliable on the platform.
44348         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
44349         name clash.
44350         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44351         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44352         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44353
44354 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
44355
44356         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
44357         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
44358
44359 2011-11-11  Roland McGrath  <roland@hack.frob.com>
44360
44361         * include/unistd.h: Fix __readlink return type.
44362         Reported by Chris Metcalf <cmetcalf@tilera.com>.
44363
44364 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
44365
44366         * stdlib/ucontext.h: Undo last change for makecontext.
44367
44368 2011-11-11  Andreas Schwab  <schwab@redhat.com>
44369
44370         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
44371
44372         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
44373         * setjmp/setjmp.h: Mark functions as non-leaf.
44374         * setjmp/bits/setjmp2.h: Likewise.
44375         * stdlib/ucontext.h: Likewise.
44376
44377 2011-11-10  Andreas Schwab  <schwab@redhat.com>
44378
44379         * malloc/arena.c (_int_new_arena): Don't increment narenas.
44380         (reused_arena): Don't check arena limit.
44381         (arena_get2): Atomically check arena limit.
44382
44383 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
44384
44385         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
44386         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
44387
44388         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
44389         instructions.
44390
44391 2011-11-07  Andreas Schwab  <schwab@redhat.com>
44392
44393         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
44394         handler when locking.
44395
44396         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44397         Fix size of allocated buffer.
44398
44399 2011-11-04  Andreas Schwab  <schwab@redhat.com>
44400
44401         [BZ #10103]
44402         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
44403         declarations for long double functions.
44404         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
44405
44406         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
44407
44408 2011-11-03  Andreas Schwab  <schwab@redhat.com>
44409
44410         * nscd/nscd.c (main): Don't start AVC thread until credentials are
44411         installed.
44412
44413         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
44414         is disabled.
44415
44416 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44417
44418         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
44419
44420 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
44421
44422         * include/alloca.h (stackinfo_alloca_round): Define.
44423         (extend_alloca): Use it.
44424         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
44425         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
44426         here.
44427
44428         * scripts/check-local-headers.sh: Ignore libaudit.h.
44429
44430         * nscd/Makefile (extra-objs): Make recursively expanded.
44431
44432 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
44433
44434         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
44435         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44436
44437         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
44438         * posix/tst-rfc3484-2.c: Likewise.
44439         * posix/tst-rfc3484-3.c: Likewise.
44440
44441         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44442         process_vm_writev.
44443         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
44444         process_vm_writev.
44445         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
44446         process_vm_writev from libc using GLIBC_2.15 version.
44447
44448         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
44449
44450 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
44451
44452         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
44453         stack usage.
44454
44455 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
44456
44457         [BZ #13367]
44458         * nss/getent.c (initgroups_keys): Show error message in case no group
44459         names are given.
44460
44461         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
44462         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
44463         __bump_nl_timestamp.
44464         * nscd/connections (nscd_init): When host database is served open
44465         netlink socket and request notification about configuration changes.
44466         (main_loop_poll): Track netlink file descriptor and bump timestamp
44467         in case data becomes available.
44468         (main_loop_epoll): Likewise.
44469         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
44470         (database_pers_head): Add extra_data fileds.
44471         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
44472         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
44473         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
44474         Adjust caller.
44475         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
44476         in6ai data, call __free_in6ai.
44477         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
44478         Add -DHAVE_NETLINK.
44479         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
44480         interface information.  Reuse previous data if netlink timestamp
44481         is not changed.
44482         (__bump_nl_timestamp): New function.
44483         (__free_in6ai): New function.
44484
44485 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
44486
44487         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
44488         close_not_cancel_no_status here.
44489         (__check_pf): Reorganize code a bit to not call close twice if OOM.
44490
44491 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
44492
44493         [BZ #13276]
44494         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
44495         return value.
44496
44497         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
44498         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
44499         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
44500
44501 2011-07-03  Andreas Jaeger  <aj@suse.de>
44502
44503         [BZ #10709]
44504         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
44505         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
44506         * math/libm-test.inc (sin_test): Add test case.
44507
44508 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
44509
44510         [BZ #13337]
44511         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
44512         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44513
44514         * elf/chroot_canon.c (chroot_canon): Cleanups.
44515
44516         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
44517
44518         [BZ #13335]
44519         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
44520         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44521
44522         * string/test-strchr.c: Make usable for strchrnul testing.
44523         * string/test-strchrnul.c: New file.
44524         * string/Makefile (strop-tests): Add strchrnul.
44525
44526         * po/it.po: Update from translation team.
44527         * po/es.po: Likewise.
44528
44529 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
44530
44531         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
44532         the three constants needed as parameters.  Drop the others.
44533         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
44534         __m128i_strloadu_tolower.
44535         Create and initialize variable zero and use it in all the places
44536         where _mm_setzero_si128 was used.
44537
44538         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
44539         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
44540         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
44541         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
44542         anymore.
44543         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
44544         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
44545         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
44546         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
44547         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
44548         __mpranred, __mptan.
44549         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
44550         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
44551         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
44552         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
44553         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
44554         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
44555         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
44556         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
44557         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
44558
44559 2011-10-28  Andreas Schwab  <schwab@redhat.com>
44560
44561         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
44562         redefine if SHARED.
44563         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
44564
44565         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
44566         wide char related routines to wcsmbs subdir.
44567
44568 2011-10-27  Andreas Schwab  <schwab@redhat.com>
44569
44570         [BZ #13344]
44571         * misc/sys/cdefs.h (__THROWNL): Define.
44572         * posix/unistd.h: Use __THREADNL instead of __THREAD
44573         for memory synchronization functions.
44574
44575 2011-10-26  Roland McGrath  <roland@hack.frob.com>
44576
44577         [BZ #13349]
44578         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
44579         doesn't exist.
44580         * manual/stdio.texi (Obstack Streams): Node removed.
44581
44582 2011-10-26  Andreas Schwab  <schwab@redhat.com>
44583
44584         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
44585         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44586         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44587
44588         * math/math_private.h (math_force_eval): Allow non-addressable
44589         arguments.
44590         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
44591
44592 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44593
44594         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
44595         file is not needed.
44596
44597         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
44598         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
44599         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44600         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44601         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44602         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44603         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44604         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
44605         Add AVX variants.
44606         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
44607         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
44608         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
44609         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
44610         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
44611         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
44612         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
44613         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
44614         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
44615         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
44616         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
44617         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
44618         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
44619         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
44620         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
44621         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
44622         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
44623         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
44624         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
44625
44626         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
44627         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
44628
44629         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
44630         place.  Use VEX encoding when compiling for AVX.
44631
44632 2011-10-25  Andreas Schwab  <schwab@redhat.com>
44633
44634         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
44635         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44636
44637         * string/test-strchr.c (do_test): Don't generate NUL bytes.
44638
44639 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44640
44641         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
44642         useless if() expression.
44643         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44644         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44645         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44646         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44647         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44648         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44649         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44650         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44651         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44652         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44653         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44654         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44655         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44656         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44657         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44658         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44659         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44660         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44661         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44662
44663         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
44664
44665 2011-10-25  Andreas Schwab  <schwab@redhat.com>
44666
44667         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
44668         condition.
44669         * elf/dl-fini.c (_dl_sort_fini): Likewise.
44670
44671 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44672
44673         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
44674         .text section.  Avoid duplicate constants.
44675         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44676         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44677         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44678         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44679         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44680         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44681         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44682         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44683         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44684         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
44685         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44686         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
44687         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
44688         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
44689         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
44690         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
44691         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
44692         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44693         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44694         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44695         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44696         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44697         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44698         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
44699         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
44700         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
44701         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
44702         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
44703         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
44704         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
44705         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
44706         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
44707         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44708         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
44709         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
44710         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
44711         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
44712         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
44713         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
44714         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
44715         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
44716         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
44717         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
44718         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
44719         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
44720
44721 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
44722
44723         * sysdeps/x86_64/dla.h: Move to ...
44724         * sysdeps/x86_64/fpu/dla.h: ...here.
44725         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
44726         situations.  Use __builtin_fma only for gcc 4.6 and up.
44727
44728         * config.make.in: Add have-mfma4 entry.
44729         * configure.in: Substitute libc_cv_cc_fma4.
44730         * math/Makefile (dbl-only-routines): Add sincostab.
44731         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
44732         Use __sincostab not sincos.
44733         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
44734         name is a macro.
44735         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44736         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44737         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44738         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
44739         using __copysign.
44740         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
44741         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
44742         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44743         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44744         and __inv.
44745         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44746         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44747         __copysign.
44748         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
44749         define aliases when function name is a macro.
44750         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44751         sysdeps/ieee754/dbl-64/sincos.tbl.
44752         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44753         fma4-enabled routines.
44754         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44755         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44756         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44757         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44758         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44759         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44760         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44761         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44762         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44763         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44764         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44765         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44766         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44767         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44768         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44769         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44770         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44771         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44772         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44773         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44774         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44775         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44776         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44777         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44778         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44779         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44780         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44781         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44782         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44783         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44784
44785         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44786         rename.
44787         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44788         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44789         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44790         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44791         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44792         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44793         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44794         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44795
44796 2011-10-24  Andreas Schwab  <schwab@redhat.com>
44797
44798         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44799
44800 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44801
44802         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44803
44804         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44805         prediction.
44806         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44807
44808         * string/strnlen.c: Don't define STRNLEN, reverse logic.
44809         Remove unused variable magic_bits.
44810         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44811
44812         * string/strnlen.c: Define and use STRNLEN macro.
44813         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
44814         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
44815         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
44816         * wcsmbs/wcslen.c: Define and use WCSLEN.
44817         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44818         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44819         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44820         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44821         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44822         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44823         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44824
44825 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44826
44827         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44828         strnlen-sse2-no-bsf.
44829         Rename strlen-no-bsf to strlen-sse2-no-bsf.
44830         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44831         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44832         Add strnlen support.
44833         (USE_AS_STRNLEN): New macro.
44834         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44835         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44836         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44837         * sysdeps/x86_64/wcslen.S: New file.
44838
44839 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
44840
44841         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44842         XMM-moves are used for copying on small sizes.
44843
44844 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44845
44846         * wcsmbs/Makefile (strop-tests): Add wcschr.
44847         * wcsmbs/test-wcschr.c: New file.
44848         * string/test-strchr.c: Update.
44849         Add wcschr support.
44850         (WIDE): New macro.
44851
44852 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44853
44854         * wcsmbs/Makefile (strop-tests): Add wcslen.
44855         * wcsmbs/test-wcslen.c: New file.
44856         * string/test-strlen.c: Update.
44857         Add wcslen support.
44858         (WIDE): New macro.
44859
44860 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44861
44862         * po/it.po: Update from translation team.
44863
44864 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44865
44866         * sysdeps/x86_64/wcscmp.S: Update.
44867         Fix wrong comparison semantics.
44868         wcscmp shall use signed comparison not unsigned.
44869         Don't use substraction to avoid overflow bug.
44870         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44871         * wcsmbc/wcscmp.c: Likewise.
44872         * string/test-strcmp.c: Likewise.
44873         Add new tests to check cases with negative values.
44874
44875 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44876
44877         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44878         * sysdeps/x86_64/dla.h: ...here.  New file.
44879         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44880         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44881         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44882         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44883         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44884         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44885         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44886         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44887         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44888
44889 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
44890
44891         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44892         __ynl_finite aliases.
44893
44894 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
44895
44896         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44897
44898         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44899         define DLA_FMA.
44900         [DLA_FMA] (EMULV): Use DLA_FMA.
44901         [DLA_FMA] (MUL12): Use EMULV.
44902         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44903         that are not needed.
44904         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44905         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44906         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44907         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44908         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44909         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44910         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44911
44912 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
44913
44914         * math/s_nan.c: Undef __nan.
44915         * math/s_nanf.c: Undef __nanf.
44916         * math/s_nanl.c: Undef __nanl.
44917         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44918         "math_private.h".
44919
44920 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
44921
44922         * math/s_catan.c: Add branch predictions.
44923         * math/s_catanf.c: Likewise.
44924         * math/s_catanh.c: Likewise.
44925         * math/s_catanhf.c: Likewise.
44926         * math/s_catanhl.c: Likewise.
44927         * math/s_catanl.c: Likewise.
44928         * math/s_cexp.c: Likewise.
44929         * math/s_cexpf.c: Likewise.
44930         * math/s_cexpl.c: Likewise.
44931         * math/s_clog.c: Likewise.
44932         * math/s_clog10.c: Likewise.
44933         * math/s_clog10f.c: Likewise.
44934         * math/s_clog10l.c: Likewise.
44935         * math/s_clogf.c: Likewise.
44936         * math/s_clogl.c: Likewise.
44937         * math/s_csqrt.c: Likewise.
44938         * math/s_csqrtf.c: Likewise.
44939         * math/s_csqrtl.c: Likewise.
44940         * math/s_ctanf.c: Likewise.
44941         * math/s_ctanh.c: Likewise.
44942         * math/s_ctanhf.c: Likewise.
44943         * math/s_ctanhl.c: Likewise.
44944         * math/s_ctanl.c: Likewise.
44945
44946         * math/math_private.h: Define __nan, __nanf, __nanl.
44947         * math/s_cacosh.c: Include <math_private.h>.
44948         * math/s_cacoshl.c: Likewise.
44949         * math/s_casinh.c: Likewise.
44950         * math/s_casinhf.c: Likewise.
44951         * math/s_casinhl.c: Likewise.
44952         * math/s_ccos.c: Rely entire on ccosh.
44953         * math/s_ccosf.c: Rely entire on ccoshf.
44954         * math/s_ccosl.c: Rely entirely on ccoshl.
44955         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
44956         Remove tests for FE_INVALID.
44957         * math/s_ccoshf.c: Likewise.
44958         * math/s_ccoshl.c: Likewise.
44959         * math/s_csin.c: Likewise.
44960         * math/s_csinf.c: Likewise.
44961         * math/s_csinh.c Likewise.
44962         * math/s_csinhf.c: Likewise.
44963         * math/s_csinhl.c: Likewise.
44964         * math/s_csinl.c: Likewise.
44965         * math/s_ctan.c: Likewise.
44966         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44967         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44968         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44969
44970 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
44971
44972         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44973         compilation problems.
44974
44975         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44976         __builtin_expect.
44977
44978 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
44979
44980         * sysdeps/i386/configure.in: Test for -mfma4 option.
44981         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44982         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44983         COMMON_CPUID_INDEX_80000001.
44984         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44985         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44986         use it if FMA3 is not supported.
44987         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44988
44989         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44990         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44991
44992 2011-10-20  Andreas Schwab  <schwab@redhat.com>
44993
44994         [BZ #12892]
44995         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44996         it would create a cycle with a link time dependency.
44997
44998 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
44999
45000         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
45001         instruction.
45002         * string/Makefile (strop-tests): Add rawmemchr.
45003         * string/test-rawmemchr.c: New file.
45004
45005         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
45006         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
45007         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
45008         when compiling str{,n}casecmp and when AVX is available.  Hook up
45009         new optimized code in initializers.
45010
45011 2011-10-19  Andreas Schwab  <schwab@redhat.com>
45012
45013         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
45014         __feraiseexcept instead of feraiseexcept.
45015
45016 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
45017
45018         * math/math_private.h: Define defaults for libc_fetestexcept and
45019         libc_feupdateenv.
45020         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
45021         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
45022         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45023         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45024         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45025         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45026         libc_fetestexcept and libc_feupdateenv.
45027
45028         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
45029         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
45030         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
45031         * sysdeps/x86_64/fpu/math_private.h: Define special version of
45032         libc_feholdexcept_setround.
45033
45034         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
45035         Add s_nearbyint-c and s_nearbyintf-c.
45036         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
45037         nearbyintf inlines.
45038         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
45039         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
45040         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
45041         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
45042
45043         * math/math_private.h: Define defaults for libc_fegetround,
45044         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
45045         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
45046         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
45047         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
45048         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
45049         standard functions.
45050         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45051         Remove comments and hacks for old compiler versions.
45052         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45053         libc_fegetround, libc_fesetround, libc_feholdexcept, and
45054         libc_feholdexceptl.
45055
45056 2011-10-18  Andreas Schwab  <schwab@redhat.com>
45057
45058         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
45059         (__feraiseexcept_renamed): Add __NTH.
45060         (feraiseexcept): Add __NTH.  Rename local variables to fix
45061         namespace violations.
45062
45063 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
45064
45065         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
45066
45067         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
45068
45069         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
45070         recently added interfaces.
45071         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
45072
45073         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
45074         about macro parameter expansion.
45075
45076         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
45077         __NO_MATH_INLINES is defined.  Cleanups.
45078
45079         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
45080         and __floorf is target has SSE4.1.
45081         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
45082         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
45083         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
45084         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
45085
45086         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
45087         name.
45088         (floorf): Likewise.
45089
45090         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
45091
45092 2011-10-17  Andreas Schwab  <schwab@redhat.com>
45093
45094         * misc/sys/cdefs.h: Fix last change.
45095
45096         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
45097         database lookup.
45098
45099 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
45100
45101         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
45102
45103         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
45104         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45105         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45106         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45107         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45108         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45109         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45110         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45111         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45112         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
45113         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
45114         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
45115         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
45116         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
45117         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
45118         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
45119         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
45120         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
45121         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
45122         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
45123         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
45124         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
45125
45126         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
45127         ceil, ceilf, floor, floorf.
45128
45129         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
45130         Perform IRELATIVE relocations last.
45131
45132         * elf/do-rel.h: Add another parameter nrelative, replacing the
45133         local variable with the same name.  Change name of the function
45134         to end in Rel or Rela (uppercase).
45135         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
45136         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
45137         elf_dynamic_do_##reloc function.
45138
45139 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
45140
45141         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
45142         is sufficient, at least on modern CPUs.
45143
45144         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
45145
45146         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
45147         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
45148
45149         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
45150         __expl_finite.
45151         * math/bits/math-finite.h: Add entries for exp.
45152         * math/e_expl.c: Add __*_finite alias.
45153         * sysdeps/i386/fpu/e_exp.S: Likewise.
45154         * sysdeps/i386/fpu/e_expf.S: Likewise.
45155         * sysdeps/i386/fpu/e_expl.c: Likewise.
45156         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45157         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45158         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45159         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45160         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
45161         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45162         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45163
45164         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
45165         is sufficient, at least on modern CPUs.
45166
45167         * ctype/ctype-info.c (__ctype_init): Define.
45168         * include/ctype.h (__ctype_init): Declare.
45169         (__ctype_b_loc): The variable is always initialized.
45170         (__ctype_toupper_loc): Likewise.
45171         (__ctype_tolower_loc): Likewise.
45172         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
45173         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
45174
45175 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
45176
45177         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
45178
45179         * configure.in: Also look in $cxxmachine/include for C++ system
45180         headers.
45181
45182 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45183
45184         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
45185         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
45186         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
45187         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
45188         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
45189         (USE_AS_WMEMCMP): New macro.
45190         Fixing indents.
45191         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
45192         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
45193         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
45194         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
45195         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45196         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
45197         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
45198         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
45199         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
45200         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
45201         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
45202         (USE_AS_WMEMCMP): New macro.
45203         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
45204         * sysdeps/string/test-memcmp.c: Update.
45205         Fix simple_wmemcmp.
45206         Add new tests.
45207         * wcsmbs/wmemcmp.c: Update.
45208         (WMEMCMP): New macro.
45209         Fix overflow bug.
45210
45211 2011-10-12  Andreas Jaeger  <aj@suse.de>
45212
45213         [BZ #13268]
45214         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
45215
45216 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
45217
45218         * libio/iofwide.c (do_length): Avoid warning.
45219
45220         * ctype/ctype.h (__isctype_f): Add missing __THROW.
45221
45222 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
45223
45224         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
45225
45226         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
45227         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
45228         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
45229         * sysdeps/i386/i686/fpu/e_log.S: New file.
45230         * sysdeps/i386/i686/fpu/e_logf.S: New file.
45231         * sysdeps/i386/i686/fpu/e_logl.S: New file.
45232
45233         * ctype/ctype.h: Add support for inlined isXXX functions when
45234         compiling C++ code.
45235
45236 2011-10-14  Andreas Schwab  <schwab@redhat.com>
45237
45238         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45239
45240         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
45241
45242 2011-10-13  Roland McGrath  <roland@hack.frob.com>
45243
45244         [BZ #13291]
45245         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
45246
45247 2011-10-13  Andreas Schwab  <schwab@redhat.com>
45248
45249         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
45250         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
45251         feraiseexcept.
45252
45253         * sysdeps/x86_64/memrchr.S: Check for zero size.
45254
45255         * string/stratcliff.c: Add memrchr tests.
45256
45257 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45258
45259         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45260         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
45261         rawmemchr-sse2 rawmemchr-sse2-bsf.
45262         * sysdeps/i386/i686/multiarch/memchr.S: New file.
45263         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
45264         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
45265         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
45266         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
45267         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
45268         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
45269         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
45270         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
45271         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
45272         * string/memrchr.c (MEMRCHR): New macro.
45273
45274 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
45275
45276         Add integration with gcc's -ffinite-math-only and optimize wrapper
45277         functions in libm.
45278         * Versions.def: Define GLIBC_2.15 version for libm.
45279         * math/Makefile (headers): Add bits/math-finite.h.
45280         * math/bits/math-finite.h: New file.
45281         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
45282         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
45283         * math/e_acoshl.c: Add __*_finite alias.
45284         * math/e_acosl.c: Likewise.
45285         * math/e_asinl.c: Likewise.
45286         * math/e_atan2l.c: Likewise.
45287         * math/e_atanhl.c: Likewise.
45288         * math/e_coshl.c: Likewise.
45289         * math/e_exp10.c: Likewise.
45290         * math/e_exp10f.c: Likewise.
45291         * math/e_exp10l.c: Likewise.
45292         * math/e_exp2l.c: Likewise.
45293         * math/e_fmodl.c: Likewise.
45294         * math/e_gammal_r.c: Likewise.
45295         * math/e_hypotl.c: Likewise.
45296         * math/e_j0l.c: Likewise.
45297         * math/e_j1l.c: Likewise.
45298         * math/e_jnl.c: Likewise.
45299         * math/e_lgammal_r.c: Likewise.
45300         * math/e_log10l.c: Likewise.
45301         * math/e_log2l.c: Likewise.
45302         * math/e_logl.c: Likewise.
45303         * math/e_powl.c: Likewise.
45304         * math/e_sinhl.c: Likewise.
45305         * math/e_sqrtl.c: Likewise.
45306         * math/e_scalb.c: Completely rewritten and optimized.
45307         * math/e_scalbf.c: Likewise.
45308         * math/e_scalbl.c: Likewise.
45309         * math/w_acos.c: Likewise.
45310         * math/w_acosf.c: Likewise.
45311         * math/w_acosl.c: Likewise.
45312         * math/w_acosh.c: Likewise.
45313         * math/w_acoshf.c: Likewise.
45314         * math/w_acoshl.c: Likewise.
45315         * math/w_asin.c: Likewise.
45316         * math/w_asinf.c: Likewise.
45317         * math/w_asinl.c: Likewise.
45318         * math/w_atan2.c: Likewise.
45319         * math/w_atan2f.c: Likewise.
45320         * math/w_atan2l.c: Likewise.
45321         * math/w_atanh.c: Likewise.
45322         * math/w_atanhf.c: Likewise.
45323         * math/w_atanhl.c: Likewise.
45324         * math/w_exp10.c: Likewise.
45325         * math/w_exp10f.c: Likewise.
45326         * math/w_exp10l.c: Likewise.
45327         * math/w_fmod.c: Likewise.
45328         * math/w_fmodf.c: Likewise.
45329         * math/w_fmodl.c: Likewise.
45330         * math/w_j0.c: Likewise.
45331         * math/w_j0f.c: Likewise.
45332         * math/w_j0l.c: Likewise.
45333         * math/w_j1.c: Likewise.
45334         * math/w_j1f.c: Likewise.
45335         * math/w_j1l.c: Likewise.
45336         * math/w_jn.c: Likewise.
45337         * math/w_jnf.c: Likewise.
45338         * math/w_log.c: Likewise.
45339         * math/w_logf.c: Likewise.
45340         * math/w_logl.c: Likewise.
45341         * math/w_log10.c: Likewise.
45342         * math/w_log10f.c: Likewise.
45343         * math/w_log10l.c: Likewise.
45344         * math/w_log2.c: Likewise.
45345         * math/w_log2f.c: Likewise.
45346         * math/w_log2l.c: Likewise.
45347         * math/w_pow.c: Likewise.
45348         * math/w_powf.c: Likewise.
45349         * math/w_powl.c: Likewise.
45350         * math/w_remainder.c: Likewise.
45351         * math/w_remainderf.c: Likewise.
45352         * math/w_remainderl.c: Likewise.
45353         * math/w_scalb.c: Likewise.
45354         * math/w_scalbf.c: Likewise.
45355         * math/w_scalbl.c: Likewise.
45356         * math/w_sqrt.c: Likewise.
45357         * math/w_sqrtf.c: Likewise.
45358         * math/w_sqrtl.c: Likewise.
45359         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
45360         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
45361         used.
45362         * math/math_private.h: Declare __kernel_standard_f.
45363         * math/w_cosh.c: Remove cruft and optimize a bit.
45364         * math/w_coshf.c: Likewise.
45365         * math/w_coshl.c: Likewise.
45366         * math/w_exp2.c: Likewise.
45367         * math/w_exp2f.c: Likewise.
45368         * math/w_exp2l.c: Likewise.
45369         * math/w_hypot.c: Likewise.
45370         * math/w_hypotf.c: Likewise.
45371         * math/w_hypotl.c: Likewise.
45372         * math/w_lgamma.c: Likewise.
45373         * math/w_lgamma_r.c: Likewise.
45374         * math/w_lgammaf.c: Likewise.
45375         * math/w_lgammaf_r.c: Likewise.
45376         * math/w_lgammal.c: Likewise.
45377         * math/w_lgammal_r.c: Likewise.
45378         * math/w_sinh.c: Likewise.
45379         * math/w_sinhf.c: Likewise.
45380         * math/w_sinhl.c: Likewise.
45381         * math/w_tgamma.c: Likewise.
45382         * math/w_tgammaf.c: Likewise.
45383         * math/w_tgammal.c: Likewise.
45384         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45385         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45386         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
45387         Minor optimizations.  Pretty printing.  Remove cruft.
45388         * sysdeps/i386/fpu/e_acosf.S: Likewise.
45389         * sysdeps/i386/fpu/e_acosh.S: Likewise.
45390         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45391         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45392         * sysdeps/i386/fpu/e_acosl.c: Likewise.
45393         * sysdeps/i386/fpu/e_asin.S: Likewise.
45394         * sysdeps/i386/fpu/e_asinf.S: Likewise.
45395         * sysdeps/i386/fpu/e_atan2.S: Likewise.
45396         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
45397         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
45398         * sysdeps/i386/fpu/e_atanh.S: Likewise.
45399         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45400         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45401         * sysdeps/i386/fpu/e_exp10.S: Likewise.
45402         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
45403         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
45404         * sysdeps/i386/fpu/e_exp2.S: Likewise.
45405         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
45406         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
45407         * sysdeps/i386/fpu/e_fmod.S: Likewise.
45408         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
45409         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
45410         * sysdeps/i386/fpu/e_hypot.S: Likewise.
45411         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
45412         * sysdeps/i386/fpu/e_log.S: Likewise.
45413         * sysdeps/i386/fpu/e_log10.S: Likewise.
45414         * sysdeps/i386/fpu/e_log10f.S: Likewise.
45415         * sysdeps/i386/fpu/e_log10l.S: Likewise.
45416         * sysdeps/i386/fpu/e_log2.S: Likewise.
45417         * sysdeps/i386/fpu/e_log2f.S: Likewise.
45418         * sysdeps/i386/fpu/e_log2l.S: Likewise.
45419         * sysdeps/i386/fpu/e_logf.S: Likewise.
45420         * sysdeps/i386/fpu/e_logl.S: Likewise.
45421         * sysdeps/i386/fpu/e_pow.S: Likewise.
45422         * sysdeps/i386/fpu/e_powf.S: Likewise.
45423         * sysdeps/i386/fpu/e_powl.S: Likewise.
45424         * sysdeps/i386/fpu/e_remainder.S: Likewise.
45425         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
45426         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
45427         * sysdeps/i386/fpu/e_scalb.S: Likewise.
45428         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45429         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45430         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
45431         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
45432         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
45433         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45434         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45435         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45436         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45437         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45438         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45439         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45440         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45441         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45442         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45443         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45444         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45445         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45446         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45447         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45448         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45449         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45450         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45451         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45452         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45453         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45454         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45455         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45456         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45457         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45458         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45459         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45460         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45461         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
45462         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45463         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45464         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45465         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45466         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45467         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45468         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45469         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45470         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45471         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45472         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45473         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45474         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45475         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45476         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45477         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45478         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45479         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45480         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45481         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45482         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
45483         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45484         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45485         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45486         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45487         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45488         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45489         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45490         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45491         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45492         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45493         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45494         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45495         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45496         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45497         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45498         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45499         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45500         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45501         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
45502         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45503         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45504         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45505         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45506         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45507         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45508         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45509         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
45510         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45511         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45512         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45513         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45514         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45515         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
45516         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45517         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45518         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45519         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45520         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45521         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45522         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45523         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45524         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45525         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45526         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45527         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45528         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45529         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45530         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
45531         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
45532         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
45533         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
45534         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
45535         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
45536         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
45537         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45538         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45539         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45540         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45541         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
45542         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45543         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
45544         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
45545         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
45546         (__isnanf): Likewise.
45547         (__isinf_ns): Likewise.
45548         (__isinf_nsf): Likewise.
45549         (__finite): Likewise.
45550         (__finitef): Likewise.
45551         (__ieee754_sqrt): Define as macro.
45552         (__ieee754_sqrtf): Define as macro.
45553         (__ieee754_sqrtl): Define as macro.
45554         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
45555         inlined copy.
45556         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
45557         __FINITE_MATH_ONLY__ consistent.
45558         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
45559
45560 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
45561
45562         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
45563         of rawmemchr.
45564
45565         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
45566
45567 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
45568
45569         * po/ja.po: Update from translation team.
45570
45571 2011-10-08  Roland McGrath  <roland@hack.frob.com>
45572
45573         * locale/programs/locarchive.c (prepare_address_space): New function.
45574         (create_archive, enlarge_archive, open_archive): Use it.
45575
45576         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
45577         inside [SHARED], where it is used.
45578
45579         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
45580
45581         * nss/getent.c (netgroup_keys): Remove unused variable.
45582         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45583
45584 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
45585
45586         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
45587         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
45588         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
45589         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
45590         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
45591         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
45592         * math/Makefile (libm-calls): Add s_isinf_ns.
45593         * math/divtc3.c: Use __isinf_nsl instead of isinf.
45594         * math/multc3.c: Likewise.
45595         * math/s_casin.c: Likewise.
45596         * math/s_casinf.c: Likewise.
45597         * math/s_casinl.c: Likewise.
45598         * math/s_ccos.c: Likewise.
45599         * math/s_ccosf.c: Likewise.
45600         * math/s_ccosl.c: Likewise.
45601         * math/s_ctan.c: Likewise.
45602         * math/s_ctanf.c: Likewise.
45603         * math/s_ctanh.c: Likewise.
45604         * math/s_ctanhf.c: Likewise.
45605         * math/s_ctanhl.c: Likewise.
45606         * math/s_ctanl.c: Likewise.
45607         * math/w_fmod.c: Likewise.
45608         * math/w_fmodf.c: Likewise.
45609         * math/w_fmodl.c: Likewise.
45610         * math/w_remainder.c: Likewise.
45611         * math/w_remainderf.c: Likewise.
45612         * math/w_remainderl.c: Likewise.
45613         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
45614         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
45615         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
45616         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
45617         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
45618         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
45619         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
45620         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
45621
45622         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
45623         of the number.
45624         * stdio-common/printf_fphex.c: Likewise.
45625         * stdio-common/printf_size.c: Likewise.
45626
45627         * math/e_exp10.c: Include math_private.h using <...> not "...".
45628         * math/e_exp10f.c: Likewise.
45629         * math/e_exp10l.c: Likewise.
45630         * math/e_exp2l.c: Likewise.
45631         * math/e_j0l.c: Likewise.
45632         * math/e_j1l.c: Likewise.
45633         * math/e_jnl.c: Likewise.
45634         * math/e_lgammal_r.c: Likewise.
45635         * math/e_rem_pio2l.c: Likewise.
45636         * math/e_scalb.c: Likewise.
45637         * math/e_scalbf.c: Likewise.
45638         * math/e_scalbl.c: Likewise.
45639         * math/k_cosl.c: Likewise.
45640         * math/k_sinl.c: Likewise.
45641         * math/k_tanl.c: Likewise.
45642         * math/s_cacoshf.c: Likewise.
45643         * math/s_catan.c: Likewise.
45644         * math/s_catanf.c: Likewise.
45645         * math/s_catanh.c: Likewise.
45646         * math/s_catanhf.c: Likewise.
45647         * math/s_catanhl.c: Likewise.
45648         * math/s_catanl.c: Likewise.
45649         * math/s_ccosh.c: Likewise.
45650         * math/s_ccoshf.c: Likewise.
45651         * math/s_ccoshl.c: Likewise.
45652         * math/s_cexp.c: Likewise.
45653         * math/s_cexpf.c: Likewise.
45654         * math/s_cexpl.c: Likewise.
45655         * math/s_clog.c: Likewise.
45656         * math/s_clog10.c: Likewise.
45657         * math/s_clog10f.c: Likewise.
45658         * math/s_clog10l.c: Likewise.
45659         * math/s_clogf.c: Likewise.
45660         * math/s_clogl.c: Likewise.
45661         * math/s_csin.c: Likewise.
45662         * math/s_csinf.c: Likewise.
45663         * math/s_csinh.c: Likewise.
45664         * math/s_csinhf.c: Likewise.
45665         * math/s_csinhl.c: Likewise.
45666         * math/s_csinl.c: Likewise.
45667         * math/s_csqrt.c: Likewise.
45668         * math/s_csqrtf.c: Likewise.
45669         * math/s_csqrtl.c: Likewise.
45670         * math/s_ctan.c: Likewise.
45671         * math/s_ctanf.c: Likewise.
45672         * math/s_ctanh.c: Likewise.
45673         * math/s_ctanhf.c: Likewise.
45674         * math/s_ctanhl.c: Likewise.
45675         * math/s_ctanl.c: Likewise.
45676         * math/s_ldexp.c: Likewise.
45677         * math/s_ldexpf.c: Likewise.
45678         * math/s_ldexpl.c: Likewise.
45679         * math/s_significand.c: Likewise.
45680         * math/s_significandf.c: Likewise.
45681         * math/s_significandl.c: Likewise.
45682         * math/w_acos.c: Likewise.
45683         * math/w_acosf.c: Likewise.
45684         * math/w_acosh.c: Likewise.
45685         * math/w_acoshf.c: Likewise.
45686         * math/w_acoshl.c: Likewise.
45687         * math/w_acosl.c: Likewise.
45688         * math/w_asin.c: Likewise.
45689         * math/w_asinf.c: Likewise.
45690         * math/w_asinl.c: Likewise.
45691         * math/w_atan2.c: Likewise.
45692         * math/w_atan2f.c: Likewise.
45693         * math/w_atan2l.c: Likewise.
45694         * math/w_atanh.c: Likewise.
45695         * math/w_atanhf.c: Likewise.
45696         * math/w_atanhl.c: Likewise.
45697         * math/w_cosh.c: Likewise.
45698         * math/w_coshf.c: Likewise.
45699         * math/w_coshl.c: Likewise.
45700         * math/w_dremf.c: Likewise.
45701         * math/w_exp10.c: Likewise.
45702         * math/w_exp10f.c: Likewise.
45703         * math/w_exp10l.c: Likewise.
45704         * math/w_exp2.c: Likewise.
45705         * math/w_exp2f.c: Likewise.
45706         * math/w_fmod.c: Likewise.
45707         * math/w_fmodf.c: Likewise.
45708         * math/w_fmodl.c: Likewise.
45709         * math/w_hypot.c: Likewise.
45710         * math/w_hypotf.c: Likewise.
45711         * math/w_hypotl.c: Likewise.
45712         * math/w_j0.c: Likewise.
45713         * math/w_j0f.c: Likewise.
45714         * math/w_j0l.c: Likewise.
45715         * math/w_j1.c: Likewise.
45716         * math/w_j1f.c: Likewise.
45717         * math/w_j1l.c: Likewise.
45718         * math/w_jn.c: Likewise.
45719         * math/w_jnf.c: Likewise.
45720         * math/w_jnl.c: Likewise.
45721         * math/w_lgamma.c: Likewise.
45722         * math/w_lgamma_r.c: Likewise.
45723         * math/w_lgammaf.c: Likewise.
45724         * math/w_lgammaf_r.c: Likewise.
45725         * math/w_lgammal.c: Likewise.
45726         * math/w_lgammal_r.c: Likewise.
45727         * math/w_log.c: Likewise.
45728         * math/w_log10.c: Likewise.
45729         * math/w_log10f.c: Likewise.
45730         * math/w_log10l.c: Likewise.
45731         * math/w_log2.c: Likewise.
45732         * math/w_log2f.c: Likewise.
45733         * math/w_log2l.c: Likewise.
45734         * math/w_logf.c: Likewise.
45735         * math/w_logl.c: Likewise.
45736         * math/w_pow.c: Likewise.
45737         * math/w_powf.c: Likewise.
45738         * math/w_powl.c: Likewise.
45739         * math/w_remainder.c: Likewise.
45740         * math/w_remainderf.c: Likewise.
45741         * math/w_remainderl.c: Likewise.
45742         * math/w_scalb.c: Likewise.
45743         * math/w_scalbf.c: Likewise.
45744         * math/w_scalbl.c: Likewise.
45745         * math/w_sinh.c: Likewise.
45746         * math/w_sinhf.c: Likewise.
45747         * math/w_sinhl.c: Likewise.
45748         * math/w_sqrt.c: Likewise.
45749         * math/w_sqrtf.c: Likewise.
45750         * math/w_sqrtl.c: Likewise.
45751         * math/w_tgamma.c: Likewise.
45752         * math/w_tgammaf.c: Likewise.
45753         * math/w_tgammal.c: Likewise.
45754
45755         * po/ja.po: Update from translation team.
45756
45757 2011-09-29  Andreas Jaeger  <aj@suse.de>
45758
45759         [BZ #13179]
45760         * sunrpc/netname.c (netname2host): Fix logic.
45761
45762         [BZ #6779]
45763         [BZ #6783]
45764         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45765         correctly.
45766         * math/w_remainder.c (__remainder): Likewise.
45767         * math/w_remainderf.c (__remainderf): Likewise.
45768         * math/libm-test.inc (remainder_test): Add test cases.
45769
45770 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45771
45772         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
45773         sdiv_qrnnd.
45774
45775 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45776
45777         * string/test-memcmp.c: Avoid unncessary #defines.
45778         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45779
45780 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45781
45782         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45783         Use new sse2 version for core i3 - i7 as it's faster
45784         than sse42 version.
45785         (bit_Prefer_PMINUB_for_stringop): New.
45786         * sysdeps/x86_64/rawmemchr.S: Update.
45787         Replace with faster SSE2 version.
45788         * sysdeps/x86_64/memrchr.S: New file.
45789         * sysdeps/x86_64/memchr.S: Update.
45790         Replace with faster SSE2 version.
45791
45792 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
45793
45794         * elf/dl-load.c (lose): Add cast to avoid warning.
45795
45796 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45797
45798         * po/ca.po: Update from translation team.
45799
45800         * inet/getnetgrent_r.c: Hook up nscd.
45801         * nscd/Makefile (routines): Add nscd_netgroup.
45802         (nscd-modules): Add netgroupcache.
45803         (CFLAGS-netgroupcache.c): Define.
45804         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45805         (cache_search): Add const to second parameter.
45806         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45807         INNETGR.
45808         (dbs): Add netgrdb entry.
45809         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45810         (verify_persistent_db): Handle netgrdb.
45811         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45812         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
45813         GETFDNETGR.
45814         (netgroup_response_header): Define.
45815         (innetgroup_response_header): Define.
45816         (datahead): Add netgroup_response_header and innetgroup_response_header
45817         elements.
45818         * nscd/nscd.conf: Add entries for netgroup cache.
45819         * nscd/nscd.h (dbtype): Add netgrdb.
45820         (_PATH_NSCD_NETGROUP_DB): Define.
45821         (netgroup_iov_disabled): Declare.
45822         (xmalloc, xcalloc, xrealloc): Move declarations here.
45823         (cache_search): Adjust prototype.
45824         Add netgroup-related prototypes.
45825         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45826         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45827         (__nscd_innetgr): Declare.
45828         * nscd/selinux.c (perms): Use access_vector_t as element type and
45829         add netgroup-related initializers.
45830         * nscd/netgroupcache.c: New file.
45831         * nscd/nscd_netgroup.c: New file.
45832         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45833         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45834         For four parameters use innetgr.
45835         * nss/nss_files/files-init.c: Add definition and callback for netgr.
45836         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45837         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45838         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45839
45840         * nscd/connections.c (register_traced_file): Don't register file
45841         for disabled databases.
45842
45843 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
45844
45845         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45846
45847         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45848         from tree and freeing node.
45849
45850 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
45851
45852         * nss/nsswitch.c (__nss_database_lookup): Handle
45853         nss_parse_service_list out of memory case.
45854
45855 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
45856
45857         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45858         out of memory case.
45859
45860 2011-10-04  Andreas Schwab  <schwab@redhat.com>
45861
45862         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45863         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45864         pass it down.
45865         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45866         elf_machine_rela, elf_machine_lazy_rel.
45867         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45868         (ELF_DYNAMIC_DO_REL): Likewise.
45869         (ELF_DYNAMIC_DO_RELA): Likewise.
45870         (ELF_DYNAMIC_RELOCATE): Likewise.
45871         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45872         to ELF_DYNAMIC_DO_REL.
45873         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45874         (dl_main): In trace mode always set __RTLD_NOIFUNC.
45875         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45876         elf_machine_rela.
45877         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45878         skip_ifunc, don't call ifunc function if non-zero.
45879         (elf_machine_rela): Likewise.
45880         (elf_machine_lazy_rel): Likewise.
45881         (elf_machine_lazy_rela): Likewise.
45882         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45883         (elf_machine_lazy_rel): Likewise.
45884         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45885         Likewise.
45886         (elf_machine_lazy_rel): Likewise.
45887         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45888         Likewise.
45889         (elf_machine_lazy_rel): Likewise.
45890         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45891         (elf_machine_lazy_rel): Likewise.
45892         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45893         (elf_machine_lazy_rel): Likewise.
45894         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45895         (elf_machine_lazy_rel): Likewise.
45896         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45897         (elf_machine_lazy_rel): Likewise.
45898         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45899         (elf_machine_lazy_rel): Likewise.
45900         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45901         (elf_machine_lazy_rel): Likewise.
45902
45903 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
45904
45905         * nss/nss_files/files-init.c (_nss_files_init): Use static
45906         initialization for all the *_traced_file variables.
45907
45908 2011-09-28  Andreas Schwab  <schwab@redhat.com>
45909
45910         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45911
45912 2011-09-27  Roland McGrath  <roland@hack.frob.com>
45913
45914         [BZ #13226]
45915         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45916
45917 2011-09-27  Andreas Schwab  <schwab@redhat.com>
45918
45919         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45920         Reread the line before reparsing it.
45921
45922 2011-09-26  Andreas Schwab  <schwab@redhat.com>
45923
45924         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45925
45926 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
45927             Maxim Kuvyrkov  <maxim@codesourcery.com>
45928             Joseph Myers  <joseph@codesourcery.com>
45929
45930         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45931         if needed for __stack_chk_guard.
45932
45933 2011-09-19  Roland McGrath  <roland@hack.frob.com>
45934
45935         * sysdeps/posix/spawni.c (script_execute): Always define it.
45936         It will be optimized away if unused.
45937         (maybe_script_execute): New function.
45938         (__spawni): Call it.
45939
45940         * Makerules: Don't include tls.make.
45941         (config-tls): Always set to thread.
45942         * tls.make.c: File removed.
45943
45944 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
45945
45946         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45947         * config.make.in (CPPFLAGS-config): New substituted variable.
45948
45949 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
45950
45951         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45952
45953         [BZ #13192]
45954         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45955         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45956
45957 2011-09-15  Roland McGrath  <roland@hack.frob.com>
45958
45959         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45960         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45961         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45962         (CALL_FAIL): Likewise.
45963         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45964         (CALL_FAIL): Macro removed.
45965         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45966
45967 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
45968
45969         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45970         for __FINITE_MATH_ONLY__ == 1.
45971
45972 2011-09-15  Andreas Schwab  <schwab@redhat.com>
45973
45974         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45975         __ieee754_sqrt instead of sqrt.
45976         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45977         __ieee754_sqrtf instead of sqrtf.
45978         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45979         __floorf instead of floorf.
45980         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45981         __floorf, __truncf instead of floorf, truncf.
45982
45983 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
45984
45985         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45986
45987         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45988         __extern_always_inline.
45989         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45990         32-bit.
45991
45992 2011-09-14  Andreas Schwab  <schwab@redhat.com>
45993
45994         * elf/rtld.c (dl_main): Also relocate in dependency order when
45995         doing symbol dependency testing.
45996
45997 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
45998
45999         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46000         Always define `refsym'.
46001
46002 2011-09-13  Andreas Schwab  <schwab@redhat.com>
46003
46004         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
46005         (__FD_ELT): Renamed from __FDELT.
46006         * misc/bits/select2.h (__FD_ELT): Likewise.
46007         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
46008         __FD_MASK instead of __FDELT, __FDMASK.
46009         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
46010         Likewise.
46011         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
46012         Likewise.
46013
46014         * elf/Makefile (gen-ldd): Fix pattern.
46015
46016         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
46017         (init_tls): Likewise.
46018
46019 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
46020
46021         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
46022
46023 2011-09-12  Andreas Schwab  <schwab@redhat.com>
46024
46025         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
46026         `struct cmsghdr *' instead of `void *'.
46027         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
46028         Likewise.
46029
46030 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
46031
46032         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
46033         if non-absolute.
46034         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
46035         ldd_rewrite_script.
46036
46037 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
46038
46039         * configure.in: Remove --with-tls option.
46040         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
46041         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
46042         out in case it is missing.
46043         * sysdeps/ia64/elf/configure.in: Likewise.
46044         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
46045         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
46046         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
46047         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
46048         * sysdeps/sh/elf/configure.in: Likewise.
46049         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
46050         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46051         * sysdeps/x86_64/elf/configure.in: Likewise.
46052         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
46053         * sysdeps/mach/hurd/tls.h: Likewise.
46054
46055         [BZ #13067]
46056         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
46057
46058         [BZ #13090]
46059         * configure.in: Fix use of AC_INIT.
46060
46061         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
46062
46063 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
46064
46065         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
46066         __set_errno.
46067         * malloc/hooks.c: Likewise.
46068
46069         [BZ #11929]
46070         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
46071         variables statically.
46072         (narenas): Initialize.
46073         (list_lock): Initialize.
46074         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
46075         initializtion of main_arena and list_lock.  Small cleanups.
46076         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
46077         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
46078         Add initializers to main_arena and mp_.
46079         (malloc_state): Remove pagesize member.  Change all users to use
46080         GLRO(dl_pagesize).
46081
46082         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
46083         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
46084         is always initialized.
46085
46086         * malloc/malloc.c: Removed unused configurations and dead code.
46087         * malloc/arena.c: Likewise.
46088         * malloc/hooks.c: Likewise.
46089         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
46090
46091         * include/tls.h: Removed.  USE___THREAD must always be defined.
46092         * bits/libc-tsd.h: Don't handle !USE___THREAD.
46093         * elf/dl-libc.c: Likewise.
46094         * elf/dl-tsd.c: Likewise.
46095         * include/errno.h: Likewise.
46096         * include/netdb.h: Likewise.
46097         * include/resolv.h: Likewise.
46098         * inet/herrno-loc.c: Likewise.
46099         * inet/herrno.c: Likewise.
46100         * malloc/arena.c: Likewise.
46101         * malloc/hooks.c: Likewise.
46102         * malloc/malloc.c: Likewise.
46103         * resolv/res-state.c: Likewise.
46104         * resolv/res_libc.c: Likewise.
46105         * sysdeps/i386/dl-machine.h: Likewise.
46106         * sysdeps/ia64/dl-machine.h: Likewise.
46107         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
46108         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46109         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
46110         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
46111         * sysdeps/sh/dl-machine.h: Likewise.
46112         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46113         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46114         * sysdeps/unix/i386/sysdep.S: Likewise.
46115         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46116         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
46117         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
46118         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46119         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
46120         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46121         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46122         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46123         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46124         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46125         * sysdeps/unix/x86_64/sysdep.S: Likewise.
46126         * sysdeps/x86_64/dl-machine.h: Likewise.
46127         * tls.make.c: Likewise.
46128
46129         * configure.in: Remove --with-__thread option.  Make tests for
46130         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
46131         tls_model attribute fail if no support is available.  Remove
46132         USE_IN_LIBIO.
46133         * Makeconfig: Adjust for dropped configure option.  All features are
46134         now mandatory.
46135         * Makerules: Likewise.
46136         * Versions.def: Likewise.
46137         * argp/argp-fmtstream.c: Likewise.
46138         * argp/argp-fmtstream.h: Likewise.
46139         * argp/argp-help.c: Likewise.
46140         * assert/assert.c: Likewise.
46141         * config.h.in: Likewise.
46142         * config.make.in: Likewise.
46143         * configure: Likewise.
46144         * configure.in: Likewise.
46145         * csu/Versions: Likewise.
46146         * csu/init.c: Likewise.
46147         * elf/tst-audit2.c: Likewise.
46148         * elf/tst-tls10.c: Likewise.
46149         * elf/tst-tls10.h: Likewise.
46150         * elf/tst-tls11.c: Likewise.
46151         * elf/tst-tls12.c: Likewise.
46152         * elf/tst-tls14.c: Likewise.
46153         * elf/tst-tlsmod11.c: Likewise.
46154         * elf/tst-tlsmod12.c: Likewise.
46155         * elf/tst-tlsmod13.c: Likewise.
46156         * elf/tst-tlsmod13a.c: Likewise.
46157         * elf/tst-tlsmod14a.c: Likewise.
46158         * elf/tst-tlsmod15b.c: Likewise.
46159         * elf/tst-tlsmod16a.c: Likewise.
46160         * elf/tst-tlsmod16b.c: Likewise.
46161         * elf/tst-tlsmod7.c: Likewise.
46162         * elf/tst-tlsmod8.c: Likewise.
46163         * elf/tst-tlsmod9.c: Likewise.
46164         * gmon/gmon.c: Likewise.
46165         * grp/fgetgrent_r.c: Likewise.
46166         * grp/putgrent.c: Likewise.
46167         * hurd/fopenport.c: Likewise.
46168         * include/libc-symbols.h: Likewise.
46169         * include/tls.h: Likewise.
46170         * intl/gettextP.h: Likewise.
46171         * intl/loadinfo.h: Likewise.
46172         * locale/global-locale.c: Likewise.
46173         * locale/localeinfo.h: Likewise.
46174         * mach/devstream.c: Likewise.
46175         * malloc/arena.c: Likewise.
46176         * malloc/set-freeres.c: Likewise.
46177         * misc/err.c: Likewise.
46178         * misc/getttyent.c: Likewise.
46179         * misc/mntent_r.c: Likewise.
46180         * posix/getopt.c: Likewise.
46181         * posix/wordexp.c: Likewise.
46182         * pwd/fgetpwent_r.c: Likewise.
46183         * resolv/Versions: Likewise.
46184         * resolv/res_hconf.c: Likewise.
46185         * shadow/fgetspent_r.c: Likewise.
46186         * shadow/putspent.c: Likewise.
46187         * stdio-common/printf_fphex.c: Likewise.
46188         * stdio-common/tmpfile.c: Likewise.
46189         * stdlib/abort.c: Likewise.
46190         * stdlib/fmtmsg.c: Likewise.
46191         * sunrpc/auth_unix.c: Likewise.
46192         * sunrpc/clnt_perr.c: Likewise.
46193         * sunrpc/clnt_tcp.c: Likewise.
46194         * sunrpc/clnt_udp.c: Likewise.
46195         * sunrpc/clnt_unix.c: Likewise.
46196         * sunrpc/openchild.c: Likewise.
46197         * sunrpc/svc_simple.c: Likewise.
46198         * sunrpc/svc_tcp.c: Likewise.
46199         * sunrpc/svc_udp.c: Likewise.
46200         * sunrpc/svc_unix.c: Likewise.
46201         * sunrpc/xdr.c: Likewise.
46202         * sunrpc/xdr_array.c: Likewise.
46203         * sunrpc/xdr_rec.c: Likewise.
46204         * sunrpc/xdr_ref.c: Likewise.
46205         * sunrpc/xdr_stdio.c: Likewise.
46206
46207 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
46208
46209         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46210
46211 2011-07-03  Andreas Jaeger  <aj@suse.de>
46212
46213         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
46214         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
46215         regenerate with gen-libm-tests.pl.
46216
46217 2010-05-12  Petr Baudis  <pasky@suse.cz>
46218
46219         [BZ #11589]
46220         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
46221         around j0() zero points by switching to j1().
46222         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46223         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46224         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46225         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46226
46227 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
46228
46229         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
46230         instead of 0.
46231         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
46232         instead of 0.
46233         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46234         Patch in part by Pavel Roskin <proski@gnu.org>.
46235
46236         [BZ #13138]
46237         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
46238         realloc.
46239         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
46240         Free memory block if necessary.
46241
46242         [BZ #12847]
46243         * libio/genops.c (INTDEF): For string streams the _lock pointer can
46244         be NULL.  Don't lock in this case.
46245
46246 2011-09-09  Roland McGrath  <roland@hack.frob.com>
46247
46248         * elf/elf.h (ELFOSABI_GNU): New macro.
46249         (ELFOSABI_LINUX): Define to that.
46250
46251 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
46252
46253         * string/strncat.c (strncat): Undef the symbol in case it has been
46254         defined in bits/string.h.
46255
46256 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
46257
46258         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
46259
46260         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
46261         link map.
46262
46263 2011-08-17  Andreas Jaeger  <aj@suse.de>
46264
46265         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
46266
46267 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
46268             Ian Lance Taylor  <iant@google.com>
46269
46270         * math/libm-test.inc (lround_test): New testcase.
46271         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
46272
46273 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
46274
46275         * Makefile: Remove support for automatic cvs check-ins.
46276         * Makerules: Likewise.
46277         * config.make.in: Likewise.
46278         * configure.in: Likewise.
46279         * intl/Makefile: Likewise.
46280         * locale/Makefile: Likewise.
46281         * po/Makefile: Likewise.
46282         * posix/Makefile: Likewise.
46283         * sysdeps/gnu/Makefile: Likewise.
46284         * sysdeps/mach/hurd/Makefile: Likewise.
46285         * sysdeps/sparc/sparc32/Makefile: Likewise.
46286
46287         [BZ #13118]
46288         * posix/Makefile (bug-regex32-ENV): Define.
46289         Patch by John Stanley <jpsinthemix@verizon.net>.
46290
46291         * misc/Makefile (headers): Add bits/select2.h.
46292         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
46293         * misc/bits/select2.h: New file.
46294         * include/bits/select2.h: New file.
46295         * debug/Makefile (routines): Add fdelt_chk.
46296         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
46297         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
46298         FD_ISSET.
46299         * debug/fdelt_chk.c: New file.
46300
46301         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
46302         * wcsmbs/test-wmemcmp.c: Likewise.
46303         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
46304         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
46305
46306 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46307
46308         * string/Makefile (strop-tests): Add memcmp.
46309         * string/test-wmemcmp.c: New file.
46310         * string/test-memcmp.c: Add wmemcmp support.
46311
46312 2011-09-08  Roland McGrath  <roland@hack.frob.com>
46313
46314         [BZ #13153]
46315         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
46316         2011-07-19 change.
46317
46318         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
46319         garbage value in a __mach_port_mod_refs call in the cases of the
46320         task-self and thread-self ports.
46321
46322 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46323
46324         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
46325
46326 2011-09-08  Andreas Schwab  <schwab@redhat.com>
46327
46328         * elf/dl-load.c (lose): Check for non-null L.
46329
46330 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
46331
46332         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
46333
46334         * elf/dl-libc.c (dlerror_run): Pass back error code from
46335         dl_catch_error.
46336
46337         [BZ #13123]
46338         * elf/dl-load.c (lose): Free l_origin if it is valid.
46339
46340         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
46341         names.
46342         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
46343         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46344         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46345         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46346         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
46347         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
46348
46349 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46350
46351         * sysdeps/powerpc/fpu/e_hypot.c: New file.
46352         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
46353         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
46354         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
46355         * sysdeps/powerpc/fpu/k_cosf.c: New file.
46356         * sysdeps/powerpc/fpu/k_sinf.c: New file.
46357         * sysdeps/powerpc/fpu/s_cosf.c: New file.
46358         * sysdeps/powerpc/fpu/s_sinf.c: New file.
46359         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
46360         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
46361
46362 2011-08-15  Alan Modra  <amodra@gmail.com>
46363
46364         [BZ #13092]
46365         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
46366         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
46367         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
46368         ppc_mcount to static-only-routines.
46369         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
46370         __mcount_internal.
46371         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
46372         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
46373
46374 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
46375
46376         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
46377         for finite and infinity parameters.
46378
46379 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
46380
46381         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
46382         and add nop instructions for throughput optimization.
46383         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46384
46385 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
46386
46387         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
46388         aligned copy for power7 with vector-scalar instructions.
46389         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46390
46391 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
46392
46393         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
46394         AVX check.
46395
46396 2011-09-07  Andreas Schwab  <schwab@redhat.com>
46397
46398         [BZ #13144]
46399         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
46400         last change.
46401
46402 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
46403
46404         * sysdeps/unix/sysv/linux/x86_64/init-first.c
46405         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
46406         syscall wrapper around clock_gettime in __vdso_clock_gettime.
46407         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
46408         clock_gettime.
46409
46410 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
46411
46412         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
46413         Forgot to demangle the pointer.
46414
46415         * sysdeps/i386/sysdep.h: Define atom_text_section.
46416         * sysdeps/x86_64/sysdep.h: Likewise.
46417         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
46418         section with atom_text_section.
46419         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46420         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46421         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
46422         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46423         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
46424
46425         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
46426         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
46427         already be defined.  Change to take two parameters and don't assign
46428         result to variable.  Adjust all users.
46429         Define INTERNAL_GETTIME if not already defined.
46430         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
46431         call.
46432         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
46433         HAVE_CLOCK_GETTIME_VSYSCALL.
46434         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
46435
46436         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
46437         gettimeofday vsyscall, just use time.
46438
46439 2011-09-06  Andreas Schwab  <schwab@redhat.com>
46440
46441         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
46442         <errno.h>.
46443
46444 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
46445
46446         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
46447         syscall on x86-64.
46448         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
46449         syscall.
46450         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
46451         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
46452         syscall if possible.
46453
46454 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46455
46456         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
46457         e_ident.  Don't pass to find_mapsXX.
46458         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
46459
46460 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46461
46462         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46463         strchr-sse2-no-bsf strrchr-sse2-no-bsf
46464         * sysdeps/x86_64/multiarch/strchr.S: Update.
46465         Check bit_slow_BSF bit.
46466         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46467         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
46468         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
46469
46470 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46471
46472         [BZ #13134]
46473         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
46474         before glibc 2.15.
46475         (tryshell): Define.
46476         (__spawni): Change last parameter to be flag.  Test
46477         SPAWN_XFLAGS_USE_PATH flag to use path or not.
46478         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
46479         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
46480         * posix/spawni.c: Likewise.
46481         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
46482         * posix/spawnp.c: Likewise.  Change normal version to use
46483         SPAWN_XFLAGS_USE_PATH.
46484         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
46485         SPAWN_XFLAGS_TRY_SHELL.
46486
46487         [BZ #13150]
46488         * posix/glob.h: Remove gcc 1.x support.
46489
46490         [BZ #13068]
46491         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
46492
46493 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46494
46495         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46496         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
46497         strrchr-sse2-bsf
46498         * sysdeps/i386/i686/multiarch/strchr.S: New file.
46499         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
46500         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
46501         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
46502         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
46503         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
46504
46505 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46506
46507         * sysdeps/x86_64/wcscmp.S: New file.
46508
46509         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
46510         wcscmp-c wcscmp-sse2
46511         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
46512         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
46513         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
46514         * wcsmbs/wcscmp.c: Allow renaming.
46515
46516 2011-09-05  David S. Miller  <davem@davemloft.net>
46517
46518         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
46519         stack slot, rather than the struct return pointer slot.
46520         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
46521         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
46522         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
46523         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
46524
46525 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46526
46527         * po/ja.po: Update from translation team.
46528
46529         [BZ #13144]
46530         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
46531         kernel in 64-bit binaries.
46532
46533 2011-09-01  David S. Miller  <davem@davemloft.net>
46534
46535         * elf/elf.h (HWCAP_SPARC_*): Move to..
46536         * sysdeps/sparc/sysdep.h: this new file and add new values.
46537         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
46538         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
46539         _DL_HWCAP_COUNT to 24.
46540         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46541         entries.
46542         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
46543         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
46544         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
46545         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
46546         instead of magic constants.
46547         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46548
46549 2011-08-31  David S. Miller  <davem@davemloft.net>
46550
46551         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
46552         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
46553         Reimplement to do errno handling inline.
46554         (SYSCALL_ERROR_HANDLER): New macro.
46555         (__SYSCALL_STRING): Do not do errno handling in asm.
46556         (__CLONE_SYSCALL_STRING): Delete.
46557         (__INTERNAL_SYSCALL_STRING): Delete.
46558         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
46559         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
46560         (PSEUDO): Reimplement to do errno handling inline.
46561         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
46562         (SYSCALL_ERROR_HANDLER): New macro.
46563         (__SYSCALL_STRING): Do not do errno handling in asm.
46564         (__CLONE_SYSCALL_STRING): Delete.
46565         (__INTERNAL_SYSCALL_STRING): Delete.
46566         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
46567         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
46568         i386.
46569         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
46570         (inline_syscall*): Add 'err' argument.
46571         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
46572         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
46573         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
46574         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
46575
46576         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
46577         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46578
46579 2011-08-30  Andreas Schwab  <schwab@redhat.com>
46580
46581         * elf/rtld.c (dl_main): Relocate objects in dependency order.
46582
46583 2011-08-29  Jiri Olsa <jolsa@redhat.com>
46584
46585         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
46586         directive.
46587
46588 2011-08-24  David S. Miller  <davem@davemloft.net>
46589
46590         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
46591
46592 2011-08-24  Andreas Schwab  <schwab@redhat.com>
46593
46594         * elf/Makefile: Add rules to build and run unload8 test.
46595         * elf/unload8.c: New file.
46596         * elf/unload8mod1.c: New file.
46597         * elf/unload8mod1x.c: New file.
46598         * elf/unload8mod2.c: New file.
46599         * elf/unload8mod3.c: New file.
46600
46601         * elf/dl-close.c (_dl_close_worker): Reset private search list if
46602         it wasn't used.
46603
46604 2011-08-23  David S. Miller  <davem@davemloft.net>
46605
46606         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
46607         subtract stack bias.
46608         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
46609         %sp not %fp in calculations.
46610         (_JMPBUF_UNWINDS_ADJ): Likewise.
46611
46612         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
46613         (aio_suspend): Call it to force an exception region around the
46614         AIO_MISC_WAIT() invocation.
46615
46616 2011-08-23  Andreas Schwab  <schwab@redhat.com>
46617
46618         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
46619         backslash.
46620
46621 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
46622
46623         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
46624         protection macro.
46625         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
46626         and <dl-machine.h>.
46627         (Elf64_FuncDesc): Remove.
46628
46629 2011-08-22  David S. Miller  <davem@davemloft.net>
46630
46631         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
46632         sigaltstack check, add missing cfi directives.
46633         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
46634         missing cfi directives, and sigaltstack handling.
46635
46636 2011-08-16  Andreas Schwab  <schwab@redhat.com>
46637
46638         [BZ #11724]
46639         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
46640         object is seen twice.
46641         * elf/dl-fini.c (_dl_sort_fini): Likewise.
46642
46643         * elf/Makefile (distribute): Add tst-initorder2.c.
46644         (tests): Add tst-initorder2.
46645         (modules-names): Add tst-initorder2a tst-initorder2b
46646         tst-initorder2c tst-initorder2d.  Add rules to build them.
46647         ($(objpfx)tst-initorder2.out): New rule.
46648         * elf/tst-initorder2.c: New file.
46649         * elf/tst-initorder2.exp: New file.
46650
46651 2011-08-22  Andreas Schwab  <schwab@redhat.com>
46652
46653         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
46654
46655         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
46656         dependencies back to end of function.
46657
46658         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46659         $(elfobjdir)/ld.so.
46660
46661 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
46662
46663         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
46664         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
46665         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
46666         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
46667         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
46668         of __vdso_gettimeofday.
46669         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
46670         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
46671         attribute_hidden.
46672         (_libc_vdso_platform_setup): Remove initialization of
46673         __vdso_gettimeofday and __vdso_time.
46674
46675 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
46676
46677         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
46678         and fgetc_unlocked.
46679         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
46680         getc_unlocked.
46681
46682         * elf/dl-open.c (add_to_global): Report additions to the global scope
46683         for LD_DEBUG=scopes.
46684         (dl_open_worker): Also print scope of newly loaded dependencies.
46685         (_dl_show_scope): Indicate if there is no scope.
46686
46687         [BZ #13114]
46688         * stdio-common/Makefile (tests): Add bug24.
46689         * stdio-common/bug24.c: New file.
46690
46691 2011-08-19  Andreas Jaeger  <aj@suse.de>
46692
46693         [BZ #13114]
46694         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
46695         non-existant file when using close-on-exec mode.
46696
46697 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
46698
46699         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
46700         the very first instruction.
46701
46702         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
46703         the CFI state in the end.
46704         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
46705         inclusion of dl-trampoline.h.
46706         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
46707
46708 2011-08-19  Andreas Schwab  <schwab@redhat.com>
46709
46710         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
46711         expectations for long double.
46712
46713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
46714         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
46715
46716 2011-08-14  David S. Miller  <davem@davemloft.net>
46717
46718         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
46719         artificual limit depends upon the system page size.
46720
46721 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
46722
46723         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
46724         * resolv/Makefile: Define CFLAGS-libresolv.
46725
46726 2011-08-17  Andreas Schwab  <schwab@redhat.com>
46727
46728         * nss/makedb.c (compute_tables): Make variables used in nested
46729         function static.
46730
46731 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
46732
46733         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
46734         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
46735         if buffer was too small.
46736
46737         * elf/pldd.c (main): Attach to all threads in the process.
46738         Rewrite /proc handling to use *at functions.
46739
46740 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
46741
46742         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46743         specifies first scope to show.
46744         (dl_open_worker): Update callers.  Move printing scope of new
46745         object to before the relocation.
46746         * elf/rtld.c (dl_main): Update _dl_show_scope call.
46747         * sysdeps/generic/ldsodefs.h: Update declaration.
46748
46749         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46750         string for the scope number.
46751
46752 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
46753
46754         * nscd/servicescache.c (cache_addserv): Make sure written is always
46755         initialized.
46756
46757 2011-08-14  Roland McGrath  <roland@hack.frob.com>
46758
46759         * sysdeps/i386/i486/bits/atomic.h
46760         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46761         statement expression, so as to suppress "set but not used" warning.
46762         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46763
46764         * string/strncat.c (STRNCAT): Use prototype definition.
46765
46766         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46767         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46768         -Iprograms here.
46769         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46770         (localedef-modules): Add localedef.
46771         (locale-modules): Add locale.
46772
46773         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46774         * elf/rtld.c (dl_main): Invert order of assignment in last change,
46775         to avoid a warning.
46776
46777 2011-08-14  David S. Miller  <davem@davemloft.net>
46778
46779         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46780         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46781
46782 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
46783
46784         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
46785         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46786         * elf/rtld.c (dl_main): Set l_name of vDSO.
46787         Call _dl_show_scope when DL_DEBUG_SCOPES.
46788         (process_dl_debug): Recognize scopes flag and also set it for all.
46789         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46790         Declare _dl_show_scope.
46791
46792         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46793         (do_dlopen): Pass caller_dlopen to dl_open.
46794         (__libc_dlopen_mode): Initialize caller_dlopen.
46795
46796         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46797         of libc.  Make tolower call locale-independent.  Optimize a bit by
46798         using isdigit instead of isalnum.
46799         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46800
46801 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
46802
46803         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46804         was a dependency or dynamically loaded.
46805
46806 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
46807
46808         * intl/l10nflist.c: Allow architecture-specific pop function.
46809         * sysdeps/x86_64/l10nflist.c: New file.
46810
46811         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46812         classification.
46813
46814 2011-08-10  Andreas Schwab  <schwab@redhat.com>
46815
46816         * include/dirent.h: Add libc_hidden_proto for scandirat and
46817         scandirat64.  Don't declare __scandirat64.
46818         * dirent/scandirat.c: Add libc_hidden_def.
46819         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46820         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46821
46822 2011-08-10  David S. Miller  <davem@davemloft.net>
46823
46824         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46825         enum.
46826         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46827         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46828         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46829
46830 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
46831
46832         * Versions.def [libc]: Add GLIBC_2.15.
46833         * dirent/Makefile (routines): Add scandirat and scandirat64.
46834         * dirent/Versions [libc]: Export scandirat and scandirat64 for
46835         GLIBC_2.15.
46836         * dirent/dirent.h: Declare scandirat and scandirat64.
46837         * dirent/scandirat.c: New file.
46838         * dirent/scandirat64.c: New file.
46839         * sysdeps/wordsize-64/scandirat.c: New file.
46840         * sysdeps/wordsize-64/scandirat64.c: New file.
46841         * dirent/opendir.c: Define opendirat.
46842         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
46843         using scandirat.
46844         * dirent/scandir64.c: Adjust for scandir.c change.
46845         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
46846         __scandirat64, and __scandir_cancel_handler.
46847         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
46848         additional parameter and use openat instead of open (outside of ld.so).
46849         Add new __opendir as wrapper around __opendirat.
46850         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46851         here without requiring old scandirat implementation.
46852
46853 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
46854
46855         * dirent/scandir.c (cancel_handler): Renamed to
46856         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
46857         defined.  Adjust users.
46858         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46859         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46860
46861 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
46862
46863         * string/test-string.h (IMPL): Use __STRING to expand name and then
46864         stringify it.
46865
46866         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
46867         of cleanups.
46868
46869 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46870
46871         * string/Makefile: Update.
46872         (strop-tests): Append strncat.
46873         * string/test-wcscmp.c: New file.
46874         New comprehensive test for wcscmp.
46875         * string/test-strcmp.c: Update.
46876         (WIDE): New define.
46877
46878 2011-07-22  Andreas Schwab  <schwab@redhat.com>
46879
46880         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46881         line.
46882
46883 2011-07-26  Andreas Schwab  <schwab@redhat.com>
46884
46885         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46886         encoding to ACE if AI_IDN.
46887
46888 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
46889
46890         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46891         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46892
46893 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46894
46895         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46896         Fix overflow bug in strncat.
46897         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46898
46899         * string/test-strncat.c: Update.
46900         Add new tests for checking overflow bugs.
46901
46902 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46903
46904         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46905         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46906         * sysdeps/i386/i686/multiarch/strcat.S: New file.
46907         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46908         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46909         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46910         * sysdeps/i386/i686/multiarch/strncat.S: New file.
46911         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46912         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46913
46914         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46915         (USE_AS_STRCAT): Define.
46916         Add strcat and strncat support.
46917         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46918
46919 2011-07-25  Andreas Schwab  <schwab@redhat.com>
46920
46921         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46922         __n bigger than INT_MAX+1.
46923         (__strncmp_g): Likewise.
46924
46925 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
46926
46927         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46928         * libio/stido.h: Likewise.
46929
46930         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46931         (AF_NFC): Define.
46932         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46933         (AF_NFC): Define.
46934
46935         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46936         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46937         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46938         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46939         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46940
46941         [BZ #13021]
46942         * scripts/test-installation.pl: Don't expect libnss_test1 to be
46943         installed.
46944
46945         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46946         typo.
46947         (_dl_x86_64_save_sse): Likewise.
46948
46949 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
46950
46951         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46952         OSXSAVE.
46953         (_dl_x86_64_save_sse): Likewise.
46954
46955         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46956
46957         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46958
46959 2011-07-21  Andreas Schwab  <schwab@redhat.com>
46960
46961         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46962         change.
46963         (_dl_x86_64_save_sse): Use correct AVX check.
46964
46965 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46966
46967         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46968         bug in strncpy/strncat.
46969         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46970
46971 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
46972
46973         * string/tester.c (test_strcat): Add tests for different alignments
46974         of source and destination.
46975         (test_strncat): Likewise.
46976
46977 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
46978
46979         [BZ #12852]
46980         * posix/glob.c (glob): Check passed in values before using them in
46981         expressions to avoid some overflows.
46982         (glob_in_dir): Likewise.
46983
46984         [BZ #13007]
46985         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46986         check for AVX enablement so that we don't crash with old kernels and
46987         new hardware.
46988         * elf/tst-audit4.c: Add same checks here.
46989         * elf/tst-audit6.c: Likewise.
46990
46991         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
46992
46993 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
46994
46995         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46996
46997 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
46998
46999         * po/cs.po: Update from translation team.
47000         * po/bg.po: Likewise.
47001
47002 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
47003
47004         * misc/sys/cdefs.h: Add support for const attribute.
47005         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
47006         to gnu_dev_{major,minor,makedev} functions.
47007
47008 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
47009
47010         * intl/dcigettext.c (get_output_charset): Add missing bracket.
47011
47012 2011-07-20  Andreas Schwab  <schwab@redhat.com>
47013
47014         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
47015         strlen results.
47016
47017 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47018
47019         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
47020         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
47021         register in order to avoid conflicts with the soft frame pointer
47022         being held in r11 when necessary.
47023         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
47024         (INTERNAL_VSYSCALL_NCS): Likewise.
47025
47026 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
47027
47028         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
47029         * elf/dl-fini.c (_dl_fini): Adjust caller.
47030         * elf/dl-close.c (_dl_close_worker): Likewise.
47031         * sysdeps/generic/ldsodefs.h: Adjust declaration.
47032
47033 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
47034
47035         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
47036         "aux_cache->nlibs < 0".
47037
47038         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
47039         in the reload-count case.
47040
47041 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47042
47043         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47044         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
47045         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
47046         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
47047         * sysdeps/x86_64/multiarch/strcat.S: New file.
47048         * sysdeps/x86_64/multiarch/strncat.S: New file.
47049         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
47050         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
47051         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
47052         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
47053         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
47054         (USE_AS_STRCAT): Define.
47055         Add strcat and strncat support.
47056         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47057         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
47058         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
47059         * string/strncat.c: Update.
47060         (USE_AS_STRNCAT): Define.
47061         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47062         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
47063         and i7.
47064         * sysdeps/x86_64/multiarch/init-arch.h
47065         (bit_Prefer_PMINUB_for_stringop): New.
47066         (index_Prefer_PMINUB_for_stringop): Likewise.
47067         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
47068         bit_Prefer_PMINUB_for_stringop.
47069
47070 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
47071
47072         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
47073         buffer64.
47074         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
47075         of casting of buffer.
47076         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
47077         buffer32 and buffer64.
47078         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
47079         writes instead of casting of buffer.
47080         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
47081         buffer32.
47082         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
47083         casting of buffer.
47084
47085 2011-07-19  Andreas Schwab  <schwab@redhat.com>
47086
47087         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
47088
47089 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
47090
47091         * nscd/nscd.c (termination_handler): Don't do anything for a database
47092         if it has not yet been initialized.
47093
47094 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
47095
47096         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47097
47098 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
47099
47100         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47101
47102 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
47103
47104         * po/nl.po: Update from translation team.
47105         * po/sv.po: Likewise.
47106
47107 2011-07-16  Roland McGrath  <roland@hack.frob.com>
47108
47109         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
47110         now disallowed by GCC.
47111
47112         * configure.in (use-default-link): Default to yes if a test -shared
47113         link meets our qualifications.
47114         * configure: Regenerated.
47115
47116         * config.make.in (output-format): New variable.
47117         * configure.in: Check for ld --print-output-format support.
47118         * configure: Regenerated.
47119         * Makerules ($(common-objpfx)format.lds)
47120         [$(output-format) != unknown]: Just use $(output-format),
47121         instead of the linker-script munging.
47122
47123 2011-07-14  Roland McGrath  <roland@hack.frob.com>
47124
47125         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
47126         of $(common-objpfx)shlib.lds.
47127         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
47128
47129         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
47130         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
47131
47132         * configure.in (-z relro check): Adjust test code to add a large
47133         writable data section after it.
47134         * configure: Regenerated.
47135
47136 2011-07-11  Roland McGrath  <roland@hack.frob.com>
47137
47138         * configure.in (-z relro check): Fix test code to make the variable
47139         truly const.
47140         * configure: Regenerated.
47141
47142 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
47143
47144         * nscd/nscd.h (struct traced_file): Define.
47145         (struct database_dyn): Remove inotify_descr, reset_res, and filename
47146         elements.  Add traced_files.
47147         (inotify_fd): Declare.
47148         (register_traced_file): Declare.
47149         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
47150         (inotify_fd): Export.
47151         (resolv_conf_descr): Remove.
47152         (nscd_init): Move inotify descriptor creation to main.
47153         Don't register files for notification here.
47154         (register_traced_file): New function.
47155         (invalidate_cache): Don't use reset_res to determine whether to call
47156         res_init, go through the list of registered files.
47157         (main_loop_poll): The inotify descriptors are now stored in the
47158         structures for the traced files.
47159         (main_loop_epoll): Likewise
47160         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
47161         to __nss_disable_nscd.
47162         * nscd/cache.c (prune_cache): There is no single inotify descriptor
47163         for a database anymore.  Check the records for all the registered
47164         files instead.
47165         * nss/Makefile (libnss_files-routines): Add files-init.
47166         (libnss_db-routines): Add db-init.
47167         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
47168         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
47169         * nss/nss_db/db-init.c: New file.
47170         * nss/nss_files/files-init.c: New file.
47171         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
47172         __nss_lookup_function.
47173         (__nss_lookup_function): Call nss_load_library.
47174         (nss_load_all_libraries): New function.
47175         (__nss_disable_nscd): Take parameter with callback function for files
47176         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
47177         used for the cached services.
47178         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
47179         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
47180         options for features to all the files in nscd.
47181
47182         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
47183
47184 2011-07-10  Roland McGrath  <roland@hack.frob.com>
47185
47186         * csu/elf-init.c (__libc_csu_init): Comment typo.
47187
47188 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
47189
47190         * po/pl.po: Update from translation team.
47191         * po/ja.po: Likewise.
47192         * po/ru.po: Likewise.
47193         * po/ko.po: Likewise.
47194         * po/fr.po: Likewise.
47195
47196 2011-07-09  Roland McGrath  <roland@hack.frob.com>
47197
47198         * configure.in (.ctors/.dtors header and trailer check):
47199         Use an empirical test on a built program.
47200         * configure: Regenerated.
47201
47202         * configure.in (-z relro check): Use an empirical test on a built DSO.
47203         Detect, but do not require, on ia64.
47204         * configure: Regenerated.
47205
47206         * configure.in (READELF): Find it with AC_CHECK_TOOL.
47207         Update tests that use readelf to use $READELF instead.
47208         * configure: Regenerated.
47209
47210 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
47211
47212         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
47213         if the result is not used.
47214
47215 2011-07-05  Andreas Jaeger  <aj@suse.de>
47216
47217         [BZ#9696]
47218         * stdlib/tst-strtod.c: Add testcase.
47219
47220 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
47221
47222         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
47223         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
47224         The latter has a higher limit.  Take additional parameter to pass to
47225         the new function.
47226         (__pathconf): Pass file to __statfs_link_max.
47227         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
47228         __statfs_link_max.
47229         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
47230         __statfs_link_max.
47231
47232         [BZ #12868]
47233         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
47234         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47235         Handle Lustre.
47236         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
47237         (__statfs_filesize_max): Likewise.
47238         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
47239
47240 2011-07-05  Andreas Jaeger  <aj@suse.de>
47241
47242         * resolv/res_comp.c (dn_skipname): Remove unused variable.
47243
47244 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
47245
47246         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
47247         `status' variable.
47248         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
47249         Likewise.
47250
47251 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
47252
47253         * Makefile (strop-tests): Add strncat.
47254         * string/test-strncat.c: New file.
47255
47256 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
47257
47258         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
47259
47260 2011-06-21  Andreas Jaeger  <aj@suse.de>
47261
47262         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
47263         Copy rule from iconvdata/Makefile.
47264
47265 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
47266
47267         [BZ #12922]
47268         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
47269         but no long options are defined, just return 'W'.
47270
47271 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
47272
47273         [BZ #9696]
47274         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
47275
47276 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
47277
47278         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
47279         netgroups to read.
47280         (innetgr): Likewise.
47281
47282 2011-07-05  Roland McGrath  <roland@hack.frob.com>
47283
47284         * config.make.in (install_root): Default to $(DESTDIR).
47285
47286 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
47287
47288         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
47289
47290 2011-07-02  Roland McGrath  <roland@hack.frob.com>
47291
47292         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
47293
47294         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
47295         containing directory rather than embedding absolute directory names.
47296
47297         * scripts/check-local-headers.sh: Rewritten using awk.
47298         Match by word, not by line.  Print error messages for matches.
47299         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
47300
47301         * Makerules [shlib-lds-flags empty]:
47302         ($(common-objpfx)libc_pic.opts): New target.
47303         ($(common-objpfx)libc_pic.os.clean): New target.
47304         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
47305
47306         * config.make.in (OBJCOPY): New variable.
47307         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
47308         * configure: Regenerated.
47309
47310         * config.make.in (use-default-link): New variable.
47311         * configure.in (use_default_link): Grok --with-default-link to set it.
47312         * configure: Regenerated.
47313         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
47314         (shlib-lds, shlib-lds-flags): Define to empty.
47315
47316         * Makerules (shlib-lds): New variable.
47317         (shlib-lds-flags): New variable.
47318         (build-shlib, build-moduile, build-module-asneeded): Use it.
47319         ($(common-objpfx)libc.so): Use $(shlib-lds).
47320         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
47321         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
47322
47323         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
47324         DT_FLAGS/DT_FLAGS_1 with zero flags.
47325
47326         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
47327         linker script munging.
47328
47329 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
47330
47331         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
47332         as 128-bit value.
47333         * crypt/sha512.c (sha512_process_block): Perform total addition using
47334         128-bit if possible.
47335         (__sha512_finish_ctx): Likewise.
47336         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
47337         as 64-bit value.
47338         * crypt/sha256.c (SWAP64): Define.
47339         (sha256_process_block): Perform total addition using 64-bit if
47340         possible.
47341         (__sha256_finish_ctx): Likewise.
47342
47343 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
47344
47345         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
47346         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47347         * nscd/hstcache.c (cache_addhst): Likewise.
47348         * nscd/grpcache.c (cache_addgr): Likewise.
47349         * nscd/aicache.c (addhstaiX): Likewise
47350         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
47351
47352 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
47353
47354         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
47355         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47356         * nscd/hstcache.c (cache_addhst): Likewise.
47357         * nscd/grpcache.c (cache_addgr): Likewise.
47358         * nscd/aicache.c (addhstaiX): Likewise
47359
47360 2011-07-01  Andreas Schwab  <schwab@redhat.com>
47361
47362         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
47363         domain only when needed.
47364
47365 2011-06-30  Andreas Schwab  <schwab@redhat.com>
47366
47367         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
47368         is always restored.
47369
47370 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
47371
47372         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
47373         are re-adding the entry.
47374         * nscd/servicescache.c (cache_addserv): Likewise.
47375
47376 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
47377
47378         * sysdeps/generic/dl-irel.h: fix protection against multiple
47379         inclusions.
47380         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
47381
47382 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
47383
47384         [BZ #12935]
47385         * malloc/memusage.sh: Fix quoting in message.
47386         * debug/xtrace.sh: Likewise.
47387
47388         * configure.in: Remove support for --experimental-malloc option, make
47389         it the default.
47390         * config.make.in: Likewise.
47391         * malloc/Makefile: Likewise.
47392
47393 2011-06-27  Andreas Schwab  <schwab@redhat.com>
47394
47395         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
47396         two-byte characters.
47397
47398 2011-06-27  Roland McGrath  <roland@hack.frob.com>
47399
47400         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
47401         AC_CACHE_CHECK invocation.
47402         * configure: Regenerated.
47403
47404         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
47405
47406 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
47407
47408         [BZ #12350]
47409         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
47410         bit from old_res_options.
47411
47412         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
47413
47414         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
47415         value type for setfct.
47416
47417 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
47418
47419         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47420         __gettimeofday instead of gettimeofday.
47421
47422 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
47423
47424         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
47425
47426 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
47427
47428         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
47429
47430         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
47431         info.
47432
47433 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
47434
47435         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47436         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47437         strcpy-sse2-unaligned strncpy-sse2-unaligned
47438         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
47439         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
47440         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
47441         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
47442         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
47443         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
47444         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
47445         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
47446         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
47447         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
47448         (STRCPY): Support SSE2 and SSSE3 versions.
47449
47450 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
47451
47452         [BZ #12874]
47453         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
47454         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
47455         kernels which artificially limit size of requests.
47456
47457 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
47458
47459         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47460         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47461         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
47462         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
47463         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
47464         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
47465         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
47466         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
47467         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
47468         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
47469         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
47470         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
47471         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
47472         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
47473         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
47474         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47475         Enable unaligned load optimization for Intel Core i3, i5 and i7
47476         processors.
47477         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
47478         Define.
47479         (index_Fast_Unaligned_Load): Define.
47480         (HAS_FAST_UNALIGNED_LOAD): Define.
47481
47482 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
47483
47484         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
47485
47486 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
47487
47488         [BZ #12907]
47489         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
47490         until it is clear that the information is realy needed.
47491         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
47492
47493 2011-06-22  Andreas Schwab  <schwab@redhat.com>
47494
47495         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
47496
47497 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
47498
47499         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47500         /sys/devices/system/cpu/online if it is usable.
47501
47502         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
47503         reading the information from the /proc filesystem to once a second.
47504
47505 2011-06-21  Andreas Jaeger  <aj@suse.de>
47506
47507         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
47508         NULL after inclusion of kernel headers.
47509
47510 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
47511
47512         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
47513         calls to internal_setent.
47514
47515         [BZ #12885]
47516         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
47517         addresses using gethostbyname4_r ignore IPv4 addresses.
47518
47519         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
47520         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
47521
47522         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
47523
47524 2011-06-20  David S. Miller  <davem@davemloft.net>
47525
47526         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
47527         inclusions.
47528         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
47529
47530         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
47531         (elf_irel): Use it.
47532         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
47533         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
47534         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
47535         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
47536         * sysdeps/x86_64/dl-irel.h: Likewise.
47537
47538         * elf/dl-runtime.c: Use elf_ifunc_invoke.
47539         * elf/dl-sym.c: Likewise.
47540
47541 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
47542
47543         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
47544         need to dereference resplen2.
47545
47546 2011-06-14  Andreas Schwab  <schwab@redhat.com>
47547
47548         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
47549
47550 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
47551
47552         * Makeconfig: Define vardbdir and inst_vardbdir.
47553         * nss/Makefile: Add rules to install db-Makefile.
47554
47555         * nss/nss_db/db-XXX.c: Cleanup.
47556
47557         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
47558         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
47559         GLIBC_PRIVATE.
47560         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
47561         * nss/makedb.c: Implement -g option to specify that value strings
47562         are generated and should not be added to table iterated over for
47563         get*ent calls.
47564         * nss/nss_db/db-initgroups.c: New file.
47565
47566         * nss/getent.c: Add support for initgroups lookups through getgrouplist
47567         interface.
47568
47569         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
47570         (internal_getgrouplist): Adjust to name change.
47571         Update use_initgroups_entry if this is not the first call.
47572         * nss/databases.def: Add initgroups entry.
47573
47574         * nss/makedb.c (compute_tables): Check result of multiple hash table
47575         sizes to minimize maximum chain length.
47576
47577 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
47578
47579         * Versions.def: Add entry for libnss_db.
47580         * shlib-versions: Likewise.
47581         * nss/Makefile: Add rules to build libnss_db.
47582         * nss/Versions: Add libnss_db information.  Organize libnss_files
47583         entries better.
47584         * nss/db-Makefile: Add gshadow support.  Change rules for the new
47585         makedb progra.  Some minor improvements to generate smaller files.
47586         * nss/nss_db/nss_db.h: Move NSS database header data structures to
47587         here from...
47588         * nss/makedb.c: ...here.
47589         Improve database format to be smaller and require less memory at
47590         runtime.
47591         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
47592         db anymore.
47593         * nss/nss_db/db-netgrp.c: Likewise.
47594         * nss/nss_db/db-open.c: Likewise.
47595         * nss/nss_files/flies-XXX.x: Adjust comments.
47596         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
47597         * nss/nss_files/files-grp.c: Likewise.
47598         * nss/nss_files/files-hosts.c: Likewise.
47599         * nss/nss_files/files-network.c: Likewise.
47600         * nss/nss_files/files-proto.c: Likewise.
47601         * nss/nss_files/files-pwd.c: Likewise.
47602         * nss/nss_files/files-rpc.c: Likewise.
47603         * nss/nss_files/files-service.c: Likewise.
47604         * nss/nss_files/files-sgrp.c: Likewise.
47605         * nss/nss_files/files-spwd.c: Likewise.
47606         * nss/nss_db/db-alias.c: Removed.
47607         * nss/nss_db/dummy-db.h: Removed.
47608
47609 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
47610
47611         * nss/makedb.c: Rewritten to not use database library.
47612         * nss/Makefile: Update to build new makedb program.
47613
47614 2011-06-14  Andreas Jaeger  <aj@suse.de>
47615
47616         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
47617         memset declaration.
47618
47619 2011-06-10  Andreas Schwab  <schwab@redhat.com>
47620
47621         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
47622         tmpbuf.
47623
47624 2011-06-10  Roland McGrath  <roland@hack.frob.com>
47625
47626         * Makerules (shlib.lds): Fail if the linker script comes out empty.
47627         * elf/Makefile ($(objpfx)ld.so): Likewise.
47628
47629         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
47630         Don't list ld.so twice in dependencies.
47631
47632         * posix/bug-regex31.c: Include <stdlib.h>.
47633
47634         * nscd/hstcache.c (cache_addhst): Remove unused variable.
47635
47636         * nis/nss_compat/compat-spwd.c
47637         (getspent_next_nss_netgr): Remove unused variable.
47638         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
47639
47640         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
47641         nonmembers" output to use the right array.
47642
47643         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
47644
47645         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
47646
47647         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
47648         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
47649         * catgets/gencat.c (read_input_file): Likewise.
47650         * locale/programs/locarchive.c (enlarge_archive): Likewise.
47651
47652         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
47653         variable definition inside #if's controlling its use.
47654
47655         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
47656
47657         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
47658
47659         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
47660
47661         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
47662         unreachable code.
47663
47664         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
47665
47666         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
47667         * configure: Regenerated.
47668
47669         * Makerules: Revert last change.
47670         * elf/Makefile: Likewise.
47671
47672 2011-06-09  Roland McGrath  <roland@hack.frob.com>
47673
47674         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
47675         * elf/Makefile ($(objpfx)librtld.os): Likewise.
47676         (reloc-link): Likewise.
47677
47678 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
47679
47680         * elf/Makefile: Add rules to build pldd.
47681         * elf/pldd.c: New file.
47682         * elf/pldd-xx.c: New file.
47683
47684 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
47685
47686         * version.h: Update for 2.15 development version.
47687
47688 2011-06-07  David S. Miller  <davem@davemloft.net>
47689
47690         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
47691         ifuncs.
47692         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
47693         elf_machine_lazy_rel): Likewise.
47694         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47695         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
47696         elf_machine_lazy_rel): Likewise.
47697         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
47698         dl_hwcap via passed in argument.
47699         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
47700         Likewise.
47701
47702 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47703
47704         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
47705
47706 2011-06-06  Roland McGrath  <roland@hack.frob.com>
47707
47708         [BZ #12849]
47709         * manual/fdl-1.1.texi: New file, verbatim from:
47710         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
47711         * manual/lgpl-2.1.texi: New file, verbatim from:
47712         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
47713         * manual/Makefile (licenses): New variable, list those new file names.
47714         (texis): Use it.
47715         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
47716
47717         * manual/fdl.texi: File removed.
47718         * manual/lesser.texi: File removed.
47719         * manual/libc.texinfo (Copying, Documentation License):
47720         Use new @include file names, put @appendix directive before @include.
47721
47722 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
47723
47724         [BZ #12841]
47725         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
47726         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
47727         (mq_open): Add __NTH.
47728
47729 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
47730
47731         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47732         Assume Intel Core i3/i5/i7 processor if AVX is available.
47733
47734 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
47735
47736         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47737         typo.
47738
47739 2011-05-31  Andreas Schwab  <schwab@redhat.com>
47740
47741         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47742         memory.  Use alloca_account.  Fix memory leak when retrying.
47743
47744 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
47745
47746         * version.h (RELEASE): Bump for 2.14 release.
47747         * include/features.h (__GLIBC_MINOR__): Bump to 14.
47748
47749         * config.make.in (RANLIB): Remove entry.
47750
47751 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
47752
47753         * po/Makefile (po-sed-cmd): Add ksh to extensions.
47754         (libc.pot): Work around missing support for .ksh extension in xgettext.
47755
47756         [BZ #12684]
47757         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47758         if both request failed.
47759         (send_dg): In case of server errors clear resplen or *resplen2.
47760
47761         [BZ #12454]
47762         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47763         when there are multiple maps.
47764         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47765         (_dl_fini): Remove test here.
47766
47767         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47768
47769 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
47770
47771         [BZ #12350]
47772         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47773         bit from old_res_options.
47774         (gaih_inet): Likewise.
47775
47776         [BZ #11099]
47777         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
47778         as signed.
47779
47780         * resolv/res_init.c (res_setoptions): Make the code more compact.
47781
47782         [BZ #11558]
47783         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47784         set RES_USEVC.
47785
47786         [BZ #11634]
47787         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47788
47789         * malloc/malloc.h: Mark malloc hook variables as deprecated.
47790
47791         [BZ #11781]
47792         * malloc/malloc.h: Declare malloc hook variables as volatile.
47793
47794         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47795         in last patch.
47796
47797         [BZ #11799]
47798         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
47799         raise in the comment.
47800         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47801         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47802         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
47803
47804 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
47805
47806         [BZ #12811]
47807         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47808         grow the buffers more if it already has to be sufficient.
47809         (build_wcs_upper_buffer): Likewise.
47810         * posix/regexec.c (check_matching): Likewise.
47811         (clean_state_log_if_needed): Likewise.
47812         (extend_buffers): Don't enlarge buffers beyond size of the input
47813         buffer.
47814         Patches mostly by Emil Wojak <emil@wojak.eu>.
47815         * posix/bug-regex32.c: New file.
47816         * posix/Makefile (tests): Add bug-regex32.
47817
47818         * locale/findlocale.c (_nl_find_locale): Return right away if
47819         _nl_explode_name failed.
47820         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47821
47822         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47823
47824         * debug/xtrace.sh: Unify messages.
47825         * malloc/memusage.sh: Likewise.
47826
47827         [BZ #12813]
47828         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47829         time symbol from vDSO.  Substitute with vsyscall if not available.
47830         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47831         __vdso_time.
47832
47833         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47834         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47835         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47836         Add sendmmsg and internal_sendmmsg.
47837         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47838         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47839         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47840
47841         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47842         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47843         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47844
47845 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
47846
47847         [BZ #12813]
47848         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47849         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
47850         available.
47851         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47852         __vdso_getcpu.
47853
47854         [BZ #12814]
47855         * iconvdata/Makefile (tests): Add bug-iconv9.
47856         * iconvdata/bug-iconv9.c: New file.
47857
47858 2011-05-27  Andreas Schwab  <schwab@redhat.com>
47859
47860         [BZ #12814]
47861         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47862
47863 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
47864
47865         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47866         (struct user_regs_struct): Change intcs field back to cs.
47867
47868 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
47869
47870         * po/ja.po: Update from translation team.
47871
47872 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
47873
47874         [BZ #12795]
47875         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47876         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47877
47878 2011-05-20  Andreas Schwab  <schwab@redhat.com>
47879
47880         * stdlib/longlong.h: Update from GCC.
47881
47882 2011-05-23  Andreas Schwab  <schwab@redhat.com>
47883
47884         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47885         parameter name.
47886         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47887         Add parameter name.
47888         (__sysconf): Pass it down.
47889
47890 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
47891
47892         [BZ #12671]
47893         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47894         some situations.
47895         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47896         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47897         add in in __libc_use_alloca calls.  Adjust callers.
47898         (glob): Use malloc in some situations.
47899
47900         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47901         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47902         pltexit.
47903
47904 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
47905
47906         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47907         and CLOCK_BOOTTIME_ALARM.
47908
47909         [BZ #12782]
47910         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47911         is returned.
47912
47913         * string/_strerror.c (__strerror_r): Print negative errors as signed
47914         numbers.
47915
47916         [BZ #12777]
47917         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47918         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47919         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47920
47921         * configure.in: Fix typo in redirection and correct removal of test
47922         files in two cases.
47923
47924         [BZ #12788]
47925         * locale/setlocale.c (new_composite_name): Fix test to check for
47926         identical name of all categories.
47927
47928         [BZ #12792]
47929         * libio/filedoalloc.c (local_isatty): New function.
47930         (_IO_file_doallocate): Use local_isatty.
47931         * stdio-common/perror.c (perror): In case a new stream is used
47932         forward the stream error.
47933         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47934         error flag.
47935
47936 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
47937
47938         [BZ #11869]
47939         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47940         alloca.
47941         * include/alloca.h (extend_alloca_account): Define.
47942
47943         [BZ #11857]
47944         * posix/regex.h: Fix comments with documentation of user-accessible
47945         fields after compilation and describe correct free'ing of pattern
47946         after re_compile_pattern.
47947         Patch by Reuben Thomas <rrt@sc3d.org>.
47948
47949 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
47950
47951         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47952         and -mno-altivec to prevent the compiler from using Altivec and/or
47953         VSX instructions when the corresponding registers are not available.
47954
47955 2011-05-19  Andreas Schwab  <schwab@redhat.com>
47956
47957         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47958
47959 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
47960
47961         * libio/freopen.c (freopen): Use __dup2, not dup2.
47962         * libio/freopen64.c (freopen64): Likewise.
47963
47964 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47965
47966         [BZ #12775]
47967         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47968         * math/Makefile (tests): Add test-powl.
47969         (CFLAGS-test-powl.c): Define.
47970         * math/test-powl.c: New file.
47971
47972 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47973
47974         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47975
47976 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
47977
47978         [BZ #11837]
47979         * iconvdata/gb18030.c: Update to GB18020-2005.
47980
47981 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
47982
47983         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47984         RE_SYNTAX_POSIX_AWK): Update to match recent development.
47985         Patch by Aharon Robbins <arnold@skeeve.com>.
47986
47987         [BZ #11892]
47988         * stdlib/putenv.c (putenv): Don't always create copy of the variable
47989         on the stack.
47990
47991         [BZ #11895]
47992         * misc/pselect.c (__pselect): Handle timeout value errors hidden
47993         through underflows.
47994
47995         [BZ #12766]
47996         * misc/error.c (error_at_line): Ensure file_name and old_file_name
47997         point to strings before performing equality test for error_one_per_line
47998         mode.
47999
48000         [BZ #11697]
48001         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
48002
48003         [BZ #11820]
48004         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
48005         (struct user_fpregs_struct): Avoid __uint*_t types.
48006
48007         [BZ #6420]
48008         * malloc/mtrace.c (tr_where): Add additional parameter to point to
48009         symbol info.  Use it instead of calling _dl_addr locally.
48010         (lock_and_info): New function.
48011         (tr_freehook): Call lock_and_info and pass symbol info as additional
48012         parameter to tr_where.
48013         (tr_mallochook): Likewise.
48014         (tr_reallochook): Likewise.
48015         (tr_memalignhook): Likewise.
48016
48017         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
48018         used and couldn't be at all thread-safe.
48019
48020 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
48021
48022         * libio/freopen.c (freopen): Don't close old file descriptor
48023         before the new one is opened.  Instead dup the new file descriptor
48024         to the old one after the new stream is created.
48025         * libio/freopen64.c (freopen64): Likewise.
48026         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
48027         * libio/fileops.c (_IO_new_file_close_it): Handle new
48028         _IO_FLAGS2_NOCLOSE flag.
48029         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
48030         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
48031         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
48032         _IO_FLAGS2_NOCLOSE flag.
48033         * include/unistd.h: Add hidden_proto for dup3.
48034         Define __have_dup3.
48035         * io/dup3.c: Define hidden symbol.
48036         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
48037
48038         [BZ #7101]
48039         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
48040         when an incomplete long option is used.
48041         * posix/tst-getopt_long1.c: New file.
48042         * posix/Makefile (tests): Add tst-getopt_long1.
48043
48044         [BZ #10138]
48045         * scripts/config.guess: Update from autoconf-2.68.
48046         * scripts/config.sub: Likewise.
48047
48048         [BZ #10157]
48049         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
48050         tests into ...
48051         (has_cpuclock): ...this.  New function.
48052         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
48053         macro here based on has_cpuclock code.
48054
48055         [BZ #10149]
48056         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48057         First byte (not low byte) is now always NUL.
48058         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
48059
48060         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48061         Use non-cancelable interfaces.
48062
48063         [BZ #9809]
48064         * locale/iso-639.def: Add entry for Sorani.
48065
48066         [BZ #11901]
48067         * include/stdlib.h: Move include protection to the right place.
48068         Define abort_msg_s.  Declare __abort_msg with it.
48069         * stdlib/abort.c (__abort_msg): Adjust type.
48070         * assert/assert.c (__assert_fail_base): New function.  Majority
48071         of code from __assert_fail.  Allocate memory for __abort_msg with
48072         mmap.
48073         (__assert_fail): Now call __assert_fail_base.
48074         * assert/assert-perr.c: Remove bulk of implementation.  Use
48075         __assert_fail_base.
48076         * include/assert.hL Declare __assert_fail_base.
48077         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
48078         mmap.
48079         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
48080
48081 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
48082
48083         [BZ #11952]
48084         [BZ #12453]
48085         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
48086         until all modules are registered in the DTV.
48087         * elf/Makefile: Add rules to build and run tst-tls19.
48088         * elf/tst-tls19.c: New file.
48089         * elf/tst-tls19mod1.c: New file.
48090         * elf/tst-tls19mod2.c: New file.
48091         * elf/tst-tls19mod3.c: New file.
48092         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
48093
48094         [BZ #12083]
48095         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
48096         correctly.
48097
48098         [BZ #12601]
48099         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
48100         two-byte sequence errors.
48101         * iconvdata/Makefile (tests): Add bug-iconv8.
48102         * iconvdata/bug-iconv8.c: New file.
48103
48104         [BZ #12626]
48105         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
48106         buf2 definition.
48107
48108         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
48109
48110         [BZ #12432]
48111         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
48112         (dummy_getcfa): New function.
48113         (init): Get _Unwind_GetCFA address, use dummy if not found.
48114         (backtrace_helper): In recursion check, also check whether CFA changes.
48115         (__backtrace): Completely initialize arg.
48116
48117         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
48118         storing incomplete byte sequence in state object.  Avoid testing for
48119         guaranteed too small input if we know there is enough data available.
48120
48121 2011-05-11  Andreas Schwab  <schwab@redhat.com>
48122
48123         * Makeconfig (+link-pie): Indent.
48124         * Rules (binaries-pie): Define if $(have-fpie) and
48125         $(build-shared).
48126         (binaries-shared): Also filter out $(binaries-pie).
48127         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
48128         * nscd/Makefile (others-pie): Add nscd.
48129         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
48130         ($(objpfx)nscd): Remove command override.
48131         * login/Makefile (others-pie): Add pt_chown.
48132         ($(objpfx)pt_chown): Remove command override.
48133         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
48134         remove command overrides.
48135
48136 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
48137
48138         * libio/tst_putwc.c: Fix error messages.
48139
48140         [BZ #12724]
48141         * libio/fileops.c (_IO_new_file_close_it): Always flush when
48142         currently writing and seek to current position when not.
48143         * libio/Makefile (tests): Add bug-fclose1.
48144         * libio/bug-fclose1.c: New file.
48145
48146 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
48147
48148         [BZ #12511]
48149         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
48150         don't set DF_1_NODELETE here.
48151         (do_lookup_x): When entering new entry test for copy relocation
48152         and if necessary set DF_1_NODELETE flag.
48153         * elf/tst-unique4.cc: New file.
48154         * elf/tst-unique4.h: New file.
48155         * elf/tst-unique4lib.cc: New file.
48156         * elf/Makefile: Add rules to build and run tst-unique4.
48157         Patch by Piotr Bury <pbury@goahead.com>.
48158
48159 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
48160
48161         [BZ #12052]
48162         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
48163
48164         [BZ #12625]
48165         * misc/mntent_r.c (addmntent): Flush the stream after the output
48166
48167         [BZ #12393]
48168         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
48169         (is_trusted_path_normalize): Skip initial colon.  Append slash
48170         to empty buffer.  Duplicate is_trusted_path code but allow
48171         constructed patch to be prefix.
48172         (is_dst): Allow $ORIGIN followed by /.
48173         (_dl_dst_substitute): Correct clearing of check_for_trusted.
48174         Correct testing of result of is_trusted_path_normalize
48175         (decompose_rpath): Fix warning.
48176
48177 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
48178
48179         [BZ #11257]
48180         * grp/initgroups.c (internal_getgrouplist): When we found the service
48181         list through the initgroups entry in nsswitch.conf do not always
48182         continue on a successful lookup.  Don't always use the
48183         __nss_group_database value if it is set.
48184         * nss/nsswitch.conf (initgroups): Change action for successful db
48185         lookup to continue for compatibility.
48186
48187 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
48188
48189         [BZ #11532]
48190         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
48191         and CP774 modules.
48192         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
48193         and CP774 modules.
48194         * iconvdata/tst-tables.sh: Likewise.
48195         * iconvdata/cp770.c: New file.
48196         * iconvdata/cp771.c: New file.
48197         * iconvdata/cp772.c: New file.
48198         * iconvdata/cp773.c: New file.
48199         * iconvdata/cp774.c: New file.
48200         * iconvdata/testdata/CP770: New file.
48201         * iconvdata/testdata/CP770..UTF8: New file.
48202         * iconvdata/testdata/CP771: New file.
48203         * iconvdata/testdata/CP771..UTF8: New file.
48204         * iconvdata/testdata/CP772: New file.
48205         * iconvdata/testdata/CP772..UTF8: New file.
48206         * iconvdata/testdata/CP773: New file.
48207         * iconvdata/testdata/CP773..UTF8: New file.
48208         * iconvdata/testdata/CP774: New file.
48209         * iconvdata/testdata/CP774..UTF8: New file.
48210
48211         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
48212         END CHARMAP line.
48213         * iconvdata/gen-8bit-gap.sh: Likewise.
48214         * iconvdata/gen-8bit.sh: Likewise.
48215
48216         * locale/iso-639.def: Add ary entry.
48217
48218         [BZ #11258]
48219         * locale/C-translit.h.in: Add U20A1 transliteration.
48220
48221         [BZ #12178]
48222         * locale/iso-639.def: Add wae entry.
48223         Patch by Kevin Bortis <bortis@translate-wae.ch>.
48224
48225         [BZ #12545]
48226         * locale/programs/localedef.c (construct_output_path): Use ssize_t
48227         for n.
48228
48229         [BZ #12711]
48230         * locale/C-translit.h.in: Add entry for U20B9.
48231         Patch by pravin.d.s@gmail.com.
48232
48233 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
48234
48235         [BZ #12713]
48236         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
48237         ENAMETOOLONG use generic getcwd.
48238         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
48239         in rtld.  Use *stat64.
48240         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
48241         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
48242         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
48243         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
48244         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
48245         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
48246         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
48247         __fstatat64 macros.
48248         * include/dirent.h: Add libc_hidden_proto for rewinddir.
48249         * dirent/rewinddir.c: Add libc_hidden_def.
48250         * sysdeps/mach/hurd/rewinddir.c: Likewise.
48251         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
48252
48253         * include/dirent.h (__alloc_dir): Add flags parameter.
48254         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
48255         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
48256         __alloc_dir.
48257         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
48258         from fdopendir if O_CLOEXEC is already set.
48259
48260 2011-03-15  Alan Modra  <amodra@gmail.com>
48261
48262         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
48263         l_tls_firstbyte_offset non-zero.  Save padding offset in
48264         l_tls_firstbyte_offset for later use.
48265         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
48266         freeing static tls block.
48267
48268 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
48269
48270         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
48271         where #ifdef was intended.  The intent is to prevent ARG_MAX from
48272         being defined by the kernel headers.
48273
48274 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
48275
48276         [BZ #12734]
48277         * resolv/resolv.h: Define RES_NOTLDQUERY.
48278         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
48279         no-tld-query and set RES_NOTLDQUERY.
48280         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
48281         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
48282         modern BIND to search name as TLD unless forbidden.
48283
48284 2011-05-07  Petr Baudis  <pasky@suse.cz>
48285             Ulrich Drepper  <drepper@gmail.com>
48286
48287         [BZ #12393]
48288         * elf/dl-load.c (fillin_rpath): Move trusted path check...
48289         (is_trusted_path): ...to here.
48290         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
48291         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
48292         using is_trusted_path_normalize() in setuid scripts.
48293
48294 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
48295
48296         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
48297         __BEGIN/__END_DECLS.
48298
48299 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
48300
48301         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
48302         NSS_STATUS_NOTFOUND if no record was found.
48303
48304 2011-05-05  Andreas Schwab  <schwab@redhat.com>
48305
48306         * sunrpc/Makefile (headers): Add rpc/netdb.h.
48307         (headers-not-in-tirpc): Remove rpc/netdb.h
48308         * resolv/netdb.h: Revert last change.
48309
48310 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
48311
48312         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
48313         circular dependency between libgcc.a and libc.a.
48314
48315 2011-05-05  Andreas Schwab  <schwab@redhat.com>
48316
48317         * resolv/netdb.h: Don't include <rpc/netdb.h>.
48318         * nis/Makefile: Don't install rpcsvc/*.
48319         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
48320         instead of <rpc/types.h>.
48321         (MAXHOSTNAMELEN): Define.
48322
48323 2011-05-03  Andreas Schwab  <schwab@redhat.com>
48324
48325         * elf/ldconfig.c (add_dir): Don't crash on empty path.
48326
48327 2011-04-28  Maciej Babinski  <mbabinski@google.com>
48328
48329         [BZ #12714]
48330         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
48331         gethostbyname4_r when IPv6 results are possible.
48332
48333 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
48334
48335         [BZ #12723]
48336         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
48337         _PC_PIPE_BUF handling.
48338
48339 2011-04-30  Bruno Haible  <bruno@clisp.org>
48340
48341         [BZ #12717]
48342         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
48343         * resolv/netdb.h (getnameinfo): Change type of flags parameter
48344         to 'int'.
48345         * inet/getnameinfo.c (getnameinfo): Likewise.
48346
48347 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
48348
48349         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
48350         to groups setting in database lookup.
48351         * nss/nsswitch.conf: Add initgroups entry.
48352
48353 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
48354
48355         [BZ #12685]
48356         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
48357         mode string.
48358         Patch by Eric Blake <eblake@redhat.com>.
48359
48360 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
48361
48362         * sunrpc/Makefile (need-export-routines): Add svc_run.
48363         (routines): Remove svc_run.
48364         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
48365         * sunrpc/clnt_perr.c (clnt_perrno): Export.
48366         * sunrpc/svc_run.c (svc_run): Likewise.
48367         * sunrpc/svc_udp.c (svcudp_create): Likewise.
48368
48369 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
48370
48371         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
48372         problem in reallocation in last patch.
48373
48374 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
48375
48376         * sunrpc/Makefile: Move inclusion of Rules.
48377
48378 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
48379
48380         * nss/nss_files/files-initgroups.c: New file.
48381         * nss/Makefile (libnss_files-routines): Add files-initgroups.
48382         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
48383         _nss_files_initgroups_dyn.
48384
48385 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
48386
48387         * elf/elf.h (R_ARM_IRELATIVE): Define.
48388
48389 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
48390
48391         * po/ru.po: Update from translation team.
48392
48393 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
48394
48395         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
48396         dependencies.
48397
48398 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
48399
48400         [BZ #12653]
48401         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
48402         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
48403         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48404         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48405         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48406
48407 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
48408
48409         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
48410         differing bytes.
48411         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48412         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48413         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48414
48415 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
48416
48417         [BZ #12420]
48418         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
48419         storing it.
48420         * stdlib/bug-getcontext.c: New file.
48421         * stdlib/Makefile: Add rules to build and run bug-getcontext.
48422
48423 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48424
48425         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
48426         instructions into .machine "z9-109".
48427         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
48428         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
48429
48430 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48431
48432         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
48433         between environment variables and auxiliary vector.
48434
48435 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
48436
48437         * Makefile: Add rules to build linkobj/libc.so.
48438         * include/libc-symbols.h: Define libc_hidden_nolink.
48439         * include/rpc/auth.h: Mark functions which are to be hidden.
48440         * include/rpc/auth_des.h: Likewise.
48441         * include/rpc/auth_unix.h: Likewise.
48442         * include/rpc/clnt.h: Likewise.
48443         * include/rpc/des_crypt.h: Likewise.
48444         * include/rpc/key_prot.h: Likewise.
48445         * include/rpc/pmap_clnt.h: Likewise.
48446         * include/rpc/pmap_prot.h: Likewise.
48447         * include/rpc/pmap_rmt.h: Likewise.
48448         * include/rpc/rpc_msg.h: Likewise.
48449         * include/rpc/svc.h: Likewise.
48450         * include/rpc/svc_auth.h: Likewise.
48451         * include/rpc/xdr.h: Likewise.
48452         * nis/Makefile: Link all DSOs against linkobj/libc.so.
48453         * nss/Makefile: Likewise.
48454         * sunrpc/Makefile: Don't install headers.  Build library with normal
48455         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
48456         * sunrpc/auth_des.c: Hide exported symbols by default, export some
48457         for the compat linking library.  Remove use of INTDEF/INTUSE.
48458         * sunrpc/auth_none.c: Likewise.
48459         * sunrpc/auth_unix.c: Likewise.
48460         * sunrpc/authdes_prot.c: Likewise.
48461         * sunrpc/authuxprot.c: Likewise.
48462         * sunrpc/clnt_gen.c: Likewise.
48463         * sunrpc/clnt_perr.c: Likewise.
48464         * sunrpc/clnt_raw.c: Likewise.
48465         * sunrpc/clnt_simp.c: Likewise.
48466         * sunrpc/clnt_tcp.c: Likewise.
48467         * sunrpc/clnt_udp.c: Likewise.
48468         * sunrpc/clnt_unix.c: Likewise.
48469         * sunrpc/des_crypt.c: Likewise.
48470         * sunrpc/des_soft.c: Likewise.
48471         * sunrpc/get_myaddr.c: Likewise.
48472         * sunrpc/key_call.c: Likewise.
48473         * sunrpc/key_prot.c: Likewise.
48474         * sunrpc/netname.c: Likewise.
48475         * sunrpc/pm_getmaps.c: Likewise.
48476         * sunrpc/pm_getport.c: Likewise.
48477         * sunrpc/pmap_clnt.c: Likewise.
48478         * sunrpc/pmap_prot.c: Likewise.
48479         * sunrpc/pmap_prot2.c: Likewise.
48480         * sunrpc/pmap_rmt.c: Likewise.
48481         * sunrpc/publickey.c: Likewise.
48482         * sunrpc/rpc_cmsg.c: Likewise.
48483         * sunrpc/rpc_common.c: Likewise.
48484         * sunrpc/rpc_dtable.c: Likewise.
48485         * sunrpc/rpc_prot.c: Likewise.
48486         * sunrpc/rpc_thread.c: Likewise.
48487         * sunrpc/rtime.c: Likewise.
48488         * sunrpc/svc.c: Likewise.
48489         * sunrpc/svc_auth.c: Likewise.
48490         * sunrpc/svc_authux.c: Likewise.
48491         * sunrpc/svc_raw.c: Likewise.
48492         * sunrpc/svc_run.c: Likewise.
48493         * sunrpc/svc_simple.c: Likewise.
48494         * sunrpc/svc_tcp.c: Likewise.
48495         * sunrpc/svc_udp.c: Likewise.
48496         * sunrpc/svc_unix.c: Likewise.
48497         * sunrpc/svcauth_des.c: Likewise.
48498         * sunrpc/xcrypt.c: Likewise.
48499         * sunrpc/xdr.c: Likewise.
48500         * sunrpc/xdr_array.c: Likewise.
48501         * sunrpc/xdr_float.c: Likewise.
48502         * sunrpc/xdr_intXX_t.c: Likewise.
48503         * sunrpc/xdr_mem.c: Likewise.
48504         * sunrpc/xdr_rec.c: Likewise.
48505         * sunrpc/xdr_ref.c: Likewise.
48506         * sunrpc/xdr_sizeof.c: Likewise.
48507         * sunrpc/xdr_stdio.c: Likewise.
48508
48509 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
48510
48511         [BZ #12650]
48512         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
48513         * sysdeps/ia64/dl-tls.h: Likewise.
48514         * sysdeps/powerpc/dl-tls.h: Likewise.
48515         * sysdeps/s390/dl-tls.h: Likewise.
48516         * sysdeps/sh/dl-tls.h: Likewise.
48517         * sysdeps/sparc/dl-tls.h: Likewise.
48518         * sysdeps/x86_64/dl-tls.h: Likewise.
48519         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
48520
48521 2011-03-14  Andreas Schwab  <schwab@redhat.com>
48522
48523         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
48524         rpath element also skip the following colon.
48525         (expand_dynamic_string_token): Add is_path parameter and pass
48526         down to DL_DST_REQUIRED and _dl_dst_substitute.
48527         (decompose_rpath): Call expand_dynamic_string_token with
48528         non-zero is_path.  Ignore empty rpaths.
48529         (_dl_map_object_from_fd): Call expand_dynamic_string_token
48530         with zero is_path.
48531
48532 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
48533
48534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
48535         Make cancelable.
48536
48537 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
48538
48539         [BZ #12655]
48540         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
48541         Patch by Filipe David Manana <fdmanana@apache.org>.
48542
48543 2011-04-07  Andreas Schwab  <schwab@redhat.com>
48544
48545         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
48546         Maintain aligned stack.
48547         (CHECK_RSP): Remove unused macro.
48548
48549 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
48550
48551         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
48552         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
48553
48554 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
48555
48556         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
48557
48558         * include/features.h: Mention __USE_XOPEN2K8 in comment.
48559
48560 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
48561
48562         [BZ #12518]
48563         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
48564         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
48565         * sysdeps/x86_64/memmove.c: New file.
48566         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
48567         (memcpy): Renamed to ...
48568         (__new_memcpy): This.
48569         (memcpy): Provide GLIBC_2_14 memcpy.
48570         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
48571         (memcpy): Provide GLIBC_2_2_5 memcpy.
48572
48573 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48574
48575         [BZ #12631]
48576         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
48577
48578 2011-03-30  Andreas Schwab  <schwab@redhat.com>
48579
48580         * misc/syncfs.c: New file.
48581         * misc/Makefile (routines): Add syncfs.
48582         * posix/unistd.h: Declare syncfs.
48583         * sysdeps/unix/syscalls.list: Add syncfs.
48584
48585 2011-04-01  Andreas Schwab  <schwab@redhat.com>
48586
48587         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
48588         open_by_handle_at.
48589         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48590         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48591         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48592         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48593         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48594         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
48595         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48596
48597 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48598
48599         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
48600         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48601         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
48602         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48603         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48604         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48605         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48606
48607         * io/Makefile: Compile fallocate.c, fallocate64.c, and
48608         sync_file_range.c with -fexceptions.
48609         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
48610         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
48611         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
48612         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
48613         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
48614         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
48615         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
48616         sync_file_range as cancellation point
48617         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
48618         now a wrapper around __call_sync_file_range with cancellation handling.
48619         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
48620         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
48621         function name to __call_sync_file_range.
48622         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
48623         Add call_sync_file_range.
48624
48625 2011-04-01  Andreas Schwab  <schwab@redhat.com>
48626
48627         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48628         bits/timex.h.
48629
48630 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48631
48632         * iconv/iconv.h: Fix typo in comment.
48633         * io/fcntl.h: Likewise.
48634         * libio/stdio.h: Likewise.
48635         * posix/spawn.h: Likewise.
48636         * posix/unistd.h: Likewise.
48637         * stdlib/stdlib.h: Likewise.
48638         * time/time.h: Likewise.
48639         * wcsmbs/wchar.h: Likewise.
48640
48641         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
48642         open_by_handle): Add.
48643         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
48644         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
48645         Augment a few comments.
48646         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48647         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48648         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48649         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48650         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48651         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
48652         open_by_handle.
48653
48654         * io/fcntl.h (AT_EMPTY_PATH): Define.
48655
48656 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
48657
48658         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
48659         * sysdeps/unix/sysv/linux/bits/time.h: New file.
48660         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
48661         to...
48662         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
48663         * Versions.def: Add GLIBC_2.14.
48664         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
48665         Export.
48666
48667 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
48668
48669         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
48670         round counter.
48671         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48672
48673 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
48674
48675         [BZ #12597]
48676         * string/test-strncmp.c (do_page_test): New function.
48677         (check2): Likewise.
48678         (test_main): Call check2.
48679         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
48680
48681 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
48682
48683         [BZ #12587]
48684         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
48685         Handle cache information in CPU leaf 4.
48686         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48687
48688 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
48689
48690         [BZ #12583]
48691         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
48692         character representation.
48693         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
48694
48695 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
48696
48697         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
48698         END(__isnan) to END(__isnanf) to match function entry point/label
48699         EALIGN(__isnanf,...).
48700
48701 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
48702
48703         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
48704
48705 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
48706
48707         [BZ #12510]
48708         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
48709         copy from the symbol referenced in the relocation to initialize the
48710         used variable.
48711         Patch by Piotr Bury <pbury@goahead.com>.
48712         * elf/Makefile: Add rules to build and tst-unique3.
48713         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
48714         * elf/tst-unique3.cc: New file.
48715         * elf/tst-unique3.h: New file.
48716         * elf/tst-unique3lib.cc: New file.
48717         * elf/tst-unique3lib2.cc: New file.
48718
48719         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
48720
48721 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
48722
48723         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
48724         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
48725         to _start.
48726
48727 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
48728
48729         * elf/dl-load.c (_dl_map_object): If we are looking for the first
48730         to-be-loaded object along a path to loader is ld.so.
48731
48732 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
48733             Ulrich Drepper  <drepper@gmail.com>
48734
48735         * sysdeps/x86_64/memset.S: After aligning destination, code
48736         branches to different locations depending on the value of
48737         misalignment, when multiarch is enabled. Fix this.
48738
48739 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
48740
48741         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48742         Set _x86_64_preferred_memory_instruction for AMD processsors.
48743         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48744         Set bit_Prefer_SSE_for_memop for AMD processors.
48745
48746 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
48747
48748         * libio/fmemopen.c (fmemopen): Optimize a bit.
48749
48750 2011-03-03  Andreas Schwab  <schwab@redhat.com>
48751
48752         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48753
48754 2011-03-03  Roland McGrath  <roland@redhat.com>
48755
48756         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48757
48758 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
48759
48760         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
48761         __bzero_ultra1 instead of __memset_ultra1.
48762
48763 2011-02-23  Andreas Schwab  <schwab@redhat.com>
48764             Ulrich Drepper  <drepper@gmail.com>
48765
48766         [BZ #12509]
48767         * include/link.h (struct link_map): Add l_orig_initfini.
48768         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48769         returning unsuccessfully.
48770         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48771         close of a file loaded at startup, restore the original l_initfini
48772         list.
48773         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48774         list, store the pointer.
48775         * elf/Makefile ($(objpfx)noload-mem): New rule.
48776         (noload-ENV): Define.
48777         (tests): Add $(objpfx)noload-mem.
48778         * elf/noload.c: Include <memcheck.h>.
48779         (main): Call mtrace.  Close all opened handles.
48780
48781 2011-02-17  Andreas Schwab  <schwab@redhat.com>
48782
48783         [BZ #12454]
48784         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48785         dependencies are missing.
48786
48787 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48788
48789         Fix __if_freereq crash: Unlike the generic version which uses free,
48790         Hurd needs munmap.
48791         * sysdeps/mach/hurd/ifreq.h: New file.
48792
48793 2011-01-27  Petr Baudis  <pasky@suse.cz>
48794             Ulrich Drepper  <drepper@gmail.com>
48795
48796         [BZ 12445]#
48797         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48798         to extend_alloca().
48799         * stdio-common/bug23.c: New file.
48800         * stdio-common/Makefile (tests): Add bug23.
48801
48802 2010-09-28  Andreas Schwab  <schwab@redhat.com>
48803             Ulrich Drepper  <drepper@gmail.com>
48804
48805         [BZ #12489]
48806         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48807         before performing relro protection.  At old place add assertion
48808         to make sure nothing changed.
48809
48810 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
48811             Glauber de Oliveira Costa  <glommer@gmail.com>
48812
48813         * elf/elf.h: Add new ARM TLS relocs.
48814
48815 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
48816
48817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48818         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48819         cast from r3.
48820         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
48821         'tests' variable.
48822         * sysdeps/wordsize-64/tst-writev.c: New file.
48823
48824 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
48825
48826         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48827         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48828         insns in _dl_start to prevent a TOC reference before relocs are
48829         resolved.
48830
48831 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
48832
48833         [BZ #12469]
48834         * Makeconfig: Remove RANLIB definition.
48835         * Makerules: Don't use RANLIB.
48836         * aclocal.m4: Remove ranlib test.
48837         * configure.in: No need to check for ranlib.
48838         * elf/rtld-Rules: Don't use RANLIB.
48839
48840 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48841
48842         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48843         protection macro.
48844         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48845         inclusion protection macro.
48846
48847         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48848         SIGRTMIN and SIGRTMAX and print information in that case only when
48849         SIGRTMIN is defined.
48850
48851 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
48852
48853         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48854         arginfo fn returning -1.
48855
48856         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48857         and thousands string is zero terminated.
48858
48859 2011-02-03  Andreas Schwab  <schwab@redhat.com>
48860
48861         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48862         sysdeps/unix/sysv/linux/bits/socket.h.
48863
48864 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48865
48866         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48867         (__CPU_COUNT): Remove old macros.
48868         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48869         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48870         (__CPU_ALLOC, __CPU_FREE): Add macros.
48871         (__sched_cpualloc, __sched_cpufree): Add declarations.
48872
48873 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
48874
48875         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48876         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48877         * nscd/aicache.c (addhstaiX): Return timeout of added value.
48878         (readdhstai): Return value of addhstaiX call.
48879         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48880         (addgrbyX): Return value returned by cache_addgr.
48881         (readdgrbyname): Return value returned by addgrbyX.
48882         (readdgrbygid): Likewise.
48883         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48884         (addpwbyX): Return value returned by cache_addpw.
48885         (readdpwbyname): Return value returned by addhstbyX.
48886         (readdpwbyuid): Likewise.
48887         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48888         (addservbyX): Return value returned by cache_addserv.
48889         (readdservbyname): Return value returned by addservbyX:
48890         (readdservbyport): Likewise.
48891         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48892         (addhstbyX): Return value returned by cache_addhst.
48893         (readdhstbyname): Return value returned by addhstbyX.
48894         (readdhstbyaddr): Likewise.
48895         (readdhstbynamev6): Likewise.
48896         (readdhstbyaddrv6): Likewise.
48897         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48898         (readdinitgroups): Return value returned by addinitgroupsX.
48899         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48900         (prune_cache): Keep track of timeout value of re-added entries.
48901         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48902         * nscd/nscd.h: Adjust prototypes of readd* functions.
48903
48904 2011-02-04  Roland McGrath  <roland@redhat.com>
48905
48906         * nis/nis_server.c (nis_servstate): Use the right name for 0.
48907         (nis_stats): Likewise.
48908         * nis/nis_modify.c (nis_modify): Likewise.
48909         * nis/nis_remove.c (nis_remove): Likewise.
48910         * nis/nis_add.c (nis_add): Likewise.
48911
48912         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48913
48914         * posix/fnmatch_loop.c: Add some consts.
48915
48916         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48917
48918 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
48919
48920         [BZ #12460]
48921         * config.make.in (config-cflags-novzeroupper): Define.
48922         * configure.in: Substitute libc_cv_cc_novzeroupper.
48923         * elf/Makefile (AVX-CFLAGS): Define.
48924         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48925         (CFLAGS-tst-auditmod4a.c): Likewise.
48926         (CFLAGS-tst-auditmod4b.c): Likewise.
48927         (CFLAGS-tst-auditmod6b.c): Likewise.
48928         (CFLAGS-tst-auditmod6c.c): Likewise.
48929         (CFLAGS-tst-auditmod7b.c): Likewise.
48930         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48931
48932 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
48933
48934         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48935         function to the callback.
48936         Patch partly by Jiri Olsa <jolsa@redhat.com>.
48937
48938 2011-02-02  Andreas Schwab  <schwab@redhat.com>
48939
48940         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48941         of errno.
48942
48943 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
48944
48945         [BZ #11724]
48946         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48947         of constructors.
48948         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48949         of destructors.
48950         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48951
48952         [BZ #11724]
48953         * elf/Makefile: Add rules to build and run new test.
48954         * elf/tst-initorder.c: New file.
48955         * elf/tst-initorder.exp: New file.
48956         * elf/tst-initordera1.c: New file.
48957         * elf/tst-initordera2.c: New file.
48958         * elf/tst-initordera3.c: New file.
48959         * elf/tst-initordera4.c: New file.
48960         * elf/tst-initorderb1.c: New file.
48961         * elf/tst-initorderb2.c: New file.
48962         * elf/tst-order-a1.c: New file.
48963         * elf/tst-order-a2.c: New file.
48964         * elf/tst-order-a3.c: New file.
48965         * elf/tst-order-a4.c: New file.
48966         * elf/tst-order-b1.c: New file.
48967         * elf/tst-order-b2.c: New file.
48968         * elf/tst-order-main.c: New file.
48969         New test case by George Gensure <werkt0@gmail.com>.
48970
48971 2010-10-01  Andreas Schwab  <schwab@redhat.com>
48972
48973         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48974         decoding ACE if AI_CANONIDN.
48975
48976 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
48977
48978         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48979
48980 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
48981
48982         * version.h (RELEASE): Bump for 2.13 release.
48983         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48984
48985         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48986
48987         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48988         MADV_NOHUGEPAGE.
48989         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48990         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48991         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48992         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48993         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48994         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48995
48996         * posix/getconf.c: Update copyright year.
48997         * catgets/gencat.c: Likewise.
48998         * csu/version.c: Likewise.
48999         * debug/catchsegv.sh: Likewise.
49000         * debug/xtrace.sh: Likewise.
49001         * elf/ldconfig.c: Likewise.
49002         * elf/ldd.bash.in: Likewise.
49003         * elf/sprof.c (print_version): Likewise.
49004         * iconv/iconv_prog.c: Likewise.
49005         * iconv/iconvconfig.c: Likewise.
49006         * locale/programs/locale.c: Likewise.
49007         * locale/programs/localedef.c: Likewise.
49008         * malloc/memusage.sh: Likewise.
49009         * malloc/mtrace.pl: Likewise.
49010         * nscd/nscd.c (print_version): Likewise.
49011         * nss/getent.c: Likewise.
49012
49013         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
49014         PF_CAIF, and PF_ALG.
49015         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49016
49017 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
49018
49019         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
49020         (modules-names): Use them.
49021         (ifunc-test-modules, ifunc-pie-tests): Define.
49022         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
49023         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
49024         (test-extras): Likewise.
49025         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
49026         $(compile-command.c).
49027         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
49028         (all-built-dso): Define.
49029         (check-textrel.out, check-execstack.out): Depend on it.
49030
49031         * configure.in: Don't override --enable-multi-arch.
49032
49033 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
49034
49035         [BZ #6812]
49036         * nscd/hstcache.c (tryagain): Define.
49037         (cache_addhst): Return tryagain not notfound for temporary errors.
49038         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
49039         failed.
49040
49041 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
49042
49043         [BZ #10563]
49044         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
49045         to make the syscall.
49046         * sysdeps/unix/sysv/linux/setgroups.c: New file.
49047
49048         [BZ #12378]
49049         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
49050         and fall back to matching as normal character if the string ends before
49051         the matching ']' is found.  This is what POSIX requires.
49052         * posix/testfnm.c: Adjust test result.
49053         * posix/globtest.sh: Adjust test result.  Add new test.
49054         * posix/tst-fnmatch.input: Likewise.
49055         * posix/tst-fnmatch2.c: Add new test.
49056
49057 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
49058
49059         * elf/Makefile (check-execstack): Revert last change.  Depend on
49060         check-execstack.h.
49061         (check-execstack.h): New target.
49062         (generated): Add check-execstack.h.
49063         * elf/check-execstack.c: Include "check-execstack.h".
49064         (main): Revert last change.
49065         (handle_file): Return zero if GNU_STACK is absent and
49066         DEFAULT_STACK_PERMS doesn't include PF_X.
49067
49068 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
49069
49070         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
49071         in child fails because the descriptor is already closed.
49072         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
49073         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
49074         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
49075
49076         [BZ #12397]
49077         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
49078         syscall.
49079
49080         [BZ #10484]
49081         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
49082         temporary buffer used to handle multi lookups locally.
49083         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
49084
49085 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
49086
49087         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
49088         loader is ld.so.
49089
49090 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
49091
49092         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
49093         alignment for SSE2.
49094
49095 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
49096
49097         [BZ #12394]
49098         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
49099         characters.  When rounding increased number of integer digits recompute
49100         number of groups.
49101         * stdio-common/tst-grouping.c: New file.
49102         * stdio-common/Makefile: Add rules to build and run tst-grouping.
49103
49104 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
49105
49106         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
49107         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
49108
49109         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
49110         void.
49111         * bits/select.h: Likewise.
49112
49113 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
49114
49115         * po/ja.po: Update from translation team.
49116
49117 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
49118
49119         [BZ #11155]
49120         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
49121         implementation just like for lxstat, fxstatat, et al.
49122
49123 2010-12-27  Jim Meyering  <meyering@redhat.com>
49124
49125         [BZ #12348]
49126         * posix/regexec.c (build_trtable): Return failure indication upon
49127         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
49128
49129 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
49130
49131         [BZ #12201]
49132         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
49133         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
49134         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
49135         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
49136
49137         [BZ #12207]
49138         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
49139
49140         [BZ #12204]
49141         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
49142         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
49143
49144 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
49145
49146         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
49147         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
49148         script has SORT_BY_INIT_PRIORITY.
49149         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
49150         NO_CTORS_DTORS_SECTIONS is defined.
49151         * elf/soinit.c: Likewise.
49152         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
49153         NO_CTORS_DTORS_SECTIONS is defined.
49154         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
49155         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
49156         * sysdeps/sh/init-first.c: Likewise.
49157         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
49158
49159 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
49160
49161         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
49162         always use the slow path.
49163
49164 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
49165
49166         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
49167         similar rule which adds the sysdep directories to the header search in
49168         order to pick up the correct platform stackinfo.h.
49169         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
49170         perform test if it is, otherwise return successfully without testing.
49171         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
49172         DEFAULT_STACK_PERMS define in stackinfo.h.
49173         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
49174         defined in stackinfo.h.
49175         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
49176         DEFAULT_STACK_PERMS defined in stackinfo.h.
49177         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
49178         * sysdeps/ia64/stackinfo.h: Likewise.
49179         * sysdeps/s390/stackinfo.h: Likewise.
49180         * sysdeps/sh/stackinfo.h: Likewise.
49181         * sysdeps/sparc/stackinfo.h: Likewise.
49182         * sysdeps/x86_64/stackinfo.h: Likewise.
49183         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
49184         PF_X for powerpc64.  Retain PF_X for powerpc32.
49185
49186 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
49187
49188         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
49189         accurately.
49190         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
49191         GETDENTS_64BIT_ALIGNED.
49192
49193 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
49194
49195         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
49196
49197 2010-12-10  Andreas Schwab  <schwab@redhat.com>
49198
49199         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
49200         _GNU_SOURCE.
49201
49202         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
49203         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
49204         Remove __restrict.
49205         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
49206         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
49207
49208 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
49209
49210         [BZ #11655]
49211         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
49212         are initialized.
49213
49214 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
49215
49216         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
49217
49218 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
49219
49220         * po/it.po: Update from translation team.
49221
49222 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
49223
49224         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
49225         unused codes.
49226
49227 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
49228
49229         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
49230
49231 2010-11-24  Andreas Schwab  <schwab@redhat.com>
49232
49233         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
49234         specially.
49235         (gaih_getanswer_slice): Likewise.
49236
49237 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
49238
49239         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
49240
49241 2010-05-31  Petr Baudis  <pasky@suse.cz>
49242
49243         [BZ #11149]
49244         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
49245         silently even in the chroot mode.
49246
49247 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
49248
49249         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
49250         last patch a bit.  Pretty printing
49251
49252 2010-05-31  Petr Baudis <pasky@suse.cz>
49253
49254         [BZ #10085]
49255         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
49256         initialization of skip_initgroups_dyn.
49257
49258 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
49259
49260         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
49261         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49262
49263 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
49264
49265         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
49266
49267 2010-11-11  Andreas Schwab  <schwab@redhat.com>
49268
49269         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
49270         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
49271         (tst-fnmatch-ENV): Set MALLOC_TRACE.
49272         ($(objpfx)tst-fnmatch-mem): New rule.
49273         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
49274         * posix/tst-fnmatch.c (main): Call mtrace.
49275
49276 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
49277
49278         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49279         Support Intel processor model 6 and model 0x2c.
49280
49281 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
49282
49283         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
49284           signed comparison.
49285
49286 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
49287
49288         [BZ #12205]
49289         * string/test-strncasecmp.c (check_result): New function.
49290         (do_one_test): Use it.
49291         (check1): New function.
49292         (test_main): Use it.
49293         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
49294         Support strcasecmp and strncasecmp.
49295
49296 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
49297
49298         [BZ #12194]
49299         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
49300         * sysdeps/x86_64/bits/byteswap.h: Likewise.
49301
49302 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
49303
49304         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
49305         IFUNC support.
49306         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49307         memset-x86-64.
49308         * sysdeps/x86_64/multiarch/bzero.S: New file.
49309         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
49310         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
49311         * sysdeps/x86_64/multiarch/memset.S: New file.
49312         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
49313         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49314         Set bit_Prefer_SSE_for_memop for Intel processors.
49315         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
49316         Define.
49317         (index_Prefer_SSE_for_memop): Define.
49318         (HAS_PREFER_SSE_FOR_MEMOP): Define.
49319
49320 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
49321
49322         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
49323         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
49324
49325 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
49326
49327         [BZ #12191]
49328         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49329         (__x86_64_raw_data_cache_size_half): Likewise.
49330         (__x86_64_raw_shared_cache_size): Likewise.
49331         (__x86_64_raw_shared_cache_size_half): Likewise.
49332
49333         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49334         (__x86_64_raw_data_cache_size_half): Likewise.
49335         (__x86_64_raw_shared_cache_size): Likewise.
49336         (__x86_64_raw_shared_cache_size_half): Likewise.
49337         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
49338         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
49339         and __x86_64_raw_shared_cache_size_half.  Round
49340         __x86_64_data_cache_size_half, __x86_64_data_cache_size
49341         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
49342         to multiple of 256 bytes.
49343
49344 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
49345
49346         [BZ #12167]
49347         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
49348         of inacessible symlinks.  Verify result of symlink before returning it.
49349         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
49350         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
49351
49352 2010-10-28  Erich Ritz  <erichritz@gmail.com>
49353
49354         * math/math.h (isinf): Fix typo in comment.
49355
49356 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
49357
49358         * po/da.po: Update from translation team.
49359
49360 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
49361
49362         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
49363         is added to the list.
49364
49365 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49366             Ulrich Drepper  <drepper@gmail.com>
49367
49368         * elf/dl-object.c (_dl_new_object): Don't append the new object to
49369         the global list here.  Move code to...
49370         (_dl_add_to_namespace_list): ...here.  New function.
49371         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
49372         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
49373         * elf/dl-load.c (lose): Don't remove the element from the list.
49374         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
49375         (_dl_map_object): Likewise.
49376
49377 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
49378
49379         [BZ #12159]
49380         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
49381         into all bytes of SSE register.
49382         Patch by Richard Li <richardpku@gmail.com>.
49383
49384 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
49385
49386         [BZ #12140]
49387         * malloc/malloc.c (_int_free): Fill correct number of bytes when
49388         perturbing.
49389
49390 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
49391
49392         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
49393         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
49394         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
49395         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
49397         submachine.
49398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
49399
49400 2010-10-22  Andreas Schwab  <schwab@redhat.com>
49401
49402         * include/dlfcn.h (__RTLD_SECURE): Define.
49403         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
49404         mode & __RTLD_SECURE instead.
49405         (open_path): Rename preloaded parameter to secure.
49406         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
49407         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
49408         * elf/dl-deps.c (openaux): Likewise.
49409         * elf/rtld.c (struct map_args): Remove is_preloaded.
49410         (map_doit): Don't use it.
49411         (dl_main): Likewise.
49412         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
49413         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
49414
49415 2010-09-09  Andreas Schwab  <schwab@redhat.com>
49416
49417         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
49418         (sysd-rules-targets): Remove duplicates.
49419         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
49420         rtld-%.$o dependency.
49421
49422 2010-10-18  Andreas Schwab  <schwab@redhat.com>
49423
49424         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
49425         _dl_map_object do it.
49426
49427 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
49428
49429         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
49430         fast fma builtins, define the macros in the C99 standard.
49431         (FP_FAST_FMAF): Likewise.
49432         (FP_FAST_FMAL): Likewise.
49433         * sysdeps/x86_64/bits/mathdef.h: Likewise.
49434
49435         * bits/mathdef.h: Update copyright year.
49436         * sysdeps/powerpc/bits/mathdef.h: Likewise.
49437
49438 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
49439
49440         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
49441         builtins, define the macros in the C99 standard.
49442         (FP_FAST_FMAF): Likewise.
49443         (FP_FAST_FMAL): Likewise.
49444         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
49445         multiply/add.
49446         (FP_FAST_FMAF): Likewise.
49447
49448 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
49449
49450         [BZ #3268]
49451         * math/libm-test.inc (fma_test): Some new testcases.
49452         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
49453         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
49454         y and infinite z.  Do multiplication by C already in long double.
49455         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
49456         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
49457         y and infinite z.  Do bitwise or of inexact bit into u.d.
49458         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
49459         * sysdeps/i386/fpu/s_fmaf.S: Removed.
49460         * sysdeps/i386/fpu/s_fma.S: Removed.
49461         * sysdeps/i386/fpu/s_fmal.S: Removed.
49462
49463 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
49464
49465         [BZ #3268]
49466         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
49467         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
49468         computation is not scheduled after fetestexcept.  Fix value
49469         of minimum denormal long double.
49470
49471 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
49472
49473         [BZ #3268]
49474         * math/libm-test.inc (fma_test): Add some more tests.
49475         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
49476         correctly.
49477
49478 2010-10-15  Andreas Schwab  <schwab@redhat.com>
49479
49480         * scripts/data/localplt-s390-linux-gnu.data: New file.
49481         * scripts/data/localplt-s390x-linux-gnu.data: New file.
49482
49483 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
49484
49485         [BZ #3268]
49486         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
49487         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
49488         instead of dbl-64.
49489         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
49490         inlines.
49491         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
49492         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
49493         if one of x and y is very large and the other is subnormal.
49494         * sysdeps/s390/fpu/s_fmaf.c: New file.
49495         * sysdeps/s390/fpu/s_fma.c: New file.
49496         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
49497         * sysdeps/powerpc/fpu/s_fma.S: New file.
49498         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
49499         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
49500         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
49501
49502 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
49503
49504         [BZ #3268]
49505         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
49506         fma tests.
49507         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
49508         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
49509         * sysdeps/i386/i686/multiarch/s_fma.c: Include
49510         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
49511         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
49512         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
49513         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
49514
49515 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
49516
49517         [BZ #12078]
49518         * posix/regcomp.c (parse_branch): One more memory leak plugged.
49519         * posix/bug-regex31.input: Add test case.
49520
49521 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
49522
49523         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
49524         * posix/bug-regex31.input: New file.
49525
49526         [BZ #12078]
49527         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
49528         (parse_sub_exp): Fix last change, use postorder.
49529
49530         * posix/bug-regex31.c: New file.
49531         * posix/Makefile: Add rules to build and run bug-regex31.
49532
49533         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
49534
49535         [BZ #12078]
49536         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
49537
49538         [BZ #12108]
49539         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
49540         to have entries in sys_siglist.
49541
49542         [BZ #12093]
49543         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
49544         be NULL.
49545
49546 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
49547
49548         [BZ #3268]
49549         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
49550         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
49551         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
49552         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
49553         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49554         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
49555         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
49556         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
49557         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
49558         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
49559         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
49560         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
49561         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
49562         * math/ftestexcept.c (fetestexcept): Likewise.
49563         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
49564         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
49565         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
49566         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
49567         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
49568         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
49569         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49570
49571 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
49572
49573         [BZ #12107]
49574         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
49575         newline.
49576
49577 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
49578
49579         * string/bug-strstr1.c: New file.
49580         * string/Makefile: Add rules to build and run bug-strstr1.
49581
49582 2010-10-05  Eric Blake  <eblake@redhat.com>
49583
49584         [BZ #12092]
49585         * string/str-two-way.h (two_way_long_needle): Always clear memory
49586         when skipping input due to the shift table.
49587
49588 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
49589
49590         [BZ #12005]
49591         * malloc/mcheck.c: Handle large requests.
49592
49593         [BZ #12077]
49594         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
49595         for strncmp and strncasecmp.
49596         * string/stratcliff.c: Add tests for strcmp and strncmp.
49597         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
49598
49599 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49600
49601         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
49602         __set_fpscr.
49603
49604 2010-09-30  Andreas Jaeger  <aj@suse.de>
49605
49606         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
49607         (CGROUP_SUPER_MAGIC): Define.
49608         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49609         Handle btrfs and cgroup file systems.
49610         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49611         Likewise.
49612
49613 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
49614
49615         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
49616         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
49617
49618 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49619
49620         [BZ #12067]
49621         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
49622         trying to locate the ELF header.
49623
49624 2010-09-27  Andreas Schwab  <schwab@redhat.com>
49625
49626         [BZ #11611]
49627         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
49628         Mask out sign-bit copies when constructing f_fsid.
49629
49630 2010-09-24  Petr Baudis <pasky@suse.cz>
49631
49632         * debug/stack_chk_fail_local.c: Add missing licence exception.
49633         * debug/warning-nop.c: Likewise.
49634
49635 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
49636
49637         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
49638         implementing getdents64 using getdents syscall, set d_type if
49639         __ASSUME_GETDENTS32_D_TYPE.
49640
49641 2010-09-16  Andreas Schwab  <schwab@redhat.com>
49642
49643         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
49644         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
49645
49646 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
49647
49648         [BZ #12037]
49649         * posix/unistd.h: Undo change of feature selection for ftruncate from
49650         2010-01-11.
49651
49652 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
49653
49654         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
49655         detection.
49656
49657 2010-09-20  Andreas Schwab  <schwab@redhat.com>
49658
49659         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
49660         fanotify_mark.
49661         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49662
49663 2010-09-14  Andreas Schwab  <schwab@redhat.com>
49664
49665         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
49666         variables after CHECK_SP call.
49667         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
49668
49669 2010-09-13  Andreas Schwab  <schwab@redhat.com>
49670             Ulrich Drepper  <drepper@redhat.com>
49671
49672         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
49673         re-relocationg ld.so.
49674         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
49675         _dl_init_paths call.
49676         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
49677         here anymore.
49678
49679 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
49680
49681         * resolv/res_init.c (__res_vinit): Count the default server we added.
49682
49683 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
49684             Ulrich Drepper  <drepper@redhat.com>
49685
49686         [BZ #11968]
49687         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49688         (____longjmp_chk): Use %ebx for saving value across system call.
49689         Add unwind info.
49690
49691 2010-09-06  Andreas Schwab  <schwab@redhat.com>
49692
49693         * manual/Makefile: Don't mix pattern rules with normal rules.
49694
49695 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
49696
49697         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
49698         operation.
49699         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
49700         * libio/iofopncook.c (_IO_cookie_init): Likewise.
49701         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
49702         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
49703         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49704         Likewise.
49705
49706 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
49707
49708         [BZ #11979]
49709         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
49710         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
49711
49712 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
49713
49714         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
49715         * sysdeps/x86_64/addmul_1.S: Likewise.
49716         * sysdeps/x86_64/lshift.S: Likewise.
49717         * sysdeps/x86_64/mul_1.S: Likewise.
49718         * sysdeps/x86_64/rshift.S: Likewise.
49719         * sysdeps/x86_64/sub_n.S: Likewise.
49720         * sysdeps/x86_64/submul_1.S: Likewise.
49721
49722 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49723
49724         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
49725         Define __sched_param instead of SCHED_* and sched_param when
49726         <bits/sched.h> is included with __need_schedparam defined.
49727         * bits/sched.h [__need_schedparam]
49728         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
49729         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
49730         (__defined_schedparam): Define to 1.
49731         (__sched_param): New structure, identical to sched_param.
49732         (__need_schedparam): Undefine.
49733
49734 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
49735
49736         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49737         (epoll_create1): Declare.
49738
49739         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49740
49741 2010-08-31  Andreas Schwab  <schwab@redhat.com>
49742
49743         [BZ #7066]
49744         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49745         shifting retval into place.
49746
49747 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
49748
49749         * nis/rpcsvc/nis.h: Update copyright notice.
49750         * nis/rpcsvc/nis.x: Likewise.
49751         * nis/rpcsvc/nis_callback.h: Likewise.
49752         * nis/rpcsvc/nis_callback.x: Likewise.
49753         * nis/rpcsvc/nis_object.x: Likewise.
49754         * nis/rpcsvc/nis_tags.h: Likewise.
49755         * nis/rpcsvc/yp.h: Likewise.
49756         * nis/rpcsvc/yp.x: Likewise.
49757         * nis/rpcsvc/ypupd.h: Likewise.
49758         * nis/yp_xdr.c: Likewise.
49759         * nis/ypupdate_xdr.c: Likewise.
49760
49761         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
49762         mainly the body of pmap_getport.  Add parameters to specify timeouts.
49763         (pmap_getport): Use __libc_rpc_getport.
49764         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49765         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49766         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49767
49768 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
49769
49770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49771         fanotify_mark.
49772
49773 2010-08-27  Roland McGrath  <roland@redhat.com>
49774
49775         * sysdeps/i386/i686/multiarch/Makefile
49776         (CFLAGS-varshift.c): New variable.
49777
49778 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
49779
49780         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49781         * sysdeps/i386/i686/multiarch/varshift.c: New file.
49782
49783         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49784
49785         * sysdeps/x86_64/strlen.S: Minimal code improvement.
49786
49787 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
49788
49789         * sysdeps/x86_64/strlen.S: Unroll the loop.
49790         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49791         strlen-sse2 strlen-sse2-bsf.
49792         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49793         __strlen_no_bsf if bit_Slow_BSF is set.
49794         (__strlen_sse42): Removed.
49795         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49796         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49797
49798 2010-08-25  Roland McGrath  <roland@redhat.com>
49799
49800         * sysdeps/x86_64/multiarch/varshift.S: File removed.
49801         * sysdeps/x86_64/multiarch/varshift.c: New file.
49802         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49803         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49804         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49805         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49806
49807 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
49808
49809         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49810         strlen-sse2 strlen-sse2-bsf.
49811         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49812         __strlen_sse2_bsf if bit_Slow_BSF is unset.
49813         (__strlen_sse2): Removed.
49814         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
49815         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49816         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49817         bit_Slow_BSF for Atom.
49818         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49819         (index_Slow_BSF): Define.
49820         (HAS_SLOW_BSF): Define.
49821
49822 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
49823
49824         [BZ #10851]
49825         * resolv/res_init.c (__res_vinit): When no server address at all
49826         is given default to loopback.
49827
49828 2010-08-24  Roland McGrath  <roland@redhat.com>
49829
49830         * configure.in: Remove config-name.h generation.
49831         * configure: Regenerated.
49832         * config-name.in: File removed.
49833         * scripts/config-uname.sh: New file.
49834         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49835         ($(objdir)config-name.h): New target.
49836
49837         * sunrpc/rpc_parse.h: Avoid nested comment.
49838
49839 2010-08-24  Richard Henderson  <rth@redhat.com>
49840             Ulrich Drepper  <drepper@redhat.com>
49841             H.J. Lu  <hongjiu.lu@intel.com>
49842
49843         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49844         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49845         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49846         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
49847         _mm_alignr_epi8 with _mm_loadu_si128.
49848         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49849         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49850         (__m128i_shift_right): Removed.
49851         * sysdeps/i386/i686/multiarch/varshift.h: New file.
49852         * sysdeps/i386/i686/multiarch/varshift.S: New file.
49853         * sysdeps/x86_64/multiarch/varshift.h: New file.
49854         * sysdeps/x86_64/multiarch/varshift.S: New file.
49855
49856 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
49857
49858         * configure.in: Move assembler checks to before sysdep dir checking.
49859
49860 2010-08-20  Petr Baudis  <pasky@suse.cz>
49861
49862         * LICENSES: Sync the sunrpc license.
49863
49864 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
49865
49866         * sunrpc/auth_des.c: Update copyright notice once again.
49867         * sunrpc/auth_none.c: Likewise.
49868         * sunrpc/auth_unix.c: Likewise.
49869         * sunrpc/authdes_prot.c: Likewise.
49870         * sunrpc/authuxprot.c: Likewise.
49871         * sunrpc/bindrsvprt.c: Likewise.
49872         * sunrpc/clnt_gen.c: Likewise.
49873         * sunrpc/clnt_perr.c: Likewise.
49874         * sunrpc/clnt_raw.c: Likewise.
49875         * sunrpc/clnt_simp.c: Likewise.
49876         * sunrpc/clnt_tcp.c: Likewise.
49877         * sunrpc/clnt_udp.c: Likewise.
49878         * sunrpc/clnt_unix.c: Likewise.
49879         * sunrpc/des_crypt.c: Likewise.
49880         * sunrpc/des_soft.c: Likewise.
49881         * sunrpc/get_myaddr.c: Likewise.
49882         * sunrpc/getrpcport.c: Likewise.
49883         * sunrpc/key_call.c: Likewise.
49884         * sunrpc/key_prot.c: Likewise.
49885         * sunrpc/openchild.c: Likewise.
49886         * sunrpc/pm_getmaps.c: Likewise.
49887         * sunrpc/pm_getport.c: Likewise.
49888         * sunrpc/pmap_clnt.c: Likewise.
49889         * sunrpc/pmap_prot.c: Likewise.
49890         * sunrpc/pmap_prot2.c: Likewise.
49891         * sunrpc/pmap_rmt.c: Likewise.
49892         * sunrpc/rpc/auth.h: Likewise.
49893         * sunrpc/rpc/auth_unix.h: Likewise.
49894         * sunrpc/rpc/clnt.h: Likewise.
49895         * sunrpc/rpc/des_crypt.h: Likewise.
49896         * sunrpc/rpc/key_prot.h: Likewise.
49897         * sunrpc/rpc/netdb.h: Likewise.
49898         * sunrpc/rpc/pmap_clnt.h: Likewise.
49899         * sunrpc/rpc/pmap_prot.h: Likewise.
49900         * sunrpc/rpc/pmap_rmt.h: Likewise.
49901         * sunrpc/rpc/rpc.h: Likewise.
49902         * sunrpc/rpc/rpc_des.h: Likewise.
49903         * sunrpc/rpc/rpc_msg.h: Likewise.
49904         * sunrpc/rpc/svc.h: Likewise.
49905         * sunrpc/rpc/svc_auth.h: Likewise.
49906         * sunrpc/rpc/types.h: Likewise.
49907         * sunrpc/rpc/xdr.h: Likewise.
49908         * sunrpc/rpc_clntout.c: Likewise.
49909         * sunrpc/rpc_cmsg.c: Likewise.
49910         * sunrpc/rpc_common.c: Likewise.
49911         * sunrpc/rpc_cout.c: Likewise.
49912         * sunrpc/rpc_dtable.c: Likewise.
49913         * sunrpc/rpc_hout.c: Likewise.
49914         * sunrpc/rpc_main.c: Likewise.
49915         * sunrpc/rpc_parse.c: Likewise.
49916         * sunrpc/rpc_parse.h: Likewise.
49917         * sunrpc/rpc_prot.c: Likewise.
49918         * sunrpc/rpc_sample.c: Likewise.
49919         * sunrpc/rpc_scan.c: Likewise.
49920         * sunrpc/rpc_scan.h: Likewise.
49921         * sunrpc/rpc_svcout.c: Likewise.
49922         * sunrpc/rpc_tblout.c: Likewise.
49923         * sunrpc/rpc_util.c: Likewise.
49924         * sunrpc/rpc_util.h: Likewise.
49925         * sunrpc/rpcinfo.c: Likewise.
49926         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49927         * sunrpc/rpcsvc/key_prot.x: Likewise.
49928         * sunrpc/rpcsvc/klm_prot.x: Likewise.
49929         * sunrpc/rpcsvc/mount.x: Likewise.
49930         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49931         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49932         * sunrpc/rpcsvc/rex.x: Likewise.
49933         * sunrpc/rpcsvc/rstat.x: Likewise.
49934         * sunrpc/rpcsvc/rusers.x: Likewise.
49935         * sunrpc/rpcsvc/sm_inter.x: Likewise.
49936         * sunrpc/rpcsvc/spray.x: Likewise.
49937         * sunrpc/rpcsvc/yppasswd.x: Likewise.
49938         * sunrpc/rtime.c: Likewise.
49939         * sunrpc/svc.c: Likewise.
49940         * sunrpc/svc_auth.c: Likewise.
49941         * sunrpc/svc_authux.c: Likewise.
49942         * sunrpc/svc_raw.c: Likewise.
49943         * sunrpc/svc_run.c: Likewise.
49944         * sunrpc/svc_simple.c: Likewise.
49945         * sunrpc/svc_tcp.c: Likewise.
49946         * sunrpc/svc_udp.c: Likewise.
49947         * sunrpc/svc_unix.c: Likewise.
49948         * sunrpc/svcauth_des.c: Likewise.
49949         * sunrpc/xcrypt.c: Likewise.
49950         * sunrpc/xdr.c: Likewise.
49951         * sunrpc/xdr_array.c: Likewise.
49952         * sunrpc/xdr_float.c: Likewise.
49953         * sunrpc/xdr_mem.c: Likewise.
49954         * sunrpc/xdr_rec.c: Likewise.
49955         * sunrpc/xdr_ref.c: Likewise.
49956         * sunrpc/xdr_sizeof.c: Likewise.
49957         * sunrpc/xdr_stdio.c: Likewise.
49958
49959         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49960         handling.
49961
49962 2010-08-19  Andreas Schwab  <schwab@redhat.com>
49963
49964         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49965
49966 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
49967
49968         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49969         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49970         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49971         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49972         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49973         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49974         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49975         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49976         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49977         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49978         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49979         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49980         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49981         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49982
49983 2010-07-26  Anton Blanchard  <anton@samba.org>
49984
49985         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49986         * malloc/arena.c (heap_trim): Likewise.
49987
49988 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
49989
49990         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49991         here.  Not...
49992         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49993         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49994
49995 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
49996
49997         * sysdeps/i386/elf/Makefile: New file.
49998
49999 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
50000
50001         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
50002         from fanotify_init.
50003         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
50004         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50005
50006 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
50007
50008         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
50009         of strncasecmp_l.
50010         * sysdeps/multiarch/strcmp.S: Likewise.
50011
50012 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
50013
50014         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50015         strncase_l-nonascii.
50016         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50017         Add strncase_l-ssse3.
50018         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
50019         * sysdeps/x86_64/strcmp.S: Likewise.
50020         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
50021         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
50022         * sysdeps/x86_64/strncase.S: New file.
50023         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
50024         * sysdeps/x86_64/strncase_l.S: New file.
50025         * string/Makefile (strop-tests): Add strncasecmp.
50026         * string/test-strncasecmp.c: New file.
50027
50028         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
50029         warning.
50030
50031         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
50032         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
50033
50034 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
50035
50036         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
50037
50038 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
50039
50040         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
50041         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
50042         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
50043
50044 2010-05-01  Alan Modra  <amodra@gmail.com>
50045
50046         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
50047         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
50048         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
50049         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
50050         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
50051         tidying.  Don't tail-call __sigjmp_save for static lib.
50052         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
50053         save location.
50054         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
50055         (CALL_MCOUNT): Add eh info, and nop after bl.
50056         (TAIL_CALL_SYSCALL_ERROR): New macro.
50057         (PSEUDO_RET): Use it.
50058         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
50059         Correct save location of integer regs and cr.
50060         (_dl_profile_resolve): Correct cr save location.  Delete nops
50061         after bl when SHARED.  Reduce cfi size a little by better
50062         placement of cfi directives.
50063         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
50064         make a stack frame.  Instead use parm save area as a temp.
50065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
50066         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
50067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
50068         Don't make a stack frame for parent, use parm save area.
50069         Increase child stack frame to 112 bytes.  Don't save unused reg,
50070         and adjust reg usage.  Set up cfi on error recovery and
50071         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
50072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
50073         (__makecontext): Add dummy nop after jump to exit.
50074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
50075         Use correct parm save area and cr save, reduce stack frame.
50076         Correct cfi for possible PSEUDO_RET frame setup.
50077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
50078         Branch to local label emitted by PSEUDO_RET rather than
50079         __syscall_error.
50080
50081 2010-08-12  Andreas Schwab  <schwab@redhat.com>
50082
50083         [BZ #11904]
50084         * locale/programs/locale.c (print_assignment): New function.
50085         (show_locale_vars): Use it.
50086
50087 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
50088
50089         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
50090         field.
50091         (struct statfs64): Likewise.
50092         (_STATFS_F_FLAGS): Define.
50093         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
50094         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50095         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
50096         (ST_VALID): Define locally.
50097         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
50098         __statvfs_getflags, use the provided value.
50099         * sysdeps/unix/sysv/linux/kernel-features.h: Define
50100         __ASSUME_STATFS_F_FLAGS.
50101
50102         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
50103
50104         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
50105         Add sys/fanotify.h.
50106         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
50107         fanotify_mask for GLIBC_2.13.
50108         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
50109         fanotify_init and fanotify_mark.
50110         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50111         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
50112
50113         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
50114         Add prlimit.
50115         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
50116         prlimit64 for GLIBC_2.13.
50117         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
50118         prlimit64.
50119         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
50120         syscall.
50121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
50122         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50123         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
50124         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
50125         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
50126         add prlimit alias.
50127         * sysdeps/unix/sysv/linux/prlimit.c: New file.
50128
50129         [BZ #11903]
50130         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
50131         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
50132
50133         * nss/Makefile: Add rules to build and run tst-nss-test1.
50134         * shlib-versions: Add entry for libnss_test1.
50135         * nss/nss_test1.c: New file.
50136         * nss/tst-nss-test1.c: New file.
50137
50138         * nss/nsswitch.c (__nss_database_custom): Define new variable.
50139         (__nss_configure_lookup): Set appropriate entry in
50140         __nss_configure_lookup to true.
50141         * nss/nsswitch.h: Define enum with indeces of databases in
50142         databases and __nss_database_custom arrays.  Declare
50143         __nss_database_custom.
50144         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
50145         to avoid using nscd when custom rules are installed.
50146         * nss/getXXbyYY_r.c: Likewise.
50147         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
50148
50149         * nss/nss_files/files-parse.c: Whitespace fixes.
50150
50151 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
50152
50153         [BZ #11883]
50154         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
50155         * posix/fnmatch_loop.c: Likewise.
50156
50157 2010-07-17  Andi Kleen  <ak@linux.intel.com>
50158
50159         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
50160         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
50161         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
50162         * Versions.def [GLIBC_2.13]: Add.
50163
50164 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
50165
50166         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50167         Also fail if tpwd after pwuid call is NULL.
50168
50169 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50170
50171         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
50172         when converting to ms.
50173
50174 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50175
50176         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
50177         EOPNOTSUPP errors with ENOTTY.
50178         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
50179         EOPNOTSUPP errors with ENOTTY.
50180
50181 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
50182
50183         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50184         Add strcasecmp_l-ssse3.
50185         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
50186         strcasecmp.
50187         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
50188         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
50189         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
50190
50191 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
50192
50193         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
50194
50195         * string/Makefile (strop-tests): Add strcasecmp.
50196         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50197         strcasecmp_l-nonascii.
50198         (gen-as-const-headers): Add locale-defines.sym.
50199         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
50200         * sysdeps/x86_64/strcasecmp.S: New file.
50201         * sysdeps/x86_64/strcasecmp_l.S: New file.
50202         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
50203         * sysdeps/x86_64/locale-defines.sym: New file.
50204         * string/test-strcasecmp.c: New file.
50205
50206         * string/test-strcasestr.c: Test both ends of the range of characters.
50207         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
50208
50209 2010-07-29  Roland McGrath  <roland@redhat.com>
50210
50211         [BZ #11856]
50212         * manual/locale.texi (Yes-or-No Questions): Fix example code.
50213
50214 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
50215
50216         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
50217         for ld.so.
50218
50219 2010-07-27  Andreas Schwab  <schwab@redhat.com>
50220
50221         * manual/memory.texi (Malloc Tunable Parameters): Document
50222         M_PERTURB.
50223
50224 2010-07-26  Roland McGrath  <roland@redhat.com>
50225
50226         [BZ #11840]
50227         * configure.in (-fgnu89-inline check): Set and substitute
50228         gnu89_inline, not libc_cv_gnu89_inline.
50229         * configure: Regenerated.
50230         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
50231
50232 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
50233
50234         * string/test-strnlen.c: New file.
50235         * string/Makefile (strop-tests): Add strnlen.
50236         * string/tester.c (test_strnlen): Add a few more test cases.
50237         * string/tst-strlen.c: Better error reporting.
50238
50239         * sysdeps/x86_64/strnlen.S: New file.
50240
50241 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
50242
50243         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
50244         lower-latency instructions.
50245
50246 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
50247
50248         * string/test-strcasestr.c: New file.
50249         * string/test-strstr.c: New file.
50250         * string/Makefile (strop-tests): Add strstr and strcasestr.
50251         * string/str-two-way.h: Don't undefine MAX.
50252         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
50253
50254 2010-07-21  Andreas Schwab  <schwab@redhat.com>
50255
50256         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50257         strcasestr-nonascii.
50258         (CFLAGS-strcasestr-nonascii.c): Define.
50259         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
50260         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
50261         Remove unused attribute.
50262
50263 2010-07-20  Roland McGrath  <roland@redhat.com>
50264
50265         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
50266         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
50267         ld.so.cache was broken.  With it, there is no way to disable dsocaps
50268         like LD_HWCAP_MASK can disable hwcaps.
50269
50270 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
50271
50272         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
50273
50274 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
50275
50276         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
50277         call in strcasestr.
50278         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
50279         __strcasestr_sse42_nonascii.
50280         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
50281         strcasestr-nonascii.c.
50282         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
50283
50284 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
50285
50286         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
50287         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
50288         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
50289         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
50290
50291 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
50292
50293         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
50294         fcntl.
50295
50296 2010-07-06  Andreas Schwab  <schwab@redhat.com>
50297
50298         [BZ #11577]
50299         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
50300         dl_signal_cerror.
50301
50302 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
50303
50304         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
50305         _PC_PIPE_BUF using F_GETPIPE_SZ.
50306
50307 2010-07-05  Roland McGrath  <roland@redhat.com>
50308
50309         * manual/arith.texi (Rounding Functions): Fix rint description
50310         implicit in round description.
50311
50312 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
50313
50314         * elf/Makefile: Fix linking for a few tests to make recent linker
50315         happy.
50316
50317 2010-06-30  Andreas Schwab  <schwab@redhat.com>
50318
50319         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50320         $(common-objpfx)libc_nonshared.a.
50321
50322 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
50323
50324         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
50325         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
50326         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50327         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50328         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
50329         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
50330         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50331         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
50333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
50334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
50335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
50337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
50339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
50340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
50341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
50342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
50344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
50346         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
50347         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
50348         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
50349         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
50350         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
50351         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
50352         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
50353         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
50354         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
50355         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
50356         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
50357         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
50358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
50359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
50360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
50361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
50362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
50363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
50364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
50365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
50366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
50367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
50368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
50369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
50370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
50371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
50372
50373 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
50374
50375         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
50376         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
50377         * string/memmove.c (memmove): Renamed to ...
50378         (MEMMOVE): ...this.  Default to memmove.
50379         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
50380         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
50381         (END_CHK): Define.
50382         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50383         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
50384         mempcpy-ssse3-back memmove-ssse3-back.
50385         * sysdeps/x86_64/multiarch/bcopy.S: New file .
50386         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
50387         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
50388         * sysdeps/x86_64/multiarch/memcpy.S: New file.
50389         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
50390         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
50391         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
50392         * sysdeps/x86_64/multiarch/memmove.c: New file.
50393         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
50394         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
50395         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
50396         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
50397         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
50398         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
50399         Define.
50400         (index_Fast_Copy_Backward): Define.
50401         (HAS_ARCH_FEATURE): Define.
50402         (HAS_FAST_REP_STRING): Define.
50403         (HAS_FAST_COPY_BACKWARD): Define.
50404
50405 2010-06-21  Andreas Schwab  <schwab@redhat.com>
50406
50407         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50408         Restore proper fallback handling.
50409
50410 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
50411
50412         [BZ #11701]
50413         * posix/group_member.c (__group_member): Correct checking loop.
50414
50415         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
50416         OOM in getpwuid_r correctly.  Return error number when the caller
50417         should return, otherwise -1.
50418         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
50419         call returning > 0 value.
50420         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
50421
50422 2010-06-07  Andreas Schwab  <schwab@redhat.com>
50423
50424         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
50425         libc_nonshared.a from targets in modules-names.
50426
50427 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
50428
50429         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
50430         requires it.
50431
50432 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
50433
50434         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
50435         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
50436         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
50437         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
50438
50439 2010-06-02  Andreas Schwab  <schwab@redhat.com>
50440
50441         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
50442
50443 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
50444
50445         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
50446         and F_GETPIPE_SZ.
50447         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50448         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50449         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50450         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50451         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50452         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
50453
50454 2010-06-14  Roland McGrath  <roland@redhat.com>
50455
50456         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
50457
50458 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
50459
50460         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
50461         __REDIRECT followed by __THROW.
50462         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
50463         * posix/getopt.h (getopt): Likewise.
50464
50465 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
50466
50467         * hurd/lookup-at.c (__file_name_lookup_at): Accept
50468         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
50469         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
50470         in AT_FLAGS.
50471         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
50472         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
50473
50474 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
50475
50476         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
50477
50478 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
50479
50480         [BZ #11640]
50481         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50482         Properly check family and model.
50483
50484 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
50485
50486         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
50487
50488 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
50489
50490         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
50491
50492 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
50493
50494         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
50495         symbol reference.
50496
50497 2010-05-19  Andreas Schwab  <schwab@redhat.com>
50498
50499         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
50500         symbol reference.
50501
50502 2010-05-21  Andreas Schwab  <schwab@redhat.com>
50503
50504         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
50505         and internal_recvmmsg.
50506         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
50507         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
50508         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
50509         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
50510
50511         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
50512         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50513         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50514
50515 2010-05-20  Andreas Schwab  <schwab@redhat.com>
50516
50517         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
50518
50519 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
50520
50521         POWER7 optimizations.
50522         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
50523         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
50524
50525 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
50526
50527         * version.h: Update for 2.13 development version.
50528
50529 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
50530
50531         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
50532         exceptions.  Return 0.
50533
50534 2010-05-07  Roland McGrath  <roland@redhat.com>
50535
50536         * elf/ldconfig.c (main): Add a const.
50537
50538 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
50539
50540         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
50541         (args_options): Add no-idn option.
50542         (ahosts_keys_int): Add idn_flags to ai_flags.
50543         (parse_option): Handle 'i' option to clear idn_flags.
50544
50545         * malloc/malloc.c (_int_free): Possible race in the most recently
50546         added check.  Only act on the data if no current modification
50547         happened.
50548
50549 See ChangeLog.17 for earlier changes.